tox 3 interpreter discovery plugin for multipython
Project description
tox-multipython
python interpreter discovery plugin for tox 3 and multipython
[!NOTE] tox-multipython has twin plugin virtualenv-multipython that serves the same purpose for tox 4
This tox plugin comes pre-installed in multipython Docker image and is responsible for resolving tox environment name to Python executable. Most probably, you don't need to install it yourself.
Environment names supported are all multipython tags. More names may be added in the future.
Testing
There is one test suite:
tox3โtox>=3,<4is installed in host tag environment, andtox runis executed ontox.iniwith env names equal to target tags. This test includes subtests:- assert
{env_python}version inside tox env - assert
pythonversion inside tox env - install externally built sample package in tox environment
- execute entrypoint of sample package
- assert
Virtualenv supports discovery plugins since v20. In v20.22, it dropped support for Python <=3.6, in v20.27 it dropped support for Python 3.7.
This is why we use 6 different test setups:
tox3+virtualenv>=20tox3+virtualenv>=20,<20.27tox3+virtualenv>=20,<20.22
Test report
When tox-multipython is installed inside host tag environment, it allows to use selected โ
target tag (create virtualenv environment or use as tox env name in env_list) and automatically discovers corresponding multipython executable. For failing ๐ฅ target tag, interpreter is discoverable, but virtual environment with sample package cannot be created.
Host tag and Target tags are valid multipython tags. Host tags are listed vertically (rows), target tags are listed horizontally (columns).
tox>=3,<4, virtualenv>=20
HOST TARGETS โโโโโโ AโBโCโDโEโFโGโHโIโJโKโLโM py314t A โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py313t B โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py314 C โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py313 D โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py312 E โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py311 F โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py310 G โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py39 H โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py38 I โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py37 J โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py36 K ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ py35 L ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ py27 M ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ |
tox>=3,<4, virtualenv>=20,<20.27
HOST TARGETS โโโโโโ AโBโCโDโEโFโGโHโIโJโKโLโM py314t A โ โ โ โ โ โ โ โ โ โ โ โ โ py313t B โ โ โ โ โ โ โ โ โ โ โ โ โ py314 C โ โ โ โ โ โ โ โ โ โ โ โ โ py313 D โ โ โ โ โ โ โ โ โ โ โ โ โ py312 E โ โ โ โ โ โ โ โ โ โ โ โ โ py311 F โ โ โ โ โ โ โ โ โ โ โ โ โ py310 G โ โ โ โ โ โ โ โ โ โ โ โ โ py39 H โ โ โ โ โ โ โ โ โ โ โ โ โ py38 I โ โ โ โ โ โ โ โ โ โ โ โ โ py37 J โ โ โ โ โ โ โ โ โ โ โ โ โ py36 K ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ py35 L ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ py27 M ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ |
tox>=3,<4, virtualenv>=20,<20.22
HOST TARGETS โโโโโโ AโBโCโDโEโFโGโHโIโJโKโLโM py314t A โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ๐ฅ py313t B โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py314 C โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py313 D โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py312 E โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py311 F โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py310 G โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py39 H โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py38 I โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py37 J โ โ โ โ โ โ โ โ โ โ ๐ฅ๐ฅ๐ฅ py36 K ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ py35 L ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ py27 M ๐ฅ๐ฅ๐ฅ๐ฅ๐ฅโ โ โ โ โ โ โ โ |
Changelog
Check CHANGELOG.md
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tox_multipython-0.2.2.tar.gz.
File metadata
- Download URL: tox_multipython-0.2.2.tar.gz
- Upload date:
- Size: 63.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a5a9f003a812c6b18aaa20d39206afb8f0be80ec65dac1adf34077fb800bdc8d
|
|
| MD5 |
bbd5522ac7db9cee703e09badd168490
|
|
| BLAKE2b-256 |
3d217547604b6685cc4ff62dcb9b65e2476eb8db33cd263fe750b78160b5d46b
|
File details
Details for the file tox_multipython-0.2.2-py2.py3-none-any.whl.
File metadata
- Download URL: tox_multipython-0.2.2-py2.py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f584323bb5b3a6cc00e42df4423090f4497eb0132bbb8b6d8755cb91cfbd811
|
|
| MD5 |
279deb8d3946aac9c860cf67c09e3c83
|
|
| BLAKE2b-256 |
38d630c704e5dae60a0697c9ae90eca029613a1abe3ce753ccd38828e0e14ee7
|