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" }