Skip to content

Commit e2288ee

Browse files
committed
Pin osc-lib<4.0.0
osc-lib-4.0.0 introduced typing hints making it incompatible with py38. Ref: openstack/osc-lib@3d221e5 Resolved Conflicts: requirements.txt setup.py (cherry picked from commit dd72623) (cherry picked from commit ce301ed)
1 parent 1ff8529 commit e2288ee

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

requirements.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,9 @@ six>=1.9.0
3434
dnspython>=1.12.0
3535
psutil>=1.1.1,<2.0.0
3636
platformdirs<3 # needed for py36
37+
# osc-lib-4.0.0 introduced typing hints making it incompatible with py38.
38+
# https://github.com/openstack/osc-lib/commit/3d221e5992a74d6bb7d1b725e43015b8c87b9718
39+
osc-lib<4.0.0; python_version <= '3.8'
3740
python-openstackclient>=3.14.2,<=5.2 # needed for py36
3841
openstacksdk<=0.61 # needed for py36
3942
aodhclient

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
'tenacity',
5050
'oslo.config<6.12.0',
5151
'pyparsing<3.0.0', # pin for aodhclient which is held for py35
52+
'osc-lib<4.0.0', # needed for py38
5253
'aodhclient<1.4.0',
5354
'gnocchiclient>=7.0.5,<8.0.0',
5455
'pika>=1.1.0,<2.0.0',

0 commit comments

Comments
 (0)