14
0
forked from pool/python-stestr

Accepting request 790130 from home:pgajdos:python

- version update to 3.0.0
  * Update README\_ja.rst
  * Update README in preparation for release 3.0.0
  * Update test-requirements to be py3 only
  * Remove six usage from testr\_to\_stestr
  * Bump python-subunit minimum to 1.4.0
  * Remove universal wheel tag from setup.cfg
  * Remove six from tests and requirements
  * Fix line length issue from pyupgrade
  * Treat bytes and strings differently
  * Remove outdated tox envs
  * Run pyupgrade on repo
  * Fix import issues
  * Remove 2.7 ci jobs
  * Remove six usage from stestr code
  * Fix typo bug in list\_tests() error code
  * Remove sys.version switches for python2.7
  * Update package metadata for python2 removal

OBS-URL: https://build.opensuse.org/request/show/790130
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-stestr?expand=0&rev=34
This commit is contained in:
Tomáš Chvátal
2020-03-31 12:22:41 +00:00
committed by Git OBS Bridge
parent d3638ea52e
commit 1d26e1a529
4 changed files with 31 additions and 7 deletions

View File

@@ -17,6 +17,8 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
# upstream dropped python 2
%define skip_python2 1
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "test"
%define psuffix -%{flavor}
@@ -26,7 +28,7 @@
%bcond_with test
%endif
Name: python-stestr%{psuffix}
Version: 2.6.0
Version: 3.0.0
Release: 0
Summary: A test runner runner similar to testrepository
License: Apache-2.0
@@ -43,7 +45,7 @@ Requires: python-cliff >= 2.8.0
Requires: python-fixtures >= 3.0.0
Requires: python-future
Requires: python-pbr >= 2.0.0
Requires: python-python-subunit >= 1.3.0
Requires: python-python-subunit >= 1.4.0
Requires: python-six >= 1.10.0
Requires: python-testtools >= 2.2.0
Requires: python-voluptuous >= 0.8.9
@@ -58,9 +60,9 @@ BuildRequires: %{python_module coverage >= 4.0}
BuildRequires: %{python_module ddt >= 1.0.1}
BuildRequires: %{python_module fixtures >= 3.0.0}
BuildRequires: %{python_module future}
BuildRequires: %{python_module mock >= 2.0}
BuildRequires: %{python_module pytest-mock}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module python-subunit >= 1.3.0}
BuildRequires: %{python_module python-subunit >= 1.4.0}
BuildRequires: %{python_module six >= 1.10.0}
BuildRequires: %{python_module stestr >= %{version}}
BuildRequires: %{python_module testtools >= 2.2.0}