From 5b9264b37808165ec40a6d0c4a49f1099cf891c1 Mon Sep 17 00:00:00 2001 From: Antti Kaihola <13725+akaihola@users.noreply.github.com> Date: Wed, 25 Sep 2024 18:59:50 +0300 Subject: [PATCH] fix: keep Pylint at max version 3.2.7 This way we continue to support Python 3.8 for just a bit longer. Pylint 3.3.0 already dropped support for Python 3.8. --- .github/workflows/pylint.yml | 2 +- CHANGES.rst | 1 + setup.cfg | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pylint.yml b/.github/workflows/pylint.yml index 084a442cf..9ff1b5e73 100644 --- a/.github/workflows/pylint.yml +++ b/.github/workflows/pylint.yml @@ -17,7 +17,7 @@ jobs: git+https://github.com/akaihola/darkgraylib.git@main \ defusedxml \ pygments \ - pylint \ + pylint<=3.2.7 \ pytest>=6.2.0 \ regex \ requests \ diff --git a/CHANGES.rst b/CHANGES.rst index 0973556b8..081b82478 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -12,6 +12,7 @@ Added - CI workflow to post recent project activity in a discussion. Triggered manually. - The ``--preview`` configuration flag is now supported in the configuration files for Darker and Black +- Prevent Pylint from updating beyond version 3.2.7 due to dropped Python 3.8 support. Removed ------- diff --git a/setup.cfg b/setup.cfg index 191d76a96..b2c10bc6a 100644 --- a/setup.cfg +++ b/setup.cfg @@ -65,7 +65,7 @@ test = pathspec # to test `gen_python_files` in `test_black_diff.py` pydocstyle pygments - pylint + pylint<=3.2.7 # pylint 3.3.0 dropped Python 3.8 support pytest>=6.2.0 pytest-kwparametrize>=0.0.3 regex>=2021.4.4