Auto merge of #2930 - micbou:lower-minimum-python-version-requirements, r=bstaletic
[READY] Lower minimum Python version requirements on Travis and CircleCI See PR https://github.com/Valloric/ycmd/pull/940. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/2930) <!-- Reviewable:end -->
This commit is contained in:
commit
4b3075bf54
@ -47,11 +47,11 @@ PATH="${PYENV_ROOT}/bin:${PATH}"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
if [ "${YCMD_PYTHON_VERSION}" == "2.7" ]; then
|
||||
# We need a recent enough version of Python 2.7 on macOS or an error occurs
|
||||
# when installing the psutil dependency for our tests.
|
||||
PYENV_VERSION="2.7.14"
|
||||
# Prior versions fail to compile with error "ld: library not found for
|
||||
# -lSystemStubs"
|
||||
PYENV_VERSION="2.7.2"
|
||||
else
|
||||
PYENV_VERSION="3.4.7"
|
||||
PYENV_VERSION="3.4.0"
|
||||
fi
|
||||
|
||||
# In order to work with ycmd, python *must* be built as a shared library. The
|
||||
|
@ -41,9 +41,11 @@ export PATH="${PYENV_ROOT}/bin:${PATH}"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
if [ "${YCM_PYTHON_VERSION}" == "2.7" ]; then
|
||||
PYENV_VERSION="2.7.14"
|
||||
# Tests are failing on Python 2.7.0 with the exception
|
||||
# "TypeError: argument can't be <type 'unicode'>"
|
||||
PYENV_VERSION="2.7.1"
|
||||
else
|
||||
PYENV_VERSION="3.4.7"
|
||||
PYENV_VERSION="3.4.0"
|
||||
fi
|
||||
|
||||
# In order to work with ycmd, python *must* be built as a shared library. This
|
||||
|
Loading…
Reference in New Issue
Block a user