From 91cdfe4f7d100aecca7a3824141cc0aecf2f6696 Mon Sep 17 00:00:00 2001 From: Adam Reichold Date: Wed, 10 May 2023 18:02:21 +0200 Subject: [PATCH] Fix patch version of our dependency on syn. --- newsfragments/3152.packaging.md | 1 + pyo3-macros-backend/Cargo.toml | 2 +- pyo3-macros/Cargo.toml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) create mode 100644 newsfragments/3152.packaging.md diff --git a/newsfragments/3152.packaging.md b/newsfragments/3152.packaging.md new file mode 100644 index 00000000..48309f35 --- /dev/null +++ b/newsfragments/3152.packaging.md @@ -0,0 +1 @@ +Correct dependency on syn to version 1.0.85 instead of the incorrect version 1.0.56. diff --git a/pyo3-macros-backend/Cargo.toml b/pyo3-macros-backend/Cargo.toml index b348af5d..bb95a0cd 100644 --- a/pyo3-macros-backend/Cargo.toml +++ b/pyo3-macros-backend/Cargo.toml @@ -18,7 +18,7 @@ quote = { version = "1", default-features = false } proc-macro2 = { version = "1", default-features = false } [dependencies.syn] -version = "1.0.56" +version = "1.0.85" default-features = false features = ["derive", "parsing", "printing", "clone-impls", "full", "extra-traits"] diff --git a/pyo3-macros/Cargo.toml b/pyo3-macros/Cargo.toml index cf225540..47f3eb23 100644 --- a/pyo3-macros/Cargo.toml +++ b/pyo3-macros/Cargo.toml @@ -21,5 +21,5 @@ abi3 = ["pyo3-macros-backend/abi3"] [dependencies] proc-macro2 = { version = "1", default-features = false } quote = "1" -syn = { version = "1.0.56", features = ["full", "extra-traits"] } +syn = { version = "1.0.85", features = ["full", "extra-traits"] } pyo3-macros-backend = { path = "../pyo3-macros-backend", version = "=0.18.3" }