diff --git a/pytest-datadir-1.5.0.tar.gz b/pytest-datadir-1.5.0.tar.gz deleted file mode 100644 index ba3f1fb..0000000 --- a/pytest-datadir-1.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:1617ed92f9afda0c877e4eac91904b5f779d24ba8f5e438752e3ae39d8d2ee3f -size 8821 diff --git a/pytest_datadir-1.6.1.tar.gz b/pytest_datadir-1.6.1.tar.gz new file mode 100644 index 0000000..e37ec60 --- /dev/null +++ b/pytest_datadir-1.6.1.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4d204cf93cfe62ddc37b19922df6c8c0f133c2899c224bd339b24920e84e7fd3 +size 9391 diff --git a/python-pytest-datadir.changes b/python-pytest-datadir.changes index 8e0642e..95841e8 100644 --- a/python-pytest-datadir.changes +++ b/python-pytest-datadir.changes @@ -1,3 +1,12 @@ +------------------------------------------------------------------- +Mon May 5 02:56:06 UTC 2025 - Steve Kowalik + +- 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 diff --git a/python-pytest-datadir.spec b/python-pytest-datadir.spec index fd64f27..8aa8421 100644 --- a/python-pytest-datadir.spec +++ b/python-pytest-datadir.spec @@ -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