Issue 32620: [3.5] Travis CI fails on Python 3.5 with "pyenv: version `3.5' not installed" (original) (raw)

Issue32620

Created on 2018-01-22 10:56 by vstinner, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 5274 merged ncoghlan,2018-01-23 02:14
PR 5533 merged larry,2018-02-04 18:58
Messages (5)
msg310416 - (view) Author: STINNER Victor (vstinner) * (Python committer) Date: 2018-01-22 10:56
My workaround for bpo-31568 is causing new issues on Python 3.5. Output: --- 0.03s$ pyenv global system 3.5 pyenv: version `3.5' not installed --- Extract of Python 3.5 .travis.yml: --- before_install: # work around https://github.com/travis-ci/travis-ci/issues/8363 - pyenv global system 3.5 --- => https://github.com/travis-ci/travis-ci/issues/8363 This workaround was added by me: --- commit 70c630a7316f9f6063557786442e3c56502fe8ea Author: Victor Stinner <victor.stinner@gmail.com> Date: Sun Sep 24 15:45:00 2017 -0700 bpo-31568, Travis CI: Fix python3.5 (#3737) Works around Travis CI bug about the python3.5 binary: https://github.com/travis-ci/travis-ci/issues/8363 --- Without the workaround, running "python3.5" on Travis CI failed with "pyenv: python3.5: command not found". Extract of Larry Hastings's email: --- I have three PRs for Python 3.5.5rc1: https://github.com/python/cpython/pull/4656 https://github.com/python/cpython/pull/5197 https://github.com/python/cpython/pull/5201 I can't merge them because Travis CI is unhappy. All three CI tests fail in the same way, reporting this error: The command "pyenv global system 3.5" failed and exited with 1 during . --- https://mail.python.org/pipermail/python-committers/2018-January/005135.html
msg310461 - (view) Author: Alyssa Coghlan (ncoghlan) * (Python committer) Date: 2018-01-23 02:11
I removed the snippet entirely from https://github.com/python/cpython/pull/5201, and while Travis didn't pass, it failed due to test suite failures, not anything environmental.
msg310487 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2018-01-23 09:10
New changeset 4a4c2743133e195cc3725b78a895d85d69e50089 by larryhastings (Nick Coghlan) in branch '3.5': [3.5] bpo-32620: Remove failing pyenv call from CI config (#5274) https://github.com/python/cpython/commit/4a4c2743133e195cc3725b78a895d85d69e50089
msg311615 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2018-02-04 19:37
New changeset 71b94e30b1d63c789908482b3b808cc613e57267 by larryhastings in branch '3.4': [3.4] [3.5] bpo-32620: Remove failing pyenv call from CI config (GH-5274) (#5533) https://github.com/python/cpython/commit/71b94e30b1d63c789908482b3b808cc613e57267
msg311618 - (view) Author: Larry Hastings (larry) * (Python committer) Date: 2018-02-04 19:44
I wanted it in 3.4 too, it was breaking CI.
History
Date User Action Args
2022-04-11 14:58:56 admin set github: 76801
2019-05-10 17:58:39 ned.deily set messages: -
2019-05-10 17:36:40 ned.deily set nosy: + ned.deilymessages: +
2018-02-04 19:44:24 larry set status: open -> closedversions: + Python 3.4type: behaviormessages: + resolution: fixedstage: patch review -> resolved
2018-02-04 19:37:10 larry set messages: +
2018-02-04 18:58:49 larry set pull_requests: + <pull%5Frequest5360>
2018-01-23 09:10:45 larry set nosy: + larrymessages: +
2018-01-23 02:14:51 ncoghlan set keywords: + patchstage: patch reviewpull_requests: + <pull%5Frequest5118>
2018-01-23 02:11:27 ncoghlan set nosy: + ncoghlanmessages: +
2018-01-22 10:56:53 vstinner create