From 09bc593d56e62521ac4843b916b14ac6a465161d Mon Sep 17 00:00:00 2001 From: Sam Stavinoha Date: Tue, 29 Aug 2017 10:21:18 -0500 Subject: [PATCH 1/2] update README.rst --- README.rst | 61 +++++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 54 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 19310c0..e61f074 100644 --- a/README.rst +++ b/README.rst @@ -9,7 +9,7 @@ to `find python executables `__ Your project's `circle.yml `__ -######################################################################### +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ In order for ``tox`` to have the versions of python you want available, set them using @@ -24,12 +24,11 @@ set them using The versions passed to ``pyenv local`` must be `installed `__ -for this to work. Check out the list of python versions that are -pre-installed in the CircleCI build environment: -https://circleci.com/docs/environment#python +for this to work. See `CircleCI Preinstalled Python +Versions <#circleci-preinstalled-python-versions>`__ for a list. Corresponding `tox.ini `__ -############################################################################### +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ .. code:: ini @@ -42,7 +41,7 @@ versions of python have been `pyenv install `__\ed. notes -######## +^^^^^ If you want tox to *exclusively* use ``pyenv which`` to find executables, you will need use the ``--tox-pyenv-no-fallback`` command @@ -50,8 +49,56 @@ line option, or set ``tox_pyenv_fallback=False`` in your tox.ini. By default, if ``tox-pyenv`` fails to find a python executable it will fallback to tox's built-in strategy. +CircleCI Preinstalled Python Versions +^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + +Here is the list of python versions that are *pre-installed* in the +CircleCI build environment (as of 09/27/2017): + +:: + + $ pyenv versions + system + 2.6.6 + 2.6.8 + 2.7 + 2.7.10 + 2.7.11 + 2.7.3 + 2.7.4 + 2.7.5 + 2.7.6 + 2.7.7 + 2.7.8 + * 2.7.9 (set by /home/ubuntu/.pyenv/version) + 3.1.5 + 3.2 + 3.2.5 + 3.3.0 + 3.3.2 + 3.3.3 + 3.4.0 + 3.4.1 + 3.4.2 + 3.4.3 + 3.5.0 + pypy-2.2.1 + pypy-2.3.1 + pypy-2.4.0 + pypy-2.5.0 + +If the version you need isn't in the list, such as Python ``3.6-dev`` +include an ``install`` step: + +:: + + dependencies: + override: + - pip install tox tox-pyenv + - pyenv install --skip-existing 3.6-dev + - pyenv local 3.6-dev + .. |latest| image:: https://img.shields.io/pypi/v/tox-pyenv.svg :target: https://pypi.python.org/pypi/tox-pyenv .. |Circle CI| image:: https://circleci.com/gh/samstav/tox-pyenv/tree/master.svg?style=shield :target: https://circleci.com/gh/samstav/tox-pyenv/tree/master - From 3b38e60b8e7a19f0b141d56fa8449fed12880727 Mon Sep 17 00:00:00 2001 From: Sam Stavinoha Date: Tue, 29 Aug 2017 10:21:03 -0500 Subject: [PATCH 2/2] bump to 1.1.0 --- tox_pyenv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox_pyenv.py b/tox_pyenv.py index 0c73aae..31b40f2 100644 --- a/tox_pyenv.py +++ b/tox_pyenv.py @@ -33,7 +33,7 @@ def tox_get_python_executable(envconfig): __summary__ = ('tox plugin that makes tox use `pyenv which` ' 'to find python executables') __url__ = 'https://github.com/samstav/tox-pyenv' -__version__ = '1.0.3' +__version__ = '1.1.0' __author__ = 'Sam Stavinoha' __email__ = 'smlstvnh@gmail.com' __keywords__ = ['tox', 'pyenv', 'python']