Xqt has submitted this change. (
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224062?usp=email )
Change subject: IMPR: Update requirements.txt, dev-requirements.txt and setup.py
......................................................................
IMPR: Update requirements.txt, dev-requirements.txt and setup.py
Change-Id: I1228e1dda1d795d74a21f066d3dfba35def8d435
---
M ROADMAP.rst
M dev-requirements.txt
M requirements.txt
M setup.py
4 files changed, 29 insertions(+), 24 deletions(-)
Approvals:
Xqt: Looks good to me, approved
jenkins-bot: Verified
diff --git a/ROADMAP.rst b/ROADMAP.rst
index 4ed43d8..4c09cd7 100644
--- a/ROADMAP.rst
+++ b/ROADMAP.rst
@@ -82,8 +82,9 @@
**Other breaking changes**
-* Package requirements were updated (``wikitextparser``, ``mwoauth``,
``pydot``, ``python-stdnum``,
- ``Pillow``, ``requests-sse``, ``PyMySQL``, ``beautifulsoup4``,
``fake-useragent``)
+* Package requirements were updated (``beautifulsoup4``, ``fake-useragent``,
``mwoauth``,
+ ``mwparserfromhell``, ``packaging``, ``Pillow``, ``pydot``, ``PyMySQL``,
``python-stdnum``,
+ ``requests``, ``requests-sse``, ``wikitextparser``)
* Python 3.8 support was dropped. (:phab:`T401802`)
* Remove predefined ``yu-tld`` fix in :mod:`fixes`. (:phab:`T402088`)
diff --git a/dev-requirements.txt b/dev-requirements.txt
index ee40156..4e0c256 100644
--- a/dev-requirements.txt
+++ b/dev-requirements.txt
@@ -1,14 +1,15 @@
-# This is a requirements file for development dependencies
+# This is a requirements file for development dependencies.
#
-pytest >= 9.0.1; python_version > "3.9"
+pytest >= 9.0.2; python_version > "3.9"
pytest == 8.4.2; python_version == "3.9"
pytest-subtests >= 0.15.0; python_version == "3.9"
pytest-attrib >= 0.1.3
pytest-xvfb>=3.1.1
-pre-commit >= 4.3.0
-coverage>=7.11.0; python_version > "3.9"
+# Python 3.10 is required for pre-commit
+pre-commit >= 4.5.1; python_version > "3.9"
+coverage>=7.13.1; python_version > "3.9"
coverage==7.10.7; python_version == "3.9"
# required for coverage (T380697)
tomli>=2.3.0; python_version < "3.11"
diff --git a/requirements.txt b/requirements.txt
index 7869b51..a1ceded 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,4 +1,4 @@
-# This is a PIP 6+ requirements file for using Pywikibot and scripts
+# This is a PIP requirements file for using Pywikibot and scripts
#
# All dependencies can be installed using:
# $ sudo pip install -r requirements.txt
@@ -18,9 +18,9 @@
# $ awk -F '[#>=]' '{print $1}' requirements.txt | xargs apt-cache search
# mandatory dependencies, others are optional
-mwparserfromhell>=0.5.2
-packaging
-requests>=2.31.0
+mwparserfromhell>=0.7.2
+packaging>=25.0
+requests>=2.32.3
# MediaWiki markup parser
# mwparserfromhell is mandatory but wikitextparser can be used instead
@@ -29,8 +29,6 @@
wikitextparser>=0.56.4
# OAuth support
-# mwoauth 0.2.4 is needed because it supports getting identity information
-# about the user
# Due to T380270 PyJWT must be set
PyJWT != 2.10.0, != 2.10.1
mwoauth>=0.4.0
@@ -39,13 +37,15 @@
pydot >= 4.0.1
# cosmetic_changes
-python-stdnum >= 2.1
+python-stdnum >= 2.2
# GUI
# Pillow cannot be installed with GraalPy
Pillow==10.4.0; platform_python_implementation == "PyPy" and python_version ==
"3.9"
Pillow==11.3.0; platform_python_implementation == "PyPy" and python_version ==
"3.10"
-Pillow>=10.4.0; platform_python_implementation != "GraalVM" and
(platform_python_implementation == "CPython" or python_version >= "3.11")
+Pillow==12.1.0; platform_python_implementation == "PyPy" and python_version >=
"3.11"
+Pillow==11.3.0; platform_python_implementation == "CPython" and python_version
== "3.9"
+Pillow>=12.1.0; platform_python_implementation == "CPython" and
python_version >= "3.10"
# core pagegenerators
googlesearch-python >= 1.3.0
@@ -55,7 +55,7 @@
PyMySQL >= 1.1.2
# core HTML comparison parser in diff module
-beautifulsoup4>=4.14.2
+beautifulsoup4>=4.14.3
# scripts/weblinkchecker.py
memento_client==0.6.1
diff --git a/setup.py b/setup.py
index 19acf97..de235b5 100755
--- a/setup.py
+++ b/setup.py
@@ -20,7 +20,7 @@
.. warning:: do not upload a development release to pypi.
"""
#
-# (C) Pywikibot team, 2009-2025
+# (C) Pywikibot team, 2009-2026
#
# Distributed under the terms of the MIT license.
#
@@ -38,7 +38,7 @@
extra_deps = {
# Core library dependencies
'eventstreams': ['requests-sse>=0.5.2'],
- 'isbn': ['python-stdnum>=2.1'],
+ 'isbn': ['python-stdnum>=2.2'],
'Graphviz': ['pydot>=4.0.1'],
'Google': ['googlesearch-python >= 1.3.0'],
'memento': ['memento_client==0.6.1'],
@@ -50,15 +50,18 @@
'and python_version == "3.9"',
'Pillow==11.3.0; platform_python_implementation == "PyPy" '
'and python_version == "3.10"',
- 'Pillow>=10.4.0; platform_python_implementation != "GraalVM" '
- 'and (platform_python_implementation == "CPython" '
- 'or python_version >= "3.11")',
+ 'Pillow==12.1.0; platform_python_implementation == "PyPy" '
+ 'and python_version >= "3.11"',
+ 'Pillow==11.3.0; platform_python_implementation == "CPython" '
+ 'and python_version == "3.9"',
+ 'Pillow>=12.1.0; platform_python_implementation == "CPython" '
+ 'and python_version >= "3.10"',
],
'mwoauth': [
'PyJWT != 2.10.0, != 2.10.1', # T380270
'mwoauth>=0.4.0',
],
- 'html': ['beautifulsoup4>=4.7.1'],
+ 'html': ['beautifulsoup4>=4.14.3'],
'http': [
'fake-useragent >= 2.2.0',
],
@@ -76,9 +79,9 @@
# ------- setup install_requires ------- #
# packages which are mandatory
dependencies = [
- 'mwparserfromhell>=0.5.2',
- 'packaging',
- 'requests>=2.31.0',
+ 'mwparserfromhell>=0.7.2',
+ 'packaging>=25.0',
+ 'requests>=2.32.3',
]
--
To view, visit
https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1224062?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: I1228e1dda1d795d74a21f066d3dfba35def8d435
Gerrit-Change-Number: 1224062
Gerrit-PatchSet: 2
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]