Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050779?usp=email )
Change subject: [tests] Don't test flake8 hacking with Python 3.14" ......................................................................
[tests] Don't test flake8 hacking with Python 3.14"
This also reverts commit f01bf71c9183979b66b1caef2e6a52406aa4049b.
Bug: T368851 Change-Id: Ia190ccd75844f02db3f8bf7d63cd83c298167014 --- M .github/workflows/lint_tests.yml M setup.py 2 files changed, 5 insertions(+), 3 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/.github/workflows/lint_tests.yml b/.github/workflows/lint_tests.yml index 1e79dc7..d7187d7 100644 --- a/.github/workflows/lint_tests.yml +++ b/.github/workflows/lint_tests.yml @@ -26,8 +26,10 @@ python-version: [ "pypy3.7", "pypy3.10", "3.10", "3.11", "3.12", "3.13.0-alpha - 3.13.0", "3.14-dev" ] deps: [ flake8, hacking ] exclude: - - python-version: "pypy3.7" - deps: hacking + - deps: hacking + python-version: "pypy3.7" + - deps: hacking + python-version: "3.14-dev"
steps: - name: Checkout Repository diff --git a/setup.py b/setup.py index b36110e..f4d7eb2 100755 --- a/setup.py +++ b/setup.py @@ -68,7 +68,7 @@ 'pep8-naming>=0.14.0; python_version >= "3.8"', ], 'hacking': [ - 'hacking; python_version < "3.14"', # T368851 + 'hacking', # importlib-metadata module is already installed with hacking 4.1.0 # used by Python 3.7 but importlib-metadata >= 5 fails, so adjust it 'importlib-metadata<5.0.0; python_version < "3.8"',
pywikibot-commits@lists.wikimedia.org