-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
aws-cli (no such package) in 3.20 #396
Comments
aws-cli got disabled in Alpine 3.20 due to missing Python 3.12 compat. https://wiki.alpinelinux.org/wiki/Release_Notes_for_Alpine_3.20.0#aws-cli |
- alpine 3.20 was released some hours ago. When you use that version, it is unable to install aws-cli. This is because aws-cli got disabled in Alpine 3.20 due to missing Python 3.12 compat. See alpinelinux/docker-alpine#396 for more details.
In our case we're using the bash image which is based on Alpine. Worked around this by pinning to a previous version.
or
|
retour à la version 3.19. La nouvelle version 3.20 : aws-cli got disabled in Alpine 3.20 due to missing Python 3.12 compat. alpinelinux/docker-alpine#396
Yes, we'll add aws-cli again once upstream fixed the issue. Hopefully this is soon. |
FYI, I tried several things but ended up installing aws-cli with pip as a workaround (but this is aws cli v1, so your mileage may vary). apk add python3 py3-pip
pip3 install awscli --upgrade --break-system-packages Was this not considered a breaking change? |
|
Well, yes. Disabling packages is not very nice, but there is no other option. The best we could do is to inform people about that via the release notes. |
The same problem is plaguing me today; gitlab pipelines suddenly stopped working. I eventually found this link. It now functions properly after switching to V3.9. The package should not be removed from the repository in this manner. |
It has to, otherwise it tries to access python packages which do not exist for it's python version. The alternative would be to package Python 3.11 on the side with all python packages, which is too much hassle for aws-cli. If you use |
alpine:3.19.1 directly worked for me. |
In case you're here because your pipeline broke, here are some useful pin patterns :)
|
#### Summary To avoid issues like alpinelinux/docker-alpine#396 I'll add a renovate config to handle updates via PRs
alpinelinux/docker-alpine#396 Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
…#721) alpinelinux/docker-alpine#396 Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
Good news! I have enabled and upgraded aws-cli in Alpine v3.20 by adding a bunch of patches. This is not a nice solution, but I think it's better than disabling it. |
We don't ship aws-cli with the alpine docker image so this should be reported and followed up on https://gitlab.alpinelinux.org/alpine/aports |
…argoproj-labs#721) alpinelinux/docker-alpine#396 Signed-off-by: Pasha Kostohrys <pavel@codefresh.io>
The following Dockerfile fails:
FROM alpine:3 RUN apk --update --no-cache add git aws-cli COPY entrypoint.sh /entrypoint.sh ENTRYPOINT ["/entrypoint.sh"]
with
It looks like
aws-cli
is missing from the 3.20 package index. Pinning to 3.19 solves the issue.The text was updated successfully, but these errors were encountered: