2018-07-05 12:57:20 by Adam Ciarcinski | Files touched by this commit (2) | |
Log message:
py-tox: updated to 3.0.0
3.0.0:
Bugfixes
Write directly to stdout buffer if possible to prevent str vs bytes issues
fix 672 reporting to json file when skip-missing-interpreters option is used
avoid Requested Python version (X.Y) not installed stderr output when a Python \
environment is looked up using the py Python launcher on Windows and the \
environment is not found installed on the system
Fixed an issue where invocation of tox from the Python package, where invocation \
errors (failed actions) occur results in a change in the sys.stdout stream \
encoding in Python 3.x. New behaviour is that sys.stdout is reset back to its \
original encoding after invocation errors
The reading of command output sometimes failed with IOError: [Errno 0] Error on \
Windows, this was fixed by using a simpler method to update the read buffers.
(only affected rc releases) fix up tox.cmdline to be callable without args
(only affected rc releases) Revert breaking change of tox.cmdline not callable \
with no args
(only affected rc releases) fix 755 by reverting the cmdline import to the old \
location and changing the entry point instead
Features
tox displays exit code together with InvocationError
Hint for possible signal upon InvocationError, on posix systems
Add a -q option to progressively silence tox’s output. For each time you \
specify -q to tox, the output provided by tox reduces. This option allows you to \
see only your command output without the default verbosity of what tox is doing. \
This also counter-acts usage of -v. For example, running tox -v -q ... will \
provide you with the default verbosity. tox -vv -q is equivalent to tox -v. By \
@sigmavirus24
add support for negated factor conditions, e.g. !dev: production_log
Headings like installed: <packages> will not be printed if there is no \
output to display after the :, unless verbosity is set. By @cryvate
Allow spaces in command line options to pip in deps. Where previously only \
deps=-rreq.txt and deps=--requirement=req.txt worked, now also deps=-r req.txt \
and deps=--requirement req.txt work
drop Python 2.6 and 3.3 support: setuptools dropped supporting these, and as we \
depend on it we’ll follow up with doing the same (use tox <= 2.9.1 if you \
still need this support)
Add tox_runenvreport as a possible plugin, allowing the overriding of the \
default behaviour to execute a command to get the installed packages within a \
virtual environment
Forward PROCESSOR_ARCHITECTURE by default on Windows to fix platform.machine().
|
2017-10-04 14:43:55 by Adam Ciarcinski | Files touched by this commit (4) | |
Log message:
py-tox: update to 2.9.1
2.9.1:
Misc
* integrated new release process and fixed changelog rendering for pypi.org
|
2017-09-11 07:23:20 by Adam Ciarcinski | Files touched by this commit (2) |
Log message:
2.8.2:
* stop env var leakage if popen failed with resultjson or redirect
|
2017-09-10 00:45:59 by Joerg Sonnenberger | Files touched by this commit (1) |
Log message:
Add missing dependency.
|
2017-09-06 17:42:23 by Adam Ciarcinski | Files touched by this commit (2) |
Log message:
2.8.1:
- p599: fix problems with implementation of 515.
Substitutions from other sections were not made anymore if they were \
not in `envlist`.
2.8.0:
- 276: Remove easy_install from docs (TL;DR: use pip).
- 301: Expand nested substitutions in tox.ini
- 315: add --help and --version to helptox-quickstart
- 326: Fix OSError 'Not a directory' when creating env on Jython 2.7.0.
- 429: Forward MSYSTEM by default on Windows
- 449: add multi platform example to the docs.
- 474: Start using setuptools_scm for tag based versioning.
- 484: Renamed `py.test` to `pytest` throughout the project
- 504: With `-a`: do not show additional environments header if there are none
- 515: Don't require environment variables in test environments where they
are not used.
- 517: Forward NUMBER_OF_PROCESSORS by default on Windows to fix
`multiprocessor.cpu_count()`.
- 518: Forward `USERPROFILE` by default on Windows.
- p528: Fix some of the warnings displayed by pytest 3.1.0.
- p547: Add regression test for 137
- p553: Add an XFAIL test to reproduce upstream bug 203
- p556: Report more meaningful errors on why virtualenv creation failed
- 575: Add announcement doc to end all announcement docs
(using only CHANGELOG and Github issues since 2.5 already)
- p580: Do not ignore Sphinx warnings anymore
- 585: Expand documentation to explain pass through of flags from deps to pip
(e.g. -rrequirements.txt, -cconstraints.txt)
- 588: Run pytest wit xfail_strict and adapt affected tests.
|
2017-09-04 20:01:05 by Thomas Klausner | Files touched by this commit (192) |
Log message:
Comment out dead sites.
|
2017-04-26 15:25:29 by Filip Hajny | Files touched by this commit (2) |
Log message:
Update devel/py-tox to 2.7.0.
2.7.0
-----
- #p450: Stop after the first installdeps and first testenv create hooks
succeed.
- #271 and #464: Improve environment information for users.
- #464: Fix incorrect egg-info location for modified package_dir in setup.py.
- #431: Add 'LANGUAGE' to default passed environment variables.
- #455: Add a Vagrantfile with a customized Arch Linux box for local testing.
- #454: Revert #407, empty commands is not treated as an error.
- #446: (infrastructure) Travis CI tests for tox now also run on OS X now.
2.6.0
-----
- add "alwayscopy" config option to instruct virtualenv to always copy
files instead of symlinking.
- pass setenv variables to setup.py during a usedevelop install.
- replace all references to testrun.org with readthedocs ones.
- fix #323 by avoiding virtualenv14 is not used on py32
- add Python 3.6 to envlist and CI.
- fix glob resolution from TOX_TESTENV_PASSENV env variable
2.5.0
-----
- slightly backward incompatible: fix issue310: the {posargs} substitution
now properly preserves the tox command line positional arguments. Positional
arguments with spaces are now properly handled.
- fix #359: add COMSPEC to default passenv on windows.
- add support for py36 and py37 and add py36-dev and py37(nightly) to
travis builds of tox.
- fix #348: add py2 and py3 as default environments pointing to
"python2" and "python3" basepython executables. Also fix \
#347 by
updating the list of default envs in the tox basic example.
- make "-h" and "--help-ini" options work even if there is \
no tox.ini,
- add {:} substitution, which is replaced with os-specific path
separator
- fix #305: ``downloadcache`` test env config is now ignored as pip-8
does caching by default.
- output from install command in verbose (-vv) mode is now printed to console \
instead of
being redirected to file
- fix #399. Make sure {envtmpdir} is created if it doesn't exist at the
start of a testenvironment run.
- fix #316: Lack of commands key in ini file is now treated as an error.
Reported virtualenv status is 'nothing to do' instead of 'commands
succeeded', with relevant error message displayed.
2.4.1
-----
- fix issue380: properly perform substitution again.
2.4.0
-----
- remove PYTHONPATH from environment during the install phase because a
tox-run should not have hidden dependencies and the test commands will also
not see a PYTHONPATH.
- fix issue352: prevent a configuration where envdir==toxinidir and
refine docs to warn people about changing "envdir".
- fix issue375, fix issue330: warn against tox-setup.py integration as
"setup.py test" should really just test with the current interpreter.
- fix issue302: allow cross-testenv substitution where we substitute
with ``{x,y}`` generative syntax.
- fix issue212: allow escaping curly brace chars "\{" and \
"\}" if you need the
chars "{" and "}" to appear in your commands or other ini \
values.
- addresses issue66: add --workdir option to override where tox stores its \
".tox" directory
and all of the virtualenv environment.
- introduce per-venv list_dependencies_command which defaults
to "pip freeze" to obtain the list of installed packages.
- close issue66: add documentation to jenkins page on how to avoid
"too long shebang" lines when calling pip from tox.
- new list_dependencies_command to influence how tox determines
which dependencies are installed in a testenv.
- (experimental) New feature: When a search for a config file fails, tox tries \
loading
setup.cfg with a section prefix of "tox".
- fix issue275: Introduce hooks ``tox_runtest_pre``` and
``tox_runtest_post`` which run before and after the tests of a venv,
respectively.
- fix issue317: evaluate minversion before tox config is parsed completely.
- added the "extras" environment option to specify the extras to use \
when doing the
sdist or develop install.
- use pytest-catchlog instead of pytest-capturelog (latter is not
maintained, uses deprecated pytest API)
2.3.2
-----
- fix issue314: fix command invocation with .py scripts on windows.
- fix issue279: allow cross-section substitution when the value contains
posargs.
2.3.1
-----
- fix issue294: re-allow cross-section substitution for setenv.
2.3.0
-----
- DEPRECATE use of "indexservers" in tox.ini.
- fix issue285: make setenv processing fully lazy to fix regressions
of tox-2.2.X and so that we can now have testenv attributes like
"basepython" depend on environment variables that are set in
a setenv section.
- allow "#" in commands.
- fix issue289: fix build_sphinx target
- fix issue252: allow environment names with special characters.
- introduce experimental tox_testenv_create(venv, action) and
tox_testenv_install_deps(venv, action) hooks to allow
plugins to do additional work on creation or installing
deps.
- internal: push some optional object creation into tests because
tox core doesn't need it.
2.2.1
-----
- fix bug where {envdir} substitution could not be used in setenv
if that env value is then used in {basepython}.
2.2.0
-----
- fix issue265 and add LD_LIBRARY_PATH to passenv on linux by default
because otherwise the python interpreter might not start up in
certain configurations (redhat software collections).
- fix issue246: fix regression in config parsing by reordering
such that {envbindir} can be used again in tox.ini.
- fix issue99: the {env:...} substitution now properly uses environment
settings from the ``setenv`` section.
- fix issue281: make --force-dep work when urls are present in
dependency configs.
- fix issue174: add new ``ignore_outcome`` testenv attribute which
can be set to True in which case it will produce a warning instead
of an error on a failed testenv command outcome.
- fix issue280: properly skip missing interpreter if
{envsitepackagesdir} is present in commands.
|
2015-11-08 10:21:52 by Thomas Klausner | Files touched by this commit (4) |
Log message:
Import py-tox-2.1.1 as devel/py-tox.
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.
|