./devel/py-tox, Virtualenv-based automation of test activities

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.12.1, Package name: py37-tox-3.12.1, Maintainer: pkgsrc-users

Tox is a generic virtualenv management and test command line tool
you can use for:

* checking your package installs correctly with different Python
versions and interpreters
* running your tests in each of the environments, configuring your
test tool of choice
* acting as a frontend to Continuous Integration servers, greatly
reducing boilerplate and merging CI and shell-based testing.


Required to run:
[devel/py-setuptools] [devel/py-virtualenv] [devel/py-py] [lang/py-six] [devel/py-pluggy] [lang/python37] [textproc/py-toml] [devel/py-filelock]

Required to build:
[pkgtools/cwrappers] [devel/py-setuptools_scm]

Master sites:

SHA1: 6751c82174456ce640cc4cfeb4c295da78225468
RMD160: 3aabd3591fe183cf44e806ff7c2c5b86f535eef7
Filesize: 280.739 KB

Version history: (Expand)


CVS history: (Expand)


   2020-05-16 19:38:40 by Adam Ciarcinski | Files touched by this commit (9)
Log message:
pytest from versioned deps.
   2019-05-29 21:56:50 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tox: updated to 3.12.1

v3.12.1:

Bugfixes
- Ensure TOX_WORK_DIR is a native string in os.environ
- Fix import and usage of winreg for python2.7 on windows
- Fix Windows selects incorrect spec on first discovery

v3.12.0:

Bugfixes

- When using --parallel with --result-json the test results are now included the \ 
same way as with serial runs
- Turns out the output of the py -0p is not stable yet and varies depending on \ 
various edge cases. Instead now we read the interpreter values directly from \ 
registry via PEP-514

Features
- Adding TOX_PARALLEL_NO_SPINNER environment variable to disable the spinner in \ 
parallel mode for the purposes of clean output when using CI tools
   2019-05-17 10:39:14 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tox: updated to 3.11.1

v3.11.1:

Bugfixes
- When creating virtual environments we no longer ask the python to tell its \ 
path, but rather use the discovered path.

v3.11.0:

Features
- --showconfig overhaul:
  - now fully generated via the config parser, so anyone can load it by using \ 
the built-in python config parser
  - the tox section contains all configuration data from config
  - the tox section contains a host_python key detailing the path of the host python
  - the tox:version section contains the versions of all packages tox depends on \ 
with their version
  - passing -l now allows only listing default target envs
  - allows showing config for a given set of tox environments only via the -e \ 
cli flag or the TOXENV environment
    variable, in this case the tox and tox:version section is only shown if at \ 
least one verbosity flag is passed
  this should help inspecting the options.

v3.10.0:

Bugfixes
- fix for tox -l command: do not allow setting the TOXENV or the -e flag to \ 
override the listed default environment variables, they still show up under \ 
extra if non defined target
- tox ignores unknown CLI arguments when provisioning is on and outside of the \ 
provisioned environment (allowing
  provisioning arguments to be forwarded freely)

Features
- Virtual environments created now no longer upgrade pip/wheel/setuptools to the \ 
latest version. Instead the start
  packages after virtualenv creation now is whatever virtualenv has bundled in. \ 
This allows faster virtualenv
  creation and builds that are easier to reproduce.
- Improve python discovery and add architecture support:
   - UNIX:
     - First, check if the tox host Python matches.
     - Second, check if the the canonical name (e.g. python3.7, python3) matches \ 
or the base python is an absolute path, use that.
     - Third, check if the the canonical name without version matches (e.g. \ 
python, pypy) matches.

   - Windows:
     - First, check if the tox host Python matches.
     - Second, use the py.exe to list registered interpreters and any of those match.
     - Third, check if the the canonical name (e.g. python3.7, python3) matches \ 
or the base python is an absolute path, use that.
     - Fourth, check if the the canonical name without version matches (e.g. \ 
python, pypy) matches.
     - Finally, check for known locations (c:\python{major}{minor}\python.exe).
  tox environment configuration generation is now done in parallel (to alleviate \ 
the slowdown due to extra
  checks).

v3.9.0:

Bugfixes
- Fix congratulations when using ^C during virtualenv creation

Features
- Allow having inline comments in :conf:deps
   2019-04-09 09:51:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tox: updated to 3.8.6

v3.8.6:

Bugfixes
- :conf:parallel_show_output does not work with tox 3.8

v3.8.5:

Bugfixes
- the isolated build env now ignores :conf:sitepackages, :conf:deps and \ 
:conf:description as these do not make
  sense
- Do not print timings with more than 3 decimal digits on Python 3

v3.8.4:

Bugfixes
- Fix sdist creation on python2.x when there is non-ascii output.
- fix typos in isolated.py that made it impossible to install package with \ 
requirements in pyproject.toml

v3.8.3:

Bugfixes
- don't crash when version information is not available for a proposed base python
- Do not print exception traceback when the provisioned tox fails

v3.8.2:

Bugfixes
- using -v and -e connected (as -ve) fails
- Changes to the plugin tester module (cmd no longer sets PYTHONPATH), and \ 
action.popen no longer returns the
  command identifier information from within the logs. No public facing changes.
- Spinner fails in CI on UnicodeEncodeError

v3.8.1:

Bugfixes
- The -eALL command line argument now expands the envlist key and includes all \ 
its environment.
- Isolated build environment dependency overrides were not taken in \ 
consideration (and such it inherited the deps
  from the testenv section)
- --result-json puts the command into setup section instead of test (pre and \ 
post commands are now also correctly
  put into the commands section)
- Set setup.cfg encoding to UTF-8 as it contains Unicode characters.
- Fix tox CI, better error reporting when locating via the py fails

v3.8.0:

Bugfixes
- In a posix shell, setting the PATH environment variable to an empty value is \ 
equivalent to not setting it at all;
  therefore we no longer if the user sets PYTHONPATH an empty string on python \ 
3.4 or later
- Fixed bug of children process calls logs clashing (log already exists)
- Interpreter discovery and virtualenv creation process calls that failed will \ 
now print out on the screen their output
  (via the logfile we automatically save)
- Using py2 and py3 with a specific basepython will no longer raise a warning \ 
unless the major version conflicts
- Fix missing error for tox -e unknown when tox.ini declares envlist.
- Resolve symlinks with toxworkdir
- Interrupting a tox call (e.g. via CTRL+C) now will ensure that spawn child \ 
processes (test calls, interpreter discovery,
  parallel sub-instances, provisioned hosts) are correctly stopped before \ 
exiting (via the pattern of INTERRUPT - 300 ms,
  TERMINATE - 200 ms, KILL signals)
- Fix a ResourceWarning: unclosed file in Action
- Fix deadlock when using --parallel and having environments with lots of output
- Removed code that sometimes caused a difference in results between --parallel \ 
and -p when using posargs

Features
- tox now auto-provisions itself if needed (see :ref:auto-provision). Plugins or \ 
minimum version of tox no longer
  need to be manually satisfied by the user, increasing their ease of use.
- tox will inject the TOX_PARALLEL_ENV environment variable, set to the current \ 
running tox environment name,
  only when running in parallel mode.
- Parallel children now save their output to a disk logfile
- Parallel children now are added to --result-json
- Display pattern and sys.platform with platform mismatch
- Setting the environment variable TOX_REPORTER_TIMESTAMP to 1 will enable \ 
showing for each output line its delta
  since the tox startup. This can be especially handy when debugging parallel runs.

Documentation
- Add a poetry examples to packaging
   2019-01-13 19:02:41 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tox: updated to 3.7.0

v3.7.0:

Features
- Parallel mode added (alternative to detox which is being deprecated), for more \ 
details see :ref:parallel_mode
- Added command line shortcut -s for --skip-missing-interpreters

Deprecations (removal in next major release)
- Whitelisting of externals will be mandatory in tox 4: issue a deprecation \ 
warning as part of the already existing warning

Documentation
- Clarify explanations in examples and avoid unsupported end line comments
- Set to PULL_REQUEST_TEMPLATE.md use relative instead of absolute URLs
  Fixed PULL_REQUEST_TEMPLATE.md path for changelog/examples.rst to \ 
docs/changelog/examples.rst
   2018-12-31 13:23:08 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tox: updated to 3.6.1

v3.6.1:

Features
- if the packaging phase successfully builds a package set it as environment \ 
variable under TOX_PACKAGE (useful to make assertions on the built package \ 
itself, instead of just how it ends up after installation)
   2018-12-14 15:47:07 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
Log message:
py-tox: updated  to 3.6.0

v3.6.0:

Bugfixes
- On windows, check sys.executable before others for interpreter version lookup. \ 
 This matches what happens on non-windows.
- Don't rewrite {posargs} substitution for absolute paths.
- Correctly fail tox --notest when setup fails.

Documentation
- Update Contributor Covenant URL to use https://
- Correct the capitalization of PyPI throughout the documentation
- Link to related projects (Invoke and Nox) from the documentation

Miscellaneous
- Include the license file in the wheel distribution
   2018-10-31 15:07:19 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tox: updated to 3.5.3

v3.5.3:

Bugfixes
- Fix bug with incorrectly defactorized dependencies
- do the same transformation to egg_info folders that pkg_resources does;
  this makes it possible for hyphenated names to use the develop-inst-noop \ 
optimization (cf. 910),
  which previously only worked with non-hyphenated egg names
- previously, if a project's setup.py --name emitted extra information to
  stderr, tox would capture it and consider it part of the project's name; now,
  emissions to stderr are printed to the console
- change the way we acquire interpreter information to make it compatible with \ 
jython interpreter, note to create jython envs one needs virtualenv > 16.0 \ 
which will be released later

Documentation
- document substitutions with additional content starting with a space cannot be \ 
alone on a line inside the ini file
- change the spelling of a single word from contrains to the proper word, constraints
- Mention the minimum version required for commands_pre/commands_post support.