14
0

Accepting request 1202887 from home:mcalabkova:branches:devel:languages:python

- Update to 2.7.2
  * Treat methodName="runTest" similar to unittest.TestCase,
    fixes compatibility with pytest 8.3. (Natanael Copa, #372)
  * Use ruff for linting. (Jelmer Vernooij)
  * Fix compatibility with Python 3.12.1. (Matthew Treinish)
  * Deprecate SkippedTest exception. (Stephen Finucane)
  * Drop support for Python 3.7. (Jelmer Vernooij)
- Drop merged pytest82.patch
- Add upstream twisted.patch to fix tests with new Twisted

OBS-URL: https://build.opensuse.org/request/show/1202887
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-testtools?expand=0&rev=86
This commit is contained in:
2024-09-24 09:58:23 +00:00
committed by Git OBS Bridge
parent e11142f286
commit b535565b9a
6 changed files with 65 additions and 52 deletions

View File

@@ -26,14 +26,14 @@
%endif
%{?sle15_python_module_pythons}
Name: python-testtools%{psuffix}
Version: 2.7.1
Version: 2.7.2
Release: 0
Summary: Extensions to the Python Standard Library Unit Testing Framework
License: MIT
URL: https://github.com/testing-cabal/testtools
Source0: https://files.pythonhosted.org/packages/source/t/testtools/testtools-%{version}.tar.gz
# PATCH-FIX-UPSTREAM https://github.com/testing-cabal/testtools/pull/373 Treat methodName="runTest" similar to unittest.TestCase
Patch: pytest82.patch
# PATCH-FIX-UPSTREAM https://github.com/testing-cabal/testtools/commit/5b8cb6497c7159f593e68de6a13e15f7e78e56e3 Prepare tests for upcoming twisted version
Patch0: twisted.patch
BuildRequires: %{python_module hatch_vcs}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}