From 5a4a9768e99343a6d2b4a53f7ca55c56e00099db11261660c43a5804c6a0f802 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Mon, 29 Sep 2025 21:24:26 +0000 Subject: [PATCH] - update to 3.9.1: * Fixed `AttributeError: 'MiniMetafunc' object has no attribute '_params_directness'` when a case function is * parametrized or requires a fixtures, with pytest 8.4.0. Fixed * #365 * Fixed `ValueError: The provided fixture function does not seem to be a fixture` with `@fixture_ref` with pytest * Dropped support for `python<3.9` and `pytest<6`. * Fixed test suite for python 3.14, officializing the support for this version. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-cases?expand=0&rev=3 --- pytest_cases-3.8.6.tar.gz | 3 --- pytest_cases-3.9.1.tar.gz | 3 +++ python-pytest-cases.changes | 14 ++++++++++++++ python-pytest-cases.spec | 12 ++++++------ 4 files changed, 23 insertions(+), 9 deletions(-) delete mode 100644 pytest_cases-3.8.6.tar.gz create mode 100644 pytest_cases-3.9.1.tar.gz diff --git a/pytest_cases-3.8.6.tar.gz b/pytest_cases-3.8.6.tar.gz deleted file mode 100644 index 6398fa6..0000000 --- a/pytest_cases-3.8.6.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5c24e0ab0cb6f8e802a469b7965906a333d3babb874586ebc56f7e2cbe1a7c44 -size 1092150 diff --git a/pytest_cases-3.9.1.tar.gz b/pytest_cases-3.9.1.tar.gz new file mode 100644 index 0000000..f23efdf --- /dev/null +++ b/pytest_cases-3.9.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4e181f1b525c931a318d4812fa8de656c2c8fb77fccf1571ecf0cc5fe8e7f8f +size 1094071 diff --git a/python-pytest-cases.changes b/python-pytest-cases.changes index 807c4fc..d763bc8 100644 --- a/python-pytest-cases.changes +++ b/python-pytest-cases.changes @@ -1,3 +1,17 @@ +------------------------------------------------------------------- +Mon Sep 29 21:22:52 UTC 2025 - Dirk Müller + +- update to 3.9.1: + * Fixed `AttributeError: 'MiniMetafunc' object has no attribute + '_params_directness'` when a case function is + * parametrized or requires a fixtures, with pytest 8.4.0. Fixed + * #365 + * Fixed `ValueError: The provided fixture function does not + seem to be a fixture` with `@fixture_ref` with pytest + * Dropped support for `python<3.9` and `pytest<6`. + * Fixed test suite for python 3.14, officializing the support + for this version. + ------------------------------------------------------------------- Wed Nov 20 14:41:21 UTC 2024 - Johannes Kastl diff --git a/python-pytest-cases.spec b/python-pytest-cases.spec index 3cfb1e1..38f043d 100644 --- a/python-pytest-cases.spec +++ b/python-pytest-cases.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-cases # -# Copyright (c) 2024 SUSE LLC +# Copyright (c) 2025 SUSE LLC and contributors # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,20 +18,20 @@ %{?sle15_python_module_pythons} Name: python-pytest-cases -Version: 3.8.6 +Version: 3.9.1 Release: 0 Summary: Separate test code from test cases in pytest License: BSD-3-Clause URL: https://github.com/smarie/python-pytest-cases Source: https://files.pythonhosted.org/packages/source/p/pytest-cases/pytest_cases-%{version}.tar.gz -BuildRequires: python-rpm-macros +BuildRequires: %{python_module decopatch} +BuildRequires: %{python_module makefun >= 1.15.1} +BuildRequires: %{python_module packaging} BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools >= 39.2} BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module wheel} -BuildRequires: %{python_module decopatch} -BuildRequires: %{python_module makefun >= 1.15.1} -BuildRequires: %{python_module packaging} +BuildRequires: python-rpm-macros # SECTION test requirements # BuildRequires: python_module pytest # BuildRequires: python_module pytest-steps