maturin 0.14.17__tar.gz → 0.15.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of maturin might be problematic. Click here for more details.

Files changed (70) hide show
  1. {maturin-0.14.17 → maturin-0.15.1}/.cirrus.yml +5 -3
  2. {maturin-0.14.17 → maturin-0.15.1}/.config/nextest.toml +2 -2
  3. {maturin-0.14.17 → maturin-0.15.1}/Cargo.lock +339 -954
  4. {maturin-0.14.17 → maturin-0.15.1}/Cargo.toml +56 -28
  5. {maturin-0.14.17 → maturin-0.15.1}/Changelog.md +25 -1
  6. {maturin-0.14.17 → maturin-0.15.1}/PKG-INFO +7 -6
  7. {maturin-0.14.17 → maturin-0.15.1}/README.md +2 -1
  8. maturin-0.15.1/clippy.toml +1 -0
  9. {maturin-0.14.17 → maturin-0.15.1}/deny.toml +10 -2
  10. {maturin-0.14.17 → maturin-0.15.1}/maturin/__init__.py +36 -16
  11. {maturin-0.14.17 → maturin-0.15.1}/maturin/__main__.py +5 -4
  12. {maturin-0.14.17 → maturin-0.15.1}/maturin/import_hook.py +30 -18
  13. {maturin-0.14.17 → maturin-0.15.1}/noxfile.py +1 -1
  14. {maturin-0.14.17 → maturin-0.15.1}/pyproject.toml +6 -28
  15. {maturin-0.14.17 → maturin-0.15.1}/setup.py +11 -21
  16. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/audit.rs +5 -1
  17. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/patchelf.rs +3 -3
  18. {maturin-0.14.17 → maturin-0.15.1}/src/build_context.rs +300 -80
  19. {maturin-0.14.17 → maturin-0.15.1}/src/build_options.rs +136 -92
  20. {maturin-0.14.17 → maturin-0.15.1}/src/cargo_toml.rs +10 -9
  21. {maturin-0.14.17 → maturin-0.15.1}/src/compile.rs +120 -65
  22. {maturin-0.14.17 → maturin-0.15.1}/src/develop.rs +26 -8
  23. {maturin-0.14.17 → maturin-0.15.1}/src/lib.rs +3 -0
  24. {maturin-0.14.17 → maturin-0.15.1}/src/main.rs +41 -30
  25. {maturin-0.14.17 → maturin-0.15.1}/src/metadata.rs +118 -147
  26. {maturin-0.14.17 → maturin-0.15.1}/src/module_writer.rs +41 -44
  27. {maturin-0.14.17 → maturin-0.15.1}/src/project_layout.rs +33 -57
  28. {maturin-0.14.17 → maturin-0.15.1}/src/pyproject_toml.rs +104 -39
  29. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/mod.rs +78 -47
  30. {maturin-0.14.17 → maturin-0.15.1}/src/source_distribution.rs +249 -136
  31. {maturin-0.14.17 → maturin-0.15.1}/src/target.rs +23 -294
  32. {maturin-0.14.17 → maturin-0.15.1}/src/templates/Cargo.toml.j2 +3 -4
  33. maturin-0.15.1/src/templates/build.rs.j2 +5 -0
  34. {maturin-0.14.17 → maturin-0.15.1}/src/templates/lib.rs.j2 +1 -1
  35. {maturin-0.14.17 → maturin-0.15.1}/src/upload.rs +146 -22
  36. maturin-0.14.17/src/templates/build.rs.j2 +0 -5
  37. {maturin-0.14.17 → maturin-0.15.1}/.codespellrc +0 -0
  38. {maturin-0.14.17 → maturin-0.15.1}/.dockerignore +0 -0
  39. {maturin-0.14.17 → maturin-0.15.1}/.gitignore +0 -0
  40. {maturin-0.14.17 → maturin-0.15.1}/Code-of-Conduct.md +0 -0
  41. {maturin-0.14.17 → maturin-0.15.1}/Dockerfile +0 -0
  42. {maturin-0.14.17 → maturin-0.15.1}/MANIFEST.in +0 -0
  43. {maturin-0.14.17 → maturin-0.15.1}/license-apache +0 -0
  44. {maturin-0.14.17 → maturin-0.15.1}/license-mit +0 -0
  45. {maturin-0.14.17 → maturin-0.15.1}/netlify.toml +0 -0
  46. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/manylinux-policy.json +0 -0
  47. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/mod.rs +0 -0
  48. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/musllinux-policy.json +0 -0
  49. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/musllinux.rs +0 -0
  50. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/platform_tag.rs +0 -0
  51. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/policy.rs +0 -0
  52. {maturin-0.14.17 → maturin-0.15.1}/src/auditwheel/repair.rs +0 -0
  53. {maturin-0.14.17 → maturin-0.15.1}/src/ci.rs +0 -0
  54. {maturin-0.14.17 → maturin-0.15.1}/src/cross_compile.rs +0 -0
  55. {maturin-0.14.17 → maturin-0.15.1}/src/new_project.rs +0 -0
  56. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/config.rs +0 -0
  57. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/get_interpreter_metadata.py +0 -0
  58. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-emscripten.json +0 -0
  59. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-freebsd.json +0 -0
  60. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-linux.json +0 -0
  61. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-macos.json +0 -0
  62. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-netbsd.json +0 -0
  63. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-openbsd.json +0 -0
  64. {maturin-0.14.17 → maturin-0.15.1}/src/python_interpreter/sysconfig-windows.json +0 -0
  65. {maturin-0.14.17 → maturin-0.15.1}/src/templates/.gitignore.j2 +0 -0
  66. {maturin-0.14.17 → maturin-0.15.1}/src/templates/__init__.py.j2 +0 -0
  67. {maturin-0.14.17 → maturin-0.15.1}/src/templates/example.udl.j2 +0 -0
  68. {maturin-0.14.17 → maturin-0.15.1}/src/templates/main.rs.j2 +0 -0
  69. {maturin-0.14.17 → maturin-0.15.1}/src/templates/pyproject.toml.j2 +0 -0
  70. {maturin-0.14.17 → maturin-0.15.1}/test-dockerfile.sh +0 -0
@@ -8,8 +8,7 @@ build_and_test: &BUILD_AND_TEST
8
8
  # only run tasks on pull request or bors related branches
9
9
  only_if: $CIRRUS_BRANCH == 'staging' || $CIRRUS_BRANCH == 'trying' || $CIRRUS_PR != ""
10
10
  setup_script:
11
- - curl https://sh.rustup.rs -sSf --output rustup.sh
12
- - sh rustup.sh -y --default-toolchain stable
11
+ - curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain stable
13
12
  - rustup target add wasm32-wasi
14
13
  - python3 -m pip install --upgrade cffi virtualenv
15
14
  build_script:
@@ -29,7 +28,7 @@ freebsd_task:
29
28
  - echo $CIRRUS_OS
30
29
  - cat Cargo.lock
31
30
  install_script:
32
- - pkg install -y curl bash python
31
+ - pkg install -y bash git python
33
32
  - python3 -m ensurepip
34
33
  <<: *BUILD_AND_TEST
35
34
 
@@ -46,6 +45,7 @@ macos_arm64_task:
46
45
  - cat Cargo.lock
47
46
  install_script:
48
47
  - brew install python3
48
+ - python3 -m pip install uniffi-bindgen==0.23.0
49
49
  <<: *BUILD_AND_TEST
50
50
 
51
51
  linux_aarch64_task:
@@ -61,4 +61,6 @@ linux_aarch64_task:
61
61
  fingerprint_script:
62
62
  - echo $CIRRUS_OS
63
63
  - cat Cargo.lock
64
+ install_script:
65
+ - python3 -m pip install uniffi-bindgen==0.23.0
64
66
  <<: *BUILD_AND_TEST
@@ -1,6 +1,6 @@
1
1
  [profile.default]
2
- # Terminate slow tests after 10 minutes
3
- slow-timeout = { period = "60s", terminate-after = 10 }
2
+ # Terminate slow tests after 30 minutes
3
+ slow-timeout = { period = "60s", terminate-after = 30 }
4
4
 
5
5
  [[profile.default.overrides]]
6
6
  # See https://nexte.st/book/threads-required.html