jenkins-bot has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1277233?usp=email )

Change subject: tests: Several updates
......................................................................

tests: Several updates

- update pre-commit, coverage and tomli requirements
- update pre-commit hooks
- remove pypy jenkins job because pypy 3.9 must not run
  due to pytest vulnerability

Change-Id: Ic1383c020757de72b78f6ece9f93ef75b271790b
---
M .pre-commit-config.yaml
M dev-requirements.txt
M tox.ini
3 files changed, 6 insertions(+), 8 deletions(-)

Approvals:
  jenkins-bot: Verified
  Xqt: Looks good to me, approved




diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 83d8cc9..594bc43 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -63,7 +63,7 @@
         language: python
         require_serial: true
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.15.11
+    rev: v0.15.12
     hooks:
       - id: ruff-check
         alias: ruff
@@ -87,7 +87,7 @@
           - --remove-unused-variables
         exclude: ^pywikibot/backports\.py$
   - repo: https://github.com/PyCQA/isort
-    rev: 8.0.1
+    rev: 9.0.0a3
     hooks:
       - id: isort
         name: isort
@@ -115,7 +115,7 @@
           - flake8-print>=5.0.0
           - pep8-naming>=0.15.1
   - repo: https://github.com/pre-commit/mirrors-mypy
-    rev: v1.20.1
+    rev: v1.20.2
     hooks:
       - id: mypy
         args:
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 78902c8..be2c0b1 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -5,8 +5,8 @@
 pytest-attrib >= 0.1.3
 pytest-xvfb>=3.1.1

-pre-commit >= 4.5.1; python_version > "3.9"
-coverage>=7.13.1; python_version > "3.9"
+pre-commit >= 4.6.0; python_version > "3.9"
+coverage>=7.13.5; python_version > "3.9"
 coverage==7.10.7; python_version == "3.9"
 # required for coverage (T380697)
-tomli>=2.3.0; python_version < "3.11"
+tomli>=2.4.1; python_version < "3.11"
diff --git a/tox.ini b/tox.ini
index d499b0b..364e3db 100644
--- a/tox.ini
+++ b/tox.ini
@@ -22,8 +22,6 @@
     py312: python3.12
     py313: python3.13
     py314: python3.14
-    # temporary until job is removed or T423607 is solved
-    pypy: python3.11
 setenv =
     VIRTUAL_ENV={envdir}
     PRE_COMMIT_COLOR=always

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1277233?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.wikimedia.org/r/settings?usp=email

Gerrit-MessageType: merged
Gerrit-Project: pywikibot/core
Gerrit-Branch: master
Gerrit-Change-Id: Ic1383c020757de72b78f6ece9f93ef75b271790b
Gerrit-Change-Number: 1277233
Gerrit-PatchSet: 1
Gerrit-Owner: Xqt <[email protected]>
Gerrit-Reviewer: Xqt <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
Pywikibot-commits mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to