-
Notifications
You must be signed in to change notification settings - Fork 3.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
Python builds using Poetry break with 20201129.1 #2245
Comments
@shadycuz while i am investigating the problem, can you please provide a reference to the build that actually fails and provide a minimal repro with a bit less than 14 files PR? |
@dsame I have opened a new PR and the only change is the README. All builds for workflow "Tests" >= 19 are failing because of version All previous builds passed but on version The only change between the last working build and the latest failed build is the readme and the version of the image. Please let me know if I can provide any other info or assistance. Thanks |
@shadycuz thanks a lot, not the problem seems to be clear |
Someone has tracked it down to an issue with newer |
I feel good enough about closing this now. The issue is with the change to how Workarounds:
|
Description
Builds in github actions have broken and the only change I can find is that the version has changed from
Version: 20201115.1
to20201129.1
Area for Triage:
Python
Question, Bug, or Feature?:
Bug
Virtual environments affected
I have not tried on 16.04
Expected behavior
Since the build did not break locally and python, poetry and nox all have their version pinned, I expected builds to continue to work.
Actual behavior
Builds fail with a pip and or poetry issue.
Repro steps
I have an issue open with poetry. My PR is here and from my PR you can of course get the details for the passing and failing builds using the Test or Coverage workflows. I have also created a Diff of a working and failing Test builds up to the point where the one fails.
The only thing I find strange about the diff is that in the build that works, it doesn't install some of the packages. For example, if you search for
Collecting flake8
you would expect to find it since poetry and nox should make sure it's installed from scratch every build. Even though it doesn't seem to install flake8, flake8 runs just fine. If you go to the failing build and search you see that installing those packages is what is failing the build.Edit:
Also of note from the dff that the failing builds on 20201129.1 complain about pip not being latest:
This warning about pip not being fully updated is not seen on the passing builds from the earlier version. Edit: I just checked and updating pip did not fix the builds.
Successfully installed pip-20.3.1
Edit: Here is the diff between the working image and the newer one that is not working. ubuntu18/20201115.1...ubuntu18/20201129.1
If you ctrl-f and search for
unbuntu1804
you can quickly locate the readme and json files for this image version. According to the readme, the python or pip version should not have changed at all. The only python related change I could see in the readme was a change toPyPY
version and it was only a patch bump.The other change from the json shows that this script is not being run https://github.com/actions/virtual-environments/blob/ubuntu18/20201115.1/images/linux/scripts/installers/test-toolcache.sh on the newer image.
The only thing strange I found while reviewing the diffs is that the image version in the readme does not match the tag.
It should be version
20201115.1
not20201108.1
, I'm guessing this is a bug in the diff viewer? Which makes me question my findings so far, or maybe it's using a cached version of the tag and this tag was forced push to fix the version info? Now sure.The text was updated successfully, but these errors were encountered: