From 638da64fda2cc3aa844a8c7240fdc9f8d046f8209c8c67f11baa3fed4ae6db55 Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 10 Jan 2023 04:20:54 +0000 Subject: [PATCH] - Update to 0.9.0: * Python 3.11 is officially supported. * Dropped support for Python 3.6. * Now passing subtests are shown in the test run summary at the end (for example: 10 failed, 1 passed, 10 subtests passed in 0.10s) (#70). * Fixed support for pytest 7.0, and pytest>=7.0 is now required. * pytest>=6.0 is now required. * Added official support for Python 3.10. * Dropped support for Python 3.5. * Users no longer need to configure a warnings filter for the internal A private pytest class or function was used pytest warning (#52). * Experimental: Use SUBPASS and , for passed subtests instead of general PASSED, SUBFAIL and u for failed ones instead of FAILED (#30). OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-subtests?expand=0&rev=12 --- pytest-subtests-0.5.0.tar.gz | 3 --- pytest-subtests-0.9.0.tar.gz | 3 +++ python-pytest-subtests.changes | 17 +++++++++++++++++ python-pytest-subtests.spec | 10 ++++------ 4 files changed, 24 insertions(+), 9 deletions(-) delete mode 100644 pytest-subtests-0.5.0.tar.gz create mode 100644 pytest-subtests-0.9.0.tar.gz diff --git a/pytest-subtests-0.5.0.tar.gz b/pytest-subtests-0.5.0.tar.gz deleted file mode 100644 index 8b669fa..0000000 --- a/pytest-subtests-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5bd1e4bf0eda4c89a6cd42b0ee28e1d2ca0848de3fd67ad8cdd6d559ed00f120 -size 10403 diff --git a/pytest-subtests-0.9.0.tar.gz b/pytest-subtests-0.9.0.tar.gz new file mode 100644 index 0000000..8ccbd79 --- /dev/null +++ b/pytest-subtests-0.9.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c0317cd5f6a5eb3e957e89dbe4fc3322a9afddba2db8414355ed2a2cb91a844e +size 10914 diff --git a/python-pytest-subtests.changes b/python-pytest-subtests.changes index 191f4bc..a424725 100644 --- a/python-pytest-subtests.changes +++ b/python-pytest-subtests.changes @@ -1,3 +1,20 @@ +------------------------------------------------------------------- +Tue Jan 10 04:19:50 UTC 2023 - Steve Kowalik + +- Update to 0.9.0: + * Python 3.11 is officially supported. + * Dropped support for Python 3.6. + * Now passing subtests are shown in the test run summary at the end (for + example: 10 failed, 1 passed, 10 subtests passed in 0.10s) (#70). + * Fixed support for pytest 7.0, and pytest>=7.0 is now required. + * pytest>=6.0 is now required. + * Added official support for Python 3.10. + * Dropped support for Python 3.5. + * Users no longer need to configure a warnings filter for the internal A + private pytest class or function was used pytest warning (#52). + * Experimental: Use SUBPASS and , for passed subtests instead of general + PASSED, SUBFAIL and u for failed ones instead of FAILED (#30). + ------------------------------------------------------------------- Thu Oct 7 09:36:20 UTC 2021 - Pedro Monreal diff --git a/python-pytest-subtests.spec b/python-pytest-subtests.spec index 2adc6b8..4cb6068 100644 --- a/python-pytest-subtests.spec +++ b/python-pytest-subtests.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-subtests # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2023 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -16,10 +16,8 @@ # -%{?!python_module:%define python_module() python-%{**} python3-%{**}} -%define skip_python2 1 Name: python-pytest-subtests -Version: 0.5.0 +Version: 0.9.0 Release: 0 Summary: Python unittest subTest() support and subtests fixture License: MIT @@ -29,10 +27,10 @@ BuildRequires: %{python_module setuptools >= 40.0} BuildRequires: %{python_module setuptools_scm} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-pytest >= 5.3.0 +Requires: python-pytest >= 7.0 BuildArch: noarch # SECTION test requirements -BuildRequires: %{python_module pytest >= 5.3.0} +BuildRequires: %{python_module pytest >= 7.0} # /SECTION %python_subpackages