Skip to content

Commit

Permalink
pin typing-extensions<4.2 to fix st2client install
Browse files Browse the repository at this point in the history
st2client requires importlib-metadata which requires typing-extensions.
But typing-extensions v4.2.0 dropped support for python3.6, so pin it.
  • Loading branch information
cognifloyd committed May 4, 2022
1 parent abb694b commit 5607dd8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.rst
Expand Up @@ -202,6 +202,9 @@ Changed

* Bump black to v22.3.0 - This is used internally to reformat our python code. #5606

* Pin ``typing-extensions<4.2`` (used indirectly by st2client) to maintain python 3.6 support. #5638


3.6.0 - October 29, 2021
------------------------

Expand Down
2 changes: 2 additions & 0 deletions fixed-requirements.txt
Expand Up @@ -60,6 +60,8 @@ argparse==1.12.2
argcomplete==1.12.2
prettytable==2.1.0
importlib-metadata==3.10.1
# importlib-metadata requires typing-extensions but v4.2.0 requires py3.7+
typing-extensions<4.2
# NOTE: sseclient has various issues which sometimes hang the connection for a long time, etc.
sseclient-py==1.7
stevedore==1.30.1
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Expand Up @@ -72,6 +72,7 @@ sseclient-py==1.7
stevedore==1.30.1
tenacity>=3.2.1,<7.0.0
tooz==2.8.0
typing-extensions<4.2
udatetime==0.0.16
unittest2
webob==1.8.7
Expand Down
2 changes: 2 additions & 0 deletions st2client/in-requirements.txt
@@ -1,5 +1,7 @@
# Remember to list implicit packages here, otherwise version won't be fixated!
importlib-metadata
# importlib-metadata requires typing-extensions
typing-extensions
argcomplete
prettytable
pytz
Expand Down
1 change: 1 addition & 0 deletions st2client/requirements.txt
Expand Up @@ -24,3 +24,4 @@ pyyaml==5.4.1
requests[security]==2.25.1
six==1.13.0
sseclient-py==1.7
typing-extensions<4.2

0 comments on commit 5607dd8

Please sign in to comment.