Skip to content

Commit

Permalink
Use a definite version specification when depending on pyo3-build-con…
Browse files Browse the repository at this point in the history
…fig.

We already do this for other internal pyo3-* dependencies and it seems prudent
to apply this to pyo3-build-config as well.
  • Loading branch information
adamreichold committed Jan 2, 2024
1 parent 5ea2e5c commit 0328583
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ widestring = "0.5.1"
futures = "0.3.28"

[build-dependencies]
pyo3-build-config = { path = "pyo3-build-config", version = "0.21.0-dev", features = ["resolve-config"] }
pyo3-build-config = { path = "pyo3-build-config", version = "=0.21.0-dev", features = ["resolve-config"] }

[features]
default = ["macros"]
Expand Down
2 changes: 1 addition & 1 deletion pyo3-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ abi3-py312 = ["abi3", "pyo3-build-config/abi3-py312"]
generate-import-lib = ["pyo3-build-config/python3-dll-a"]

[build-dependencies]
pyo3-build-config = { path = "../pyo3-build-config", version = "0.21.0-dev", features = ["resolve-config"] }
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.21.0-dev", features = ["resolve-config"] }

[lints]
workspace = true

0 comments on commit 0328583

Please sign in to comment.