tox-pyenv-redux
A tox Python discovery plugin for pyenv–installed interpreters
Compatibility
- For legacy versions of tox (0.x—3.x), use tox-pyenv-redux 0.x (
tox-pyenv-redux < 1). These versions do not rely on virtualenv-pyenv and DO NOT support thepyenv_discoverysetting. - For the current version of tox (4.x), use tox-pyenv-redux 1.x (
tox-pyenv-redux >= 1, < 2). These versions delegate the discovery job to virtualenv-pyenv.
Installation
pip install tox-pyenv-redux
Usage
The plugin is enabled by default and configured to use the default discovery operation mode. To change the mode or disable the plugin, set the pyenv_discovery environment setting to one of the following values:
- One of the operation modes (e.g.,
fallback) to use the specific operation mode.pyenv_discovery = fallbackis equivalent toexport VIRTUALENV_DISCOVERY=pyenv-fallback. defaultto use the default operation mode. This is the default value.pyenv_discovery = default(or no setting) is equivalent toexport VIRTUALENV_DISCOVERY=pyenv.offto disable the plugin. The plugin will not touch theVIRTUALENV_DISCOVERYenvironment variable, but the virtualenv-pyenv discovery can still be in effect if virtualenv is already configured to use it (via theVIRTUALENV_DISCOVERYenvironment variable or thediscoveryconfig setting).
Examples
-
Set the
fallbackoperation mode via a config file:[tox] min_version = 4.0 requires = tox-pyenv-redux [testenv] pyenv_discovery = fallback deps = pytest commands = pytest {posargs}
-
Disable the plugin via command line arguments:
tox run -x testenv.pyenv_discovery=off
Metadata
Release files for tox-pyenv-redux 1.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| tox_pyenv_redux-1.2.0.tar.gz | 5.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tox_pyenv_redux-1.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.8 kB
Release files / tox_pyenv_redux-1.2.0.tar.gz
| Download URL | tox_pyenv_redux-1.2.0.tar.gz |
|---|---|
| Size | 5.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fdabac723a99710f936031fe5e7a0125205441536190512cbd59d6e0a9e57440
|
|
BLAKE2b-256 checksum How to use checksums |
e3d0aa412f0e6eb8437941e078eb3523f01600626b3dea595117f786445ddee6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|
Release files / tox_pyenv_redux-1.2.0-py3-none-any.whl
| Download URL | tox_pyenv_redux-1.2.0-py3-none-any.whl |
|---|---|
| Size | 4.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a583e430a01f576b34c3ed3c428981f73b6e30cd45c114c42ea0e283dc90534a
|
|
BLAKE2b-256 checksum How to use checksums |
394f2c0056a4acac76d3b0be6ad0382849df6b150610861d5b09e2ca8b06526e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.3
|