From 03285835bbd03472a84ef232f8a7c8e94b783ac4 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Tue, 2 Jan 2024 09:32:33 +0100 Subject: [PATCH] Use a definite version specification when depending on pyo3-build-config. We already do this for other internal pyo3-* dependencies and it seems prudent to apply this to pyo3-build-config as well. --- Cargo.toml | 2 +- pyo3-ffi/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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