Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-datadir for
openSUSE:Factory checked in at 2025-05-06 16:38:27
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-datadir (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-datadir.new.30101 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-datadir"
Tue May 6 16:38:27 2025 rev:6 rq:1274275 version:1.6.1
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-datadir/python-pytest-datadir.changes
2023-11-08 22:17:26.650547794 +0100
+++
/work/SRC/openSUSE:Factory/.python-pytest-datadir.new.30101/python-pytest-datadir.changes
2025-05-06 16:38:52.853779196 +0200
@@ -1,0 +2,9 @@
+Mon May 5 02:56:06 UTC 2025 - Steve Kowalik <[email protected]>
+
+- 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.
+
+-------------------------------------------------------------------
Old:
----
pytest-datadir-1.5.0.tar.gz
New:
----
pytest_datadir-1.6.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-datadir.spec ++++++
--- /var/tmp/diff_new_pack.jdW2Sx/_old 2025-05-06 16:38:53.337799425 +0200
+++ /var/tmp/diff_new_pack.jdW2Sx/_new 2025-05-06 16:38:53.337799425 +0200
@@ -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 @@
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,5 +59,5 @@
%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