From 4e6f33ee464d2fffc0f81ca283c38e80dd30cea48401d64c6f9daf04495878dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 13 Dec 2024 12:10:08 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-pytest-fixture-config revision 5e5249896d85cedf743ba7906b94c3df --- pytest-fixture-config-1.7.0.tar.gz | 3 --- pytest-fixture-config-1.8.0.tar.gz | 3 +++ python-pytest-fixture-config.changes | 19 +++++++++++++++++++ python-pytest-fixture-config.spec | 21 +++++++++++---------- 4 files changed, 33 insertions(+), 13 deletions(-) delete mode 100644 pytest-fixture-config-1.7.0.tar.gz create mode 100644 pytest-fixture-config-1.8.0.tar.gz diff --git a/pytest-fixture-config-1.7.0.tar.gz b/pytest-fixture-config-1.7.0.tar.gz deleted file mode 100644 index fa4fb5d..0000000 --- a/pytest-fixture-config-1.7.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:41a17417721f6862ce6b40e3280fddd8e1659b2c306ec46b237d7021fec5218e -size 9884 diff --git a/pytest-fixture-config-1.8.0.tar.gz b/pytest-fixture-config-1.8.0.tar.gz new file mode 100644 index 0000000..76d69a5 --- /dev/null +++ b/pytest-fixture-config-1.8.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c739895fe20851bdba53f246d0599aa389bc1a1cba48db2ecac0130576dc1b0e +size 9975 diff --git a/python-pytest-fixture-config.changes b/python-pytest-fixture-config.changes index 58c1f8a..71b008a 100644 --- a/python-pytest-fixture-config.changes +++ b/python-pytest-fixture-config.changes @@ -1,3 +1,22 @@ +------------------------------------------------------------------- +Mon Nov 4 11:33:53 UTC 2024 - Daniel Garcia + +- Remove not needed dep python-setuptools-git + +------------------------------------------------------------------- +Tue Oct 22 06:08:51 UTC 2024 - Steve Kowalik + +- Update to 1.8.0: + * Drop support for Python 2 and <3.6, removing compatibility code. + * Use stdlib unittest.mock instead of mock package. + * Removed usage of path.py and path in favour of pathlib. + +------------------------------------------------------------------- +Thu Feb 22 04:08:07 UTC 2024 - Steve Kowalik + +- Switch to autosetup and pyproject macros. +- No more greedy globs in %files. + ------------------------------------------------------------------- Sat Jun 10 11:50:36 UTC 2023 - ecsos diff --git a/python-pytest-fixture-config.spec b/python-pytest-fixture-config.spec index 1e125e1..38f4f25 100644 --- a/python-pytest-fixture-config.spec +++ b/python-pytest-fixture-config.spec @@ -1,7 +1,7 @@ # # spec file for package python-pytest-fixture-config # -# Copyright (c) 2022 SUSE LLC +# Copyright (c) 2024 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,18 +18,18 @@ %{?sle15_python_module_pythons} Name: python-pytest-fixture-config -Version: 1.7.0 +Version: 1.8.0 Release: 0 Summary: Fixture configuration utils for pytest License: MIT -Group: Development/Languages/Python -URL: https://github.com/manahl/pytest-plugins +URL: https://github.com/man-group/pytest-plugins Source: https://files.pythonhosted.org/packages/source/p/pytest-fixture-config/pytest-fixture-config-%{version}.tar.gz # https://github.com/man-group/pytest-plugins/issues/209 Patch0: python-pytest-fixture-config-no-six.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module pytest} -BuildRequires: %{python_module setuptools-git} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-pytest @@ -40,14 +40,13 @@ BuildArch: noarch Fixture configuration utilities for pytest %prep -%setup -q -n pytest-fixture-config-%{version} -%patch0 -p1 +%autosetup -p1 -n pytest-fixture-config-%{version} %build -%python_build +%pyproject_wheel %install -%python_install +%pyproject_install %python_expand %fdupes %{buildroot}%{$python_sitelib} %check @@ -56,6 +55,8 @@ Fixture configuration utilities for pytest %files %{python_files} %doc README.md CHANGES.md %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/pytest_fixture_config.py +%pycache_only %{python_sitelib}/__pycache__/pytest_fixture_config*.py* +%{python_sitelib}/pytest_fixture_config-%{version}.dist-info %changelog