-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Bug: Error installing PyYAML==5.4.1
as a dependency for aws-sam-cli
#5543
Comments
The workaround that solve my current problem:
See: pypa/pip#12158 (comment). |
@realFranco Thanks for raising the issue and providing the workaround. We've also confirmed the workaround works. To all - if you have to use
|
More information: yaml/pyyaml#724 |
I think it's worth noting that the workaround isn't portable to all contexts, and neither are the installers. It would be great to see this treated as a bug which can be fixed by aws-sam-cli supporting (or simply requiring) pyyaml 6.x That there's a viable workaround may have bearing on the urgency, of course. So far, I haven't yet figured out the tox-appropriate way to add a dependency to the build environment (pre- |
The only fix I could get working in I don't know if this has bearing here or not, but |
Hello, I observe a PR that expose the upgrade for the If that merge were correctly solve the problem as I saw on the project "aws/aws-cli" then this thread could be successfully close. |
The |
Any idea when a fix for this will be released? I guess this will be affecting a lot of people. |
We've addressed the issue with |
Patch is released in v1.93.0. Closing |
this made my day |
Description:
I am trying to install AWS SAM CLI, and I am encountering an error when trying to install the PyYAML dependency. Specifically, when I try to install version 5.4.1 of PyYAML.
Some references:
Steps to reproduce:
I pick that specific version becuase of business requirements, but will affect all the versions that has this constraint:
PyYAML>=5.4.1,==5.*
Observed result:
Expected result:
The expected result is that we can install the package
aws-sam-cli
with a newer version ofPyYAML
(>=6.0)Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
The host where I am faccing the issue is agnostic because is related with python depedencies.
The text was updated successfully, but these errors were encountered: