2012-02-20 23:11:13 +01:00
#
# spec file for package python-tox
#
2020-02-07 13:50:05 +01:00
# Copyright (c) 2020 SUSE LLC
2012-02-20 23:11:13 +01:00
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2012-06-22 15:39:17 +02:00
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2012-02-20 23:11:13 +01:00
#
2013-06-17 14:15:25 +02:00
2017-04-07 19:25:54 +02:00
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
2012-02-20 23:11:13 +01:00
Name : python-tox
2020-02-07 13:50:05 +01:00
Version : 3.14.3
2012-02-20 23:11:13 +01:00
Release : 0
Summary : Virtualenv-based automation of test activities
2013-06-25 14:20:20 +02:00
License : MIT
2012-02-20 23:11:13 +01:00
Group : Development/Languages/Python
2018-07-17 15:13:11 +02:00
URL : https://github.com/tox-dev/tox
2017-04-07 19:25:54 +02:00
Source : https://files.pythonhosted.org/packages/source/t/tox/tox-%{version} .tar.gz
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
BuildRequires : %{python_module filelock}
2019-09-16 15:15:07 +02:00
BuildRequires : %{python_module flaky >= 3.4.0}
BuildRequires : %{python_module freezegun >= 0.3.11}
BuildRequires : %{python_module importlib-metadata >= 0.12}
BuildRequires : %{python_module pathlib2 >= 2.3.3}
2017-04-07 19:25:54 +02:00
BuildRequires : %{python_module pip}
2019-09-16 15:15:07 +02:00
BuildRequires : %{python_module pluggy >= 0.12.0}
2017-04-07 19:25:54 +02:00
BuildRequires : %{python_module py >= 1.4.17}
2019-09-16 15:15:07 +02:00
BuildRequires : %{python_module pytest >= 4.0.0}
2018-07-17 15:13:11 +02:00
BuildRequires : %{python_module pytest-cov >= 2.5.1}
BuildRequires : %{python_module pytest-mock >= 1.10.0}
BuildRequires : %{python_module pytest-xdist >= 1.22.2}
2019-05-10 22:13:11 +02:00
BuildRequires : %{python_module setuptools >= 41.0.1}
BuildRequires : %{python_module setuptools_scm >= 2.0.0}
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
BuildRequires : %{python_module six >= 1.0.0}
2018-09-11 19:01:30 +02:00
BuildRequires : %{python_module toml}
2020-02-07 13:50:05 +01:00
BuildRequires : %{python_module virtualenv >= 16.0.0}
2019-05-10 22:13:11 +02:00
BuildRequires : %{python_module wheel >= 0.29.0}
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
BuildRequires : fdupes
2017-04-07 19:25:54 +02:00
BuildRequires : python-rpm-macros
2012-02-20 23:11:13 +01:00
BuildRequires : unzip
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
Requires : python-filelock
2019-09-16 15:15:07 +02:00
Requires : python-importlib-metadata >= 0.12
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
Requires : python-packaging >= 17.1
2019-09-16 15:15:07 +02:00
Requires : python-pluggy >= 0.12.0
2014-07-03 13:22:19 +02:00
Requires : python-py >= 1.4.17
2018-09-11 19:01:30 +02:00
Requires : python-setuptools >= 30.0.0
Requires : python-six >= 1.0.0
Requires : python-toml >= 0.9.4
2020-02-07 13:50:05 +01:00
Requires : python-virtualenv >= 16.0.0
2018-07-17 15:13:11 +02:00
Requires(post) : update-alternatives
2014-07-03 13:22:19 +02:00
Requires(postun) : update-alternatives
2019-09-16 15:15:07 +02:00
Obsoletes : python-detox
2018-07-17 15:13:11 +02:00
BuildArch : noarch
2017-05-06 06:30:24 +02:00
%if python3
2017-04-07 19:25:54 +02:00
Provides : tox = %{version}
2017-05-06 06:29:57 +02:00
%endif
2017-04-07 19:25:54 +02:00
%python_subpackages
2012-02-20 23:11:13 +01:00
%description
Tox as 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.
2017-04-07 19:25:54 +02:00
%package -n %{name}-doc
Summary : Documentation for tox, a virtualenv-based test automation
Group : Development/Languages/Python
Recommends: %{python_module tox = %{version} }
Provides : %{python_module tox-doc = %{version} }
%description -n %{name}-doc
Tox as 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.
This is the HTML documentation for tox package.
2012-02-20 23:11:13 +01:00
%prep
%setup -q -n tox-%{version}
2018-11-01 13:02:30 +01:00
# remove cmdline test as they exec tox binary that is alternatived by us
rm -f tests/unit/test_z_cmdline.py
2012-02-20 23:11:13 +01:00
%build
2019-05-10 22:13:11 +02:00
export LANG=en_US.UTF8
%pyproject_wheel
2012-02-20 23:11:13 +01:00
%install
2019-05-10 22:13:11 +02:00
export LANG=en_US.UTF8
%pyproject_install
2014-07-03 13:22:19 +02:00
for B in tox tox-quickstart ; do
2017-04-07 19:25:54 +02:00
%python_clone -a %{buildroot} %{_bindir} /$B
2014-07-03 13:22:19 +02:00
done
Accepting request 642677 from home:apersaud:branches:devel:languages:python
- specfile:
* require filelock
* CHANGELOG.rst ->changelog.rst, added CONTRIBUTORS CONTRIBUTING.rst to doc
* add fdupes
- update to version 3.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
<https://www.python.org/dev/peps/pep-0491/#id9>`_, and prefix
numbering messes with this) - by :user:`gaborbernat` (`#1042
<https://github.com/tox-dev/tox/issues/1042>`_)
* Features
+ level three verbosity ("-vvv") show the packaging output - by
:user:`gaborbernat` (`#1047
<https://github.com/tox-dev/tox/issues/1047>`_)
- changes from version 3.5.1:
* Bugfixes
+ fix regression with "3.5.0": specifying "--installpkg" raises
"AttributeError: 'str' object has no attribute 'basename'"
(`#1042 <https://github.com/tox-dev/tox/issues/1042>`_)
- changes from version 3.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) - by
:user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* 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. - by :user:`gaborbernat` (`#1026
<https://github.com/tox-dev/tox/issues/1026>`_)
* Documentation
+ document tox environment recreate rules (:ref:`recreate`) - by
:user:`gaborbernat` (`#93
<https://github.com/tox-dev/tox/issues/93>`_)
+ document inside the "--help" how to disable colorized output via
the "PY_COLORS" operating system environment variable - by
:user:`gaborbernat` (`#163
<https://github.com/tox-dev/tox/issues/163>`_)
+ document all global tox flags and a more concise format to
express default and type - by :user:`gaborbernat` (`#683
<https://github.com/tox-dev/tox/issues/683>`_)
+ document command line interface under the config section `cli
<https://tox.readthedocs.io/en/latest/config.html?highlight=cli#cli>`_
- by :user:`gaborbernat` (`#829
<https://github.com/tox-dev/tox/issues/829>`_)
- changes from version 3.4.0:
* Bugfixes
+ add "--exists-action w" to default pip flags to handle better
VCS dependencies (`pip documentation on this
<https://pip.pypa.io/en/latest/reference/pip/#exists-action-option>`_)
- by :user:`gaborbernat` (`#503
<https://github.com/tox-dev/tox/issues/503>`_)
+ instead of assuming the Python version from the base python name
ask the interpreter to reveal the version for the
"ignore_basepython_conflict" flag - by :user:`gaborbernat`
(`#908 <https://github.com/tox-dev/tox/issues/908>`_)
+ PEP-517 packaging fails with sdist already exists, fixed via
ensuring the dist folder is empty before invoking the backend
and `pypa/setuptools 1481
<https://github.com/pypa/setuptools/pull/1481>`_ - by
:user:`gaborbernat` (`#1003
<https://github.com/tox-dev/tox/issues/1003>`_)
* 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) - by :user:`gaborbernat` (`#167
<https://github.com/tox-dev/tox/issues/167>`_)
+ "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" - by :user:`gaborbernat` (`#814
<https://github.com/tox-dev/tox/issues/814>`_)
+ use the os environment variable "TOX_SKIP_ENV" to filter out tox
environment names from the run list (set by "envlist") - by
:user:`gaborbernat` (`#824
<https://github.com/tox-dev/tox/issues/824>`_)
+ 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 - by
:user:`gaborbernat` (`#838
<https://github.com/tox-dev/tox/issues/838>`_)
+ 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 - by :user:`gaborbernat`
(`#847 <https://github.com/tox-dev/tox/issues/847>`_)
+ 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 - by
:user:`gaborbernat` (`#851
<https://github.com/tox-dev/tox/issues/851>`_)
+ skip missing interpreters value from the config file can now be
overridden via the "--skip-missing-interpreters" cli flag - by
:user:`gaborbernat` (`#903
<https://github.com/tox-dev/tox/issues/903>`_)
+ keep additional environments config order when listing them - by
:user:`gaborbernat` (`#921
<https://github.com/tox-dev/tox/issues/921>`_)
+ allow injecting config value inside the ini file dependent of
the fact that we're connected to an interactive shell or not -
by :user:`gaborbernat` (`#947
<https://github.com/tox-dev/tox/issues/947>`_)
+ do not build sdist if skip install is specified for the envs to
be run - by :user:`gaborbernat` (`#974
<https://github.com/tox-dev/tox/issues/974>`_)
+ when verbosity level increases above two start passing through
verbosity flags to pip - by :user:`gaborbernat` (`#982
<https://github.com/tox-dev/tox/issues/982>`_)
+ when discovering the interpreter to use check if the tox host
Python matches and use that if so - by :user:`gaborbernat`
(`#994 <https://github.com/tox-dev/tox/issues/994>`_)
+ "-vv" will print out why a virtual environment is re-created
whenever this operation is triggered - by :user:`gaborbernat`
(`#1004 <https://github.com/tox-dev/tox/issues/1004>`_)
* Documentation
+ clarify that "python" and "pip" refer to the virtual
environments executable - by :user:`gaborbernat` (`#305
<https://github.com/tox-dev/tox/issues/305>`_)
+ add Sphinx and mkdocs example of generating documentation via
tox - by :user:`gaborbernat` (`#374
<https://github.com/tox-dev/tox/issues/374>`_)
+ specify that "setup.cfg" tox configuration needs to be inside
the "tox:tox" namespace - by :user:`gaborbernat` (`#545
<https://github.com/tox-dev/tox/issues/545>`_)
OBS-URL: https://build.opensuse.org/request/show/642677
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=44
2018-10-18 09:29:30 +02:00
%python_expand %fdupes %{buildroot} %{$python_sitelib}
2012-02-20 23:11:13 +01:00
2013-09-05 10:16:43 +02:00
%check
2018-07-17 15:13:11 +02:00
export PYTHONDONTWRITEBYTECODE=1
2018-10-18 10:14:24 +02:00
export PATH=%{buildroot} %{_bindir} :$PATH
2019-05-10 22:13:11 +02:00
# Ignores for gh#tox-dev/tox#1293
2020-02-07 13:50:05 +01:00
%pytest -k 'not (network or parallel or test_provision_missing or test_provision_interrupt_child or test_workdir_gets_resolved or test_provision_cli_args_ignore or test_provision_non_canonical_dep or test_create_KeyboardInterrupt or test_provision_from_pyvenv)'
2014-07-03 13:22:19 +02:00
%post
2017-04-07 19:25:54 +02:00
%python_install_alternative tox tox-quickstart
2014-07-03 13:22:19 +02:00
%postun
2017-04-07 19:25:54 +02:00
%python_uninstall_alternative tox
2012-02-20 23:11:13 +01:00
2017-04-07 19:25:54 +02:00
%files %{python_files}
2018-07-17 15:13:11 +02:00
%license LICENSE
2019-03-12 15:45:13 +01:00
%doc README.md docs/changelog.rst CONTRIBUTORS CONTRIBUTING.rst
2017-04-07 19:25:54 +02:00
%python_alternative %{_bindir} /tox
%python_alternative %{_bindir} /tox-quickstart
2019-05-14 01:36:52 +02:00
%{python_sitelib} /tox-%{version} *
2014-07-03 13:22:19 +02:00
%{python_sitelib} /tox
2012-02-20 23:11:13 +01:00
%changelog