Xqt has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1050778?usp=email )
Change subject: [tests] Ignore flake8 hacking with Python 3.14 ......................................................................
[tests] Ignore flake8 hacking with Python 3.14
Bug: T368851 Change-Id: Iae64cec1056d2e2dfe58ccda5e9a3c856b80e975 --- M setup.py 1 file changed, 2 insertions(+), 2 deletions(-)
Approvals: Xqt: Verified; Looks good to me, approved
diff --git a/setup.py b/setup.py index 4712236..b36110e 100755 --- a/setup.py +++ b/setup.py @@ -61,14 +61,14 @@ 'flake8-print>=5.0.0', 'flake8-quotes>=3.3.2', 'flake8-raise', - 'flake8-string-format; python_version < "3.14"', + 'flake8-string-format; python_version < "3.14"', # T368838 'flake8-tuple>=0.4.1', 'flake8-no-u-prefixed-strings>=0.2', 'pep8-naming==0.13.3; python_version < "3.8"', 'pep8-naming>=0.14.0; python_version >= "3.8"', ], 'hacking': [ - 'hacking', + 'hacking; python_version < "3.14"', # T368851 # 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