jenkins-bot has submitted this change. ( https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1092865?usp=email )
Change subject: Update requirements ...................................................................... Update requirements Bug: T380270 Change-Id: I3cb27622241efc7151c16c2a9069eb48da37c2e9 --- M .github/workflows/oauth_tests-ci.yml M requirements.txt M setup.py 3 files changed, 7 insertions(+), 2 deletions(-) Approvals: Xqt: Looks good to me, approved jenkins-bot: Verified diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index bf85fab..e0b9105 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -87,7 +87,7 @@ pip install "importlib_metadata ; python_version < '3.8'" pip install mwparserfromhell # PyJWT added due to T380270 - pip install "PyJWT != 2.10.0" + pip install "PyJWT != 2.10.0 ; python_version > '3.8'" pip install mwoauth pip install packaging pip install requests diff --git a/requirements.txt b/requirements.txt index 6c3d89d..df401ab 100644 --- a/requirements.txt +++ b/requirements.txt @@ -32,6 +32,8 @@ # 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; python_version > '3.8' mwoauth>=0.2.4,!=0.3.1 # interwiki_graph.py module and category_graph.py script: diff --git a/setup.py b/setup.py index 3932956..3a56fbc 100755 --- a/setup.py +++ b/setup.py @@ -49,7 +49,10 @@ 'Pillow>=8.1.2, != 10.0, != 10.1; python_version < "3.13"', 'Pillow>=10.4; python_version >= "3.13"', ], - 'mwoauth': ['mwoauth!=0.3.1,>=0.2.4'], + 'mwoauth': [ + 'PyJWT != 2.10.0; python_version > "3.8"', # T380270 + 'mwoauth!=0.3.1,>=0.2.4', + ], 'html': ['beautifulsoup4>=4.7.1'], 'http': ['fake-useragent>=1.4.0'], } -- To view, visit https://gerrit.wikimedia.org/r/c/pywikibot/core/+/1092865?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: I3cb27622241efc7151c16c2a9069eb48da37c2e9 Gerrit-Change-Number: 1092865 Gerrit-PatchSet: 1 Gerrit-Owner: Xqt <i...@gno.de> Gerrit-Reviewer: Xqt <i...@gno.de> Gerrit-Reviewer: jenkins-bot
_______________________________________________ Pywikibot-commits mailing list -- pywikibot-commits@lists.wikimedia.org To unsubscribe send an email to pywikibot-commits-le...@lists.wikimedia.org