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

package doesn't install #104

Closed
Vulonus opened this issue Jul 17, 2023 · 4 comments
Closed

package doesn't install #104

Vulonus opened this issue Jul 17, 2023 · 4 comments

Comments

@Vulonus
Copy link

Vulonus commented Jul 17, 2023

I'm having problems installing the package with pipx.
I started troubleshooting, since the issue is building pyyaml.

pip seemed to fail to build package:
    pyyaml<6.0.0,>=5.3.1

Some possibly relevant errors from pip install:
    error: subprocess-exited-with-error
    AttributeError: cython_sources
Error installing aws-sso-util.

As stated in the issue linked below, this seems to be a problem since some Cython release around 3.0.0
#yaml/pyyaml#601

If anyone has a hotfix for this, please let me know, I'm pressed for time...

@lucaionescu-enspired
Copy link

As a quick fix, you can install from source by cloning the repository and changing the version of pyyaml in the cli/pyproject.toml file to:

pyyaml = "^6.0.0"

Then you install the package by running pip install . inside the cli directory.

@thetoolsmith
Copy link

thetoolsmith commented Jul 18, 2023

Same for me. I used @lucaionescu-enspired solution, but installed with pipx install .

@benkehoe
Copy link
Owner

Updated to PyYAML 6.0.1, shipped as v4.32 (no aws-sso-lib changes). Please let me know if you continue to have trouble, or experience any problem with the CloudFormation support (which is where PyYAML is used).

@benkehoe
Copy link
Owner

Due to no further complaints, I'm closing this as fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants