maturin 1.7.3__tar.gz → 1.7.4__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 (59) hide show
  1. {maturin-1.7.3 → maturin-1.7.4}/Cargo.lock +73 -72
  2. {maturin-1.7.3 → maturin-1.7.4}/Cargo.toml +2 -2
  3. {maturin-1.7.3 → maturin-1.7.4}/Changelog.md +7 -1
  4. {maturin-1.7.3 → maturin-1.7.4}/PKG-INFO +1 -1
  5. {maturin-1.7.3 → maturin-1.7.4}/src/build_context.rs +6 -2
  6. {maturin-1.7.3 → maturin-1.7.4}/src/ci.rs +66 -10
  7. {maturin-1.7.3 → maturin-1.7.4}/.cirrus.yml +0 -0
  8. {maturin-1.7.3 → maturin-1.7.4}/.codespellrc +0 -0
  9. {maturin-1.7.3 → maturin-1.7.4}/.config/nextest.toml +0 -0
  10. {maturin-1.7.3 → maturin-1.7.4}/.gitignore +0 -0
  11. {maturin-1.7.3 → maturin-1.7.4}/.pre-commit-config.yaml +0 -0
  12. {maturin-1.7.3 → maturin-1.7.4}/MANIFEST.in +0 -0
  13. {maturin-1.7.3 → maturin-1.7.4}/README.md +0 -0
  14. {maturin-1.7.3 → maturin-1.7.4}/clippy.toml +0 -0
  15. {maturin-1.7.3 → maturin-1.7.4}/license-apache +0 -0
  16. {maturin-1.7.3 → maturin-1.7.4}/license-mit +0 -0
  17. {maturin-1.7.3 → maturin-1.7.4}/maturin/__init__.py +0 -0
  18. {maturin-1.7.3 → maturin-1.7.4}/maturin/__main__.py +0 -0
  19. {maturin-1.7.3 → maturin-1.7.4}/maturin.schema.json +0 -0
  20. {maturin-1.7.3 → maturin-1.7.4}/netlify.toml +0 -0
  21. {maturin-1.7.3 → maturin-1.7.4}/pyproject.toml +0 -0
  22. {maturin-1.7.3 → maturin-1.7.4}/setup.py +0 -0
  23. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/audit.rs +0 -0
  24. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/manylinux-policy.json +0 -0
  25. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/mod.rs +0 -0
  26. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/musllinux-policy.json +0 -0
  27. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/musllinux.rs +0 -0
  28. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/patchelf.rs +0 -0
  29. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/platform_tag.rs +0 -0
  30. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/policy.rs +0 -0
  31. {maturin-1.7.3 → maturin-1.7.4}/src/auditwheel/repair.rs +0 -0
  32. {maturin-1.7.3 → maturin-1.7.4}/src/build_options.rs +0 -0
  33. {maturin-1.7.3 → maturin-1.7.4}/src/cargo_toml.rs +0 -0
  34. {maturin-1.7.3 → maturin-1.7.4}/src/compile.rs +0 -0
  35. {maturin-1.7.3 → maturin-1.7.4}/src/cross_compile.rs +0 -0
  36. {maturin-1.7.3 → maturin-1.7.4}/src/develop.rs +0 -0
  37. {maturin-1.7.3 → maturin-1.7.4}/src/generate_json_schema.rs +0 -0
  38. {maturin-1.7.3 → maturin-1.7.4}/src/lib.rs +0 -0
  39. {maturin-1.7.3 → maturin-1.7.4}/src/main.rs +0 -0
  40. {maturin-1.7.3 → maturin-1.7.4}/src/metadata.rs +0 -0
  41. {maturin-1.7.3 → maturin-1.7.4}/src/module_writer.rs +0 -0
  42. {maturin-1.7.3 → maturin-1.7.4}/src/new_project.rs +0 -0
  43. {maturin-1.7.3 → maturin-1.7.4}/src/project_layout.rs +0 -0
  44. {maturin-1.7.3 → maturin-1.7.4}/src/pyproject_toml.rs +0 -0
  45. {maturin-1.7.3 → maturin-1.7.4}/src/python_interpreter/config.rs +0 -0
  46. {maturin-1.7.3 → maturin-1.7.4}/src/python_interpreter/get_interpreter_metadata.py +0 -0
  47. {maturin-1.7.3 → maturin-1.7.4}/src/python_interpreter/mod.rs +0 -0
  48. {maturin-1.7.3 → maturin-1.7.4}/src/source_distribution.rs +0 -0
  49. {maturin-1.7.3 → maturin-1.7.4}/src/target.rs +0 -0
  50. {maturin-1.7.3 → maturin-1.7.4}/src/templates/.gitignore.j2 +0 -0
  51. {maturin-1.7.3 → maturin-1.7.4}/src/templates/Cargo.toml.j2 +0 -0
  52. {maturin-1.7.3 → maturin-1.7.4}/src/templates/__init__.py.j2 +0 -0
  53. {maturin-1.7.3 → maturin-1.7.4}/src/templates/build.rs.j2 +0 -0
  54. {maturin-1.7.3 → maturin-1.7.4}/src/templates/example.udl.j2 +0 -0
  55. {maturin-1.7.3 → maturin-1.7.4}/src/templates/lib.rs.j2 +0 -0
  56. {maturin-1.7.3 → maturin-1.7.4}/src/templates/main.rs.j2 +0 -0
  57. {maturin-1.7.3 → maturin-1.7.4}/src/templates/pyproject.toml.j2 +0 -0
  58. {maturin-1.7.3 → maturin-1.7.4}/src/templates/test_all.py.j2 +0 -0
  59. {maturin-1.7.3 → maturin-1.7.4}/src/upload.rs +0 -0
@@ -3,10 +3,10 @@
3
3
  version = 3
4
4
 
5
5
  [[package]]
6
- name = "adler"
7
- version = "1.0.2"
6
+ name = "adler2"
7
+ version = "2.0.0"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
9
+ checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"
10
10
 
11
11
  [[package]]
12
12
  name = "ahash"
@@ -86,9 +86,9 @@ dependencies = [
86
86
 
87
87
  [[package]]
88
88
  name = "anyhow"
89
- version = "1.0.86"
89
+ version = "1.0.89"
90
90
  source = "registry+https://github.com/rust-lang/crates.io-index"
91
- checksum = "b3d1d046238990b9cf5bcde22a3fb3584ee5cf65fb2765f454ed428c7a0063da"
91
+ checksum = "86fdf8605db99b54d3cd748a44c6d04df638eb5dafb219b135d0149bd0db01f6"
92
92
 
93
93
  [[package]]
94
94
  name = "autocfg"
@@ -219,7 +219,7 @@ dependencies = [
219
219
  "home",
220
220
  "serde",
221
221
  "serde_derive",
222
- "toml_edit 0.22.14",
222
+ "toml_edit 0.22.16",
223
223
  ]
224
224
 
225
225
  [[package]]
@@ -287,7 +287,7 @@ dependencies = [
287
287
  "serde_json",
288
288
  "shlex",
289
289
  "target-lexicon",
290
- "which 6.0.1",
290
+ "which 6.0.3",
291
291
  ]
292
292
 
293
293
  [[package]]
@@ -745,9 +745,9 @@ dependencies = [
745
745
 
746
746
  [[package]]
747
747
  name = "flate2"
748
- version = "1.0.30"
748
+ version = "1.0.33"
749
749
  source = "registry+https://github.com/rust-lang/crates.io-index"
750
- checksum = "5f54427cfd1c7829e2a139fcefea601bf088ebca651d2bf53ebc600eac295dae"
750
+ checksum = "324a1be68054ef05ad64b861cc9eaf1d623d2d8cb25b4bf2cb9cdd902b4bf253"
751
751
  dependencies = [
752
752
  "crc32fast",
753
753
  "miniz_oxide",
@@ -916,9 +916,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
916
916
 
917
917
  [[package]]
918
918
  name = "globset"
919
- version = "0.4.14"
919
+ version = "0.4.15"
920
920
  source = "registry+https://github.com/rust-lang/crates.io-index"
921
- checksum = "57da3b9b5b85bd66f31093f8c408b90a74431672542466497dcbdfdc02034be1"
921
+ checksum = "15f1ce686646e7f1e19bf7d5533fe443a45dbfb990e00629110797578b42fb19"
922
922
  dependencies = [
923
923
  "aho-corasick",
924
924
  "bstr",
@@ -1003,9 +1003,9 @@ dependencies = [
1003
1003
 
1004
1004
  [[package]]
1005
1005
  name = "ignore"
1006
- version = "0.4.22"
1006
+ version = "0.4.23"
1007
1007
  source = "registry+https://github.com/rust-lang/crates.io-index"
1008
- checksum = "b46810df39e66e925525d6e38ce1e7f6e1d208f72dc39757880fcb66e2c58af1"
1008
+ checksum = "6d89fd380afde86567dfba715db065673989d6253f42b88179abd3eae47bda4b"
1009
1009
  dependencies = [
1010
1010
  "crossbeam-deque",
1011
1011
  "globset",
@@ -1029,9 +1029,9 @@ dependencies = [
1029
1029
 
1030
1030
  [[package]]
1031
1031
  name = "indexmap"
1032
- version = "2.4.0"
1032
+ version = "2.5.0"
1033
1033
  source = "registry+https://github.com/rust-lang/crates.io-index"
1034
- checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c"
1034
+ checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5"
1035
1035
  dependencies = [
1036
1036
  "equivalent",
1037
1037
  "hashbrown 0.14.5",
@@ -1200,7 +1200,7 @@ dependencies = [
1200
1200
 
1201
1201
  [[package]]
1202
1202
  name = "maturin"
1203
- version = "1.7.3"
1203
+ version = "1.7.4"
1204
1204
  dependencies = [
1205
1205
  "anyhow",
1206
1206
  "base64 0.21.7",
@@ -1226,7 +1226,7 @@ dependencies = [
1226
1226
  "glob",
1227
1227
  "goblin",
1228
1228
  "ignore",
1229
- "indexmap 2.4.0",
1229
+ "indexmap 2.5.0",
1230
1230
  "indoc",
1231
1231
  "itertools",
1232
1232
  "keyring",
@@ -1261,15 +1261,15 @@ dependencies = [
1261
1261
  "textwrap",
1262
1262
  "thiserror",
1263
1263
  "time",
1264
- "toml 0.8.14",
1265
- "toml_edit 0.22.14",
1264
+ "toml 0.8.15",
1265
+ "toml_edit 0.22.16",
1266
1266
  "tracing",
1267
1267
  "tracing-subscriber",
1268
1268
  "trycmd",
1269
1269
  "unicode-xid",
1270
1270
  "ureq",
1271
1271
  "url",
1272
- "which 6.0.1",
1272
+ "which 6.0.3",
1273
1273
  "wild",
1274
1274
  "zip",
1275
1275
  ]
@@ -1322,11 +1322,11 @@ checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a"
1322
1322
 
1323
1323
  [[package]]
1324
1324
  name = "miniz_oxide"
1325
- version = "0.7.3"
1325
+ version = "0.8.0"
1326
1326
  source = "registry+https://github.com/rust-lang/crates.io-index"
1327
- checksum = "87dfd01fe195c66b572b37921ad8803d010623c0aca821bea2302239d155cdae"
1327
+ checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1"
1328
1328
  dependencies = [
1329
- "adler",
1329
+ "adler2",
1330
1330
  ]
1331
1331
 
1332
1332
  [[package]]
@@ -1527,9 +1527,9 @@ checksum = "1e91099d4268b0e11973f036e885d652fb0b21fedcf69738c627f94db6a44f42"
1527
1527
 
1528
1528
  [[package]]
1529
1529
  name = "pep440_rs"
1530
- version = "0.6.0"
1530
+ version = "0.6.6"
1531
1531
  source = "registry+https://github.com/rust-lang/crates.io-index"
1532
- checksum = "ca0a570e7ec9171250cac57614e901f62408094b54b3798bb920d3cf0d4a0e09"
1532
+ checksum = "466eada3179c2e069ca897b99006cbb33f816290eaeec62464eea907e22ae385"
1533
1533
  dependencies = [
1534
1534
  "once_cell",
1535
1535
  "serde",
@@ -1540,9 +1540,9 @@ dependencies = [
1540
1540
 
1541
1541
  [[package]]
1542
1542
  name = "pep508_rs"
1543
- version = "0.6.0"
1543
+ version = "0.6.1"
1544
1544
  source = "registry+https://github.com/rust-lang/crates.io-index"
1545
- checksum = "581c27e97a3f38c5d691962af7da93c2672b5227d59cf165b87a9b1fd53dd724"
1545
+ checksum = "3f8877489a99ccc80012333123e434f84e645fe1ede3b30e9d3b815887a12979"
1546
1546
  dependencies = [
1547
1547
  "derivative",
1548
1548
  "once_cell",
@@ -1616,9 +1616,9 @@ checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de"
1616
1616
 
1617
1617
  [[package]]
1618
1618
  name = "pretty_assertions"
1619
- version = "1.4.0"
1619
+ version = "1.4.1"
1620
1620
  source = "registry+https://github.com/rust-lang/crates.io-index"
1621
- checksum = "af7cee1a6c8a5b9208b3cb1061f10c0cb689087b3d8ce85fb9d2dd7a29b6ba66"
1621
+ checksum = "3ae130e2f271fbc2ac3a40fb1d07180839cdbbe443c7a27e1e3c13c5cac0116d"
1622
1622
  dependencies = [
1623
1623
  "diff",
1624
1624
  "yansi",
@@ -1657,18 +1657,18 @@ version = "0.11.0"
1657
1657
  source = "registry+https://github.com/rust-lang/crates.io-index"
1658
1658
  checksum = "ef7061023bcb58a0fc4a4bbe9819c13b0dca7c2abc14da14f5ecc1532ab3a36a"
1659
1659
  dependencies = [
1660
- "indexmap 2.4.0",
1660
+ "indexmap 2.5.0",
1661
1661
  "pep440_rs",
1662
1662
  "pep508_rs",
1663
1663
  "serde",
1664
- "toml 0.8.14",
1664
+ "toml 0.8.15",
1665
1665
  ]
1666
1666
 
1667
1667
  [[package]]
1668
1668
  name = "python-pkginfo"
1669
- version = "0.6.2"
1669
+ version = "0.6.3"
1670
1670
  source = "registry+https://github.com/rust-lang/crates.io-index"
1671
- checksum = "4320ca452fe003f8a07afb8e30c315bbd813ae8105f454ddefebf15a24021e1f"
1671
+ checksum = "ba3f3f0d552c7efdde2b6898bf21b49c4e76b3e6071ff196dfe52109804db896"
1672
1672
  dependencies = [
1673
1673
  "flate2",
1674
1674
  "fs-err",
@@ -1775,9 +1775,9 @@ dependencies = [
1775
1775
 
1776
1776
  [[package]]
1777
1777
  name = "regex"
1778
- version = "1.10.5"
1778
+ version = "1.10.6"
1779
1779
  source = "registry+https://github.com/rust-lang/crates.io-index"
1780
- checksum = "b91213439dad192326a0d7c6ee3955910425f441d7038e0d6933b0aec5c4517f"
1780
+ checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"
1781
1781
  dependencies = [
1782
1782
  "aho-corasick",
1783
1783
  "memchr",
@@ -1854,9 +1854,9 @@ dependencies = [
1854
1854
 
1855
1855
  [[package]]
1856
1856
  name = "rstest"
1857
- version = "0.21.0"
1857
+ version = "0.22.0"
1858
1858
  source = "registry+https://github.com/rust-lang/crates.io-index"
1859
- checksum = "9afd55a67069d6e434a95161415f5beeada95a01c7b815508a82dcb0e1593682"
1859
+ checksum = "7b423f0e62bdd61734b67cd21ff50871dfaeb9cc74f869dcd6af974fbcb19936"
1860
1860
  dependencies = [
1861
1861
  "futures",
1862
1862
  "futures-timer",
@@ -1866,9 +1866,9 @@ dependencies = [
1866
1866
 
1867
1867
  [[package]]
1868
1868
  name = "rstest_macros"
1869
- version = "0.21.0"
1869
+ version = "0.22.0"
1870
1870
  source = "registry+https://github.com/rust-lang/crates.io-index"
1871
- checksum = "4165dfae59a39dd41d8dec720d3cbfbc71f69744efb480a3920f5d4e0cc6798d"
1871
+ checksum = "c5e1711e7d14f74b12a58411c542185ef7fb7f2e7f8ee6e2940a883628522b42"
1872
1872
  dependencies = [
1873
1873
  "cfg-if",
1874
1874
  "glob",
@@ -1884,9 +1884,9 @@ dependencies = [
1884
1884
 
1885
1885
  [[package]]
1886
1886
  name = "rustc_version"
1887
- version = "0.4.0"
1887
+ version = "0.4.1"
1888
1888
  source = "registry+https://github.com/rust-lang/crates.io-index"
1889
- checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366"
1889
+ checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92"
1890
1890
  dependencies = [
1891
1891
  "semver",
1892
1892
  ]
@@ -1926,9 +1926,9 @@ dependencies = [
1926
1926
 
1927
1927
  [[package]]
1928
1928
  name = "rustls-pemfile"
1929
- version = "2.1.2"
1929
+ version = "2.1.3"
1930
1930
  source = "registry+https://github.com/rust-lang/crates.io-index"
1931
- checksum = "29993a25686778eb88d4189742cd713c9bce943bc54251a33509dc63cbacf73d"
1931
+ checksum = "196fe16b00e106300d3e45ecfcb764fa292a535d7326a29a5875c579c7417425"
1932
1932
  dependencies = [
1933
1933
  "base64 0.22.1",
1934
1934
  "rustls-pki-types",
@@ -2176,9 +2176,9 @@ checksum = "b7c388c1b5e93756d0c740965c41e8822f866621d41acbdf6336a6a168f8840c"
2176
2176
 
2177
2177
  [[package]]
2178
2178
  name = "snapbox"
2179
- version = "0.6.10"
2179
+ version = "0.6.16"
2180
2180
  source = "registry+https://github.com/rust-lang/crates.io-index"
2181
- checksum = "40e14d10e4c2b4331ac24c33baa5a03e1fbca81c045b285b53b2a612d28569fb"
2181
+ checksum = "027c936207f85d10d015e21faf5c676c7e08c453ed371adf55c0874c443ca77a"
2182
2182
  dependencies = [
2183
2183
  "anstream",
2184
2184
  "anstyle",
@@ -2198,9 +2198,9 @@ dependencies = [
2198
2198
 
2199
2199
  [[package]]
2200
2200
  name = "snapbox-macros"
2201
- version = "0.3.9"
2201
+ version = "0.3.10"
2202
2202
  source = "registry+https://github.com/rust-lang/crates.io-index"
2203
- checksum = "b1f4c14672714436c09254801c934b203196a51182a5107fb76591c7cc56424d"
2203
+ checksum = "16569f53ca23a41bb6f62e0a5084aa1661f4814a67fa33696a79073e03a664af"
2204
2204
  dependencies = [
2205
2205
  "anstream",
2206
2206
  ]
@@ -2277,9 +2277,9 @@ dependencies = [
2277
2277
 
2278
2278
  [[package]]
2279
2279
  name = "tar"
2280
- version = "0.4.41"
2280
+ version = "0.4.42"
2281
2281
  source = "registry+https://github.com/rust-lang/crates.io-index"
2282
- checksum = "cb797dad5fb5b76fcf519e702f4a589483b5ef06567f160c392832c1f5e44909"
2282
+ checksum = "4ff6c40d3aedb5e06b57c6f669ad17ab063dd1e63d977c6a88e7f4dfa4f04020"
2283
2283
  dependencies = [
2284
2284
  "filetime",
2285
2285
  "libc",
@@ -2294,12 +2294,13 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
2294
2294
 
2295
2295
  [[package]]
2296
2296
  name = "tempfile"
2297
- version = "3.10.1"
2297
+ version = "3.11.0"
2298
2298
  source = "registry+https://github.com/rust-lang/crates.io-index"
2299
- checksum = "85b77fafb263dd9d05cbeac119526425676db3784113aa9295c88498cbf8bff1"
2299
+ checksum = "b8fcd239983515c23a32fb82099f97d0b11b8c72f654ed659363a95c3dad7a53"
2300
2300
  dependencies = [
2301
2301
  "cfg-if",
2302
2302
  "fastrand",
2303
+ "once_cell",
2303
2304
  "rustix",
2304
2305
  "windows-sys 0.52.0",
2305
2306
  ]
@@ -2336,18 +2337,18 @@ dependencies = [
2336
2337
 
2337
2338
  [[package]]
2338
2339
  name = "thiserror"
2339
- version = "1.0.61"
2340
+ version = "1.0.64"
2340
2341
  source = "registry+https://github.com/rust-lang/crates.io-index"
2341
- checksum = "c546c80d6be4bc6a00c0f01730c08df82eaa7a7a61f11d656526506112cc1709"
2342
+ checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
2342
2343
  dependencies = [
2343
2344
  "thiserror-impl",
2344
2345
  ]
2345
2346
 
2346
2347
  [[package]]
2347
2348
  name = "thiserror-impl"
2348
- version = "1.0.61"
2349
+ version = "1.0.64"
2349
2350
  source = "registry+https://github.com/rust-lang/crates.io-index"
2350
- checksum = "46c3384250002a6d5af4d114f2845d37b57521033f30d5c3f46c4d70e1197533"
2351
+ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
2351
2352
  dependencies = [
2352
2353
  "proc-macro2",
2353
2354
  "quote",
@@ -2420,14 +2421,14 @@ dependencies = [
2420
2421
 
2421
2422
  [[package]]
2422
2423
  name = "toml"
2423
- version = "0.8.14"
2424
+ version = "0.8.15"
2424
2425
  source = "registry+https://github.com/rust-lang/crates.io-index"
2425
- checksum = "6f49eb2ab21d2f26bd6db7bf383edc527a7ebaee412d17af4d40fdccd442f335"
2426
+ checksum = "ac2caab0bf757388c6c0ae23b3293fdb463fee59434529014f85e3263b995c28"
2426
2427
  dependencies = [
2427
2428
  "serde",
2428
2429
  "serde_spanned",
2429
2430
  "toml_datetime",
2430
- "toml_edit 0.22.14",
2431
+ "toml_edit 0.22.16",
2431
2432
  ]
2432
2433
 
2433
2434
  [[package]]
@@ -2445,18 +2446,18 @@ version = "0.21.1"
2445
2446
  source = "registry+https://github.com/rust-lang/crates.io-index"
2446
2447
  checksum = "6a8534fd7f78b5405e860340ad6575217ce99f38d4d5c8f2442cb5ecb50090e1"
2447
2448
  dependencies = [
2448
- "indexmap 2.4.0",
2449
+ "indexmap 2.5.0",
2449
2450
  "toml_datetime",
2450
2451
  "winnow 0.5.40",
2451
2452
  ]
2452
2453
 
2453
2454
  [[package]]
2454
2455
  name = "toml_edit"
2455
- version = "0.22.14"
2456
+ version = "0.22.16"
2456
2457
  source = "registry+https://github.com/rust-lang/crates.io-index"
2457
- checksum = "f21c7aaf97f1bd9ca9d4f9e73b0a6c74bd5afef56f2bc931943a6e1c37e04e38"
2458
+ checksum = "278f3d518e152219c994ce877758516bca5e118eaed6996192a774fb9fbf0788"
2458
2459
  dependencies = [
2459
- "indexmap 2.4.0",
2460
+ "indexmap 2.5.0",
2460
2461
  "serde",
2461
2462
  "serde_spanned",
2462
2463
  "toml_datetime",
@@ -2539,9 +2540,9 @@ dependencies = [
2539
2540
 
2540
2541
  [[package]]
2541
2542
  name = "trycmd"
2542
- version = "0.15.4"
2543
+ version = "0.15.6"
2543
2544
  source = "registry+https://github.com/rust-lang/crates.io-index"
2544
- checksum = "59709bd8eccada6a3fded26d22a7f2dcee406c18d3bd7ad2605ca3eeb8f6f6ec"
2545
+ checksum = "3e8673f1dc45acdff8e25a06cc62f8e529563e8acd84237ce83d5a28e2befa12"
2545
2546
  dependencies = [
2546
2547
  "automod",
2547
2548
  "glob",
@@ -2551,7 +2552,7 @@ dependencies = [
2551
2552
  "serde",
2552
2553
  "shlex",
2553
2554
  "snapbox",
2554
- "toml_edit 0.22.14",
2555
+ "toml_edit 0.22.16",
2555
2556
  ]
2556
2557
 
2557
2558
  [[package]]
@@ -2615,9 +2616,9 @@ checksum = "0336d538f7abc86d282a4189614dfaa90810dfc2c6f6427eaf88e16311dd225d"
2615
2616
 
2616
2617
  [[package]]
2617
2618
  name = "unicode-xid"
2618
- version = "0.2.4"
2619
+ version = "0.2.6"
2619
2620
  source = "registry+https://github.com/rust-lang/crates.io-index"
2620
- checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c"
2621
+ checksum = "ebc1c04c71510c7f702b52b7c350734c9ff1295c464a03335b00bb84fc54f853"
2621
2622
 
2622
2623
  [[package]]
2623
2624
  name = "unscanny"
@@ -2759,9 +2760,9 @@ dependencies = [
2759
2760
 
2760
2761
  [[package]]
2761
2762
  name = "which"
2762
- version = "6.0.1"
2763
+ version = "6.0.3"
2763
2764
  source = "registry+https://github.com/rust-lang/crates.io-index"
2764
- checksum = "8211e4f58a2b2805adfbefbc07bab82958fc91e3836339b1ab7ae32465dce0d7"
2765
+ checksum = "b4ee928febd44d98f2f459a4a79bd4d928591333a494a10a868418ac1b39cf1f"
2765
2766
  dependencies = [
2766
2767
  "either",
2767
2768
  "home",
@@ -3008,7 +3009,7 @@ dependencies = [
3008
3009
  "serde_json",
3009
3010
  "sha2",
3010
3011
  "tempfile",
3011
- "toml 0.8.14",
3012
+ "toml 0.8.15",
3012
3013
  "tracing",
3013
3014
  "tracing-subscriber",
3014
3015
  "twox-hash",
@@ -3020,9 +3021,9 @@ dependencies = [
3020
3021
 
3021
3022
  [[package]]
3022
3023
  name = "yansi"
3023
- version = "0.5.1"
3024
+ version = "1.0.1"
3024
3025
  source = "registry+https://github.com/rust-lang/crates.io-index"
3025
- checksum = "09041cd90cf85f7f8b2df60c646f853b7f535ce68f85244eb6731cf89fa498ec"
3026
+ checksum = "cfe53a6657fd280eaa890a3bc59152892ffa3e30101319d168b781ed6529b049"
3026
3027
 
3027
3028
  [[package]]
3028
3029
  name = "zerocopy"
@@ -1,7 +1,7 @@
1
1
  [package]
2
2
  authors = ["konstin <konstin@mailbox.org>", "messense <messense@icloud.com>"]
3
3
  name = "maturin"
4
- version = "1.7.3"
4
+ version = "1.7.4"
5
5
  description = "Build and publish crates with pyo3, cffi and uniffi bindings as well as rust binaries as python packages"
6
6
  exclude = [
7
7
  "test-crates/**/*",
@@ -135,7 +135,7 @@ pretty_assertions = { version = "1.3.0", optional = true }
135
135
 
136
136
  [dev-dependencies]
137
137
  expect-test = "1.4.1"
138
- rstest = "0.21.0"
138
+ rstest = "0.22.0"
139
139
  indoc = "2.0.3"
140
140
  pretty_assertions = "1.3.0"
141
141
  rustversion = "1.0.9"
@@ -1,5 +1,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.7.4]
4
+
5
+ * Fix musllinux rpath for non-cffi bindings in [#2233](https://github.com/PyO3/maturin/pull/2233)
6
+ * Add GitHub Actions attestation support to generate-ci in [#2234](https://github.com/PyO3/maturin/pull/2234)
7
+
3
8
  ## [1.7.3]
4
9
 
5
10
  * Fix upload regression to pypi/testpypi in [#2229](https://github.com/PyO3/maturin/pull/2229)
@@ -987,7 +992,8 @@ points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K
987
992
 
988
993
  * Initial Release
989
994
 
990
- [Unreleased]: https://github.com/pyo3/maturin/compare/v1.7.3...HEAD
995
+ [Unreleased]: https://github.com/pyo3/maturin/compare/v1.7.4...HEAD
996
+ [1.7.4]: https://github.com/pyo3/maturin/compare/v1.7.3...v1.7.4
991
997
  [1.7.3]: https://github.com/pyo3/maturin/compare/v1.7.2...v1.7.3
992
998
  [1.7.2]: https://github.com/pyo3/maturin/compare/v1.7.1...v1.7.2
993
999
  [1.7.1]: https://github.com/pyo3/maturin/compare/v1.7.0...v1.7.1
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: maturin
3
- Version: 1.7.3
3
+ Version: 1.7.4
4
4
  Classifier: Topic :: Software Development :: Build Tools
5
5
  Classifier: Programming Language :: Rust
6
6
  Classifier: Programming Language :: Python :: Implementation :: CPython
@@ -479,8 +479,12 @@ impl BuildContext {
479
479
  eprintln!(" {}", lib_path.display());
480
480
  }
481
481
 
482
- // Currently artifact .so file always resides at ${module_name}/${module_name}.so
483
- let artifact_dir = self.module_name.split(".").collect::<PathBuf>();
482
+ let artifact_dir = match self.bridge() {
483
+ // cffi bindings that contains '.' in the module name will be split into directories
484
+ BridgeModel::Cffi => self.module_name.split(".").collect::<PathBuf>(),
485
+ // For other bindings artifact .so file usually resides at ${module_name}/${module_name}.so
486
+ _ => PathBuf::from(&self.module_name),
487
+ };
484
488
  for artifact in artifacts {
485
489
  let mut new_rpaths = patchelf::get_rpath(&artifact.path)?;
486
490
  // TODO: clean existing rpath entries if it's not pointed to a location within the wheel
@@ -576,23 +576,31 @@ jobs:\n",
576
576
  r#" release:
577
577
  name: Release
578
578
  runs-on: ubuntu-latest
579
- if: "startsWith(github.ref, 'refs/tags/')"
579
+ if: ${{{{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}}}
580
580
  needs: [{needs}]
581
581
  "#,
582
582
  needs = needs.join(", ")
583
583
  ));
584
- if platforms.contains(&Platform::Emscripten) {
585
- conf.push_str(
586
- r#" permissions:
584
+
585
+ conf.push_str(
586
+ r#" permissions:
587
+ # Use to sign the release artifacts
588
+ id-token: write
587
589
  # Used to upload release artifacts
588
590
  contents: write
591
+ # Used to generate artifact attestation
592
+ attestations: write
589
593
  "#,
590
- );
591
- }
594
+ );
592
595
  conf.push_str(
593
596
  r#" steps:
594
597
  - uses: actions/download-artifact@v4
598
+ - name: Generate artifact attestation
599
+ uses: actions/attest-build-provenance@v1
600
+ with:
601
+ subject-path: 'wheels-*/*'
595
602
  - name: Publish to PyPI
603
+ if: "startsWith(github.ref, 'refs/tags/')"
596
604
  uses: PyO3/maturin-action@v1
597
605
  env:
598
606
  MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -798,11 +806,23 @@ mod tests {
798
806
  release:
799
807
  name: Release
800
808
  runs-on: ubuntu-latest
801
- if: "startsWith(github.ref, 'refs/tags/')"
809
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
802
810
  needs: [linux, musllinux, windows, macos, sdist]
811
+ permissions:
812
+ # Use to sign the release artifacts
813
+ id-token: write
814
+ # Used to upload release artifacts
815
+ contents: write
816
+ # Used to generate artifact attestation
817
+ attestations: write
803
818
  steps:
804
819
  - uses: actions/download-artifact@v4
820
+ - name: Generate artifact attestation
821
+ uses: actions/attest-build-provenance@v1
822
+ with:
823
+ subject-path: 'wheels-*/*'
805
824
  - name: Publish to PyPI
825
+ if: "startsWith(github.ref, 'refs/tags/')"
806
826
  uses: PyO3/maturin-action@v1
807
827
  env:
808
828
  MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -960,11 +980,23 @@ mod tests {
960
980
  release:
961
981
  name: Release
962
982
  runs-on: ubuntu-latest
963
- if: "startsWith(github.ref, 'refs/tags/')"
983
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
964
984
  needs: [linux, musllinux, windows, macos]
985
+ permissions:
986
+ # Use to sign the release artifacts
987
+ id-token: write
988
+ # Used to upload release artifacts
989
+ contents: write
990
+ # Used to generate artifact attestation
991
+ attestations: write
965
992
  steps:
966
993
  - uses: actions/download-artifact@v4
994
+ - name: Generate artifact attestation
995
+ uses: actions/attest-build-provenance@v1
996
+ with:
997
+ subject-path: 'wheels-*/*'
967
998
  - name: Publish to PyPI
999
+ if: "startsWith(github.ref, 'refs/tags/')"
968
1000
  uses: PyO3/maturin-action@v1
969
1001
  env:
970
1002
  MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -1219,11 +1251,23 @@ mod tests {
1219
1251
  release:
1220
1252
  name: Release
1221
1253
  runs-on: ubuntu-latest
1222
- if: "startsWith(github.ref, 'refs/tags/')"
1254
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
1223
1255
  needs: [linux, musllinux, windows, macos, sdist]
1256
+ permissions:
1257
+ # Use to sign the release artifacts
1258
+ id-token: write
1259
+ # Used to upload release artifacts
1260
+ contents: write
1261
+ # Used to generate artifact attestation
1262
+ attestations: write
1224
1263
  steps:
1225
1264
  - uses: actions/download-artifact@v4
1265
+ - name: Generate artifact attestation
1266
+ uses: actions/attest-build-provenance@v1
1267
+ with:
1268
+ subject-path: 'wheels-*/*'
1226
1269
  - name: Publish to PyPI
1270
+ if: "startsWith(github.ref, 'refs/tags/')"
1227
1271
  uses: PyO3/maturin-action@v1
1228
1272
  env:
1229
1273
  MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
@@ -1383,11 +1427,23 @@ mod tests {
1383
1427
  release:
1384
1428
  name: Release
1385
1429
  runs-on: ubuntu-latest
1386
- if: "startsWith(github.ref, 'refs/tags/')"
1430
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
1387
1431
  needs: [linux, musllinux, windows, macos, sdist]
1432
+ permissions:
1433
+ # Use to sign the release artifacts
1434
+ id-token: write
1435
+ # Used to upload release artifacts
1436
+ contents: write
1437
+ # Used to generate artifact attestation
1438
+ attestations: write
1388
1439
  steps:
1389
1440
  - uses: actions/download-artifact@v4
1441
+ - name: Generate artifact attestation
1442
+ uses: actions/attest-build-provenance@v1
1443
+ with:
1444
+ subject-path: 'wheels-*/*'
1390
1445
  - name: Publish to PyPI
1446
+ if: "startsWith(github.ref, 'refs/tags/')"
1391
1447
  uses: PyO3/maturin-action@v1
1392
1448
  env:
1393
1449
  MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
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