You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, installing Pacu on a Linux system with AWS CLI version 2 also installs AWS CLI version 1, "downgrading" it. While it is possible to re-install AWS CLI v2 again, I was wondering whether this could cause issues. Is Pacu compatible with AWS CLI v2? (Or does it only support CLI v1?)
More precisely, in a container running docker.io/library/python:3.12, here are some commands to reproduce the issue
# Install AWS CLI v2 following instructions from# https://docs.aws.amazon.com/cli/latest/userguide/getting-started-install.html
curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip"
unzip awscliv2.zip
sudo ./aws/install
# AWS CLI v2 is now installed in /usr/local/bin/aws# Check the version. This displays "aws-cli/2.17.19 Python/3.11.9 Linux/5.19.0-50-generic exe/x86_64.debian.12"
aws --version
# Install Pacu
pip install pacu
# Check the version again
aws --version
# This displays "aws-cli/1.33.32 Python/3.12.0 Linux/5.19.0-50-generic botocore/1.34.150"# By the way "which aws" still shows "/usr/local/bin/aws": the file was overwritten.
Pacu installs AWS CLI v1 because it depends on Python package awscli:
AWS stated in aws/aws-cli#4947 they do not plan to publish AWS CLI v2 on PyPI, so it is not possible to upgrade awscli in Pacu dependencies to version 2. Anyway, is this dependency actually used? Would Pacu also be compatible with AWS CLI v2?
The text was updated successfully, but these errors were encountered:
fishilico
added a commit
to fishilico/home-files
that referenced
this issue
Aug 11, 2024
Hello,
Currently, installing Pacu on a Linux system with AWS CLI version 2 also installs AWS CLI version 1, "downgrading" it. While it is possible to re-install AWS CLI v2 again, I was wondering whether this could cause issues. Is Pacu compatible with AWS CLI v2? (Or does it only support CLI v1?)
More precisely, in a container running
docker.io/library/python:3.12
, here are some commands to reproduce the issuePacu installs AWS CLI v1 because it depends on Python package
awscli
:pacu/pyproject.toml
Line 14 in 470b96a
AWS stated in aws/aws-cli#4947 they do not plan to publish AWS CLI v2 on PyPI, so it is not possible to upgrade
awscli
in Pacu dependencies to version 2. Anyway, is this dependency actually used? Would Pacu also be compatible with AWS CLI v2?The text was updated successfully, but these errors were encountered: