setuptools-rust 1.10.0__tar.gz → 1.10.2__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 (122) hide show
  1. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.bumpversion.cfg +1 -1
  2. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.github/workflows/ci.yml +7 -8
  3. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/CHANGELOG.md +9 -1
  4. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/PKG-INFO +1 -1
  5. setuptools_rust-1.10.2/docs/requirements.txt +4 -0
  6. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/Cargo.lock +10 -10
  7. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/Cargo.toml +1 -1
  8. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/noxfile.py +1 -1
  9. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/noxfile.py +1 -1
  10. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/pyproject.toml +1 -1
  11. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/Cargo.lock +10 -10
  12. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/Cargo.toml +1 -1
  13. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/noxfile.py +1 -1
  14. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/pyproject.toml +1 -1
  15. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/Cargo.lock +10 -10
  16. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/Cargo.toml +1 -1
  17. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/README.md +1 -1
  18. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/build-wheels.sh +1 -1
  19. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/noxfile.py +1 -3
  20. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/pyproject.toml +1 -1
  21. setuptools_rust-1.10.2/examples/html-py-ever/requirements.txt +2 -0
  22. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/Cargo.lock +10 -10
  23. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/Cargo.toml +1 -1
  24. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/noxfile.py +1 -1
  25. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/pyproject.toml +1 -1
  26. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/Cargo.lock +10 -10
  27. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/Cargo.toml +1 -1
  28. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/noxfile.py +1 -1
  29. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/noxfile.py +4 -4
  30. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/pyproject.toml +1 -1
  31. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/build.py +11 -11
  32. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/setuptools_ext.py +6 -3
  33. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/version.py +1 -1
  34. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/PKG-INFO +1 -1
  35. setuptools_rust-1.10.0/docs/requirements.txt +0 -4
  36. setuptools_rust-1.10.0/examples/html-py-ever/requirements.txt +0 -3
  37. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.gitattributes +0 -0
  38. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.github/dependabot.yml +0 -0
  39. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.github/workflows/python-publish.yml +0 -0
  40. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.gitignore +0 -0
  41. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/.readthedocs.yaml +0 -0
  42. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/LICENSE +0 -0
  43. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/MANIFEST.in +0 -0
  44. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/README.md +0 -0
  45. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/Makefile +0 -0
  46. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/README.md +0 -0
  47. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/building_wheels.md +0 -0
  48. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/conf.py +0 -0
  49. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/index.md +0 -0
  50. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/make.bat +0 -0
  51. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/reference.rst +0 -0
  52. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/docs/setuppy_tutorial.md +0 -0
  53. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/emscripten/.gitignore +0 -0
  54. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/emscripten/_sysconfigdata__emscripten_wasm32-emscripten.py +0 -0
  55. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/emscripten/emcc_wrapper.py +0 -0
  56. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/emscripten/pyo3_config.ini +0 -0
  57. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/emscripten/runner.js +0 -0
  58. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/MANIFEST.in +0 -0
  59. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/pyproject.toml +0 -0
  60. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/python/hello_world/__init__.py +0 -0
  61. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/python/hello_world/sum_cli.py +0 -0
  62. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/rust/lib.rs +0 -0
  63. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/rust/print_hello.rs +0 -0
  64. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world/tests/test_hello_world.py +0 -0
  65. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/Cargo.lock +0 -0
  66. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/Cargo.toml +0 -0
  67. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/MANIFEST.in +0 -0
  68. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/pytest.ini +0 -0
  69. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/python/hello_world/__init__.py +0 -0
  70. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-script/rust/main.rs +0 -0
  71. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/MANIFEST.in +0 -0
  72. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/pytest.ini +0 -0
  73. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/python/hello_world/__init__.py +0 -0
  74. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/rust/lib.rs +0 -0
  75. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/hello-world-setuppy/setup.py +0 -0
  76. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/.github/workflows/upload.yml +0 -0
  77. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/MANIFEST.in +0 -0
  78. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/pytest.ini +0 -0
  79. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/python/html_py_ever/__init__.py +0 -0
  80. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/rust/lib.rs +0 -0
  81. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/rust/main.rs +0 -0
  82. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/conftest.py +0 -0
  83. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/empty.html +0 -0
  84. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/monty-python.html +0 -0
  85. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/python.html +0 -0
  86. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/run_all.py +0 -0
  87. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/rust.html +0 -0
  88. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/small.html +0 -0
  89. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/test_parsing.py +0 -0
  90. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/html-py-ever/tests/test_selector.py +0 -0
  91. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/.cargo/config.toml +0 -0
  92. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/Cross.toml +0 -0
  93. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/Dockerfile +0 -0
  94. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/MANIFEST.in +0 -0
  95. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/python/namespace_package/python/__init__.py +0 -0
  96. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/rust/lib.rs +0 -0
  97. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/namespace_package/tests/test_namespace_package.py +0 -0
  98. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/MANIFEST.in +0 -0
  99. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/cffi_module.py +0 -0
  100. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/pyproject.toml +0 -0
  101. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/pytest.ini +0 -0
  102. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/python/rust_with_cffi/__init__.py +0 -0
  103. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/rust/lib.rs +0 -0
  104. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/setup.py +0 -0
  105. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/examples/rust_with_cffi/tests/test_rust_with_cffi.py +0 -0
  106. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/mypy.ini +0 -0
  107. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setup.cfg +0 -0
  108. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/__init__.py +0 -0
  109. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/_utils.py +0 -0
  110. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/clean.py +0 -0
  111. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/command.py +0 -0
  112. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/extension.py +0 -0
  113. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/py.typed +0 -0
  114. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust/rustc_info.py +0 -0
  115. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/SOURCES.txt +0 -0
  116. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/dependency_links.txt +0 -0
  117. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/entry_points.txt +0 -0
  118. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/requires.txt +0 -0
  119. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/top_level.txt +0 -0
  120. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/setuptools_rust.egg-info/zip-safe +0 -0
  121. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/tests/test_build.py +0 -0
  122. {setuptools_rust-1.10.0 → setuptools_rust-1.10.2}/tests/test_extension.py +0 -0
@@ -1,7 +1,7 @@
1
1
  [bumpversion]
2
2
  commit = True
3
3
  tag = False
4
- current_version = 1.10.0
4
+ current_version = 1.10.2
5
5
  message = release: {new_version}
6
6
 
7
7
  [bumpversion:file:pyproject.toml]
@@ -120,7 +120,7 @@ jobs:
120
120
  rustup target add aarch64-apple-darwin
121
121
  rustup target add x86_64-apple-darwin
122
122
  cd examples/namespace_package
123
- pip install build wheel
123
+ pip install build 'setuptools>=70.1'
124
124
  python -m build --no-isolation
125
125
  ls -l dist/
126
126
  pip install --force-reinstall dist/namespace_package*_universal2.whl
@@ -163,7 +163,7 @@ jobs:
163
163
  set -e
164
164
  cd examples/rust_with_cffi/
165
165
  python --version
166
- pip install -U build cffi wheel
166
+ pip install -U build cffi 'setuptools>=70.1'
167
167
  echo -e "[bdist_wheel]\npy_limited_api=cp39" > $DIST_EXTRA_CONFIG
168
168
  python -m build --no-isolation
169
169
  ls -la dist/
@@ -180,7 +180,6 @@ jobs:
180
180
  run: |
181
181
  set -e
182
182
  cd examples/
183
- pip install -U wheel
184
183
  python --version
185
184
  pip install rust_with_cffi/dist/rust_with_cffi*.whl
186
185
  python -c "from rust_with_cffi import rust; assert rust.rust_func() == 14"
@@ -235,7 +234,7 @@ jobs:
235
234
  run: |
236
235
  cd examples/namespace_package
237
236
  docker build -t cross-pyo3:aarch64-unknown-linux-gnu .
238
- python -m pip install build wheel
237
+ python -m pip install build
239
238
  echo -e "[bdist_wheel]\nplat_name=manylinux2014_aarch64" > $DIST_EXTRA_CONFIG
240
239
  python -m build --no-isolation
241
240
  ls -la dist/
@@ -283,7 +282,7 @@ jobs:
283
282
  mkdir -p $PYO3_CROSS_LIB_DIR
284
283
  docker cp -L $(docker create --rm quay.io/pypa/manylinux2014_aarch64:latest):/opt/python/cp38-cp38 /opt/python
285
284
  cd examples/namespace_package
286
- python -m pip install build wheel
285
+ python -m pip install build
287
286
  echo -e "[bdist_wheel]\nplat_name=manylinux2014_aarch64" > $DIST_EXTRA_CONFIG
288
287
  python -m build --no-isolation
289
288
  ls -la dist/
@@ -311,11 +310,11 @@ jobs:
311
310
  - uses: dtolnay/rust-toolchain@stable
312
311
  with:
313
312
  targets: aarch64-apple-darwin,x86_64-apple-darwin
314
- - uses: pypa/cibuildwheel@v2.19.2
313
+ - uses: pypa/cibuildwheel@v2.21.1
315
314
  env:
316
315
  CIBW_BUILD: cp39-*
317
316
  CIBW_BEFORE_BUILD: >
318
- pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.2' 'auditwheel>=5.4.0'
317
+ pip install -U 'pip>=23.2.1' 'setuptools>=70.1.0' 'auditwheel>=5.4.0'
319
318
  && pip install -e .
320
319
  && pip list
321
320
  CIBW_ARCHS_MACOS: "x86_64 universal2 arm64"
@@ -354,7 +353,7 @@ jobs:
354
353
 
355
354
  - name: Install test dependencies
356
355
  shell: msys2 {0}
357
- run: python -m pip install --upgrade nox pip wheel
356
+ run: python -m pip install --upgrade nox pip
358
357
 
359
358
  - name: Create libpython symlink
360
359
  shell: msys2 {0}
@@ -1,6 +1,14 @@
1
1
  # Changelog
2
2
 
3
- ## 1.10.0 (2024-07-01)
3
+ ## 1.10.2 (2024-10-02)
4
+ ### Fixed
5
+ - Fix deprecation warning from use of `wheel.bdist_wheel`.
6
+
7
+ ## 1.10.1 (2024-08-04)
8
+ ### Fixed
9
+ - Fix regression in 1.10.0 where editable builds would be built in release mode
10
+
11
+ ## 1.10.0 (2024-08-03)
4
12
  ### Packaging
5
13
  - Extend macOS build flags to iOS, tvOS and watchOS. [#436](https://github.com/PyO3/setuptools-rust/pull/436)
6
14
  - Support Python 3.13. [#446](https://github.com/PyO3/setuptools-rust/pull/446)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: setuptools-rust
3
- Version: 1.10.0
3
+ Version: 1.10.2
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
@@ -0,0 +1,4 @@
1
+ Sphinx==8.0.2
2
+ sphinx-autodoc-typehints==2.4.4
3
+ furo==2024.8.6
4
+ myst-parser==4.0.0
@@ -71,9 +71,9 @@ dependencies = [
71
71
 
72
72
  [[package]]
73
73
  name = "pyo3"
74
- version = "0.22.2"
74
+ version = "0.22.3"
75
75
  source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
76
+ checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
77
77
  dependencies = [
78
78
  "cfg-if",
79
79
  "indoc",
@@ -89,9 +89,9 @@ dependencies = [
89
89
 
90
90
  [[package]]
91
91
  name = "pyo3-build-config"
92
- version = "0.22.2"
92
+ version = "0.22.3"
93
93
  source = "registry+https://github.com/rust-lang/crates.io-index"
94
- checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
94
+ checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
95
95
  dependencies = [
96
96
  "once_cell",
97
97
  "target-lexicon",
@@ -99,9 +99,9 @@ dependencies = [
99
99
 
100
100
  [[package]]
101
101
  name = "pyo3-ffi"
102
- version = "0.22.2"
102
+ version = "0.22.3"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
104
+ checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
105
105
  dependencies = [
106
106
  "libc",
107
107
  "pyo3-build-config",
@@ -109,9 +109,9 @@ dependencies = [
109
109
 
110
110
  [[package]]
111
111
  name = "pyo3-macros"
112
- version = "0.22.2"
112
+ version = "0.22.3"
113
113
  source = "registry+https://github.com/rust-lang/crates.io-index"
114
- checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
114
+ checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
115
115
  dependencies = [
116
116
  "proc-macro2",
117
117
  "pyo3-macros-backend",
@@ -121,9 +121,9 @@ dependencies = [
121
121
 
122
122
  [[package]]
123
123
  name = "pyo3-macros-backend"
124
- version = "0.22.2"
124
+ version = "0.22.3"
125
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
- checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
126
+ checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
127
127
  dependencies = [
128
128
  "heck",
129
129
  "proc-macro2",
@@ -6,7 +6,7 @@ edition = "2021"
6
6
  # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
7
 
8
8
  [dependencies]
9
- pyo3 = "0.22.2"
9
+ pyo3 = "0.22.3"
10
10
 
11
11
  [profile.release-lto]
12
12
  inherits = "release"
@@ -7,7 +7,7 @@ SETUPTOOLS_RUST = dirname(dirname(dirname(__file__)))
7
7
 
8
8
  @nox.session()
9
9
  def test(session: nox.Session):
10
- session.install(SETUPTOOLS_RUST, "wheel", "build", "pytest")
10
+ session.install(SETUPTOOLS_RUST, "build", "pytest")
11
11
  # Ensure build works as intended
12
12
  session.install("--no-build-isolation", ".")
13
13
  # Test Rust binary
@@ -7,7 +7,7 @@ SETUPTOOLS_RUST = dirname(dirname(dirname(__file__)))
7
7
 
8
8
  @nox.session()
9
9
  def test(session: nox.Session):
10
- session.install(SETUPTOOLS_RUST, "wheel")
10
+ session.install(SETUPTOOLS_RUST)
11
11
  # Ensure build uses version of setuptools-rust under development
12
12
  session.install("--no-build-isolation", ".")
13
13
  # Test Rust binary
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools", "wheel", "setuptools-rust"]
2
+ requires = ["setuptools", "setuptools-rust"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
@@ -71,9 +71,9 @@ dependencies = [
71
71
 
72
72
  [[package]]
73
73
  name = "pyo3"
74
- version = "0.22.2"
74
+ version = "0.22.3"
75
75
  source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
76
+ checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
77
77
  dependencies = [
78
78
  "cfg-if",
79
79
  "indoc",
@@ -89,9 +89,9 @@ dependencies = [
89
89
 
90
90
  [[package]]
91
91
  name = "pyo3-build-config"
92
- version = "0.22.2"
92
+ version = "0.22.3"
93
93
  source = "registry+https://github.com/rust-lang/crates.io-index"
94
- checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
94
+ checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
95
95
  dependencies = [
96
96
  "once_cell",
97
97
  "target-lexicon",
@@ -99,9 +99,9 @@ dependencies = [
99
99
 
100
100
  [[package]]
101
101
  name = "pyo3-ffi"
102
- version = "0.22.2"
102
+ version = "0.22.3"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
104
+ checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
105
105
  dependencies = [
106
106
  "libc",
107
107
  "pyo3-build-config",
@@ -109,9 +109,9 @@ dependencies = [
109
109
 
110
110
  [[package]]
111
111
  name = "pyo3-macros"
112
- version = "0.22.2"
112
+ version = "0.22.3"
113
113
  source = "registry+https://github.com/rust-lang/crates.io-index"
114
- checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
114
+ checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
115
115
  dependencies = [
116
116
  "proc-macro2",
117
117
  "pyo3-macros-backend",
@@ -121,9 +121,9 @@ dependencies = [
121
121
 
122
122
  [[package]]
123
123
  name = "pyo3-macros-backend"
124
- version = "0.22.2"
124
+ version = "0.22.3"
125
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
- checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
126
+ checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
127
127
  dependencies = [
128
128
  "heck",
129
129
  "proc-macro2",
@@ -4,7 +4,7 @@ version = "0.1.0"
4
4
  edition = "2021"
5
5
 
6
6
  [dependencies]
7
- pyo3 = "0.22.2"
7
+ pyo3 = "0.22.3"
8
8
 
9
9
  [lib]
10
10
  # See https://github.com/PyO3/pyo3 for details
@@ -7,7 +7,7 @@ SETUPTOOLS_RUST = dirname(dirname(dirname(__file__)))
7
7
 
8
8
  @nox.session()
9
9
  def test(session: nox.Session):
10
- session.install(SETUPTOOLS_RUST, "wheel")
10
+ session.install(SETUPTOOLS_RUST)
11
11
  # Ensure build uses version of setuptools-rust under development
12
12
  session.install("--no-build-isolation", ".")
13
13
  # Test Rust binary
@@ -1,3 +1,3 @@
1
1
  [build-system]
2
- requires = ["setuptools", "wheel", "setuptools-rust"]
2
+ requires = ["setuptools", "setuptools-rust"]
3
3
  build-backend = "setuptools.build_meta"
@@ -393,9 +393,9 @@ dependencies = [
393
393
 
394
394
  [[package]]
395
395
  name = "pyo3"
396
- version = "0.22.2"
396
+ version = "0.22.3"
397
397
  source = "registry+https://github.com/rust-lang/crates.io-index"
398
- checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
398
+ checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
399
399
  dependencies = [
400
400
  "cfg-if",
401
401
  "indoc",
@@ -411,9 +411,9 @@ dependencies = [
411
411
 
412
412
  [[package]]
413
413
  name = "pyo3-build-config"
414
- version = "0.22.2"
414
+ version = "0.22.3"
415
415
  source = "registry+https://github.com/rust-lang/crates.io-index"
416
- checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
416
+ checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
417
417
  dependencies = [
418
418
  "once_cell",
419
419
  "target-lexicon",
@@ -421,9 +421,9 @@ dependencies = [
421
421
 
422
422
  [[package]]
423
423
  name = "pyo3-ffi"
424
- version = "0.22.2"
424
+ version = "0.22.3"
425
425
  source = "registry+https://github.com/rust-lang/crates.io-index"
426
- checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
426
+ checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
427
427
  dependencies = [
428
428
  "libc",
429
429
  "pyo3-build-config",
@@ -431,9 +431,9 @@ dependencies = [
431
431
 
432
432
  [[package]]
433
433
  name = "pyo3-macros"
434
- version = "0.22.2"
434
+ version = "0.22.3"
435
435
  source = "registry+https://github.com/rust-lang/crates.io-index"
436
- checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
436
+ checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
437
437
  dependencies = [
438
438
  "proc-macro2",
439
439
  "pyo3-macros-backend",
@@ -443,9 +443,9 @@ dependencies = [
443
443
 
444
444
  [[package]]
445
445
  name = "pyo3-macros-backend"
446
- version = "0.22.2"
446
+ version = "0.22.3"
447
447
  source = "registry+https://github.com/rust-lang/crates.io-index"
448
- checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
448
+ checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
449
449
  dependencies = [
450
450
  "heck",
451
451
  "proc-macro2",
@@ -6,7 +6,7 @@ edition = "2021"
6
6
 
7
7
  [dependencies]
8
8
  kuchiki = "0.8.0"
9
- pyo3 = "0.22.2"
9
+ pyo3 = "0.22.3"
10
10
  tendril = "0.4.3"
11
11
 
12
12
  [lib]
@@ -96,7 +96,7 @@ test_bench_selector_python[/home/david/dev/setuptools-rust/examples/html-py-ever
96
96
 
97
97
  **building and installing**
98
98
  ```
99
- pip install setuptools-rust setuptools wheel
99
+ pip install setuptools-rust setuptools
100
100
  python3 setup.py install --user
101
101
  ```
102
102
 
@@ -7,7 +7,7 @@ export PATH="$HOME/.cargo/bin:$PATH"
7
7
  # Compile wheels
8
8
  for PYBIN in /opt/python/cp{37,38,39,310}*/bin; do
9
9
  rm -rf /io/build/
10
- "${PYBIN}/pip" install -U setuptools setuptools-rust wheel
10
+ "${PYBIN}/pip" install -U setuptools setuptools-rust
11
11
  "${PYBIN}/pip" wheel /io/ -w /io/dist/ --no-deps
12
12
  done
13
13
 
@@ -7,9 +7,7 @@ SETUPTOOLS_RUST = dirname(dirname(dirname(__file__)))
7
7
 
8
8
  @nox.session()
9
9
  def test(session: nox.Session):
10
- session.install(
11
- SETUPTOOLS_RUST, "wheel", "pytest", "pytest-benchmark", "beautifulsoup4"
12
- )
10
+ session.install(SETUPTOOLS_RUST, "pytest", "pytest-benchmark", "beautifulsoup4")
13
11
  # Ensure build uses version of setuptools-rust under development
14
12
  session.install("--no-build-isolation", ".")
15
13
  # Test Python package
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools", "wheel", "setuptools-rust"]
2
+ requires = ["setuptools", "setuptools-rust"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
@@ -0,0 +1,2 @@
1
+ setuptools-rust
2
+ setuptools>=70.1.0
@@ -71,9 +71,9 @@ dependencies = [
71
71
 
72
72
  [[package]]
73
73
  name = "pyo3"
74
- version = "0.22.2"
74
+ version = "0.22.3"
75
75
  source = "registry+https://github.com/rust-lang/crates.io-index"
76
- checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
76
+ checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
77
77
  dependencies = [
78
78
  "cfg-if",
79
79
  "indoc",
@@ -89,9 +89,9 @@ dependencies = [
89
89
 
90
90
  [[package]]
91
91
  name = "pyo3-build-config"
92
- version = "0.22.2"
92
+ version = "0.22.3"
93
93
  source = "registry+https://github.com/rust-lang/crates.io-index"
94
- checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
94
+ checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
95
95
  dependencies = [
96
96
  "once_cell",
97
97
  "target-lexicon",
@@ -99,9 +99,9 @@ dependencies = [
99
99
 
100
100
  [[package]]
101
101
  name = "pyo3-ffi"
102
- version = "0.22.2"
102
+ version = "0.22.3"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
104
+ checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
105
105
  dependencies = [
106
106
  "libc",
107
107
  "pyo3-build-config",
@@ -109,9 +109,9 @@ dependencies = [
109
109
 
110
110
  [[package]]
111
111
  name = "pyo3-macros"
112
- version = "0.22.2"
112
+ version = "0.22.3"
113
113
  source = "registry+https://github.com/rust-lang/crates.io-index"
114
- checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
114
+ checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
115
115
  dependencies = [
116
116
  "proc-macro2",
117
117
  "pyo3-macros-backend",
@@ -121,9 +121,9 @@ dependencies = [
121
121
 
122
122
  [[package]]
123
123
  name = "pyo3-macros-backend"
124
- version = "0.22.2"
124
+ version = "0.22.3"
125
125
  source = "registry+https://github.com/rust-lang/crates.io-index"
126
- checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
126
+ checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
127
127
  dependencies = [
128
128
  "heck",
129
129
  "proc-macro2",
@@ -18,4 +18,4 @@ path = "rust/lib.rs" # When omitted, the value of "src/lib.rs" is assumed
18
18
  # path = "src/lib.rs"
19
19
 
20
20
  [dependencies]
21
- pyo3 = "0.22.2"
21
+ pyo3 = "0.22.3"
@@ -7,7 +7,7 @@ SETUPTOOLS_RUST = dirname(dirname(dirname(__file__)))
7
7
 
8
8
  @nox.session()
9
9
  def test(session: nox.Session):
10
- session.install(SETUPTOOLS_RUST, "wheel")
10
+ session.install(SETUPTOOLS_RUST)
11
11
  # Ensure build uses version of setuptools-rust under development
12
12
  session.install("--no-build-isolation", ".[dev]")
13
13
  # Test Python package
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools", "wheel", "setuptools-rust"]
2
+ requires = ["setuptools", "setuptools-rust"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
@@ -64,9 +64,9 @@ dependencies = [
64
64
 
65
65
  [[package]]
66
66
  name = "pyo3"
67
- version = "0.22.2"
67
+ version = "0.22.3"
68
68
  source = "registry+https://github.com/rust-lang/crates.io-index"
69
- checksum = "831e8e819a138c36e212f3af3fd9eeffed6bf1510a805af35b0edee5ffa59433"
69
+ checksum = "15ee168e30649f7f234c3d49ef5a7a6cbf5134289bc46c29ff3155fa3221c225"
70
70
  dependencies = [
71
71
  "cfg-if",
72
72
  "indoc",
@@ -82,9 +82,9 @@ dependencies = [
82
82
 
83
83
  [[package]]
84
84
  name = "pyo3-build-config"
85
- version = "0.22.2"
85
+ version = "0.22.3"
86
86
  source = "registry+https://github.com/rust-lang/crates.io-index"
87
- checksum = "1e8730e591b14492a8945cdff32f089250b05f5accecf74aeddf9e8272ce1fa8"
87
+ checksum = "e61cef80755fe9e46bb8a0b8f20752ca7676dcc07a5277d8b7768c6172e529b3"
88
88
  dependencies = [
89
89
  "once_cell",
90
90
  "target-lexicon",
@@ -92,9 +92,9 @@ dependencies = [
92
92
 
93
93
  [[package]]
94
94
  name = "pyo3-ffi"
95
- version = "0.22.2"
95
+ version = "0.22.3"
96
96
  source = "registry+https://github.com/rust-lang/crates.io-index"
97
- checksum = "5e97e919d2df92eb88ca80a037969f44e5e70356559654962cbb3316d00300c6"
97
+ checksum = "67ce096073ec5405f5ee2b8b31f03a68e02aa10d5d4f565eca04acc41931fa1c"
98
98
  dependencies = [
99
99
  "libc",
100
100
  "pyo3-build-config",
@@ -102,9 +102,9 @@ dependencies = [
102
102
 
103
103
  [[package]]
104
104
  name = "pyo3-macros"
105
- version = "0.22.2"
105
+ version = "0.22.3"
106
106
  source = "registry+https://github.com/rust-lang/crates.io-index"
107
- checksum = "eb57983022ad41f9e683a599f2fd13c3664d7063a3ac5714cae4b7bee7d3f206"
107
+ checksum = "2440c6d12bc8f3ae39f1e775266fa5122fd0c8891ce7520fa6048e683ad3de28"
108
108
  dependencies = [
109
109
  "proc-macro2",
110
110
  "pyo3-macros-backend",
@@ -114,9 +114,9 @@ dependencies = [
114
114
 
115
115
  [[package]]
116
116
  name = "pyo3-macros-backend"
117
- version = "0.22.2"
117
+ version = "0.22.3"
118
118
  source = "registry+https://github.com/rust-lang/crates.io-index"
119
- checksum = "ec480c0c51ddec81019531705acac51bcdbeae563557c982aa8263bb96880372"
119
+ checksum = "1be962f0e06da8f8465729ea2cb71a416d2257dff56cbe40a70d3e62a93ae5d1"
120
120
  dependencies = [
121
121
  "heck",
122
122
  "proc-macro2",
@@ -5,7 +5,7 @@ authors = ["Alex Gaynor <alex.gaynor@gmail.com>"]
5
5
  edition = "2021"
6
6
 
7
7
  [dependencies]
8
- pyo3 = "0.22.2"
8
+ pyo3 = "0.22.3"
9
9
 
10
10
  [lib]
11
11
  name = "rust_with_cffi"
@@ -7,7 +7,7 @@ SETUPTOOLS_RUST = dirname(dirname(dirname(__file__)))
7
7
 
8
8
  @nox.session()
9
9
  def test(session: nox.Session):
10
- session.install(SETUPTOOLS_RUST, "wheel", "pytest")
10
+ session.install(SETUPTOOLS_RUST, "pytest")
11
11
 
12
12
  try:
13
13
  session.install("cffi", "--only-binary=cffi")
@@ -16,7 +16,7 @@ def test_examples(session: nox.Session):
16
16
 
17
17
  @nox.session(name="test-sdist-vendor")
18
18
  def test_sdist_vendor(session: nox.Session):
19
- session.install(".", "build", "wheel")
19
+ session.install(".", "build")
20
20
  namespace_package = Path(__file__).parent / "examples" / "namespace_package"
21
21
  os.chdir(namespace_package)
22
22
  tmp = Path(session.create_tmp())
@@ -79,8 +79,8 @@ python3.11 -m pip install https://github.com/benfogle/crossenv/archive/refs/head
79
79
  python3.11 -m crossenv "/opt/python/cp311-cp311/bin/python3" --cc $TARGET_CC --cxx $TARGET_CXX --sysroot $TARGET_SYSROOT --env LIBRARY_PATH= --manylinux manylinux1 /venv
80
80
  . /venv/bin/activate
81
81
 
82
- build-pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.1' 'build>=1'
83
- cross-pip install -U 'pip>=23.2.1' 'setuptools>=68.0.0' 'wheel>=0.41.1' 'build>=1'
82
+ build-pip install -U 'pip>=23.2.1' 'setuptools>=70.1' 'build>=1'
83
+ cross-pip install -U 'pip>=23.2.1' 'setuptools>=70.1' 'build>=1'
84
84
  build-pip install cffi
85
85
  cross-expose cffi
86
86
  cross-pip install -e ../../
@@ -171,7 +171,7 @@ def test_mingw(session: nox.Session):
171
171
  examples = Path(os.path.dirname(__file__)).absolute() / "examples"
172
172
 
173
173
  with patch.object(nox.command, "run", newrun):
174
- session.install(".", "wheel")
174
+ session.install(".")
175
175
 
176
176
  session.install("--no-build-isolation", str(examples / "hello-world"))
177
177
  session.run("print-hello")
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "setuptools-rust"
3
- version = "1.10.0"
3
+ version = "1.10.2"
4
4
  description = "Setuptools Rust extension plugin"
5
5
  readme = "README.md"
6
6
  requires-python = ">=3.8"
@@ -37,9 +37,12 @@ logger = logging.getLogger(__name__)
37
37
 
38
38
 
39
39
  try:
40
- from wheel.bdist_wheel import bdist_wheel as CommandBdistWheel
41
- except ImportError: # wheel installation might be deferred in PEP 517
42
- from setuptools import Command as CommandBdistWheel
40
+ from setuptools.command.bdist_wheel import bdist_wheel as CommandBdistWheel
41
+ except ImportError: # old version of setuptools
42
+ try:
43
+ from wheel.bdist_wheel import bdist_wheel as CommandBdistWheel # type: ignore[no-redef]
44
+ except ImportError:
45
+ from setuptools import Command as CommandBdistWheel # type: ignore[assignment]
43
46
 
44
47
 
45
48
  def _check_cargo_supports_crate_type_option() -> bool:
@@ -329,10 +332,7 @@ class build_rust(RustCommand):
329
332
  def install_extension(
330
333
  self, ext: RustExtension, dylib_paths: List["_BuiltModule"]
331
334
  ) -> None:
332
- debug_build = ext.debug if ext.debug is not None else self.inplace
333
- debug_build = self.debug if self.debug is not None else debug_build
334
- if self.release:
335
- debug_build = False
335
+ debug_build = self._is_debug_build(ext)
336
336
 
337
337
  # Ask build_ext where the shared library would go if it had built it,
338
338
  # then copy it there.
@@ -502,8 +502,8 @@ class build_rust(RustCommand):
502
502
  def _is_debug_build(self, ext: RustExtension) -> bool:
503
503
  if self.release:
504
504
  return False
505
- elif self.debug is not None:
506
- return self.debug
505
+ elif self.debug:
506
+ return True
507
507
  elif ext.debug is not None:
508
508
  return ext.debug
509
509
  else:
@@ -792,12 +792,12 @@ def _replace_cross_target_dir(path: str, ext: RustExtension, *, quiet: bool) ->
792
792
  return path.replace(cross_target_dir, local_target_dir)
793
793
 
794
794
 
795
- def _get_bdist_wheel_cmd( # type: ignore[no-any-unimported]
795
+ def _get_bdist_wheel_cmd(
796
796
  dist: Distribution, create: Literal[True, False] = True
797
797
  ) -> Optional[CommandBdistWheel]:
798
798
  try:
799
799
  cmd_obj = dist.get_command_obj("bdist_wheel", create=create)
800
800
  cmd_obj.ensure_finalized() # type: ignore[union-attr]
801
- return cast(CommandBdistWheel, cmd_obj) # type: ignore[no-any-unimported]
801
+ return cast(CommandBdistWheel, cmd_obj)
802
802
  except Exception:
803
803
  return None
@@ -19,9 +19,12 @@ from .build import _get_bdist_wheel_cmd
19
19
  from .extension import Binding, RustBin, RustExtension, Strip
20
20
 
21
21
  try:
22
- from wheel.bdist_wheel import bdist_wheel
22
+ from setuptools.command.bdist_wheel import bdist_wheel
23
23
  except ImportError:
24
- bdist_wheel = None
24
+ try: # old version of setuptools
25
+ from wheel.bdist_wheel import bdist_wheel # type: ignore[no-redef]
26
+ except ImportError:
27
+ bdist_wheel = None # type: ignore[assignment,misc]
25
28
 
26
29
  if sys.version_info[:2] >= (3, 11):
27
30
  from tomllib import load as toml_load
@@ -251,7 +254,7 @@ def add_rust_extension(dist: Distribution) -> None:
251
254
  dist.cmdclass["install_scripts"] = install_scripts_rust_extension
252
255
 
253
256
  if bdist_wheel is not None:
254
- bdist_wheel_base_class = cast( # type: ignore[no-any-unimported]
257
+ bdist_wheel_base_class = cast(
255
258
  Type[bdist_wheel], dist.cmdclass.get("bdist_wheel", bdist_wheel)
256
259
  )
257
260
  bdist_wheel_options = bdist_wheel_base_class.user_options.copy()
@@ -1,4 +1,4 @@
1
- __version__ = version = "1.10.0"
1
+ __version__ = version = "1.10.2"
2
2
  __version_tuple__ = version_tuple = tuple(
3
3
  map(lambda x: int(x[1]) if x[0] < 3 else x[1], enumerate(__version__.split(".")))
4
4
  )
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: setuptools-rust
3
- Version: 1.10.0
3
+ Version: 1.10.2
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
@@ -1,4 +0,0 @@
1
- Sphinx==7.3.7
2
- sphinx-autodoc-typehints==2.2.2
3
- furo==2024.5.6
4
- myst-parser==3.0.1
@@ -1,3 +0,0 @@
1
- setuptools-rust
2
- setuptools
3
- wheel