Debian Codegraph @

debian/patches/remove-dependency-on-astunparse.patch

raw
1 From: Emmanuel Arias <[email protected]>
2 Date: Thu, 4 Sep 2025 01:35:02 +0100
3 Subject: Remove astunparse as dependency
4
5 astunparse is not neede for Python lower than 3.9. This patch remove it
6 from pyproject.toml and requirements.txt.
7
8 Last-Update: 2025-09-04
9 ---
10 pyproject.toml | 1 -
11 requirements.txt | 1 -
12 2 files changed, 2 deletions(-)
13
14 diff --git a/pyproject.toml b/pyproject.toml
15 index ea8e07c..1e173fa 100644
16 --- a/pyproject.toml
17 +++ b/pyproject.toml
18 @@ -39,7 +39,6 @@ dependencies = [
19 "Jinja2>=3.0.3",
20 "psutil>=5.9.2",
21 "numpy>=1.24.0,!=1.27",
22 - "astunparse>=1.6.3; python_version < '3.9'",
23 "pydantic>=2.6",
24 ]
25 dynamic = ["version"] # computed by setup.py
26 diff --git a/requirements.txt b/requirements.txt
27 index d86db51..888d82e 100644
28 --- a/requirements.txt
29 +++ b/requirements.txt
30 @@ -1,4 +1,3 @@
31 -astunparse>=1.6.3; python_version < '3.9'
32 cloudpickle>=2.2.1
33 Cython>=0.29.28
34 ipython>=8.10