setuptools-rust 1.13.0__tar.gz → 1.14.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.
Files changed (140) hide show
  1. setuptools_rust-1.14.0/.bumpversion.cfg +15 -0
  2. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/.github/dependabot.yml +15 -0
  3. setuptools_rust-1.14.0/.github/workflows/actions.lock +108 -0
  4. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/.github/workflows/ci.yml +77 -85
  5. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/.github/workflows/release.yml +2 -2
  6. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/.gitignore +1 -2
  7. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/CHANGELOG.md +15 -0
  8. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/PKG-INFO +8 -6
  9. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/README.md +1 -1
  10. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/building_wheels.md +5 -1
  11. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/conf.py +0 -2
  12. setuptools_rust-1.14.0/docs/requirements.txt +4 -0
  13. setuptools_rust-1.14.0/examples/generated-files/Cargo.lock +132 -0
  14. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/Cargo.toml +1 -1
  15. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/python/generated_files/__init__.py +2 -1
  16. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/tests/test_lib.py +1 -0
  17. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/Cargo.lock +14 -15
  18. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/Cargo.toml +1 -1
  19. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/rust/lib.rs +3 -5
  20. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/Cargo.lock +14 -15
  21. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/Cargo.toml +1 -1
  22. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/Cargo.lock +62 -48
  23. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/Cargo.toml +2 -2
  24. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/pyproject.toml +7 -5
  25. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/rust/lib.rs +20 -10
  26. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/conftest.py +1 -0
  27. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/run_all.py +2 -3
  28. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/test_parsing.py +1 -2
  29. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/Cargo.lock +14 -15
  30. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/Cargo.toml +1 -1
  31. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/tests/test_namespace_package.py +1 -1
  32. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/Cargo.lock +14 -15
  33. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/Cargo.toml +1 -1
  34. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/MANIFEST.in +1 -0
  35. setuptools_rust-1.14.0/examples/rust_with_cffi/build_backend.py +63 -0
  36. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/cffi_module.py +0 -1
  37. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/noxfile.py +1 -1
  38. setuptools_rust-1.14.0/examples/rust_with_cffi/pyproject.toml +34 -0
  39. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/noxfile.py +19 -26
  40. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/pyproject.toml +14 -5
  41. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/_utils.py +6 -6
  42. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/build.py +85 -64
  43. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/clean.py +1 -1
  44. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/command.py +7 -12
  45. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/extension.py +53 -42
  46. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/rustc_info.py +13 -12
  47. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/setuptools_ext.py +19 -19
  48. setuptools_rust-1.14.0/setuptools_rust/version.py +4 -0
  49. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/PKG-INFO +8 -6
  50. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/SOURCES.txt +4 -1
  51. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/requires.txt +1 -1
  52. setuptools_rust-1.14.0/tests/test_build.py +130 -0
  53. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/tests/test_extension.py +18 -0
  54. setuptools_rust-1.14.0/uv.lock +749 -0
  55. setuptools_rust-1.13.0/.bumpversion.cfg +0 -9
  56. setuptools_rust-1.13.0/docs/requirements.txt +0 -4
  57. setuptools_rust-1.13.0/examples/rust_with_cffi/pyproject.toml +0 -3
  58. setuptools_rust-1.13.0/examples/rust_with_cffi/setup.py +0 -26
  59. setuptools_rust-1.13.0/setuptools_rust/version.py +0 -4
  60. setuptools_rust-1.13.0/tests/test_build.py +0 -38
  61. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/.gitattributes +0 -0
  62. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/.readthedocs.yaml +0 -0
  63. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/LICENSE +0 -0
  64. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/MANIFEST.in +0 -0
  65. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/Makefile +0 -0
  66. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/README.md +0 -0
  67. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/index.md +0 -0
  68. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/make.bat +0 -0
  69. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/reference.rst +0 -0
  70. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/docs/setuppy_tutorial.md +0 -0
  71. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/.gitignore +0 -0
  72. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/.ruff.toml +0 -0
  73. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/_sysconfigdata__emscripten_wasm32-emscripten.py +0 -0
  74. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/emcc_wrapper.py +0 -0
  75. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/get_emscripten_version.js +0 -0
  76. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/get_python_version.js +0 -0
  77. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/package-lock.json +0 -0
  78. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/package.json +0 -0
  79. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/emscripten/runner.js +0 -0
  80. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/MANIFEST.in +0 -0
  81. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/build.rs +0 -0
  82. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/noxfile.py +0 -0
  83. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/pyproject.toml +0 -0
  84. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/generated-files/rust/lib.rs +0 -0
  85. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/MANIFEST.in +0 -0
  86. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/noxfile.py +0 -0
  87. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/pyproject.toml +0 -0
  88. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/python/hello_world/__init__.py +0 -0
  89. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/python/hello_world/sum_cli.py +0 -0
  90. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/rust/print_hello.rs +0 -0
  91. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world/tests/test_hello_world.py +0 -0
  92. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/Cargo.lock +0 -0
  93. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/Cargo.toml +0 -0
  94. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/MANIFEST.in +0 -0
  95. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/noxfile.py +0 -0
  96. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/pyproject.toml +0 -0
  97. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/pytest.ini +0 -0
  98. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/python/hello_world/__init__.py +0 -0
  99. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-script/rust/main.rs +0 -0
  100. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/MANIFEST.in +0 -0
  101. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/noxfile.py +0 -0
  102. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/pyproject.toml +0 -0
  103. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/pytest.ini +0 -0
  104. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/python/hello_world/__init__.py +0 -0
  105. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/rust/lib.rs +0 -0
  106. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/hello-world-setuppy/setup.py +0 -0
  107. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/.github/workflows/upload.yml +0 -0
  108. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/MANIFEST.in +0 -0
  109. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/README.md +0 -0
  110. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/build-wheels.sh +0 -0
  111. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/noxfile.py +0 -0
  112. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/python/html_py_ever/__init__.py +0 -0
  113. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/requirements.txt +0 -0
  114. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/rust/main.rs +0 -0
  115. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/empty.html +0 -0
  116. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/monty-python.html +0 -0
  117. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/python.html +0 -0
  118. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/rust.html +0 -0
  119. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/small.html +0 -0
  120. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/html-py-ever/tests/test_selector.py +0 -0
  121. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/.cargo/config.toml +0 -0
  122. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/Cross.toml +0 -0
  123. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/Dockerfile +0 -0
  124. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/MANIFEST.in +0 -0
  125. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/noxfile.py +0 -0
  126. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/pyproject.toml +0 -0
  127. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/python/namespace_package/python/__init__.py +0 -0
  128. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/namespace_package/rust/lib.rs +0 -0
  129. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/pytest.ini +0 -0
  130. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/python/rust_with_cffi/__init__.py +0 -0
  131. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/rust/lib.rs +0 -0
  132. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/examples/rust_with_cffi/tests/test_rust_with_cffi.py +0 -0
  133. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/mypy.ini +0 -0
  134. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setup.cfg +0 -0
  135. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/__init__.py +0 -0
  136. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust/py.typed +0 -0
  137. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/dependency_links.txt +0 -0
  138. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/entry_points.txt +0 -0
  139. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/top_level.txt +0 -0
  140. {setuptools_rust-1.13.0 → setuptools_rust-1.14.0}/setuptools_rust.egg-info/zip-safe +0 -0
@@ -0,0 +1,15 @@
1
+ [bumpversion]
2
+ commit = True
3
+ tag = False
4
+ current_version = 1.14.0
5
+ message = release: {new_version}
6
+
7
+ [bumpversion:file:pyproject.toml]
8
+
9
+ [bumpversion:file:setuptools_rust/version.py]
10
+
11
+ [bumpversion:file:uv.lock]
12
+ search = name = "setuptools-rust"
13
+ version = "{current_version}"
14
+ replace = name = "setuptools-rust"
15
+ version = "{new_version}"
@@ -20,7 +20,22 @@ updates:
20
20
  patterns:
21
21
  - "*"
22
22
 
23
+ - package-ecosystem: "uv"
24
+ directory: "/"
25
+ schedule:
26
+ interval: "monthly"
27
+ allow:
28
+ - dependency-type: "all"
29
+ groups:
30
+ python-dependencies:
31
+ patterns:
32
+ - "*"
33
+
23
34
  - package-ecosystem: "github-actions"
24
35
  directory: "/"
25
36
  schedule:
26
37
  interval: "monthly"
38
+ groups:
39
+ actions:
40
+ patterns:
41
+ - "*"
@@ -0,0 +1,108 @@
1
+ # This file is machine-generated by `gh actions-lock`.
2
+ # Do not edit by hand; run `gh actions-lock` to update.
3
+ # Docs: https://gh.io/actions-lockfile
4
+ version: 'v0.0.3'
5
+ workflows:
6
+ '.github/workflows/ci.yml':
7
+ - 'actions/cache@v6.1.0'
8
+ - 'actions/checkout@v7.0.1'
9
+ - 'actions/setup-node@v7.1.0'
10
+ - 'actions/setup-python@v7.1.0'
11
+ - 'astral-sh/setup-uv@v10.4.0'
12
+ - 'davidhewitt/setup-python@fix-graalpy'
13
+ - 'docker/setup-qemu-action@v4.4.0'
14
+ - 'dtolnay/rust-toolchain@master'
15
+ - 'dtolnay/rust-toolchain@stable'
16
+ - 'emscripten-core/setup-emsdk@v16'
17
+ - 'msys2/setup-msys2@v2.34.0'
18
+ - 'pypa/cibuildwheel@v4.3.5'
19
+ - 'swatinem/rust-cache@v2.9.3'
20
+ '.github/workflows/release.yml':
21
+ - 'actions/checkout@v7.0.1'
22
+ - 'actions/setup-python@v7.1.0'
23
+ - 'pypa/gh-action-pypi-publish@release/v1'
24
+ dependencies:
25
+ 'actions/cache@v6.1.0':
26
+ ref: 'v6.1.0'
27
+ commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
28
+ owner_id: 44036562
29
+ repo_id: 215566462
30
+ 'actions/checkout@v7.0.1':
31
+ ref: 'v7.0.1'
32
+ commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
33
+ owner_id: 44036562
34
+ repo_id: 197814629
35
+ 'actions/setup-node@v7.1.0':
36
+ ref: 'v7.1.0'
37
+ commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
38
+ owner_id: 44036562
39
+ repo_id: 189476904
40
+ 'actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97':
41
+ ref: 'v7.0.0'
42
+ commit: 'sha1-5fda3b95a4ea91299a34e894583c3862153e4b97'
43
+ owner_id: 44036562
44
+ repo_id: 192625525
45
+ 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405':
46
+ ref: 'v6.2.0'
47
+ commit: 'sha1-a309ff8b426b58ec0e2a45f0f869d46889d02405'
48
+ owner_id: 44036562
49
+ repo_id: 192625525
50
+ 'actions/setup-python@v7.1.0':
51
+ ref: 'v7.1.0'
52
+ commit: 'sha1-6d4fd22b20465ccc0f7354476588e8df7c9ca0e0'
53
+ owner_id: 44036562
54
+ repo_id: 192625525
55
+ 'astral-sh/setup-uv@v10.4.0':
56
+ ref: 'v10.4.0'
57
+ commit: 'sha1-1db35dd8eee11c5894872e0b383ae6c406cf738d'
58
+ owner_id: 115962839
59
+ repo_id: 846733598
60
+ 'davidhewitt/setup-python@fix-graalpy':
61
+ ref: 'fix-graalpy'
62
+ commit: 'sha1-c865f403b97f90f93775f8cd8e4c15b9ace54119'
63
+ owner_id: 1939362
64
+ repo_id: 1475661613
65
+ 'docker/setup-qemu-action@v4.4.0':
66
+ ref: 'v4.4.0'
67
+ commit: 'sha1-99012661954931238ded8c8b007157a8430204e1'
68
+ owner_id: 5429470
69
+ repo_id: 288487894
70
+ 'dtolnay/rust-toolchain@master':
71
+ ref: 'master'
72
+ commit: 'sha1-df2a88e9fe4098bad09cb42c3dec7187f15861fc'
73
+ owner_id: 1940490
74
+ repo_id: 260749683
75
+ 'dtolnay/rust-toolchain@stable':
76
+ ref: 'stable'
77
+ commit: 'sha1-39008827e6b4319a349e9a42dfc90579dd25f1ca'
78
+ owner_id: 1940490
79
+ repo_id: 260749683
80
+ 'emscripten-core/setup-emsdk@v16':
81
+ ref: 'v16'
82
+ commit: 'sha1-4528d102f7230f0e7b276855c01ea1159be0e984'
83
+ owner_id: 46011144
84
+ repo_id: 203863565
85
+ 'msys2/setup-msys2@v2.34.0':
86
+ ref: 'v2.34.0'
87
+ commit: 'sha1-3c51bf698df1e37b2261f53cb67797b97761185c'
88
+ owner_id: 6759993
89
+ repo_id: 213203501
90
+ 'pypa/cibuildwheel@v4.3.5':
91
+ ref: 'v4.3.5'
92
+ commit: 'sha1-f9b966cfadf4109556cadc5bb39ddb72d0ce664e'
93
+ owner_id: 647025
94
+ repo_id: 85508223
95
+ uses:
96
+ - 'actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97'
97
+ 'pypa/gh-action-pypi-publish@release/v1':
98
+ ref: 'release/v1'
99
+ commit: 'sha1-7245906fb61fa33a13554f9d5fb856fe61758086'
100
+ owner_id: 647025
101
+ repo_id: 178055147
102
+ uses:
103
+ - 'actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405'
104
+ 'swatinem/rust-cache@v2.9.3':
105
+ ref: 'v2.9.3'
106
+ commit: 'sha1-d1527c8f67ef9af357290475d4af4b0fab8f12e0'
107
+ owner_id: 580492
108
+ repo_id: 298565987
@@ -9,18 +9,18 @@ concurrency:
9
9
  group: ${{ github.workflow }}-${{ github.ref_name }}-${{ github.event.pull_request.number || github.sha }}
10
10
  cancel-in-progress: true
11
11
 
12
- # Setting a fixed target dir ensures that all builds of examples re-use the same common dependencies
13
12
  env:
13
+ # Setting a fixed target dir ensures that all builds of examples re-use the same common dependencies
14
14
  CARGO_TARGET_DIR: ${{ github.workspace }}/target
15
15
 
16
16
  jobs:
17
17
  ruff:
18
18
  runs-on: "ubuntu-latest"
19
19
  steps:
20
- - uses: actions/checkout@v6
20
+ - uses: actions/checkout@v7.0.1
21
21
 
22
22
  - name: Set up Python
23
- uses: actions/setup-python@v6
23
+ uses: actions/setup-python@v7.1.0
24
24
  with:
25
25
  python-version: "3.x"
26
26
 
@@ -31,24 +31,26 @@ jobs:
31
31
  mypy:
32
32
  runs-on: "ubuntu-latest"
33
33
  steps:
34
- - uses: actions/checkout@v6
34
+ - uses: actions/checkout@v7.0.1
35
35
 
36
36
  - name: Set up Python
37
- uses: actions/setup-python@v6
37
+ uses: actions/setup-python@v7.1.0
38
38
  with:
39
39
  python-version: "3.x"
40
40
 
41
- - run: pip install nox
41
+ - uses: astral-sh/setup-uv@v10.4.0
42
+ with:
43
+ version-file: "uv.lock"
42
44
 
43
- - run: nox -s mypy
45
+ - run: uv run --locked --only-group mypy mypy setuptools_rust
44
46
 
45
47
  pytest:
46
48
  runs-on: "ubuntu-latest"
47
49
  steps:
48
- - uses: actions/checkout@v6
50
+ - uses: actions/checkout@v7.0.1
49
51
 
50
52
  - name: Set up Python
51
- uses: actions/setup-python@v6
53
+ uses: actions/setup-python@v7.1.0
52
54
  with:
53
55
  python-version: "3.x"
54
56
 
@@ -68,16 +70,15 @@ jobs:
68
70
  matrix:
69
71
  python-version:
70
72
  [
71
- "3.9",
72
- "3.10",
73
73
  "3.11",
74
74
  "3.14",
75
75
  "3.13",
76
- "3.13t",
77
76
  "3.14",
78
77
  "3.14t",
79
- "pypy-3.11",
80
- "graalpy25.0",
78
+ "3.15",
79
+ "3.15t",
80
+ "pypy-3.12",
81
+ "graalpy-25.4", # 3.13
81
82
  ]
82
83
  platform:
83
84
  [
@@ -130,44 +131,31 @@ jobs:
130
131
  python-architecture: "arm64",
131
132
  rust-target: "aarch64-unknown-linux-gnu",
132
133
  }
133
- exclude:
134
- # macOS arm doesn't have Python builds before 3.10
135
- - python-version: 3.9
136
- platform:
137
- {
138
- os: "macos-latest",
139
- python-architecture: "arm64",
140
- rust-target: "aarch64-apple-darwin",
141
- }
142
- # no graalpy available on Windows
143
- - python-version: graalpy25.0
144
- platform:
145
- {
146
- os: "windows-latest",
147
- python-architecture: "x64",
148
- rust-target: "x86_64-pc-windows-msvc",
149
- }
150
134
 
151
135
  env:
152
136
  SETUPTOOLS_RUST_CARGO_PROFILE: dev
137
+ NOX_DEFAULT_VENV_BACKEND: uv
153
138
  steps:
154
- - uses: actions/checkout@v6
139
+ - uses: actions/checkout@v7.0.1
155
140
 
156
141
  - name: Set up Python ${{ matrix.python-version }}
157
- uses: actions/setup-python@v6
142
+ id: setup-python
143
+ # Fix python-path on Windows GraalPy: https://github.com/actions/setup-python/pull/1393
144
+ uses: davidhewitt/setup-python@fix-graalpy
158
145
  with:
159
146
  python-version: ${{ matrix.python-version }}
160
147
  architecture: ${{ matrix.platform.python-architecture }}
161
148
  allow-prereleases: true
162
149
 
150
+ - uses: astral-sh/setup-uv@v10.4.0
151
+ with:
152
+ version-file: "uv.lock"
153
+
163
154
  - name: Install Rust toolchain
164
155
  uses: dtolnay/rust-toolchain@stable
165
156
  with:
166
157
  targets: ${{ matrix.platform.rust-target }}
167
158
 
168
- - name: Install test dependencies
169
- run: pip install --upgrade nox
170
-
171
159
  - name: Build package
172
160
  run: pip install -e .
173
161
 
@@ -175,7 +163,8 @@ jobs:
175
163
  shell: bash
176
164
  env:
177
165
  PYTHON: ${{ matrix.python-version }}
178
- run: nox -s test-examples
166
+ CI_PYTHON: ${{ steps.setup-python.outputs.python-path }}
167
+ run: uv run --locked --only-group ci --no-build --python "$CI_PYTHON" nox -s test-examples
179
168
 
180
169
  - name: Test macOS universal2
181
170
  if: ${{ startsWith(matrix.platform.os, 'macos') && !startsWith(matrix.python-version, 'pypy') && !startsWith(matrix.python-version, 'graalpy') }}
@@ -196,8 +185,12 @@ jobs:
196
185
 
197
186
  - name: Test sdist vendor Rust crates
198
187
  shell: bash
199
- run: nox -s test-sdist-vendor
188
+ run: uv run --locked --only-group ci --no-build --python "$CI_PYTHON" nox -s test-sdist-vendor
189
+ # FIXME: graalpy on windows appears to have issues with the sdist process, needs investigation and
190
+ # reporting upstream.
191
+ continue-on-error: ${{ matrix.platform.os == 'windows-latest' && startsWith(matrix.python-version, 'graalpy') }}
200
192
  env:
193
+ CI_PYTHON: ${{ steps.setup-python.outputs.python-path }}
201
194
  CARGO_BUILD_TARGET: ${{ matrix.platform.rust-target }}
202
195
 
203
196
  test-abi3:
@@ -216,11 +209,13 @@ jobs:
216
209
  ubuntu-24.04-arm,
217
210
  ]
218
211
  steps:
219
- - uses: actions/checkout@v6
212
+ - uses: actions/checkout@v7.0.1
220
213
  - name: Setup python
221
- uses: actions/setup-python@v6
214
+ uses: actions/setup-python@v7.1.0
222
215
  with:
223
- python-version: "3.x"
216
+ # On Python 3.15, setuptools uses a qualified ABI3 suffix that Python 3.11 cannot import.
217
+ # https://github.com/pypa/setuptools/issues/5389
218
+ python-version: "3.14"
224
219
 
225
220
  - uses: dtolnay/rust-toolchain@stable
226
221
 
@@ -243,9 +238,9 @@ jobs:
243
238
  # Now we switch to a different Python version and ensure we can install
244
239
  # the wheel we just built.
245
240
  - name: Setup python
246
- uses: actions/setup-python@v6
241
+ uses: actions/setup-python@v7.1.0
247
242
  with:
248
- python-version: "3.11"
243
+ python-version: "3.x"
249
244
 
250
245
  - name: Install abi3 wheel and run tests
251
246
  shell: bash
@@ -273,21 +268,21 @@ jobs:
273
268
  matrix:
274
269
  platform: [{ arch: "aarch64" }, { arch: "armv7" }]
275
270
  steps:
276
- - uses: actions/checkout@v6
271
+ - uses: actions/checkout@v7.0.1
277
272
  - name: Set up Python
278
- uses: actions/setup-python@v6
273
+ uses: actions/setup-python@v7.1.0
279
274
  with:
280
275
  python-version: "3.x"
281
- - uses: docker/setup-qemu-action@v4
276
+ - uses: docker/setup-qemu-action@v4.4.0
282
277
  - run: pip install nox
283
278
  - run: nox -s test-crossenv -- ${{ matrix.platform.arch }}
284
279
 
285
280
  test-cross:
286
281
  runs-on: ubuntu-latest
287
282
  steps:
288
- - uses: actions/checkout@v6
283
+ - uses: actions/checkout@v7.0.1
289
284
  - name: Setup python
290
- uses: actions/setup-python@v6
285
+ uses: actions/setup-python@v7.1.0
291
286
  with:
292
287
  python-version: "3.x"
293
288
  - uses: dtolnay/rust-toolchain@stable
@@ -295,18 +290,18 @@ jobs:
295
290
  # need cross HEAD for https://github.com/cross-rs/cross/issues/1645
296
291
  # will probably be ok to use released cross from 0.3
297
292
  run: cargo install cross --git https://github.com/cross-rs/cross
298
- - uses: docker/setup-qemu-action@v4
293
+ - uses: docker/setup-qemu-action@v4.4.0
299
294
  - run: pip install nox
300
295
  - run: nox -s test-cross
301
296
 
302
297
  test-zigbuild:
303
298
  runs-on: ubuntu-latest
304
299
  steps:
305
- - uses: actions/checkout@v6
300
+ - uses: actions/checkout@v7.0.1
306
301
  - name: Setup python
307
- uses: actions/setup-python@v6
302
+ uses: actions/setup-python@v7.1.0
308
303
  with:
309
- python-version: "3.10" # must match the ubuntu version in the install, and also the version copied out of the docker image below
304
+ python-version: "3.10" # must match the build and test containers below
310
305
  - uses: dtolnay/rust-toolchain@stable
311
306
  with:
312
307
  targets: aarch64-unknown-linux-gnu
@@ -331,33 +326,27 @@ jobs:
331
326
  python -m build --no-isolation
332
327
  ls -la dist/
333
328
  unzip -l dist/*.whl # debug all files inside wheel file
334
- - uses: uraimo/run-on-arch-action@v3.1.0
335
- name: Install built wheel
336
- with:
337
- arch: aarch64
338
- distro: ubuntu22.04
339
- dockerRunArgs: |
340
- --volume "${PWD}/examples/namespace_package:/io"
341
- install: |
342
- apt-get update
343
- apt-get install -y --no-install-recommends python3 python3-venv python3-pip
344
- run: |
345
- python3 -m venv .venv
346
- source .venv/bin/activate
329
+ - uses: docker/setup-qemu-action@v4.4.0
330
+ - name: Install built wheel
331
+ run: |
332
+ docker run --rm --platform linux/arm64 \
333
+ -v "$PWD/examples/namespace_package:/io" \
334
+ python:3.10 bash -euxc '
347
335
  pip install namespace_package --no-index --find-links /io/dist/ --force-reinstall
348
336
  python -c "from namespace_package import rust; assert rust.rust_func() == 14"
349
337
  python -c "from namespace_package import python; assert python.python_func() == 15"
338
+ '
350
339
 
351
340
  test-cibuildwheel:
352
341
  runs-on: macos-latest
353
342
  steps:
354
- - uses: actions/checkout@v6
343
+ - uses: actions/checkout@v7.0.1
355
344
  - uses: dtolnay/rust-toolchain@stable
356
345
  with:
357
346
  targets: aarch64-apple-darwin,x86_64-apple-darwin
358
- - uses: pypa/cibuildwheel@v3.4.1
347
+ - uses: pypa/cibuildwheel@v4.3.5
359
348
  env:
360
- CIBW_BUILD: cp39-*
349
+ CIBW_BUILD: cp310-*
361
350
  CIBW_BEFORE_BUILD: >
362
351
  pip install -U 'pip>=23.2.1' 'setuptools>=70.1.0' 'auditwheel>=5.4.0'
363
352
  && pip install -e .
@@ -383,17 +372,13 @@ jobs:
383
372
  path: mingw64,
384
373
  rust_target: x86_64-pc-windows-gnu,
385
374
  },
386
- {
387
- msystem: MINGW32,
388
- arch: i686,
389
- path: mingw32,
390
- rust_target: i686-pc-windows-gnu,
391
- },
392
375
  ]
376
+ env:
377
+ CARGO_BUILD_TARGET: ${{ matrix.rust_target }}
393
378
  steps:
394
- - uses: actions/checkout@v6
379
+ - uses: actions/checkout@v7.0.1
395
380
  - name: Install MSys2 and dependencies
396
- uses: msys2/setup-msys2@v2
381
+ uses: msys2/setup-msys2@v2.34.0
397
382
  with:
398
383
  update: true
399
384
  msystem: ${{ matrix.msystem }}
@@ -404,9 +389,9 @@ jobs:
404
389
  mingw-w64-${{ matrix.arch }}-openssl
405
390
  mingw-w64-${{ matrix.arch }}-toolchain
406
391
 
407
- - uses: dtolnay/rust-toolchain@master
392
+ - uses: dtolnay/rust-toolchain@stable
408
393
  with:
409
- toolchain: stable-${{ matrix.rust_target }}
394
+ targets: ${{ matrix.rust_target }}
410
395
 
411
396
  - name: Install test dependencies
412
397
  shell: msys2 {0}
@@ -423,30 +408,37 @@ jobs:
423
408
  run: PATH="$PATH:/c/Users/runneradmin/.cargo/bin" nox -s test-examples
424
409
 
425
410
  test-emscripten:
411
+ name: emscripten (${{ matrix.rust-version }} Rust)
412
+ strategy:
413
+ fail-fast: true
414
+ matrix:
415
+ rust-version: [stable, nightly]
426
416
  runs-on: ubuntu-latest
417
+ continue-on-error: ${{ matrix.rust-version == 'nightly' }}
427
418
  steps:
428
- - uses: actions/checkout@v6
429
- - uses: astral-sh/setup-uv@v7
430
- - uses: actions/setup-node@v6
419
+ - uses: actions/checkout@v7.0.1
420
+ - uses: astral-sh/setup-uv@v10.4.0
421
+ - uses: actions/setup-node@v7.1.0
431
422
  with:
432
423
  node-version: 22
433
424
  - run: |
434
425
  uvx nox -s install-pyodide-emscripten
435
426
  echo "ORIG_PATH=$PATH" >> $GITHUB_ENV
436
- - uses: dtolnay/rust-toolchain@nightly
427
+ - uses: dtolnay/rust-toolchain@master
437
428
  with:
429
+ toolchain: ${{ matrix.rust-version }}
438
430
  components: rust-src
439
431
  targets: wasm32-unknown-emscripten
440
- - uses: mymindstorm/setup-emsdk@v16
432
+ - uses: emscripten-core/setup-emsdk@v16
441
433
  with:
442
434
  version: ${{env.EMSCRIPTEN_VERSION}}
443
435
  actions-cache-folder: emsdk-cache
444
- - uses: actions/cache@v5
436
+ - uses: actions/cache@v6.1.0
445
437
  with:
446
438
  path: |
447
439
  tests/pyodide
448
440
  key: ${{ hashFiles('tests/*.js') }} - ${{ hashFiles('noxfile.py') }} - ${{ steps.setup-python.outputs.python-path }}
449
- - uses: Swatinem/rust-cache@v2
441
+ - uses: Swatinem/rust-cache@v2.9.3
450
442
  - name: Test
451
443
  run: |
452
444
  export PATH=$ORIG_PATH:$PATH
@@ -14,9 +14,9 @@ jobs:
14
14
  id-token: write
15
15
 
16
16
  steps:
17
- - uses: actions/checkout@v6
17
+ - uses: actions/checkout@v7.0.1
18
18
  - name: Set up Python
19
- uses: actions/setup-python@v6
19
+ uses: actions/setup-python@v7.1.0
20
20
  with:
21
21
  python-version: '3.x'
22
22
  - name: Install dependencies
@@ -11,5 +11,4 @@ target
11
11
  *.egg-info
12
12
  pyo3
13
13
  docs/_build
14
-
15
- Cargo.lock
14
+ examples/rust_with_cffi/cffi_module.c
@@ -1,5 +1,20 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.14.0 (2026-11-30)
4
+
5
+ ### Packaging
6
+ - Drop support for Python 3.9. [#615](https://github.com/PyO3/setuptools-rust/pull/615)
7
+ - Bump the minimum supported `setuptools` version to 83.0. [#615](https://github.com/PyO3/setuptools-rust/pull/615)
8
+
9
+ ### Changed
10
+
11
+ - Stop passing `-sWASM_BIGINT` for Emscripten builds; let Rust 1.95 and newer set flags automatically. [#568](https://github.com/PyO3/setuptools-rust/pull/568)
12
+
13
+ ### Fixed
14
+ - Honor `SETUPTOOLS_EXT_SUFFIX` when replacing extension suffixes for limited-API builds. [#623](https://github.com/PyO3/setuptools-rust/pull/623)
15
+ - Select PyO3's ABI3T features for limited-API builds targeting free-threaded Python 3.15 and newer. [#622](https://github.com/PyO3/setuptools-rust/pull/622)
16
+ - Query Cargo for package and target directory metadata without resolving Rust dependencies, and decode Cargo metadata as UTF-8. [#620](https://github.com/PyO3/setuptools-rust/pull/620)
17
+
3
18
  ## 1.13.0 (2026-06-27)
4
19
  ### Added
5
20
  - Add `generated-files` option to `RustExtension` to copy files from the build script output directory to the wheel. [#574](https://github.com/PyO3/setuptools-rust/pull/574)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: setuptools-rust
3
- Version: 1.13.0
3
+ Version: 1.14.0
4
4
  Summary: Setuptools Rust extension plugin
5
5
  Author-email: Nikolay Kim <fafhrd91@gmail.com>
6
6
  Project-URL: Homepage, https://github.com/PyO3/setuptools-rust
@@ -12,18 +12,20 @@ Classifier: Topic :: Software Development :: Version Control
12
12
  Classifier: License :: OSI Approved :: MIT License
13
13
  Classifier: Intended Audience :: Developers
14
14
  Classifier: Programming Language :: Python :: 3
15
- Classifier: Programming Language :: Python :: 3.8
16
- Classifier: Programming Language :: Python :: 3.9
17
15
  Classifier: Programming Language :: Python :: 3.10
18
16
  Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Programming Language :: Python :: 3.14
20
+ Classifier: Programming Language :: Python :: 3.15
19
21
  Classifier: Development Status :: 5 - Production/Stable
20
22
  Classifier: Operating System :: POSIX
21
23
  Classifier: Operating System :: MacOS :: MacOS X
22
24
  Classifier: Operating System :: Microsoft :: Windows
23
- Requires-Python: >=3.9
25
+ Requires-Python: >=3.10
24
26
  Description-Content-Type: text/markdown
25
27
  License-File: LICENSE
26
- Requires-Dist: setuptools>=62.4
28
+ Requires-Dist: setuptools>=83.0
27
29
  Requires-Dist: semantic_version<3,>=2.8.2
28
30
  Dynamic: license-file
29
31
 
@@ -98,7 +100,7 @@ version = "0.1.0"
98
100
  edition = "2021"
99
101
 
100
102
  [dependencies]
101
- pyo3 = "0.25"
103
+ pyo3 = "0.29.3"
102
104
 
103
105
  [lib]
104
106
  name = "_lib" # private module to be nested into Python package,
@@ -69,7 +69,7 @@ version = "0.1.0"
69
69
  edition = "2021"
70
70
 
71
71
  [dependencies]
72
- pyo3 = "0.25"
72
+ pyo3 = "0.29.3"
73
73
 
74
74
  [lib]
75
75
  name = "_lib" # private module to be nested into Python package,
@@ -8,7 +8,7 @@ A key choice to make is whether to upload [PEP 384](https://www.python.org/dev/p
8
8
 
9
9
  This chapter covers each of these options below.
10
10
 
11
- ## Building for ABI3
11
+ ## Building for ABI3 and ABI3T
12
12
 
13
13
  `setuptools-rust` will automatically configure for the limited API when this is set in the `[bdist_wheel]` configuration section of [`setup.cfg`](https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html#writing-the-setup-configuration-file):
14
14
 
@@ -17,6 +17,10 @@ This chapter covers each of these options below.
17
17
  py_limited_api=cp37 # replace with desired minimum Python version
18
18
  ```
19
19
 
20
+ When targeting free-threaded Python 3.15 or newer, this selects PyO3's ABI3T
21
+ features instead of ABI3. Set `py_limited_api=cp315` or newer for these builds,
22
+ as PyO3's ABI3T support requires Python 3.15 or newer.
23
+
20
24
  If using a `pyproject.toml`-based build, then save the above in a file and use the `DIST_EXTRA_CONFIG` environment variable to instruct `setuptools` to pick up this extra configuration. (`DIST_EXTRA_CONFIG` is documented [on this page](https://setuptools.pypa.io/en/latest/deprecated/distutils/configfile.html#writing-the-setup-configuration-file) of the `setuptools` docs.)
21
25
 
22
26
  It is also possible to pass this setting via the command line, e.g.
@@ -80,7 +80,6 @@ class RelativeDocLinks(SphinxTransform):
80
80
  for t in node.traverse(basetext):
81
81
  t1 = Text(t.replace(DOCS_URL, "", 1), t.rawsource)
82
82
  t.parent.replace(t, t1)
83
- return
84
83
 
85
84
 
86
85
  # end of class
@@ -88,4 +87,3 @@ class RelativeDocLinks(SphinxTransform):
88
87
 
89
88
  def setup(app):
90
89
  app.add_transform(RelativeDocLinks)
91
- return
@@ -0,0 +1,4 @@
1
+ Sphinx==9.2.0
2
+ sphinx-autodoc-typehints==3.17.7
3
+ furo==2025.12.19
4
+ myst-parser==5.2.0