[3.7] bpo-36307: Travis: upgrade to Xenial environment (GH-12356) by methane · Pull Request #12405 · python/cpython

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@methane

Copy link Copy Markdown

Member

@methane methane commented

Mar 18, 2019

edited by bedevere-bot

Loading

(cherry picked from commit 74ae50e)

Co-authored-by: CAM Gerlach CAM.Gerlach@Gerlach.CAM

https://bugs.python.org/issue36307

(cherry picked from commit 74ae50e)

Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>

@tirkarthi

Copy link Copy Markdown

Member

Not sure if it helps but this seems to be a related issue : travis-ci/travis-ci#8363 . I can see more users with the workaround - pyenv global system 3.5 (Replacing 3.5 with 3.7?) in before_install (pre-commit/pre-commit@e3ab890)

@tirkarthi

Copy link Copy Markdown

Member

Seems to work with the workaround (tirkarthi@95a193c)

before_install:
  - pyenv global system 3.7

Ref : https://travis-ci.org/tirkarthi/cpython/jobs/507972151

Fails without workaround

Ref : https://travis-ci.org/tirkarthi/cpython/jobs/507981710

@methane

Copy link Copy Markdown

Member Author

methane commented

Mar 19, 2019

pyenv is great, but I hate pyenv shims. It slows down python startup more than 5x. It adds many garbage commands in PATH. It's crazy.

@methane methane merged commit 09e5877 into 3.7

Mar 19, 2019

@methane methane deleted the backport-74ae50e-3.7 branch

March 19, 2019 08:31

@tirkarthi

Copy link Copy Markdown

Member

Agreed. I searched for any fixes but I couldn't get any other solution other than the workaround.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@methane @tirkarthi @the-knights-who-say-ni @bedevere-bot @CAM-Gerlach