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 authored and davidhewitt committed Jan 3, 2024
1 parent f9f0bdd commit fa6d60b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Expand Up @@ -57,7 +57,7 @@ rayon = "1.6.1"
widestring = "0.5.1"

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

[features]
default = ["macros"]
Expand Down
2 changes: 1 addition & 1 deletion pyo3-ffi/Cargo.toml
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.20.1", features = ["resolve-config"] }
pyo3-build-config = { path = "../pyo3-build-config", version = "=0.20.1", features = ["resolve-config"] }

[lints]
workspace = true

0 comments on commit fa6d60b

Please sign in to comment.