maturin 1.8.6__tar.gz → 1.9.0__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.
- {maturin-1.8.6 → maturin-1.9.0}/.gitignore +11 -13
- {maturin-1.8.6 → maturin-1.9.0}/.pre-commit-config.yaml +2 -2
- {maturin-1.8.6 → maturin-1.9.0}/Cargo.lock +130 -35
- {maturin-1.8.6 → maturin-1.9.0}/Cargo.toml +7 -4
- {maturin-1.8.6 → maturin-1.9.0}/Changelog.md +15 -1
- {maturin-1.8.6 → maturin-1.9.0}/PKG-INFO +1 -1
- {maturin-1.8.6 → maturin-1.9.0}/maturin/__init__.py +5 -5
- {maturin-1.8.6 → maturin-1.9.0}/maturin/bootstrap.py +2 -2
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/audit.rs +10 -6
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/platform_tag.rs +42 -34
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/policy.rs +26 -15
- {maturin-1.8.6 → maturin-1.9.0}/src/build_context.rs +66 -14
- {maturin-1.8.6 → maturin-1.9.0}/src/build_options.rs +55 -30
- {maturin-1.8.6 → maturin-1.9.0}/src/ci.rs +16 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/compile.rs +2 -2
- maturin-1.9.0/src/compression.rs +88 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/develop.rs +9 -1
- {maturin-1.8.6 → maturin-1.9.0}/src/lib.rs +3 -1
- {maturin-1.8.6 → maturin-1.9.0}/src/main.rs +8 -30
- {maturin-1.8.6 → maturin-1.9.0}/src/metadata.rs +64 -32
- {maturin-1.8.6 → maturin-1.9.0}/src/module_writer.rs +61 -33
- {maturin-1.8.6 → maturin-1.9.0}/src/python_interpreter/mod.rs +2 -2
- {maturin-1.8.6 → maturin-1.9.0}/src/source_distribution.rs +1 -1
- maturin-1.9.0/src/target/legacy_py.rs +64 -0
- maturin-1.8.6/src/target.rs → maturin-1.9.0/src/target/mod.rs +13 -2
- maturin-1.9.0/src/target/pypi_tags.rs +240 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/Cargo.toml.j2 +1 -1
- {maturin-1.8.6 → maturin-1.9.0}/.cirrus.yml +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/.codespellrc +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/.config/nextest.toml +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/MANIFEST.in +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/README.md +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/clippy.toml +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/license-apache +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/license-mit +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/maturin/__main__.py +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/maturin.schema.json +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/netlify.toml +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/pyproject.toml +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/setup.py +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/manylinux-policy.json +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/mod.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/musllinux-policy.json +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/musllinux.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/patchelf.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/auditwheel/repair.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/bridge.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/cargo_toml.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/cross_compile.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/generate_json_schema.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/new_project.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/project_layout.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/pyproject_toml.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/python_interpreter/config.rs +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/python_interpreter/get_interpreter_metadata.py +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/.gitignore.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/__init__.py.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/build.rs.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/example.udl.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/lib.rs.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/main.rs.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/pyproject.toml.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/templates/test_all.py.j2 +0 -0
- {maturin-1.8.6 → maturin-1.9.0}/src/upload.rs +0 -0
|
@@ -1,20 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
.venv/
|
|
4
|
-
.pytest_cache/
|
|
5
|
-
.tox/
|
|
1
|
+
*.egg
|
|
2
|
+
*.egg-info/
|
|
6
3
|
*.o
|
|
7
|
-
*.so
|
|
8
4
|
*.py[cdo]
|
|
5
|
+
*.so
|
|
6
|
+
.pytest_cache/
|
|
7
|
+
.tox/
|
|
8
|
+
.venv/
|
|
9
|
+
/target/
|
|
10
|
+
/test-crates/*/target
|
|
9
11
|
__pycache__/
|
|
10
|
-
*.egg-info/
|
|
11
|
-
*.egg
|
|
12
12
|
dist/
|
|
13
|
-
|
|
14
|
-
dist
|
|
13
|
+
node_modules
|
|
15
14
|
tags
|
|
16
|
-
test-crates/wheels/
|
|
17
15
|
test-crates/targets/
|
|
18
16
|
test-crates/venvs/
|
|
19
|
-
|
|
20
|
-
|
|
17
|
+
test-crates/wheels/
|
|
18
|
+
venv*/
|
|
@@ -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.11.
|
|
59
|
+
rev: v0.11.13
|
|
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.
|
|
64
|
+
rev: v1.16.0
|
|
65
65
|
hooks:
|
|
66
66
|
- id: mypy
|
|
67
67
|
entry: mypy maturin/
|
|
@@ -262,9 +262,9 @@ dependencies = [
|
|
|
262
262
|
|
|
263
263
|
[[package]]
|
|
264
264
|
name = "cargo-xwin"
|
|
265
|
-
version = "0.18.
|
|
265
|
+
version = "0.18.6"
|
|
266
266
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
267
|
-
checksum = "
|
|
267
|
+
checksum = "5dff83aad332bd6ee29072dd874b48892cd22c58e233c25735eb4417b3999685"
|
|
268
268
|
dependencies = [
|
|
269
269
|
"anyhow",
|
|
270
270
|
"cargo-config2",
|
|
@@ -330,11 +330,11 @@ dependencies = [
|
|
|
330
330
|
|
|
331
331
|
[[package]]
|
|
332
332
|
name = "cbindgen"
|
|
333
|
-
version = "0.
|
|
333
|
+
version = "0.29.0"
|
|
334
334
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
335
|
-
checksum = "
|
|
335
|
+
checksum = "975982cdb7ad6a142be15bdf84aea7ec6a9e5d4d797c004d43185b24cfe4e684"
|
|
336
336
|
dependencies = [
|
|
337
|
-
"heck
|
|
337
|
+
"heck",
|
|
338
338
|
"indexmap",
|
|
339
339
|
"log",
|
|
340
340
|
"proc-macro2",
|
|
@@ -352,6 +352,8 @@ version = "1.2.16"
|
|
|
352
352
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
353
353
|
checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
|
|
354
354
|
dependencies = [
|
|
355
|
+
"jobserver",
|
|
356
|
+
"libc",
|
|
355
357
|
"shlex",
|
|
356
358
|
]
|
|
357
359
|
|
|
@@ -451,7 +453,7 @@ version = "4.5.5"
|
|
|
451
453
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
452
454
|
checksum = "c780290ccf4fb26629baa7a1081e68ced113f1d3ec302fa5948f1c381ebf06c6"
|
|
453
455
|
dependencies = [
|
|
454
|
-
"heck
|
|
456
|
+
"heck",
|
|
455
457
|
"proc-macro2",
|
|
456
458
|
"quote",
|
|
457
459
|
"syn",
|
|
@@ -951,7 +953,19 @@ checksum = "c4567c8db10ae91089c99af84c68c38da3ec2f087c3f82960bcdbf3656b6f4d7"
|
|
|
951
953
|
dependencies = [
|
|
952
954
|
"cfg-if",
|
|
953
955
|
"libc",
|
|
954
|
-
"wasi",
|
|
956
|
+
"wasi 0.11.0+wasi-snapshot-preview1",
|
|
957
|
+
]
|
|
958
|
+
|
|
959
|
+
[[package]]
|
|
960
|
+
name = "getrandom"
|
|
961
|
+
version = "0.3.3"
|
|
962
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
963
|
+
checksum = "26145e563e54f2cadc477553f1ec5ee650b00862f0a58bcd12cbdc5f0ea2d2f4"
|
|
964
|
+
dependencies = [
|
|
965
|
+
"cfg-if",
|
|
966
|
+
"libc",
|
|
967
|
+
"r-efi",
|
|
968
|
+
"wasi 0.14.2+wasi-0.2.4",
|
|
955
969
|
]
|
|
956
970
|
|
|
957
971
|
[[package]]
|
|
@@ -962,9 +976,9 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"
|
|
|
962
976
|
|
|
963
977
|
[[package]]
|
|
964
978
|
name = "globset"
|
|
965
|
-
version = "0.4.
|
|
979
|
+
version = "0.4.16"
|
|
966
980
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
967
|
-
checksum = "
|
|
981
|
+
checksum = "54a1028dfc5f5df5da8a56a73e6c153c9a9708ec57232470703592a3f18e49f5"
|
|
968
982
|
dependencies = [
|
|
969
983
|
"aho-corasick",
|
|
970
984
|
"bstr",
|
|
@@ -1000,12 +1014,6 @@ version = "0.15.2"
|
|
|
1000
1014
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1001
1015
|
checksum = "bf151400ff0baff5465007dd2f3e717f3fe502074ca563069ce3a6629d07b289"
|
|
1002
1016
|
|
|
1003
|
-
[[package]]
|
|
1004
|
-
name = "heck"
|
|
1005
|
-
version = "0.4.1"
|
|
1006
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1007
|
-
checksum = "95505c38b4572b2d910cecb0281560f54b440a19336cbbcb27bf6ce6adc6f5a8"
|
|
1008
|
-
|
|
1009
1017
|
[[package]]
|
|
1010
1018
|
name = "heck"
|
|
1011
1019
|
version = "0.5.0"
|
|
@@ -1222,6 +1230,17 @@ version = "2.0.5"
|
|
|
1222
1230
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1223
1231
|
checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
|
|
1224
1232
|
|
|
1233
|
+
[[package]]
|
|
1234
|
+
name = "insta"
|
|
1235
|
+
version = "1.43.1"
|
|
1236
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1237
|
+
checksum = "154934ea70c58054b556dd430b99a98c2a7ff5309ac9891597e339b5c28f4371"
|
|
1238
|
+
dependencies = [
|
|
1239
|
+
"console",
|
|
1240
|
+
"once_cell",
|
|
1241
|
+
"similar",
|
|
1242
|
+
]
|
|
1243
|
+
|
|
1225
1244
|
[[package]]
|
|
1226
1245
|
name = "is_terminal_polyfill"
|
|
1227
1246
|
version = "1.70.0"
|
|
@@ -1252,6 +1271,16 @@ version = "1.0.11"
|
|
|
1252
1271
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1253
1272
|
checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b"
|
|
1254
1273
|
|
|
1274
|
+
[[package]]
|
|
1275
|
+
name = "jobserver"
|
|
1276
|
+
version = "0.1.33"
|
|
1277
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1278
|
+
checksum = "38f262f097c174adebe41eb73d66ae9c06b2844fb0da69969647bbddd9b0538a"
|
|
1279
|
+
dependencies = [
|
|
1280
|
+
"getrandom 0.3.3",
|
|
1281
|
+
"libc",
|
|
1282
|
+
]
|
|
1283
|
+
|
|
1255
1284
|
[[package]]
|
|
1256
1285
|
name = "js-sys"
|
|
1257
1286
|
version = "0.3.73"
|
|
@@ -1290,9 +1319,9 @@ dependencies = [
|
|
|
1290
1319
|
|
|
1291
1320
|
[[package]]
|
|
1292
1321
|
name = "libc"
|
|
1293
|
-
version = "0.2.
|
|
1322
|
+
version = "0.2.172"
|
|
1294
1323
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1295
|
-
checksum = "
|
|
1324
|
+
checksum = "d750af042f7ef4f724306de029d18836c26c1765a54a6a3f094cbd23a7267ffa"
|
|
1296
1325
|
|
|
1297
1326
|
[[package]]
|
|
1298
1327
|
name = "libmimalloc-sys"
|
|
@@ -1358,6 +1387,16 @@ version = "0.4.22"
|
|
|
1358
1387
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1359
1388
|
checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
|
|
1360
1389
|
|
|
1390
|
+
[[package]]
|
|
1391
|
+
name = "lzma-rs"
|
|
1392
|
+
version = "0.3.0"
|
|
1393
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1394
|
+
checksum = "297e814c836ae64db86b36cf2a557ba54368d03f6afcd7d947c266692f71115e"
|
|
1395
|
+
dependencies = [
|
|
1396
|
+
"byteorder",
|
|
1397
|
+
"crc",
|
|
1398
|
+
]
|
|
1399
|
+
|
|
1361
1400
|
[[package]]
|
|
1362
1401
|
name = "lzma-sys"
|
|
1363
1402
|
version = "0.1.20"
|
|
@@ -1397,7 +1436,7 @@ dependencies = [
|
|
|
1397
1436
|
|
|
1398
1437
|
[[package]]
|
|
1399
1438
|
name = "maturin"
|
|
1400
|
-
version = "1.
|
|
1439
|
+
version = "1.9.0"
|
|
1401
1440
|
dependencies = [
|
|
1402
1441
|
"anyhow",
|
|
1403
1442
|
"base64 0.21.7",
|
|
@@ -1426,6 +1465,7 @@ dependencies = [
|
|
|
1426
1465
|
"ignore",
|
|
1427
1466
|
"indexmap",
|
|
1428
1467
|
"indoc",
|
|
1468
|
+
"insta",
|
|
1429
1469
|
"itertools 0.12.1",
|
|
1430
1470
|
"keyring",
|
|
1431
1471
|
"lddtree",
|
|
@@ -1457,7 +1497,7 @@ dependencies = [
|
|
|
1457
1497
|
"target-lexicon",
|
|
1458
1498
|
"tempfile",
|
|
1459
1499
|
"textwrap",
|
|
1460
|
-
"thiserror 2.0.
|
|
1500
|
+
"thiserror 2.0.12",
|
|
1461
1501
|
"time",
|
|
1462
1502
|
"toml",
|
|
1463
1503
|
"toml_edit 0.22.22",
|
|
@@ -1792,9 +1832,9 @@ checksum = "b4596b6d070b27117e987119b4dac604f3c58cfb0b191112e24771b2faeac1a6"
|
|
|
1792
1832
|
|
|
1793
1833
|
[[package]]
|
|
1794
1834
|
name = "platform-info"
|
|
1795
|
-
version = "2.0.
|
|
1835
|
+
version = "2.0.5"
|
|
1796
1836
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1797
|
-
checksum = "
|
|
1837
|
+
checksum = "7539aeb3fdd8cb4f6a331307cf71a1039cee75e94e8a71725b9484f4a0d9451a"
|
|
1798
1838
|
dependencies = [
|
|
1799
1839
|
"libc",
|
|
1800
1840
|
"winapi",
|
|
@@ -1857,15 +1897,16 @@ dependencies = [
|
|
|
1857
1897
|
|
|
1858
1898
|
[[package]]
|
|
1859
1899
|
name = "pyproject-toml"
|
|
1860
|
-
version = "0.13.
|
|
1900
|
+
version = "0.13.5"
|
|
1861
1901
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1862
|
-
checksum = "
|
|
1902
|
+
checksum = "7b0f6160dc48298b9260d9b958ad1d7f96f6cd0b9df200b22329204e09334663"
|
|
1863
1903
|
dependencies = [
|
|
1904
|
+
"glob",
|
|
1864
1905
|
"indexmap",
|
|
1865
1906
|
"pep440_rs",
|
|
1866
1907
|
"pep508_rs",
|
|
1867
1908
|
"serde",
|
|
1868
|
-
"thiserror
|
|
1909
|
+
"thiserror 2.0.12",
|
|
1869
1910
|
"toml",
|
|
1870
1911
|
]
|
|
1871
1912
|
|
|
@@ -1880,7 +1921,7 @@ dependencies = [
|
|
|
1880
1921
|
"mailparse",
|
|
1881
1922
|
"rfc2047-decoder",
|
|
1882
1923
|
"tar",
|
|
1883
|
-
"thiserror 2.0.
|
|
1924
|
+
"thiserror 2.0.12",
|
|
1884
1925
|
"zip",
|
|
1885
1926
|
]
|
|
1886
1927
|
|
|
@@ -1899,6 +1940,12 @@ version = "0.5.0"
|
|
|
1899
1940
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1900
1941
|
checksum = "79ec282e887b434b68c18fe5c121d38e72a5cf35119b59e54ec5b992ea9c8eb0"
|
|
1901
1942
|
|
|
1943
|
+
[[package]]
|
|
1944
|
+
name = "r-efi"
|
|
1945
|
+
version = "5.2.0"
|
|
1946
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1947
|
+
checksum = "74765f6d916ee2faa39bc8e68e4f3ed8949b48cccdac59983d287a7cb71ce9c5"
|
|
1948
|
+
|
|
1902
1949
|
[[package]]
|
|
1903
1950
|
name = "rand"
|
|
1904
1951
|
version = "0.8.5"
|
|
@@ -1926,7 +1973,7 @@ version = "0.6.4"
|
|
|
1926
1973
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1927
1974
|
checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c"
|
|
1928
1975
|
dependencies = [
|
|
1929
|
-
"getrandom",
|
|
1976
|
+
"getrandom 0.2.15",
|
|
1930
1977
|
]
|
|
1931
1978
|
|
|
1932
1979
|
[[package]]
|
|
@@ -1973,7 +2020,7 @@ version = "0.4.5"
|
|
|
1973
2020
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1974
2021
|
checksum = "bd283d9651eeda4b2a83a43c1c91b266c40fd76ecd39a50a8c630ae69dc72891"
|
|
1975
2022
|
dependencies = [
|
|
1976
|
-
"getrandom",
|
|
2023
|
+
"getrandom 0.2.15",
|
|
1977
2024
|
"libredox",
|
|
1978
2025
|
"thiserror 1.0.69",
|
|
1979
2026
|
]
|
|
@@ -2039,7 +2086,7 @@ dependencies = [
|
|
|
2039
2086
|
"chumsky",
|
|
2040
2087
|
"memchr",
|
|
2041
2088
|
"quoted_printable",
|
|
2042
|
-
"thiserror 2.0.
|
|
2089
|
+
"thiserror 2.0.12",
|
|
2043
2090
|
]
|
|
2044
2091
|
|
|
2045
2092
|
[[package]]
|
|
@@ -2050,7 +2097,7 @@ checksum = "70ac5d832aa16abd7d1def883a8545280c20a60f523a370aa3a9617c2b8550ee"
|
|
|
2050
2097
|
dependencies = [
|
|
2051
2098
|
"cc",
|
|
2052
2099
|
"cfg-if",
|
|
2053
|
-
"getrandom",
|
|
2100
|
+
"getrandom 0.2.15",
|
|
2054
2101
|
"libc",
|
|
2055
2102
|
"untrusted",
|
|
2056
2103
|
"windows-sys 0.52.0",
|
|
@@ -2563,11 +2610,11 @@ dependencies = [
|
|
|
2563
2610
|
|
|
2564
2611
|
[[package]]
|
|
2565
2612
|
name = "thiserror"
|
|
2566
|
-
version = "2.0.
|
|
2613
|
+
version = "2.0.12"
|
|
2567
2614
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2568
|
-
checksum = "
|
|
2615
|
+
checksum = "567b8a2dae586314f7be2a752ec7474332959c6460e02bde30d702a66d488708"
|
|
2569
2616
|
dependencies = [
|
|
2570
|
-
"thiserror-impl 2.0.
|
|
2617
|
+
"thiserror-impl 2.0.12",
|
|
2571
2618
|
]
|
|
2572
2619
|
|
|
2573
2620
|
[[package]]
|
|
@@ -2583,9 +2630,9 @@ dependencies = [
|
|
|
2583
2630
|
|
|
2584
2631
|
[[package]]
|
|
2585
2632
|
name = "thiserror-impl"
|
|
2586
|
-
version = "2.0.
|
|
2633
|
+
version = "2.0.12"
|
|
2587
2634
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2588
|
-
checksum = "
|
|
2635
|
+
checksum = "7f7cf42b4507d8ea322120659672cf1b9dbb93f8f2d4ecfd6e51350ff5b17a1d"
|
|
2589
2636
|
dependencies = [
|
|
2590
2637
|
"proc-macro2",
|
|
2591
2638
|
"quote",
|
|
@@ -2973,6 +3020,15 @@ version = "0.11.0+wasi-snapshot-preview1"
|
|
|
2973
3020
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
2974
3021
|
checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423"
|
|
2975
3022
|
|
|
3023
|
+
[[package]]
|
|
3024
|
+
name = "wasi"
|
|
3025
|
+
version = "0.14.2+wasi-0.2.4"
|
|
3026
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3027
|
+
checksum = "9683f9a5a998d873c0d21fcbe3c083009670149a8fab228644b8bd36b2c48cb3"
|
|
3028
|
+
dependencies = [
|
|
3029
|
+
"wit-bindgen-rt",
|
|
3030
|
+
]
|
|
3031
|
+
|
|
2976
3032
|
[[package]]
|
|
2977
3033
|
name = "wasm-bindgen"
|
|
2978
3034
|
version = "0.2.96"
|
|
@@ -3262,6 +3318,15 @@ version = "0.0.19"
|
|
|
3262
3318
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3263
3319
|
checksum = "d135d17ab770252ad95e9a872d365cf3090e3be864a34ab46f48555993efc904"
|
|
3264
3320
|
|
|
3321
|
+
[[package]]
|
|
3322
|
+
name = "wit-bindgen-rt"
|
|
3323
|
+
version = "0.39.0"
|
|
3324
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3325
|
+
checksum = "6f42320e61fe2cfd34354ecb597f86f413484a798ba44a8ca1165c58d42da6c1"
|
|
3326
|
+
dependencies = [
|
|
3327
|
+
"bitflags 2.5.0",
|
|
3328
|
+
]
|
|
3329
|
+
|
|
3265
3330
|
[[package]]
|
|
3266
3331
|
name = "write16"
|
|
3267
3332
|
version = "1.0.0"
|
|
@@ -3440,10 +3505,12 @@ dependencies = [
|
|
|
3440
3505
|
"displaydoc",
|
|
3441
3506
|
"flate2",
|
|
3442
3507
|
"indexmap",
|
|
3508
|
+
"lzma-rs",
|
|
3443
3509
|
"memchr",
|
|
3444
|
-
"thiserror 2.0.
|
|
3510
|
+
"thiserror 2.0.12",
|
|
3445
3511
|
"time",
|
|
3446
3512
|
"zopfli",
|
|
3513
|
+
"zstd",
|
|
3447
3514
|
]
|
|
3448
3515
|
|
|
3449
3516
|
[[package]]
|
|
@@ -3459,3 +3526,31 @@ dependencies = [
|
|
|
3459
3526
|
"once_cell",
|
|
3460
3527
|
"simd-adler32",
|
|
3461
3528
|
]
|
|
3529
|
+
|
|
3530
|
+
[[package]]
|
|
3531
|
+
name = "zstd"
|
|
3532
|
+
version = "0.13.3"
|
|
3533
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3534
|
+
checksum = "e91ee311a569c327171651566e07972200e76fcfe2242a4fa446149a3881c08a"
|
|
3535
|
+
dependencies = [
|
|
3536
|
+
"zstd-safe",
|
|
3537
|
+
]
|
|
3538
|
+
|
|
3539
|
+
[[package]]
|
|
3540
|
+
name = "zstd-safe"
|
|
3541
|
+
version = "7.2.4"
|
|
3542
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3543
|
+
checksum = "8f49c4d5f0abb602a93fb8736af2a4f4dd9512e36f7f570d66e65ff867ed3b9d"
|
|
3544
|
+
dependencies = [
|
|
3545
|
+
"zstd-sys",
|
|
3546
|
+
]
|
|
3547
|
+
|
|
3548
|
+
[[package]]
|
|
3549
|
+
name = "zstd-sys"
|
|
3550
|
+
version = "2.0.15+zstd.1.5.7"
|
|
3551
|
+
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
3552
|
+
checksum = "eb81183ddd97d0c74cedf1d50d85c8d08c1b8b68ee863bdee9e706eedba1a237"
|
|
3553
|
+
dependencies = [
|
|
3554
|
+
"cc",
|
|
3555
|
+
"pkg-config",
|
|
3556
|
+
]
|
|
@@ -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.
|
|
4
|
+
version = "1.9.0"
|
|
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/**/*",
|
|
@@ -45,7 +45,7 @@ glob = "0.3.0"
|
|
|
45
45
|
cargo-config2 = "0.1.24"
|
|
46
46
|
cargo_metadata = "0.19.0"
|
|
47
47
|
cargo-options = "0.7.2"
|
|
48
|
-
cbindgen = { version = "0.
|
|
48
|
+
cbindgen = { version = "0.29.0", default-features = false }
|
|
49
49
|
flate2 = "1.0.18"
|
|
50
50
|
goblin = "0.9.0"
|
|
51
51
|
platform-info = "2.0.2"
|
|
@@ -61,6 +61,8 @@ zip = { version = "2.3.0", default-features = false, features = [
|
|
|
61
61
|
"bzip2",
|
|
62
62
|
"deflate",
|
|
63
63
|
"time",
|
|
64
|
+
"zstd",
|
|
65
|
+
"lzma"
|
|
64
66
|
] }
|
|
65
67
|
thiserror = "2.0.3"
|
|
66
68
|
fs-err = "3.0.0"
|
|
@@ -70,7 +72,7 @@ rustc_version = "0.4.0"
|
|
|
70
72
|
semver = "1.0.22"
|
|
71
73
|
target-lexicon = "0.13.0"
|
|
72
74
|
indexmap = "2.2.3"
|
|
73
|
-
pyproject-toml = "0.13.
|
|
75
|
+
pyproject-toml = { version = "0.13.5", features = ["pep639-glob"] }
|
|
74
76
|
python-pkginfo = "0.6.5"
|
|
75
77
|
textwrap = "0.16.1"
|
|
76
78
|
ignore = "0.4.20"
|
|
@@ -98,7 +100,7 @@ clap_complete_command = { version = "0.6.1", optional = true }
|
|
|
98
100
|
|
|
99
101
|
# cross compile
|
|
100
102
|
cargo-zigbuild = { version = "0.20.0", default-features = false, optional = true }
|
|
101
|
-
cargo-xwin = { version = "0.18.
|
|
103
|
+
cargo-xwin = { version = "0.18.6", default-features = false, optional = true }
|
|
102
104
|
|
|
103
105
|
# log
|
|
104
106
|
tracing = "0.1.36"
|
|
@@ -141,6 +143,7 @@ pretty_assertions = { version = "1.3.0", optional = true }
|
|
|
141
143
|
expect-test = "1.4.1"
|
|
142
144
|
fs4 = { version = "0.12.0", features = ["fs-err3"] }
|
|
143
145
|
indoc = "2.0.3"
|
|
146
|
+
insta = "1.34.0"
|
|
144
147
|
pretty_assertions = "1.3.0"
|
|
145
148
|
rstest = "0.22.0"
|
|
146
149
|
rustversion = "1.0.9"
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## [1.9.0]
|
|
6
|
+
|
|
7
|
+
* Add full PEP 639 support for `project.license` and `project.license-files` in [#2647](https://github.com/PyO3/maturin/pull/2647).
|
|
8
|
+
* Add `--compatiblity pypi` to only build wheels with platform tags that can also be uploaded to PyPI. This blocks e.g. building for riscv64, which is supported by manylinux, but not by PyPI.
|
|
9
|
+
|
|
10
|
+
## [1.8.7]
|
|
11
|
+
|
|
12
|
+
* Allow specifying compression method and level, in both `build` and `develop` modes, in [#2625](https://github.com/PyO3/maturin/pull/2625).
|
|
13
|
+
* Fix Windows free-threaded builds on Python 3.14 in [#2632](https://github.com/PyO3/maturin/pull/2632)
|
|
14
|
+
|
|
3
15
|
## [1.8.6]
|
|
4
16
|
|
|
5
17
|
* Print a message when overriding platform tag from `_PYTHON_HOST_PLATFORM` in [#2594](https://github.com/PyO3/maturin/pull/2594)
|
|
@@ -1069,7 +1081,9 @@ points-0.1.0-py2.py3-none-manylinux1_x86_64.whl | 2,8M | 752K | 85K
|
|
|
1069
1081
|
|
|
1070
1082
|
* Initial Release
|
|
1071
1083
|
|
|
1072
|
-
[Unreleased]: https://github.com/pyo3/maturin/compare/v1.
|
|
1084
|
+
[Unreleased]: https://github.com/pyo3/maturin/compare/v1.9.0...HEAD
|
|
1085
|
+
[1.9.0]: https://github.com/pyo3/maturin/compare/v1.8.7...v1.9.0
|
|
1086
|
+
[1.8.7]: https://github.com/pyo3/maturin/compare/v1.8.6...v1.8.7
|
|
1073
1087
|
[1.8.6]: https://github.com/pyo3/maturin/compare/v1.8.5...v1.8.6
|
|
1074
1088
|
[1.8.5]: https://github.com/pyo3/maturin/compare/v1.8.4...v1.8.5
|
|
1075
1089
|
[1.8.4]: https://github.com/pyo3/maturin/compare/v1.8.3...v1.8.4
|
|
@@ -21,13 +21,13 @@ import sys
|
|
|
21
21
|
from subprocess import SubprocessError
|
|
22
22
|
from typing import Any, Dict, Mapping, List, Optional
|
|
23
23
|
|
|
24
|
-
try:
|
|
25
|
-
import tomllib
|
|
26
|
-
except ModuleNotFoundError:
|
|
27
|
-
import tomli as tomllib # type: ignore
|
|
28
|
-
|
|
29
24
|
|
|
30
25
|
def get_config() -> Dict[str, str]:
|
|
26
|
+
try:
|
|
27
|
+
import tomllib
|
|
28
|
+
except ModuleNotFoundError:
|
|
29
|
+
import tomli as tomllib # type: ignore
|
|
30
|
+
|
|
31
31
|
with open("pyproject.toml", "rb") as fp:
|
|
32
32
|
pyproject_toml = tomllib.load(fp)
|
|
33
33
|
return pyproject_toml.get("tool", {}).get("maturin", {})
|
|
@@ -19,13 +19,13 @@ from typing import Any
|
|
|
19
19
|
from setuptools.build_meta import * # noqa:F403
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
def get_requires_for_build_wheel(
|
|
22
|
+
def get_requires_for_build_wheel(config_settings: dict[str, Any] | None = None) -> list[str]:
|
|
23
23
|
if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
|
|
24
24
|
return ["puccinialin>=0.1,<0.2"]
|
|
25
25
|
return []
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
def get_requires_for_build_sdist(
|
|
28
|
+
def get_requires_for_build_sdist(config_settings: dict[str, Any] | None = None) -> list[str]:
|
|
29
29
|
if not os.environ.get("MATURIN_NO_INSTALL_RUST") and not shutil.which("cargo"):
|
|
30
30
|
return ["puccinialin>=0.1,<0.2"]
|
|
31
31
|
return []
|
|
@@ -56,7 +56,7 @@ pub enum AuditWheelError {
|
|
|
56
56
|
UnsupportedArchitecture(Policy, String),
|
|
57
57
|
/// This platform tag isn't defined by auditwheel yet
|
|
58
58
|
#[error("{0} compatibility policy is not defined by auditwheel yet, pass `--auditwheel=skip` to proceed anyway")]
|
|
59
|
-
UndefinedPolicy(
|
|
59
|
+
UndefinedPolicy(PlatformTag),
|
|
60
60
|
/// Failed to analyze external shared library dependencies of the wheel
|
|
61
61
|
#[error("Failed to analyze external shared library dependencies of the wheel")]
|
|
62
62
|
DependencyAnalysisError(#[source] lddtree::Error),
|
|
@@ -311,16 +311,20 @@ pub fn auditwheel_rs(
|
|
|
311
311
|
// Find the highest possible policy, if any
|
|
312
312
|
let platform_policies = match platform_tag {
|
|
313
313
|
Some(PlatformTag::Manylinux { .. }) => MANYLINUX_POLICIES.clone(),
|
|
314
|
-
Some(PlatformTag::Musllinux {
|
|
314
|
+
Some(PlatformTag::Musllinux { major, minor }) => MUSLLINUX_POLICIES
|
|
315
315
|
.clone()
|
|
316
316
|
.into_iter()
|
|
317
|
-
.filter(|policy|
|
|
317
|
+
.filter(|policy| {
|
|
318
|
+
policy.name == "linux" || policy.name == format!("musllinux_{major}_{minor}")
|
|
319
|
+
})
|
|
318
320
|
.map(|mut policy| {
|
|
319
321
|
policy.fixup_musl_libc_so_name(target.target_arch());
|
|
320
322
|
policy
|
|
321
323
|
})
|
|
322
324
|
.collect(),
|
|
323
|
-
None => {
|
|
325
|
+
None | Some(PlatformTag::Pypi) => {
|
|
326
|
+
// Using the default for the `pypi` tag means we're correctly using manylinux where
|
|
327
|
+
// possible.
|
|
324
328
|
let mut policies = get_default_platform_policies();
|
|
325
329
|
for policy in &mut policies {
|
|
326
330
|
policy.fixup_musl_libc_so_name(target.target_arch());
|
|
@@ -362,8 +366,8 @@ pub fn auditwheel_rs(
|
|
|
362
366
|
}
|
|
363
367
|
|
|
364
368
|
let policy = if let Some(platform_tag) = platform_tag {
|
|
365
|
-
let
|
|
366
|
-
|
|
369
|
+
let mut policy = Policy::from_tag(&platform_tag)
|
|
370
|
+
.ok_or(AuditWheelError::UndefinedPolicy(platform_tag))?;
|
|
367
371
|
policy.fixup_musl_libc_so_name(target.target_arch());
|
|
368
372
|
|
|
369
373
|
if let Some(highest_policy) = highest_policy {
|