Skip to content

Commit fa04d1d

Browse files
authored
Fixed package dependencies for pylint, isort (#71)
Signed-off-by: Andreas Maier <andreas.r.maier@gmx.de>
1 parent 9694b73 commit fa04d1d

2 files changed

Lines changed: 12 additions & 5 deletions

File tree

minimum-constraints-develop.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,10 @@ pyflakes==3.4.0
2525
ruff==0.15.12
2626

2727
# PyLint checker
28-
pylint==3.3.9
29-
astroid==3.3.11
28+
pylint==3.3.9; python_version == '3.9'
29+
pylint==4.0.5; python_version >= '3.10'
30+
astroid==3.3.11; python_version == '3.9'
31+
astroid==4.0.4; python_version >= '3.10'
3032

3133
# Package dependency management tools
3234
pipdeptree==2.28.0
@@ -50,7 +52,9 @@ dill==0.4.1
5052
# For importlib_metadata versions in Python, see https://pypi.org/project/importlib-metadata/
5153
importlib_metadata==8.7.1
5254
iniconfig==2.1.0
53-
isort==6.1.0
55+
# pylint 3.3.1 (used on Python 3.9) depends on isort>=4.2.5,<6
56+
isort==5.13.2; python_version == '3.9'
57+
isort==6.1.0; python_version >= '3.10'
5458
Jinja2==3.1.6
5559
packaging==26.2
5660
pip==26.0.1

requirements-develop.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,11 @@ pyflakes>=3.4.0
2626
ruff>=0.15.12
2727

2828
# PyLint checker
29-
pylint>=3.3.9
30-
astroid>=3.3.11
29+
pylint>=3.3.9; python_version == '3.9'
30+
pylint>=4.0.5; python_version >= '3.10'
31+
# pylint 4.0.5 depends on astroid>=4.0.2,<=4.1.dev0
32+
astroid>=3.3.11; python_version == '3.9'
33+
astroid>=4.0.4; python_version >= '3.10'
3134

3235
# Package dependency management tools
3336
pipdeptree>=2.28.0

0 commit comments

Comments
 (0)