Skip to content

Commit

Permalink
Pass --locked to Cargo when bootstrap from sdist
Browse files Browse the repository at this point in the history
Closes PyO3#1211
  • Loading branch information
messense committed Oct 25, 2022
1 parent 351f0b0 commit 9331880
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
* Add Python metadata support for `license-file` field of `Cargo.toml` in [#1195](https://github.com/PyO3/maturin/pull/1195)
* Upgrade to clap 4.0 in [#1197](https://github.com/PyO3/maturin/pull/1197). This bumps MSRV to 1.61.0.
* Fix macOS `LC_ID_DYLIB` for abi3 wheels in [#1208](https://github.com/PyO3/maturin/pull/1208)
* Pass `--locked` to Cargo when bootstrap from sdist in [#1212](https://github.com/PyO3/maturin/pull/1212)

## [0.13.6] - 2022-10-08

Expand Down
4 changes: 3 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ def finalize_options(self):
python_requires=">=3.7",
cmdclass={"bdist_wheel": bdist_wheel},
packages=["maturin"],
rust_extensions=[RustBin("maturin", args=cargo_args)],
rust_extensions=[
RustBin("maturin", args=cargo_args, cargo_manifest_args=["--locked"])
],
classifiers=[
"Topic :: Software Development :: Build Tools",
"Programming Language :: Rust",
Expand Down

0 comments on commit 9331880

Please sign in to comment.