-
Notifications
You must be signed in to change notification settings - Fork 567
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
Builds on Python 3.7 started failing due to a problem with PyYaml during pip
install
#107
Comments
Just noting that this was already discussed here actions/runner-images#1202 As mentioned there, uninstalling pyyaml 5.3.1 actually works fine. |
Since 08/07/2020, github actions moved from python 3.7.7 to python 3.7.8 (released the 26/07/2020). Unfortunately this lead to an issue with PYYAML, as described here: actions/setup-python#107 The solution is to pin 3.7.7 for the tests. It is possible only with version v2 of action/setup-python. Take the occasion to change the handle of rabbitmq and postgresql in the actions.
Thanks @ltalirz . Closing this then. |
The same also here - https://github.com/PyTorchLightning/pytorch-lightning/runs/889998403 |
I have the same problem, is there any fix for this? I also see that there is a ticket opened in other repo actions/runner-images#1202 - should I follow it instead? |
@DataGreed I think so - it looks like an issue with the environment on the runner (when setup-python actually reuses the one that is already present) |
Describe the bug
Builds on Python 3.7 started failing as of yesterday. Seems to be that the version got upped from
3.7.7
to3.7.8
.Which version of the action are you using?
v1
v2
v2.0.1
ormaster
)Tested with both versions of the action. Appears for both
v1
andv2
Environment
If applicable, please specify if you're using a container
Python Versions
3.7.8
onlyTo Reproduce
Check this build: https://github.com/aiidateam/aiida-quantumespresso/runs/854338665?check_suite_focus=true
Run/Repo Url
https://github.com/aiidateam/aiida-quantumespresso/runs/854338665?check_suite_focus=true
Additional context
We have been running our builds successfully using this action
@v1
for Python 3.7. Since yesterday, the builds started failing at the step where we install python dependencies throughpip
. It seems that the Python version got upped from3.7.7
to3.7.8
. It fails becausepyyaml==5.3.1
is installed on the system and gets uninstalled bypip
but that somehow fails. See the linked build for more information on the stack trace that I copy here:Edit: I tried running with the version pinned to Python
3.7.7
and the problem disappeared: https://github.com/aiidateam/aiida-quantumespresso/runs/854391978?check_suite_focus=trueThe text was updated successfully, but these errors were encountered: