Skip to content
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

pip install aws-cli versión 1.19.51 fail #6096

Closed
geekofer opened this issue Apr 14, 2021 · 9 comments
Closed

pip install aws-cli versión 1.19.51 fail #6096

geekofer opened this issue Apr 14, 2021 · 9 comments
Labels
dependencies This issue is a problem in a dependency. guidance Question that needs advice or information. third-party This issue is related to third-party libraries or applications.

Comments

@geekofer
Copy link

image

@geekofer geekofer added the needs-triage This issue or PR still needs to be triaged. label Apr 14, 2021
@shadowfool
Copy link

Seeing this same issue with node alpine current.

@adamist521
Copy link

adamist521 commented Apr 15, 2021

Same here with alpine.

Is it alpine Issue or awscli issue?
Both have been updated in recent hours.

image
image

@adamist521
Copy link

Seems to be problem on alpine...
I was able to build successfully on 1.19.51 yesterday but changing awscli version to 1.19.51 didn't fix the problem.

@geekofer
Copy link
Author

Seems to be problem on alpine...
I was able to build successfully on 1.19.51 yesterday but changing awscli version to 1.19.51 didn't fix the problem.

temporarily solvent by adding the following line before installing aws-cli
- pip install pyyaml==5.3.1

image

@adamist521
Copy link

@geekofer
I'll try that!

@adamist521
Copy link

@geekofer
It's working now. Thanks for the workaround.

( I had release today and suddenly it failed to deploy... You saved my life!! Thank you in advance! )

@shadowfool
Copy link

shadowfool commented Apr 15, 2021

Here's an alternate solution that doesn't require pinning
- apk add gcc alpine-sdk python3-dev python3 py3-pip && pip3 install awscli

Basically just filling in all the deps that seem to either be missing or out of date

@nateprewitt
Copy link
Member

nateprewitt commented Apr 15, 2021

To add some more details, the issue appears to be specific to Alpine with the new release of Cython today. This is a build-time dependency of one of our dependencies (PyYAML) that is usually not installed since users download pre-built wheels.

It looks like the latest release of Cython is missing a wheel compatible with Alpine, forcing the package to be built from source. Installing gcc and python3-dev provides the header file (Python.h) that the build is failing on which is what resolves the issue.

We don't have much we can do from the CLIs side since we don't control any of the packages in this installation path. The best option would be to reach out to Cython and see if they can upload a compatible wheel for Alpine. It looks like they supplied a wheel (Cython-0.29.22-py2.py3-none-any.whl) in the last release that's platform agnostic. It doesn't appear to be present in the latest release. There may also be other wheels missing, I didn't perform a full diff between the two versions.

One quick test for anyone interested would be to see whether a wheel or .tar.gz file is used when installing cython==0.29.22 on Alpine.

@nateprewitt nateprewitt added dependencies This issue is a problem in a dependency. third-party This issue is related to third-party libraries or applications. and removed needs-triage This issue or PR still needs to be triaged. labels Apr 15, 2021
@github-actions
Copy link

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies This issue is a problem in a dependency. guidance Question that needs advice or information. third-party This issue is related to third-party libraries or applications.
Projects
None yet
Development

No branches or pull requests

5 participants