Skip to content

Commit

Permalink
Update requirements
Browse files Browse the repository at this point in the history
Bug: T380270
Change-Id: I3cb27622241efc7151c16c2a9069eb48da37c2e9
  • Loading branch information
xqt committed Nov 19, 2024
1 parent 52255d7 commit d00c515
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/oauth_tests-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ jobs:
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
Expand Down
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ wikitextparser>=0.47.5
# 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:
Expand Down
5 changes: 4 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'],
}
Expand Down

0 comments on commit d00c515

Please sign in to comment.