From 9ff3d237c147ba772dd65b3fc6c0d13c3ee026d5 Mon Sep 17 00:00:00 2001 From: Alex Gaynor Date: Fri, 21 Jun 2024 06:05:09 -0400 Subject: [PATCH] Update dependencies to reflect minimal versions (#4272) Based on testing locally with `rm -f Cargo.lock && cargo +nightly check --tests --all -Z minimal-versions` --- Cargo.toml | 2 +- pyo3-ffi-check/macro/Cargo.toml | 2 +- pyo3-macros-backend/Cargo.toml | 2 +- pyo3-macros/Cargo.toml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index dac3314a850..9ab15c1d052 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ rust-version = "1.63" cfg-if = "1.0" libc = "0.2.62" memoffset = "0.9" -once_cell = "1" +once_cell = "1.13.0" # ffi bindings to the python interpreter, split into a separate crate so they can be used independently pyo3-ffi = { path = "pyo3-ffi", version = "=0.22.0-dev" } diff --git a/pyo3-ffi-check/macro/Cargo.toml b/pyo3-ffi-check/macro/Cargo.toml index 46395fc8a8c..dfefcd2c1e1 100644 --- a/pyo3-ffi-check/macro/Cargo.toml +++ b/pyo3-ffi-check/macro/Cargo.toml @@ -10,6 +10,6 @@ proc-macro = true [dependencies] glob = "0.3" quote = "1" -proc-macro2 = "1" +proc-macro2 = "1.0.60" scraper = "0.17" pyo3-build-config = { path = "../../pyo3-build-config" } diff --git a/pyo3-macros-backend/Cargo.toml b/pyo3-macros-backend/Cargo.toml index db1bdd880bd..54220ab462b 100644 --- a/pyo3-macros-backend/Cargo.toml +++ b/pyo3-macros-backend/Cargo.toml @@ -15,7 +15,7 @@ edition = "2021" # See https://github.com/PyO3/pyo3/pull/810 for more. [dependencies] heck = "0.5" -proc-macro2 = { version = "1", default-features = false } +proc-macro2 = { version = "1.0.60", default-features = false } pyo3-build-config = { path = "../pyo3-build-config", version = "=0.22.0-dev", features = ["resolve-config"] } quote = { version = "1", default-features = false } diff --git a/pyo3-macros/Cargo.toml b/pyo3-macros/Cargo.toml index 789b8095b3f..04c0ae6fb28 100644 --- a/pyo3-macros/Cargo.toml +++ b/pyo3-macros/Cargo.toml @@ -19,7 +19,7 @@ experimental-async = ["pyo3-macros-backend/experimental-async"] gil-refs = ["pyo3-macros-backend/gil-refs"] [dependencies] -proc-macro2 = { version = "1", default-features = false } +proc-macro2 = { version = "1.0.60", default-features = false } quote = "1" syn = { version = "2", features = ["full", "extra-traits"] } pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.22.0-dev" }