Skip to content

Releases: PyO3/setuptools-rust

v1.10.2

02 Oct 05:46
Compare
Choose a tag to compare

Fixed

  • Fix deprecation warning from use of wheel.bdist_wheel.

v1.10.1

04 Aug 13:33
Compare
Choose a tag to compare

Fixed

  • Fix regression in 1.10.0 where editable builds would be built in release mode

v1.10.0

03 Aug 08:23
Compare
Choose a tag to compare

Packaging

  • Extend macOS build flags to iOS, tvOS and watchOS. #436
  • Support Python 3.13. #446

Changed

  • Add SETUPTOOLS_RUST_PEP517_USE_BASE_PYTHON environment variable to use the base interpreter path when running inside a virtual environment to avoid recompilation when switching between virtual environments. #429
  • Delay import of dependencies until use to avoid import errors during a partially complete install when multiple packages are installing at once. #437
  • Deprecate --build-temp argument to build_rust command (it does nothing). #457

v1.9.0

24 Feb 15:44
Compare
Choose a tag to compare

Changed

  • Deprecate py_limited_api option to RustExtension in favour of always using "auto" to configure this from bdist_wheel. #410

v1.8.1

30 Oct 14:01
Compare
Choose a tag to compare

Fixed

  • Fix regression in install_extension crashing since 1.8.0. #380

v1.8.0

26 Oct 07:42
Compare
Choose a tag to compare

Packaging

  • Drop support for Python 3.7. #357
  • Remove direct imports from pkg_resources. #359

Added

  • Add support for setting a custom cargo profile with the SETUPTOOLS_RUST_CARGO_PROFILE environment variable. #364

v1.7.0

22 Aug 18:03
Compare
Choose a tag to compare

Packaging

  • Remove direct imports from distutils. #336
  • Include py.typed when packaging to denote that setuptools-rust includes type hints. #338

Added

  • Add support for pyproject.toml configuration using [tool.setuptools-rust] options. #348

Fixed

  • Fix plat_name handling in the case bdist_wheel.plat_name is set via configuration file (e.g., setup.cfg). #352

v1.6.0

27 Apr 20:49
Compare
Choose a tag to compare

Changed

  • Prefer passing --crate-type option to cargo if "toolchain >= 1.64". #322

Fixed

  • Fix a bug where rebuilding the library would cause any running processes using it to segfault. #295
  • Fix setup.cfg format for compatibility with "poetry==1.4.0". #319

v1.5.2

19 Sep 19:43
Compare
Choose a tag to compare

Fixed

  • Fix regression in dylib build artifacts not being found since 1.5.0. #290
  • Fix regression in sdist missing examples and other supplementary files since 1.5.0. #291

v1.5.1

14 Aug 16:27
Compare
Choose a tag to compare

Fixed

  • Fix regression in get_lib_name crashing since 1.5.0. #280
  • Fix regression in Binding.Exec builds with multiple executables not finding built executables since 1.5.0. #283