-
Notifications
You must be signed in to change notification settings - Fork 988
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] Failed to install to PyYaml due to Cython3.0 release #14319
Comments
Closed by #14323 |
This also hits us on Windows with Python 3.10. Is there already a planned release date for 1.61.0? |
But in theory @petermbauer this shouldn't be a blocker that needs for the next release to be fixed. The PR that closed this ticket is #14323, but Conan was already allowing PyYaml 6.0, that doesn't have that problem: From #14323
Are you experiencing some problem because PyYaml being installed in a fresh install is not 6.0? |
I tried to use PyYAML 6.0.1 which fixes the issue present in 5.4.1 and 6.0.0 but the |
I understood that only pyyaml < 6 had the issue, and we tried to reproduce in fresh installations and it was not an issue for us, but maybe we are missing some cases. Yes, please if you can give it a try and report, that would be very useful |
6.0.0 also has this issue, it was fixed with 6.0.1 then: yaml/pyyaml#724 (comment) |
Ok, thanks very much for the feedback. |
I took a closer look and tried a few things out: PyYAML 6.0 does not contain the actual fix but it provides wheels for Python 3.10+3.11 so a possible workaround is to use PyYAML 6.0 for Python >=3.10 and PyYAML 5.4.1 for Python <3.10. |
Closed by #14363 will be released in Conan 1.60.2 very soon |
Environment details
With the recent update to Cython 3.0 (about a day) , pyyaml has not been able installed with the cython_source error:
This is a known issue in PyYaml: yaml/pyyaml#601, this pin
PyYAML<=6.0,>=3.11
is not affected.Also we find that the same issue has not affected our Apple silicon Arm64 build pipeline.
Steps to reproduce
pip install conan==1.59
or
pip install conan==1.60
Logs
The text was updated successfully, but these errors were encountered: