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

Travis fails on Linux Python development versions #1402

Closed
pquentin opened this issue Feb 11, 2020 · 2 comments · Fixed by #1406
Closed

Travis fails on Linux Python development versions #1402

pquentin opened this issue Feb 11, 2020 · 2 comments · Fixed by #1406

Comments

@pquentin
Copy link
Member

pquentin commented Feb 11, 2020

See https://travis-ci.org/python-trio/trio/builds/648727502 for an example. The failure occurs before we can do anything about it, it's Travis who's running the failing pip --version call.

I opened https://travis-ci.community/t/python-development-versions-no-longer-include-pip/7180 and wrote to Travis support. Our options:

  • wait for a fix from Travis
  • allow failures in those builds for a few days (they're "only" dev builds)
  • install Python development versions from git

I'd like to wait for a fix to see if the nightly build is fixed. If it's not fixed, then I'd like to allow failures until next Monday. If it's still an issue next Monday, then we'll figure out what to do.

@njsmith
Copy link
Member

njsmith commented Feb 11, 2020

The Travis-mandated pip --version is failing, but that's not why the build is failing... travis ignores that failure and continues on. The build doesn't actually fail until we call pip ourselves, inside our test script that has the shell's abort-on-error feature enabled. So I guess we might be able to work around this? maybe python -m ensurepip or using get-pip? Of course it might not be worth it if they'll fix it before we wake up tomorrow...

@pquentin
Copy link
Member Author

(I updated my message above to fix the link to the Travis report.)

Apparently virtualenv 20 is a complete rewrite with a bunch of bugs, but they get fixed really quickly, including the one that we care about here: pypa/virtualenv#1576

@BanzaiMan mentions that the next build will kick-off within the next 24 hours, which should hopefully fix the bug.

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.

2 participants