Skip to content

Releases: PyO3/setuptools-rust

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

v1.5.0

09 Aug 06:56
Compare
Choose a tag to compare

Added

  • Add support for extension modules built for wasm32-unknown-emscripten with Pyodide. #244

Changed

  • Locate cdylib artifacts by handling messages from cargo instead of searching target dir (fixes build on MSYS2). #267
  • No longer guess cross-compile environment using HOST_GNU_TYPE / BUILD_GNU_TYPE sysconfig variables. #269

Fixed

  • Fix RustBin build without wheel. #273
  • Fix RustBin setuptools install. #275

v1.4.1

05 Jul 18:13
934443a
Compare
Choose a tag to compare

Fixed

  • Fix crash when checking Rust version. #263

v1.4.0

05 Jul 06:20
Compare
Choose a tag to compare

Packaging

  • Increase minimum setuptools version to 62.4. #222

Added

  • Add cargo_manifest_args to support locked, frozen and offline builds. #234
  • Add RustBin for packaging binaries in scripts data directory. #248

Changed

  • Exec binding RustExtension with script=True is deprecated in favor of RustBin. #248
  • Errors while calling cargo metadata are now reported back to the user #254
  • quiet option will now suppress output of cargo metadata. #256
  • setuptools-rust will now match cargo behavior of not setting --target when the selected target is the rust host. #258
  • Deprecate native option of RustExtension. #258

Fixed

  • If the sysconfig for BLDSHARED has no flags, setuptools-rust won't crash anymore. #241