maturin 0.15.0__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 (69) hide show
  1. {maturin-0.15.0 → maturin-0.15.1}/Cargo.lock +1 -1
  2. {maturin-0.15.0 → maturin-0.15.1}/Cargo.toml +1 -1
  3. {maturin-0.15.0 → maturin-0.15.1}/Changelog.md +6 -1
  4. {maturin-0.15.0 → maturin-0.15.1}/PKG-INFO +1 -1
  5. {maturin-0.15.0 → maturin-0.15.1}/setup.py +2 -1
  6. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/mod.rs +1 -1
  7. {maturin-0.15.0 → maturin-0.15.1}/.cirrus.yml +0 -0
  8. {maturin-0.15.0 → maturin-0.15.1}/.codespellrc +0 -0
  9. {maturin-0.15.0 → maturin-0.15.1}/.config/nextest.toml +0 -0
  10. {maturin-0.15.0 → maturin-0.15.1}/.dockerignore +0 -0
  11. {maturin-0.15.0 → maturin-0.15.1}/.gitignore +0 -0
  12. {maturin-0.15.0 → maturin-0.15.1}/Code-of-Conduct.md +0 -0
  13. {maturin-0.15.0 → maturin-0.15.1}/Dockerfile +0 -0
  14. {maturin-0.15.0 → maturin-0.15.1}/MANIFEST.in +0 -0
  15. {maturin-0.15.0 → maturin-0.15.1}/README.md +0 -0
  16. {maturin-0.15.0 → maturin-0.15.1}/clippy.toml +0 -0
  17. {maturin-0.15.0 → maturin-0.15.1}/deny.toml +0 -0
  18. {maturin-0.15.0 → maturin-0.15.1}/license-apache +0 -0
  19. {maturin-0.15.0 → maturin-0.15.1}/license-mit +0 -0
  20. {maturin-0.15.0 → maturin-0.15.1}/maturin/__init__.py +0 -0
  21. {maturin-0.15.0 → maturin-0.15.1}/maturin/__main__.py +0 -0
  22. {maturin-0.15.0 → maturin-0.15.1}/maturin/import_hook.py +0 -0
  23. {maturin-0.15.0 → maturin-0.15.1}/netlify.toml +0 -0
  24. {maturin-0.15.0 → maturin-0.15.1}/noxfile.py +0 -0
  25. {maturin-0.15.0 → maturin-0.15.1}/pyproject.toml +0 -0
  26. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/audit.rs +0 -0
  27. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/manylinux-policy.json +0 -0
  28. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/mod.rs +0 -0
  29. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/musllinux-policy.json +0 -0
  30. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/musllinux.rs +0 -0
  31. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/patchelf.rs +0 -0
  32. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/platform_tag.rs +0 -0
  33. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/policy.rs +0 -0
  34. {maturin-0.15.0 → maturin-0.15.1}/src/auditwheel/repair.rs +0 -0
  35. {maturin-0.15.0 → maturin-0.15.1}/src/build_context.rs +0 -0
  36. {maturin-0.15.0 → maturin-0.15.1}/src/build_options.rs +0 -0
  37. {maturin-0.15.0 → maturin-0.15.1}/src/cargo_toml.rs +0 -0
  38. {maturin-0.15.0 → maturin-0.15.1}/src/ci.rs +0 -0
  39. {maturin-0.15.0 → maturin-0.15.1}/src/compile.rs +0 -0
  40. {maturin-0.15.0 → maturin-0.15.1}/src/cross_compile.rs +0 -0
  41. {maturin-0.15.0 → maturin-0.15.1}/src/develop.rs +0 -0
  42. {maturin-0.15.0 → maturin-0.15.1}/src/lib.rs +0 -0
  43. {maturin-0.15.0 → maturin-0.15.1}/src/main.rs +0 -0
  44. {maturin-0.15.0 → maturin-0.15.1}/src/metadata.rs +0 -0
  45. {maturin-0.15.0 → maturin-0.15.1}/src/module_writer.rs +0 -0
  46. {maturin-0.15.0 → maturin-0.15.1}/src/new_project.rs +0 -0
  47. {maturin-0.15.0 → maturin-0.15.1}/src/project_layout.rs +0 -0
  48. {maturin-0.15.0 → maturin-0.15.1}/src/pyproject_toml.rs +0 -0
  49. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/config.rs +0 -0
  50. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/get_interpreter_metadata.py +0 -0
  51. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-emscripten.json +0 -0
  52. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-freebsd.json +0 -0
  53. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-linux.json +0 -0
  54. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-macos.json +0 -0
  55. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-netbsd.json +0 -0
  56. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-openbsd.json +0 -0
  57. {maturin-0.15.0 → maturin-0.15.1}/src/python_interpreter/sysconfig-windows.json +0 -0
  58. {maturin-0.15.0 → maturin-0.15.1}/src/source_distribution.rs +0 -0
  59. {maturin-0.15.0 → maturin-0.15.1}/src/target.rs +0 -0
  60. {maturin-0.15.0 → maturin-0.15.1}/src/templates/.gitignore.j2 +0 -0
  61. {maturin-0.15.0 → maturin-0.15.1}/src/templates/Cargo.toml.j2 +0 -0
  62. {maturin-0.15.0 → maturin-0.15.1}/src/templates/__init__.py.j2 +0 -0
  63. {maturin-0.15.0 → maturin-0.15.1}/src/templates/build.rs.j2 +0 -0
  64. {maturin-0.15.0 → maturin-0.15.1}/src/templates/example.udl.j2 +0 -0
  65. {maturin-0.15.0 → maturin-0.15.1}/src/templates/lib.rs.j2 +0 -0
  66. {maturin-0.15.0 → maturin-0.15.1}/src/templates/main.rs.j2 +0 -0
  67. {maturin-0.15.0 → maturin-0.15.1}/src/templates/pyproject.toml.j2 +0 -0
  68. {maturin-0.15.0 → maturin-0.15.1}/src/upload.rs +0 -0
  69. {maturin-0.15.0 → maturin-0.15.1}/test-dockerfile.sh +0 -0
@@ -1016,7 +1016,7 @@ dependencies = [
1016
1016
 
1017
1017
  [[package]]
1018
1018
  name = "maturin"
1019
- version = "0.15.0"
1019
+ version = "0.15.1"
1020
1020
  dependencies = [
1021
1021
  "anyhow",
1022
1022
  "base64 0.13.1",
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  authors = ["konstin <konstin@mailbox.org>", "messense <messense@icloud.com>"]
3
3
  name = "maturin"
4
- version = "0.15.0"
4
+ version = "0.15.1"
5
5
  description = "Build and publish crates with pyo3, rust-cpython and cffi bindings as well as rust binaries as python packages"
6
6
  exclude = ["test-crates/**/*", "sysconfig/*", "test-data/*", "ci/*", "tests/*", "guide/*", ".github/*"]
7
7
  homepage = "https://github.com/pyo3/maturin"
@@ -7,6 +7,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.15.1] - 2023-05-07
11
+
12
+ * Fix finding interpreters from bundled sysconfigs in [#1598](https://github.com/PyO3/maturin/pull/1598)
13
+
10
14
  ## [0.15.0] - 2023-05-07
11
15
 
12
16
  * **Breaking Change**: Build with `--no-default-features` by default when bootstrapping from sdist in [#1333](https://github.com/PyO3/maturin/pull/1333)
@@ -852,7 +856,8 @@ points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K
852
856
 
853
857
  * Initial Release
854
858
 
855
- [Unreleased]: https://github.com/pyo3/maturin/compare/v0.15.0...HEAD
859
+ [Unreleased]: https://github.com/pyo3/maturin/compare/v0.15.1...HEAD
860
+ [0.15.1]: https://github.com/pyo3/maturin/compare/v0.15.0...v0.15.1
856
861
  [0.15.0]: https://github.com/pyo3/maturin/compare/v0.14.17...v0.15.0
857
862
  [0.14.17]: https://github.com/pyo3/maturin/compare/v0.14.16...v0.14.17
858
863
  [0.14.16]: https://github.com/pyo3/maturin/compare/v0.14.15...v0.14.16
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: maturin
3
- Version: 0.15.0
3
+ Version: 0.15.1
4
4
  Classifier: Topic :: Software Development :: Build Tools
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -10,6 +10,7 @@
10
10
  # for maturin itself use `maturin sdist`.
11
11
 
12
12
  import os
13
+ import shlex
13
14
 
14
15
  try:
15
16
  import tomllib
@@ -47,7 +48,7 @@ with open("Cargo.toml", "rb") as fp:
47
48
  # `MATURIN_SETUP_ARGS` env var can be used to pass customized arguments to cargo.
48
49
  cargo_args = ["--no-default-features"]
49
50
  if os.getenv("MATURIN_SETUP_ARGS"):
50
- cargo_args = os.getenv("MATURIN_SETUP_ARGS").split()
51
+ cargo_args = shlex.split(os.getenv("MATURIN_SETUP_ARGS", ""))
51
52
 
52
53
  setup(
53
54
  name="maturin",
@@ -704,7 +704,7 @@ impl PythonInterpreter {
704
704
  .filter_map(|config| match requires_python {
705
705
  Some(requires_python) => {
706
706
  if requires_python
707
- .contains(&Version::from_release(vec![config.major, config.major]))
707
+ .contains(&Version::from_release(vec![config.major, config.minor]))
708
708
  {
709
709
  Some(Self::from_config(config))
710
710
  } else {
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes