Skip to main content

tox-pyenv

latest Circle CI

Plugin that tells tox to use pyenv which 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 pyenv local

dependencies:
  override:
    - pip install tox tox-pyenv
    - pyenv local 2.7.9 3.4.3 3.5.0

The versions passed to pyenv local must be installed for this to work. See CircleCI Preinstalled Python Versions for a list.

Corresponding tox.ini

[tox]
envlist = py27,py34,py35

The result of the setup above means running tox will run tests against python 2.7.9, python 3.4.3 and python 3.5.0, assuming those versions of python have been pyenv installed.

notes

If you want tox to exclusively use pyenv which to find executables, you will need use the --tox-pyenv-no-fallback command 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

Metadata

Release files for tox-pyenv 1.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tox-pyenv 1.1.0
File Size Uploaded Provenance Actions
tox-pyenv-1.1.0.tar.gz 4.9 kB Without provenance Details for tox-pyenv-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tox-pyenv 1.1.0
File Interpreter ABI Platform Actions
tox_pyenv-1.1.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for tox_pyenv-1.1.0-py2.py3-none-any.whl

Total release size: 11.7 kB

Release files / tox-pyenv-1.1.0.tar.gz

Download URL tox-pyenv-1.1.0.tar.gz
Size 4.9 kB
Tags Source
SHA-256 checksum
How to use checksums
916c2213577aec0b3b5452c5bfb32fd077f3a3196f50a81ad57d7ef3fc2599e4
BLAKE2b-256 checksum
How to use checksums
160e0208374ee677ccb9dbb4e9bc23f6d304bef6b881cc6ccb8bec2ae81b1e99
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / tox_pyenv-1.1.0-py2.py3-none-any.whl

Download URL tox_pyenv-1.1.0-py2.py3-none-any.whl
Size 6.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
e470c18af115fe52eeff95e7e3cdd0793613eca19709966fc2724b79d55246cb
BLAKE2b-256 checksum
How to use checksums
b756ee1b984fbfb745cc637009dcb054b5fc9399c838b465c634846fd1550511
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tox-pyenv 1.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page