SHA256
1
0
forked from pool/python-tox

Accepting request 684316 from home:mcepl:branches:devel:languages:python

- Update to 3.7.0:
  - Parallel mode added (alternative to detox which is being
    deprecated), for more details see `parallel_mode`
  - Added command line shortcut -s for
    --skip-missing-interpreters
  - Whitelisting of externals will be mandatory in tox 4: issue
    a deprecation warning as part of the already existing warning
  - Clarify explanations in examples and avoid unsupported end
    line comments
  - Set to PULL_REQUEST_TEMPLATE.md use relative instead of
    absolute URLs
  - 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)
  - 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.
  - Link to related projects (Invoke and Nox) from the
    documentation
- Obsoletes python-detox.

OBS-URL: https://build.opensuse.org/request/show/684316
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-tox?expand=0&rev=49
This commit is contained in:
Tomáš Chvátal 2019-03-12 14:45:13 +00:00 committed by Git OBS Bridge
parent 5ba12ba7ba
commit 1528b03197
4 changed files with 36 additions and 7 deletions

View File

@ -1,3 +1,30 @@
-------------------------------------------------------------------
Tue Mar 12 11:46:09 CET 2019 - Matej Cepl <mcepl@suse.com>
- Update to 3.7.0:
- Parallel mode added (alternative to detox which is being
deprecated), for more details see `parallel_mode`
- Added command line shortcut -s for
--skip-missing-interpreters
- Whitelisting of externals will be mandatory in tox 4: issue
a deprecation warning as part of the already existing warning
- Clarify explanations in examples and avoid unsupported end
line comments
- Set to PULL_REQUEST_TEMPLATE.md use relative instead of
absolute URLs
- 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)
- 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.
- Link to related projects (Invoke and Nox) from the
documentation
- Obsoletes python-detox.
-------------------------------------------------------------------
Thu Oct 18 07:54:12 UTC 2018 - Tomáš Chvátal <tchvatal@suse.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-tox
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-tox
Version: 3.5.2
Version: 3.7.0
Release: 0
Summary: Virtualenv-based automation of test activities
License: MIT
@ -26,6 +26,7 @@ Group: Development/Languages/Python
URL: https://github.com/tox-dev/tox
Source: https://files.pythonhosted.org/packages/source/t/tox/tox-%{version}.tar.gz
BuildRequires: %{python_module filelock}
BuildRequires: %{python_module freezegun}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pluggy >= 0.3.0}
BuildRequires: %{python_module py >= 1.4.17}
@ -56,6 +57,7 @@ BuildArch: noarch
%ifpython3
Provides: tox = %{version}
%endif
Obsoletes: python-detox
%python_subpackages
%description
@ -113,7 +115,7 @@ done
export LANG=en_US.UTF-8
export PYTHONDONTWRITEBYTECODE=1
export PATH=%{buildroot}%{_bindir}:$PATH
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not network'
%python_expand PYTHONPATH=%{buildroot}%{$python_sitelib} py.test-%{$python_bin_suffix} -v -k 'not (network or parallel)'
%post
%python_install_alternative tox tox-quickstart
@ -123,7 +125,7 @@ export PATH=%{buildroot}%{_bindir}:$PATH
%files %{python_files}
%license LICENSE
%doc README.rst docs/changelog.rst CONTRIBUTORS CONTRIBUTING.rst
%doc README.md docs/changelog.rst CONTRIBUTORS CONTRIBUTING.rst
%python_alternative %{_bindir}/tox
%python_alternative %{_bindir}/tox-quickstart
%{python_sitelib}/tox-%{version}-py%{python_version}.egg-info

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4baeb3d8ebdcd9f43afce38aa67d06f1165a87d221d5bb21e8b39a0d4880c134
size 254193

3
tox-3.7.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:25ef928babe88c71e3ed3af0c464d1160b01fca2dd1870a5bb26c2dea61a17fc
size 267854