Closed poing closed 1 month ago
This is still happening with the currently available version at https://pypi.org/project/awsebcli/ 3.20.10 which was released on 2023.10.05, shortly before this issue was filed. Looks like "imp" was deprecated in 3.4 (https://docs.python.org/3.4/library/imp.html) released around 2014 (https://devguide.python.org/versions/), almost 10 years ago.
Thanks for reporting the bug. We're working on a fix for it.
I've fixed the issue upstream in cement: https://github.com/datafolklabs/cement/pull/673. Will release new version of the EB CLI next week. To get around the issue until then install the EB CLI and run: pip install cement==2.10.14
Fixed in 3.21. Apologies for the delay.
The
imp
module has been removed from Python3.12
.https://github.com/python/cpython/issues/98040
This breaks
awsebcli
when usingpython:latest
in Docker.Workaround
Use:
python:3.11