Skip to content

Commit 9800b94

Browse files
committed
pin typing-extensions<4.2 to fix st2client install
st2client requires importlib-metadata which requires typing-extensions. But typing-extensions v4.2.0 dropped support for python3.6, so pin it.
1 parent abb694b commit 9800b94

File tree

3 files changed

+7
-0
lines changed

3 files changed

+7
-0
lines changed

CHANGELOG.rst

+3
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,9 @@ Changed
202202

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

205+
* Pin ``typing-extensions<4.2`` (used indirectly by st2client) to maintain python 3.6 support. #5638
206+
207+
205208
3.6.0 - October 29, 2021
206209
------------------------
207210

fixed-requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ argparse==1.12.2
6060
argcomplete==1.12.2
6161
prettytable==2.1.0
6262
importlib-metadata==3.10.1
63+
# importlib-metadata requires typing-extensions but v4.2.0 requires py3.7+
64+
typing-extension<4.2
6365
# NOTE: sseclient has various issues which sometimes hang the connection for a long time, etc.
6466
sseclient-py==1.7
6567
stevedore==1.30.1

st2client/in-requirements.txt

+2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Remember to list implicit packages here, otherwise version won't be fixated!
22
importlib-metadata
3+
# importlib-metadata requires typing-extensions
4+
typing-extensions
35
argcomplete
46
prettytable
57
pytz

0 commit comments

Comments
 (0)