diff --git a/Cargo.toml b/Cargo.toml index a0400c07301..1242c331ec2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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"] diff --git a/pyo3-ffi/Cargo.toml b/pyo3-ffi/Cargo.toml index bc40d86ca19..8021dc72b69 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.21.0-dev", features = ["resolve-config"] } +pyo3-build-config = { path = "../pyo3-build-config", version = "=0.21.0-dev", features = ["resolve-config"] } [lints] workspace = true