diff --git a/Cargo.toml b/Cargo.toml index 778a8f7df2e..8349bc01ebe 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -41,7 +41,7 @@ hashbrown = { version = ">= 0.14.5, < 0.16", optional = true } indexmap = { version = ">= 2.5.0, < 3", optional = true } num-bigint = { version = "0.4.2", optional = true } num-complex = { version = ">= 0.4.6, < 0.5", optional = true } -num-rational = {version = "0.4.1", optional = true } +num-rational = { version = "0.4.1", optional = true } rust_decimal = { version = "1.15", default-features = false, optional = true } serde = { version = "1.0", optional = true } smallvec = { version = "1.0", optional = true } @@ -63,7 +63,7 @@ rayon = "1.6.1" futures = "0.3.28" tempfile = "3.12.0" static_assertions = "1.1.0" -uuid = {version = "1.10.0", features = ["v4"] } +uuid = { version = "1.10.0", features = ["v4"] } [build-dependencies] pyo3-build-config = { path = "pyo3-build-config", version = "=0.23.2", features = ["resolve-config"] } @@ -150,6 +150,12 @@ no-default-features = true features = ["full"] rustdoc-args = ["--cfg", "docsrs"] +[package.metadata.cpython] +version = ">=3.7,<3.14" + +[package.metadata.pypy] +version = ">=3.9,<3.11" + [workspace.lints.clippy] checked_conversions = "warn" dbg_macro = "warn" diff --git a/pyo3-ffi/Cargo.toml b/pyo3-ffi/Cargo.toml index 1a8cd7f09d7..d54462faed5 100644 --- a/pyo3-ffi/Cargo.toml +++ b/pyo3-ffi/Cargo.toml @@ -46,3 +46,9 @@ pyo3-build-config = { path = "../pyo3-build-config", version = "=0.23.2", featur [lints] workspace = true + +[package.metadata.cpython] +version = ">=3.7,<3.14" + +[package.metadata.pypy] +version = ">=3.9,<3.11"