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

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


Branch: CURRENT, Version: 3.5.3, Package name: py27-tox-3.5.3, 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] [lang/python27] [devel/py-virtualenv] [devel/py-py] [lang/py-six] [devel/py-pluggy] [textproc/py-toml] [devel/py-filelock]

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

Master sites:

SHA1: d79bb0854da359c379d0912d83c93896bd23b0dd
RMD160: 17ba7203fb6d75c7c2227ede9b3fdd29f6e8d007
Filesize: 250.476 KB

Version history: (Expand)


CVS history: (Expand)


   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.
   2018-10-10 11:59:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tox: updated to 3.5.2

v3.5.2:
Bugfixes
- session packages are now put inside a numbered directory (instead of prefix \ 
numbering it,
  because pip fails when wheels are not named according to PEP-491 , and prefix \ 
numbering messes with this)

Features
- level three verbosity (-vvv) show the packaging output

v3.5.1:
Bugfixes
- fix regression with 3.5.0: specifying --installpkg raises AttributeError: \ 
'str' object has no attribute 'basename'

v3.5.0:
Bugfixes
- intermittent failures with --parallel--safe-build, instead of mangling with \ 
the file paths now uses a lock to make the package build operation thread safe \ 
and is now on by default (--parallel--safe-build is now deprecated)

Features
- Added temp_dir folder configuration (defaults to {toxworkdir}/.tmp) that \ 
contains tox
  temporary files. Package builds now create a hard link (if possible, otherwise \ 
copy - notably in
  case of Windows Python 2.7) to the built file, and feed that file downstream \ 
(e.g. for pip to
  install it). The hard link is removed at the end of the run (what it points \ 
though is kept
  inside distdir). This ensures that a tox session operates on the same package \ 
it built, even
  if a parallel tox run builds another version. Note distdir will contain only \ 
the last built
  package in such cases.
   2018-10-07 10:32:22 by Adam Ciarcinski | Files touched by this commit (4) | Package updated
Log message:
py-tox: updated to 3.4.0

3.4.0:

Bugfixes
- add --exists-action w to default pip flags to handle better VCS dependencies
- instead of assuming the Python version from the base python name ask the \ 
interpreter to reveal the version for the ignore_basepython_conflict flag
- PEP-517 packaging fails with sdist already exists, fixed via ensuring the dist \ 
folder is empty before invoking the backend and pypa/setuptools

Features
- add commands_pre and commands_post that run before and after running
  the commands (setup runs always, commands only if setup suceeds, teardown \ 
always - all
  run until the first failing command)
- pyproject.toml config support initially by just inline the tox.ini under \ 
tool.tox.legacy_tox_ini key; config source priority order is pyproject.toml, \ 
tox.ini and then setup.cfg
- use the os environment variable TOX_SKIP_ENV to filter out tox environment \ 
names from the run list (set by envlist)
- always set PIP_USER=0 (do not install into the user site package, but inside \ 
the virtual environment created) and PIP_NO_DEPS=0 (installing without \ 
dependencies can cause broken package installations) inside tox
- tox will inject some environment variables that to indicate a command is \ 
running within tox: TOX_WORK_DIR env var is set to the tox work directory,
  TOX_ENV_NAME is set to the current running tox environment name, TOX_ENV_DIR \ 
is set to the current tox environments working dir
- While running tox invokes various commands (such as building the package, pip \ 
installing dependencies and so on), these were printed in case they failed as \ 
Python arrays. Changed the representation to a shell command, allowing the users \ 
to quickly replicate/debug the failure on their own
- skip missing interpreters value from the config file can now be overridden via \ 
the --skip-missing-interpreters cli flag
- keep additional environments config order when listing them
- allow injecting config value inside the ini file dependent of the fact that \ 
we're connected to an interactive shell or not
- do not build sdist if skip install is specified for the envs to be run
- when verbosity level increases above two start passing through verbosity flags \ 
to pip
- when discovering the interpreter to use check if the tox host Python matches \ 
and use that if so
- -vv will print out why a virtual environment is re-created whenever this \ 
operation is triggered

Documentation
- clarify that python and pip refer to the virtual environments executable
- add Sphinx and mkdocs example of generating documentation via tox
- specify that setup.cfg tox configuration needs to be inside the tox:tox namespace

3.3.0:

Bugfixes
- fix TOX_LIMITED_SHEBANG when running under python3

Features
- PEP-517 <https://www.python.org/dev/peps/pep-0517/>_ source distribution \ 
support (create a
  .package virtual environment to perform build operations inside)
- flit <https://flit.readthedocs.io>_ support via implementing PEP-517
- packaging now is exposed as a hook via tox_package(session, venv)

Miscellaneous
- Updated the VSTS build YAML to use the latest jobs and pools syntax
   2018-08-17 09:16:35 by Adam Ciarcinski | Files touched by this commit (3) | Package updated
Log message:
py-tox: updated to 3.2.1

3.2.1:
Bugfixes
- --parallel--safe-build no longer cleans up its folders (distdir, distshare, log).

3.2.0:
Features
- Switch pip invocations to use the module -m pip instead of direct invocation. \ 
This could help
  avoid some of the shebang limitations.
- Ability to specify package requirements for the tox run via the tox.ini (tox \ 
section under key requires - PEP-508
style): can be used to specify both plugin requirements or build dependencies.
- Allow to run multiple tox instances in parallel by providing the
  --parallel--safe-build flag.
   2018-07-05 12:57:20 by Adam Ciarcinski | Files touched by this commit (2) | Package updated
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) | Package updated
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.