From: "Michael R. Crusoe" <crusoe@debian.org>
Date: Wed, 26 Aug 2026 17:22:29 +0100
Subject: relax dependencies to match versions already packaged

Forwarded: not-needed
---
 Cargo.toml | 26 +++++++++++++-------------
 1 file changed, 13 insertions(+), 13 deletions(-)

--- python-ast-serialize.orig/Cargo.toml
+++ python-ast-serialize/Cargo.toml
@@ -30,18 +30,18 @@
 
 [workspace.dependencies]
 aho-corasick = { version = "1.1.3" }
-anstream = { version = "1.0.0" }
-anstyle = { version = "1.0.10" }
+anstream = { version = ">= 0.6" }
+anstyle = { version = ">= 1.0.10" }
 anyhow = { version = "1.0.80" }
 arrayvec = { version = "0.7.6" }
 bitflags = { version = "2.5.0" }
 bstr = { version = "1.9.1" }
 char_str = { version = "0.0.2" }
-compact_str = "0.10.0"
+compact_str = ">= 0.10.0, < 0.11"
 datatest-stable = { version = "0.3.3" }
 drop_bomb = { version = "0.1.5" }
 filetime = { version = "0.2.23" }
-get-size2 = { version = "0.10.3", features = [
+get-size2 = { version = ">= 0.10.3", features = [
     "derive",
     "smallvec",
     "hashbrown",
@@ -52,9 +52,9 @@
 glob = { version = "0.3.1" }
 globset = { version = "0.4.14" }
 heck = "0.5.0"
-insta = { version = "1.35.1" }
-is-macro = { version = "0.3.5" }
-itertools = { version = "0.15.0" }
+insta = { version = ">= 1.35.1" }
+is-macro = { version = ">= 0.3.5" }
+itertools = { version = ">= 0.14.0" }
 memchr = { version = "2.7.1" }
 proc-macro2 = { version = "1.0.79" }
 quote = { version = "1.0.23" }
@@ -71,7 +71,7 @@
 serde = { version = "1.0.197", features = ["derive"] }
 serde_json = { version = "1.0.113" }
 serde_test = { version = "1.0.152" }
-snapbox = { version = "1.0.0", features = [
+snapbox = { version = ">= 0.6", features = [
     "diff",
     "term-svg",
     "cmd",
@@ -84,7 +84,7 @@
 unicode-ident = { version = "1.0.12" }
 unicode-normalization = { version = "0.1.23" }
 unicode-width = { version = "0.2.0" }
-unicode_names2 = { version = "1.2.2" }
+unicode_names2 = { version = ">= 1.2.2" }
 walkdir = { version = "2.3.2" }
 
 # Cross-references between Ruff crates.
@@ -107,7 +107,7 @@
 [dependencies]
 # PyO3 for Python bindings
 # Base features always enabled; abi3-py39 is added via stable-abi feature
-pyo3 = { version = "0.29.2", features = ["extension-module"] }
+pyo3 = { version = ">= 0.28.2", features = ["extension-module"] }
 
 # Ruff dependencies for parsing Python (vendored, see above).
 ruff_python_ast = { path = "crates/ruff_python_ast" }
@@ -127,10 +127,10 @@
 
 [features]
 # Default: stable ABI for regular Python 3.9+
-default = ["stable-abi"]
+default = []
 # Stable ABI wheels (cp39-abi3) - compatible with Python 3.9+
 # Stable ABI wheels free-threaded (cp315-abit3t) - compatible with Python 3.15+
-stable-abi = ["pyo3/abi3-py39", "pyo3/abi3t-py315"]
+stable-abi = []
 # Free-threaded Python wheels (cp313t) - for nogil Python
 free-threaded = []
 # Turn off rayon for profiling
