maturin 1.4.0__tar.gz → 1.5.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 (60) hide show
  1. {maturin-1.4.0 → maturin-1.5.1}/.cirrus.yml +2 -18
  2. {maturin-1.4.0 → maturin-1.5.1}/.pre-commit-config.yaml +2 -2
  3. {maturin-1.4.0 → maturin-1.5.1}/Cargo.lock +343 -478
  4. {maturin-1.4.0 → maturin-1.5.1}/Cargo.toml +98 -55
  5. {maturin-1.4.0 → maturin-1.5.1}/Changelog.md +19 -5
  6. {maturin-1.4.0 → maturin-1.5.1}/PKG-INFO +7 -9
  7. {maturin-1.4.0 → maturin-1.5.1}/README.md +5 -7
  8. maturin-1.5.1/clippy.toml +1 -0
  9. {maturin-1.4.0 → maturin-1.5.1}/maturin/__init__.py +11 -6
  10. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/mod.rs +1 -1
  11. {maturin-1.4.0 → maturin-1.5.1}/src/build_context.rs +33 -33
  12. {maturin-1.4.0 → maturin-1.5.1}/src/build_options.rs +14 -4
  13. {maturin-1.4.0 → maturin-1.5.1}/src/ci.rs +251 -157
  14. {maturin-1.4.0 → maturin-1.5.1}/src/compile.rs +22 -6
  15. maturin-1.5.1/src/develop.rs +377 -0
  16. {maturin-1.4.0 → maturin-1.5.1}/src/lib.rs +1 -1
  17. {maturin-1.4.0 → maturin-1.5.1}/src/main.rs +4 -3
  18. {maturin-1.4.0 → maturin-1.5.1}/src/metadata.rs +23 -19
  19. {maturin-1.4.0 → maturin-1.5.1}/src/module_writer.rs +76 -41
  20. {maturin-1.4.0 → maturin-1.5.1}/src/new_project.rs +134 -3
  21. {maturin-1.4.0 → maturin-1.5.1}/src/project_layout.rs +10 -8
  22. {maturin-1.4.0 → maturin-1.5.1}/src/pyproject_toml.rs +1 -1
  23. {maturin-1.4.0 → maturin-1.5.1}/src/python_interpreter/mod.rs +8 -9
  24. {maturin-1.4.0 → maturin-1.5.1}/src/source_distribution.rs +48 -16
  25. {maturin-1.4.0 → maturin-1.5.1}/src/target.rs +10 -1
  26. {maturin-1.4.0 → maturin-1.5.1}/src/templates/Cargo.toml.j2 +3 -3
  27. {maturin-1.4.0 → maturin-1.5.1}/src/upload.rs +1 -3
  28. maturin-1.4.0/clippy.toml +0 -1
  29. maturin-1.4.0/src/develop.rs +0 -216
  30. {maturin-1.4.0 → maturin-1.5.1}/.codespellrc +0 -0
  31. {maturin-1.4.0 → maturin-1.5.1}/.config/nextest.toml +0 -0
  32. {maturin-1.4.0 → maturin-1.5.1}/.gitignore +0 -0
  33. {maturin-1.4.0 → maturin-1.5.1}/MANIFEST.in +0 -0
  34. {maturin-1.4.0 → maturin-1.5.1}/license-apache +0 -0
  35. {maturin-1.4.0 → maturin-1.5.1}/license-mit +0 -0
  36. {maturin-1.4.0 → maturin-1.5.1}/maturin/__main__.py +0 -0
  37. {maturin-1.4.0 → maturin-1.5.1}/maturin/import_hook.py +0 -0
  38. {maturin-1.4.0 → maturin-1.5.1}/netlify.toml +0 -0
  39. {maturin-1.4.0 → maturin-1.5.1}/pyproject.toml +0 -0
  40. {maturin-1.4.0 → maturin-1.5.1}/setup.py +0 -0
  41. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/audit.rs +0 -0
  42. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/manylinux-policy.json +0 -0
  43. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/musllinux-policy.json +0 -0
  44. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/musllinux.rs +0 -0
  45. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/patchelf.rs +0 -0
  46. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/platform_tag.rs +0 -0
  47. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/policy.rs +0 -0
  48. {maturin-1.4.0 → maturin-1.5.1}/src/auditwheel/repair.rs +0 -0
  49. {maturin-1.4.0 → maturin-1.5.1}/src/cargo_toml.rs +0 -0
  50. {maturin-1.4.0 → maturin-1.5.1}/src/cross_compile.rs +0 -0
  51. {maturin-1.4.0 → maturin-1.5.1}/src/python_interpreter/config.rs +0 -0
  52. {maturin-1.4.0 → maturin-1.5.1}/src/python_interpreter/get_interpreter_metadata.py +0 -0
  53. {maturin-1.4.0 → maturin-1.5.1}/src/templates/.gitignore.j2 +0 -0
  54. {maturin-1.4.0 → maturin-1.5.1}/src/templates/__init__.py.j2 +0 -0
  55. {maturin-1.4.0 → maturin-1.5.1}/src/templates/build.rs.j2 +0 -0
  56. {maturin-1.4.0 → maturin-1.5.1}/src/templates/example.udl.j2 +0 -0
  57. {maturin-1.4.0 → maturin-1.5.1}/src/templates/lib.rs.j2 +0 -0
  58. {maturin-1.4.0 → maturin-1.5.1}/src/templates/main.rs.j2 +0 -0
  59. {maturin-1.4.0 → maturin-1.5.1}/src/templates/pyproject.toml.j2 +1 -1
  60. {maturin-1.4.0 → maturin-1.5.1}/src/templates/test_all.py.j2 +0 -0
@@ -19,7 +19,7 @@ build_and_test: &BUILD_AND_TEST
19
19
  freebsd_task:
20
20
  name: Test (x86_64 FreeBSD)
21
21
  freebsd_instance:
22
- image_family: freebsd-13-1
22
+ image_family: freebsd-14-0
23
23
  env:
24
24
  PATH: $HOME/.cargo/bin:$PATH
25
25
  target_cache:
@@ -32,22 +32,6 @@ freebsd_task:
32
32
  - python3 -m ensurepip
33
33
  <<: *BUILD_AND_TEST
34
34
 
35
- macos_arm64_task:
36
- name: Test (arm64 macOS)
37
- macos_instance:
38
- image: ghcr.io/cirruslabs/macos-monterey-xcode:latest
39
- env:
40
- PATH: $HOME/.cargo/bin:/opt/homebrew/opt/python@3.10/bin:$PATH
41
- target_cache:
42
- folder: target
43
- fingerprint_script:
44
- - echo $CIRRUS_OS
45
- - cat Cargo.lock
46
- install_script:
47
- - brew install python3
48
- - python3 -m pip install uniffi-bindgen==0.25.0
49
- <<: *BUILD_AND_TEST
50
-
51
35
  linux_aarch64_task:
52
36
  name: Test (arm64 Linux)
53
37
  arm_container:
@@ -62,5 +46,5 @@ linux_aarch64_task:
62
46
  - echo $CIRRUS_OS
63
47
  - cat Cargo.lock
64
48
  install_script:
65
- - python3 -m pip install uniffi-bindgen==0.25.0
49
+ - python3 -m pip install uniffi-bindgen==0.26.0
66
50
  <<: *BUILD_AND_TEST
@@ -56,12 +56,12 @@ repos:
56
56
  )
57
57
  - id: mixed-line-ending
58
58
  - repo: https://github.com/astral-sh/ruff-pre-commit
59
- rev: v0.1.6
59
+ rev: v0.3.3
60
60
  hooks:
61
61
  - id: ruff-format
62
62
  - id: ruff
63
63
  - repo: https://github.com/pre-commit/mirrors-mypy
64
- rev: v1.7.1
64
+ rev: v1.9.0
65
65
  hooks:
66
66
  - id: mypy
67
67
  entry: mypy maturin/