Skip to content

Commit afafb84

Browse files
fix(deps): upgrade pylint correctly - 4.0.5 for Python>=3.10, 3.3.9 for Python 3.9
pylint 4.x requires Python >=3.10.0 (confirmed via PyPI requires_python field). The renovate PR kinde-oss#178 incorrectly pinned pylint>=4.0.5 for python_version<'3.10', which would break dev dependency installation on Python 3.9. Changes: - Python >=3.10: pylint >=4.0.5, <4.1.0 (latest stable 4.x series) - Python <3.10 (3.9): pylint >=3.3.9, <4.0.0 (latest 3.x that supports Python 3.9) - Keep both [project.optional-dependencies] and [tool.poetry.dev-dependencies] in sync No migration needed for pylint config: project has no .pylintrc or [tool.pylint] section, and the removed suggestion-mode option was never used here. isort >=5.0.0 requirement from pylint 4.0 is already satisfied (project uses ^8.0.0). Fixes: renovate/pylint-4.x (PR kinde-oss#178)
1 parent 15d8f16 commit afafb84

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

pyproject.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ dev = [
5555
"pytest-django >=4.5.2",
5656
"mypy >=1.5.0",
5757
"bandit >=1.7",
58-
"pylint >=4.0.0; python_version >= '3.10'",
59-
"pylint >=3.3.0, <4.0.0; python_version < '3.10'",
58+
"pylint >=4.0.5, <4.1.0; python_version >= '3.10'",
59+
"pylint >=3.3.9, <4.0.0; python_version < '3.10'",
6060
"pycodestyle >=2.0",
6161
"pytest-asyncio >=0.26.0",
6262
"pytest-timeout >=2.2.0",
@@ -95,8 +95,8 @@ pytest-django = "^4.5.2"
9595
mypy = "^1.5.0"
9696
bandit = "^1.7"
9797
pylint = [
98-
{version = ">=3.3.0,<4.0.0", python = "~3.9"},
99-
{version = ">=4.0.0", python = ">=3.10"}
98+
{version = ">=3.3.9,<4.0.0", python = "~3.9"},
99+
{version = ">=4.0.5,<4.1.0", python = ">=3.10"}
100100
]
101101
pycodestyle = "^2.0"
102102
pytest-asyncio = "^0.26.0"

0 commit comments

Comments
 (0)