Compare commits

1 Commits
1.1 ... main

4 changed files with 31 additions and 12 deletions

BIN
pytest-datadir-1.4.1.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,19 @@
-------------------------------------------------------------------
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>
- update to 1.5.0:
* Added support for Python 3.11 and 3.12.
* Dropped support for Python 3.7.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu May 4 23:11:59 UTC 2023 - Dirk Müller <dmueller@suse.com> Thu May 4 23:11:59 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-datadir # 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 # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,21 +18,24 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-datadir Name: python-pytest-datadir
Version: 1.4.1 Version: 1.6.1
Release: 0 Release: 0
Summary: Plugin for test data directories and files Summary: Plugin for test data directories and files
License: MIT License: MIT
URL: https://github.com/gabrielcnr/pytest-datadir 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_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.7.0 Requires: python-pytest >= 7.0
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module coverage} BuildRequires: %{python_module coverage}
BuildRequires: %{python_module pytest >= 2.7.0} BuildRequires: %{python_module pytest >= 7.0}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -40,13 +43,13 @@ BuildRequires: %{python_module pytest >= 2.7.0}
pytest plugin for test data directories and files. pytest plugin for test data directories and files.
%prep %prep
%setup -q -n pytest-datadir-%{version} %setup -q -n pytest_datadir-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -56,6 +59,6 @@ pytest plugin for test data directories and files.
%doc AUTHORS CHANGELOG.rst README.md %doc AUTHORS CHANGELOG.rst README.md
%license LICENSE %license LICENSE
%{python_sitelib}/pytest_datadir %{python_sitelib}/pytest_datadir
%{python_sitelib}/pytest_datadir*.egg-info %{python_sitelib}/pytest_datadir-%{version}.dist-info
%changelog %changelog