diff --git a/Cargo.toml b/Cargo.toml index 59261dd0e10..c63007264da 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/pyo3-ffi/Cargo.toml b/pyo3-ffi/Cargo.toml index b2dbe4245ca..ffbc56811d4 100644 --- a/pyo3-ffi/Cargo.toml +++ b/pyo3-ffi/Cargo.toml @@ -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