Skip to content

Commit ec4c5a3

Browse files
author
Rahul Rajaram
committed
Upgrade dependencies and fix EBCLI for Python 3.12
This commit incorporates cement 2.10.14 that removes accesses to the `imp` module in favour of `importlib` for 3.12. The EB CLI now works for Python 3.12. One limitation is that Pytest 3 is not compatible with Python 3.12 because of it's reliance on `imp` and [this change](https://github.com/pytest-dev/pytest/blob/9515dfa58a144f3644fd29b256113d723c9c1955/src/_pytest/config/argparsing.py#L180) not having been incorporated into Pytest 3.10.1 which hasn't see a new release [since Nov 2018](https://pypi.org/project/pytest/3.10.1/). In future work, we should upgrade Pytest to 8.x. Issue: #493
1 parent d8f94e7 commit ec4c5a3

File tree

2 files changed

+11
-12
lines changed

2 files changed

+11
-12
lines changed

requirements.txt

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
1-
botocore>1.23.41,<1.35.0
2-
cement==2.8.2
3-
colorama>=0.2.5,<0.4.4 # use the same range that 'docker-compose' uses
1+
botocore>=1.35.0,<1.36.0
2+
cement==2.10.14
3+
colorama>=0.4.6,<0.5
44
pathspec==0.10.1
55
python-dateutil>=2.1,<3.0.0 # use the same range that 'botocore' uses
6-
requests>=2.31
7-
setuptools >= 20.0
8-
semantic_version == 2.8.5
9-
six>=1.11.0,<1.17.0
10-
termcolor == 1.1.0
11-
wcwidth>=0.1.7,<0.2.0
12-
PyYAML>=5.3.1,<6.1 # use the same range that 'aws-cli' uses. This is also compatible with 'docker-compose'
13-
urllib3>=1.26.5,<2 #1.26.5 fix CVE-2021-33503
6+
requests>=2.31,<3
7+
setuptools>=20.0
8+
semantic_version>=2.10.0,<2.11
9+
termcolor>=2.4.0,<3
10+
wcwidth>=0.2.13,<0.3
11+
PyYAML>=5.3.1,<6.1 # use the same range that 'aws-cli' uses
12+
urllib3>=1.26.5,<2

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737

3838
}
3939
if not sys.platform.startswith('win'):
40-
requires.append('blessed>=1.9.5')
40+
requires.append('blessed>=1.20.0')
4141

4242

4343
setup_options = dict(

0 commit comments

Comments
 (0)