forked from pool/python-testtools
Accepting request 1135792 from devel:languages:python
- update to 2.7.1: * Remove various unused imports. * Fix build backend. This should prevent version from being set when building wheels. * Fix compatibility with Python 3.12. * Add typing in various modules (still lacking full coverage). * Drop the 'test' command for distutils. This has been deprecated since 2.6.0. (Jelmer Vernooij) * Drop support for Python 3.6. - remove python-testtools-no-unittest2.patch (upstream) - BuildRequires also using extras>=1.0.0 - fix typo in last change supposed to do just that. - add python-mmimeparse dependency * testtools.run discover will now sort the tests it discovered. This is a fixes testr run of streams containing progress markers (by discarding the OBS-URL: https://build.opensuse.org/request/show/1135792 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-testtools?expand=0&rev=33
This commit is contained in:
@@ -1,3 +1,16 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Dec 30 20:31:27 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 2.7.1:
|
||||||
|
* Remove various unused imports.
|
||||||
|
* Fix build backend. This should prevent version from being set
|
||||||
|
when building wheels.
|
||||||
|
* Fix compatibility with Python 3.12.
|
||||||
|
* Add typing in various modules (still lacking full coverage).
|
||||||
|
* Drop the 'test' command for distutils. This has been
|
||||||
|
deprecated since 2.6.0. (Jelmer Vernooij)
|
||||||
|
* Drop support for Python 3.6.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu May 4 21:18:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
Thu May 4 21:18:15 UTC 2023 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
@@ -26,7 +26,7 @@
|
|||||||
%endif
|
%endif
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-testtools%{psuffix}
|
Name: python-testtools%{psuffix}
|
||||||
Version: 2.6.0
|
Version: 2.7.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Extensions to the Python Standard Library Unit Testing Framework
|
Summary: Extensions to the Python Standard Library Unit Testing Framework
|
||||||
License: MIT
|
License: MIT
|
||||||
@@ -34,15 +34,18 @@ Group: Development/Languages/Python
|
|||||||
URL: https://github.com/testing-cabal/testtools
|
URL: https://github.com/testing-cabal/testtools
|
||||||
Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz
|
Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz
|
||||||
Source99: python-testtools.rpmlintrc
|
Source99: python-testtools.rpmlintrc
|
||||||
BuildRequires: %{python_module pbr}
|
BuildRequires: %{python_module hatch_vcs}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
Requires: python-Twisted
|
||||||
Requires: python-pbr >= 0.11
|
Requires: python-pbr >= 0.11
|
||||||
Requires: python-python-mimeparse
|
Requires: python-python-mimeparse
|
||||||
Requires: python-traceback2
|
Requires: python-traceback2
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
%if %{with test}
|
%if %{with test}
|
||||||
|
BuildRequires: %{python_module fixtures}
|
||||||
BuildRequires: %{python_module python-mimeparse}
|
BuildRequires: %{python_module python-mimeparse}
|
||||||
BuildRequires: %{python_module testscenarios}
|
BuildRequires: %{python_module testscenarios}
|
||||||
BuildRequires: %{python_module traceback2}
|
BuildRequires: %{python_module traceback2}
|
||||||
@@ -61,12 +64,12 @@ also ports recent unittest changes all the way back to Python 2.4.
|
|||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%build
|
%build
|
||||||
%python_build
|
%pyproject_wheel
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%if !%{with test}
|
%if !%{with test}
|
||||||
%install
|
%install
|
||||||
%python_install
|
%pyproject_install
|
||||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
@@ -80,7 +83,7 @@ also ports recent unittest changes all the way back to Python 2.4.
|
|||||||
%license LICENSE
|
%license LICENSE
|
||||||
%doc NEWS README.rst
|
%doc NEWS README.rst
|
||||||
%{python_sitelib}/testtools
|
%{python_sitelib}/testtools
|
||||||
%{python_sitelib}/testtools-%{version}-py*.egg-info
|
%{python_sitelib}/testtools-%{version}.dist-info
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
BIN
testtools-2.6.0.tar.gz
(Stored with Git LFS)
BIN
testtools-2.6.0.tar.gz
(Stored with Git LFS)
Binary file not shown.
3
testtools-2.7.1.tar.gz
Normal file
3
testtools-2.7.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:df6de96010e29ee21f637a147eabf30d50b25e3841dd1d68f93ee89ce77e366c
|
||||||
|
size 200953
|
Reference in New Issue
Block a user