Skip to content

Releases: PyO3/setuptools-rust

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

v1.3.0

26 Apr 17:48
Compare
Choose a tag to compare

Packaging

  • Increase minimum setuptools version to 58. #222

Fixed

  • Fix crash when python-distutils-extra linux package is installed. #222
  • Fix sdist built with vendored dependencies on Windows having incorrect cargo config. #223

v1.2.0

22 Mar 15:33
Compare
Choose a tag to compare

Packaging

  • Drop support for Python 3.6. #209

Added

  • Add support for kebab-case executable names. #205
  • Add support for custom cargo profiles. #216

Fixed

  • Fix building macOS arm64 wheel with cibuildwheel. #217

v1.1.2

05 Dec 23:22
Compare
Choose a tag to compare

1.1.2

Changed

  • Removed dependency on tomli to simplify installation. #200
  • Improve error messages on invalid inputs to rust_extensions keyword. #203

v1.1.1

01 Dec 08:13
Compare
Choose a tag to compare

1.1.1

Fixed

  • Fix regression from setuptools-rust 1.1.0 which broke builds for the x86_64-unknown-linux-musl target. #194
  • Fix --target command line option being unable to take a value. #195
  • Fix regression from setuptools-rust 1.0.0 which broke builds on arm64 macos conda builds. #196
  • Fix regression from setuptools-rust 1.1.0 which incorrectly converted library extension suffixes to the "abi3" suffix when py_limited_api was unspecified. #197

v1.1.0

30 Nov 07:29
Compare
Choose a tag to compare

v1.1.0

Added

  • Add support for cross-compiling using cross. #185

Fixed

  • Fix incompatibility with Python 3.6.0 using default values for NamedTuple classes. #184
  • Stop forcing the msvc Rust toolchain for Windows environments using the gnu toolchain. #187