Xqt has submitted this change. ( 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1123739?usp=email )

Change subject: Update requirements
......................................................................

Update requirements

Change-Id: Ib4ca4667c2cc2ed318e99b1040371dd9d4543716
---
M .pre-commit-config.yaml
M dev-requirements.txt
M docs/conf.py
M docs/requirements.txt
M requirements.txt
M setup.py
6 files changed, 30 insertions(+), 25 deletions(-)

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




diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index fbc2ae5..8e264d5 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -58,7 +58,7 @@
       - id: rst-inline-touching-normal
       - id: text-unicode-replacement-char
   - repo: https://github.com/astral-sh/ruff-pre-commit
-    rev: v0.9.7
+    rev: v0.9.9
     hooks:
       - id: ruff
         args:
@@ -81,7 +81,7 @@
           - --remove-unused-variables
         exclude: '^pywikibot/backports\.py$'
   - repo: https://github.com/PyCQA/isort
-    rev: 6.0.0
+    rev: 6.0.1
     hooks:
       - id: isort
         exclude: '^pwb\.py$'
diff --git a/dev-requirements.txt b/dev-requirements.txt
index 7617720..38cb1f8 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,17 +1,19 @@
 # This is a PIP 6+ requirements file for development dependencies
 #

-pytest >= 7.0.1
-pytest-subtests != 0.14.0
+pytest >= 8.3.4
+pytest-subtests >= 0.14.1; python_version > "3.8"
+pytest-subtests == 0.13.1; python_version < "3.9"
 pytest-attrib>=0.1.3
 pytest-xvfb>=3.0.0

-pre-commit
+pre-commit >= 4.1.0
 coverage==7.6.1; python_version < "3.9"
-coverage>=7.6.10; python_version > "3.8"
+coverage>=7.6.12; python_version > "3.8"
 # required for coverage (T380697)
-tomli>=2.0.1; python_version < "3.11"
+tomli>=2.2.1; python_version < "3.11"


 # optional but needed for tests
-fake-useragent != 2.0.0
+fake-useragent >= 2.0.3; python_version > "3.8"
+fake-useragent == 1.5.1; python_version < "3.9"
diff --git a/docs/conf.py b/docs/conf.py
index 7ce46f6..e0e68e1 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -50,7 +50,7 @@

 # If your documentation needs a minimal Sphinx version, state it here.
 #
-needs_sphinx = '8.1.3'
+needs_sphinx = '8.2.1'

 # Add any Sphinx extension module names here, as strings. They can be
 # extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 252866c..1a29bd5 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -1,7 +1,7 @@
 # This is a PIP requirements file for building Sphinx documentation of 
Pywikibot
 # ../requirements.txt is also needed.
-# Note: Python 3.10 is required for sphinx 8
-sphinx >= 8.1.3
+# Note: Python 3.11 is required for sphinx 8.2
+sphinx >= 8.2.1
 rstcheck >=6.2.4
 sphinxext-opengraph >= 0.9.1
 sphinx-copybutton >= 0.5.2
diff --git a/requirements.txt b/requirements.txt
index 30a0c0b..b096bdd 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -26,7 +26,7 @@
 # mwparserfromhell is mandatory but wikitextparser can be used instead
 # mwparserfromhell is still required for commons_information.py and patrol.py
 # wikitextparser is required for Page.authorship()
-wikitextparser>=0.47.5
+wikitextparser>=0.56.3

 # OAuth support
 # mwoauth 0.2.4 is needed because it supports getting identity information
@@ -36,21 +36,21 @@
 mwoauth>=0.2.4,!=0.3.1

 # interwiki_graph.py module and category_graph.py script:
-pydot >= 1.4.1
+pydot >= 3.0.2

 # cosmetic_changes
-python-stdnum >= 1.19
+python-stdnum >= 1.20

 # GUI
-Pillow >= 8.1.2, != 10.0, != 10.1 ; python_version < '3.13'
-Pillow >= 10.4 ; python_version >= '3.13'
+Pillow>=11.1.0; python_version > "3.8"
+Pillow==10.4.0; python_version < "3.9"

 # core pagegenerators
 google >= 1.7
 requests-sse >= 0.5.0

 # The mysql generator in pagegenerators depends on PyMySQL
-PyMySQL >= 1.0.0
+PyMySQL >= 1.1.1

 # core HTML comparison parser in diff module
 beautifulsoup4>=4.7.1
diff --git a/setup.py b/setup.py
index 31f1ec5..4e40ecb 100755
--- a/setup.py
+++ b/setup.py
@@ -38,23 +38,26 @@
 extra_deps = {
     # Core library dependencies
     'eventstreams': ['requests-sse>=0.5.0'],
-    'isbn': ['python-stdnum>=1.19'],
-    'Graphviz': ['pydot>=1.4.1'],
+    'isbn': ['python-stdnum>=1.20'],
+    'Graphviz': ['pydot>=3.0.2'],
     'Google': ['google>=1.7'],
     'memento': ['memento_client==0.6.1'],
-    'wikitextparser': ['wikitextparser>=0.47.0'],
-    'mysql': ['PyMySQL >= 1.0.0'],
+    'wikitextparser': ['wikitextparser>=0.56.3'],
+    'mysql': ['PyMySQL >= 1.1.1'],
     # vulnerability found in Pillow<8.1.2 but toolforge uses 5.4.1
     'Tkinter': [
-        'Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"',
-        'Pillow>=10.4; python_version >= "3.13"',
+        'Pillow>=11.1.0; python_version > "3.8"',
+        'Pillow==10.4.0; python_version < "3.9"',
     ],
     'mwoauth': [
         'PyJWT != 2.10.0, != 2.10.1; python_version > "3.8"',  # T380270
         'mwoauth!=0.3.1,>=0.2.4',
     ],
     'html': ['beautifulsoup4>=4.7.1'],
-    'http': ['fake-useragent != 2.0.0'],
+    'http': [
+        'fake-useragent >= 2.0.3; python_version > "3.8"',
+        'fake-useragent == 1.5.1; python_version < "3.9"',
+    ],
 }


@@ -76,7 +79,7 @@
 ]

 # ------- setup tests_require ------- #
-test_deps = ['mock']
+test_deps = []

 # Add all dependencies as test dependencies,
 # so all scripts can be compiled for script_tests, etc.

--
To view, visit 
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1123739?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: Ib4ca4667c2cc2ed318e99b1040371dd9d4543716
Gerrit-Change-Number: 1123739
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