Skip to content

Releases: PyO3/setuptools-rust

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

v1.0.0

21 Nov 22:41
Compare
Choose a tag to compare

v1.0.0

Added

  • Add --target command line option for specifying target triple. #136
  • Add new default "auto" setting for RustExtension.py_limited_api. #137
  • Support very verbose cargo build.rs output. #140

Changed

  • Switch to tomli dependency. #174

Removed

  • Remove test_rust command. (python setup.py test is deprecated.) #129
  • Remove check_rust command. #131
  • Move tomlgen_rust command to separate setuptools-rust-tomlgen package. #167

Fixed

  • Use info from sysconfig when cross-compiling. #139
  • Put Rust extension module binary under build/lib.* directory. #150
  • Fix Exec binding with console scripts. #154

v0.12.1

11 Mar 09:25
d4657b8
Compare
Choose a tag to compare

v0.12.1

Fixed

  • Fix some files unexpectedly missing from sdist command output. #125

v0.12.0

08 Mar 21:39
Compare
Choose a tag to compare

v0.12.0

Packaging

  • Bump minimum Python version to Python 3.6.

Added

  • Support building x86-64 wheel on arm64 macOS machine. #114
  • Add macOS universal2 wheel building support. #115
  • Add option to cargo vendor crates into sdist. #118

Changed

  • Respect PYO3_PYTHON and PYTHON_SYS_EXECUTABLE environment variables if set. #96
  • Add runtime dependency on setuptools >= 46.1. #102
  • Append to, rather than replace, existing RUSTFLAGS when building. #103

Fixed

  • Set executable bit on shared library. #110
  • Don't require optional wheel dependency. #111
  • Set a more reasonable LC_ID_DYLIB entry on macOS. #119