Sync from SUSE:SLFO:Main python-pytest-datadir revision 0f66019d8d37f693aa6280f6128a6668

This commit is contained in:
2025-06-27 15:52:01 +02:00
parent 9b4c10a967
commit 370f585c5e
4 changed files with 23 additions and 12 deletions

BIN
pytest-datadir-1.5.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
pytest_datadir-1.6.1.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,12 @@
-------------------------------------------------------------------
Mon May 5 02:56:06 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.6.1:
* pytest 7.0+ is now required.
* Fixed compatibility with pytest-describe.
* original_datadir fixture is now module-scoped.
- Switch to pyproject macros.
-------------------------------------------------------------------
Tue Nov 7 19:37:33 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-datadir
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -18,22 +18,24 @@
%{?sle15_python_module_pythons}
Name: python-pytest-datadir
Version: 1.5.0
Version: 1.6.1
Release: 0
Summary: Plugin for test data directories and files
License: MIT
URL: https://github.com/gabrielcnr/pytest-datadir
Source: https://files.pythonhosted.org/packages/source/p/pytest-datadir/pytest-datadir-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/p/pytest-datadir/pytest_datadir-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.7.0
Requires: python-pytest >= 7.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pytest >= 2.7.0}
BuildRequires: %{python_module pytest >= 7.0}
# /SECTION
%python_subpackages
@@ -41,13 +43,13 @@ BuildRequires: %{python_module pytest >= 2.7.0}
pytest plugin for test data directories and files.
%prep
%setup -q -n pytest-datadir-%{version}
%setup -q -n pytest_datadir-%{version}
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -57,6 +59,6 @@ pytest plugin for test data directories and files.
%doc AUTHORS CHANGELOG.rst README.md
%license LICENSE
%{python_sitelib}/pytest_datadir
%{python_sitelib}/pytest_datadir*.egg-info
%{python_sitelib}/pytest_datadir-%{version}.dist-info
%changelog