Use python3 venvs for python3 tox testenvs
Project description
What is tox-venv?
tox-venv is a plugin that uses Python 3’s builtin venv module for creating test environments, instead of creating them with the virtualenv package.
Why use tox-venv?
virtualenv is historically python 2/3 compatible, however to achieve this, it ships some files that are pinned at their python 2.6 version, such as the site module (see: pypa/virtualenv#355). This has a couple of effects:
Builds using the -Werror option fail, as the deprecations are raised before the test suite can run.
Users cannot take advantage of newer features of the site module in their test environments.
Eventually, these deprecations will become exceptions in future versions of python.
Eventually, tox-venv should become obsolete once the corresponding PR is merged (tox-dev/tox#630). At that point, it should be safe to simply remove tox-venv from your test dependencies.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
File details
Details for the file tox_venv-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: tox_venv-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 69006ebed545d9702450f99a8b6672f908c5ced37706dbeffec5acd2f22bd35e |
|
MD5 | 402da3bc4e8b4da53a229f11ffab99c8 |
|
BLAKE2b-256 | 426640913f5a638415c41dae88ded2bbdff3b4496592046d93effca5320790dc |