Unable to install AWS CLI version 2 (2.23.2) with Python 3.13.1 #9234
Labels
bug
This issue is a bug.
investigating
This issue is being investigated and/or work is in progress to resolve the issue.
p2
This is a standard priority issue
Describe the bug
Hi,
I'm unable to install the AWS CLI version 2 using Python 3.13.1 by running
/usr/local/bin/pip install https://github.com/aws/aws-cli/archive/refs/tags/2.23.2.tar.gz
(this work fine on Python 3.12.x, and this works fine with AWS CLI 1.37.2 too).Regression Issue
Expected Behavior
The AWS CLI v2 should install as expected on Python 3.13.x.
Current Behavior
The build fails with the following errors and warnings
Reproduction Steps
pip install https://github.com/aws/aws-cli/archive/refs/tags/2.23.2.tar.gz
Running
pip install https://github.com/aws/aws-cli/archive/refs/tags/1.37.2.tar.gz
works as expected ✔Possible Solution
No response
Additional Information/Context
Note 1: It seems like the issue stems from the use of the
ruamel.yaml
package but I'm not sure how this dependency is dragged. Maybe PyYAML?Note 2: I'm using the method described above to globally install the AWS CLI v2 (ie, available to all users). Running
pip install --upgrade awscliv2
followed byawsv2 --install
result in some executable being installed in/usr/local/bin
but also in/root/.awscliv2
which is not desired as it would require other users to run 1) runawsv2 --install
themselves and result in extra binaries installed in$HOME/.awscliv2/
.CLI version used
2.23.2
Environment details (OS name and version, etc.)
Containerized Debian 12 (bookwork)
The text was updated successfully, but these errors were encountered: