Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-pytest-openfiles for
openSUSE:Factory checked in at 2024-10-24 15:44:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-openfiles (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-openfiles.new.2020 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-openfiles"
Thu Oct 24 15:44:44 2024 rev:5 rq:1217982 version:0.6.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-openfiles/python-pytest-openfiles.changes
2020-04-21 13:05:47.700229236 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-openfiles.new.2020/python-pytest-openfiles.changes
2024-10-24 15:45:37.591233689 +0200
@@ -1,0 +2,8 @@
+Thu Oct 24 08:54:42 UTC 2024 - Dirk Müller <[email protected]>
+
+- update to 0.6.0:
+ * Replaced distutils with packaging; the latter now a required
+ dependency.
+ * Dropped support for Python 3.6.
+
+-------------------------------------------------------------------
Old:
----
pytest-openfiles-0.5.0.tar.gz
New:
----
pytest_openfiles-0.6.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-openfiles.spec ++++++
--- /var/tmp/diff_new_pack.hdp1Hy/_old 2024-10-24 15:45:38.007250981 +0200
+++ /var/tmp/diff_new_pack.hdp1Hy/_new 2024-10-24 15:45:38.007250981 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-openfiles
#
-# Copyright (c) 2020 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
@@ -16,20 +16,21 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
-%define skip_python2 1
+%{?sle15_python_module_pythons}
Name: python-pytest-openfiles
-Version: 0.5.0
+Version: 0.6.0
Release: 0
Summary: Pytest plugin for detecting inadvertent open file handles
License: BSD-3-Clause
Group: Development/Languages/Python
URL: https://github.com/astropy/pytest-openfiles
-Source:
https://files.pythonhosted.org/packages/source/p/pytest-openfiles/pytest-openfiles-%{version}.tar.gz
+Source:
https://files.pythonhosted.org/packages/source/p/pytest-openfiles/pytest_openfiles-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pytest >= 4.6}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-psutil
@@ -43,13 +44,13 @@
inadvertently left open at the end of a unit test.
%prep
-%setup -q -n pytest-openfiles-%{version}
+%setup -q -n pytest_openfiles-%{version}
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
@@ -61,5 +62,5 @@
%doc CHANGES.rst README.rst
%license LICENSE.rst
%{python_sitelib}/pytest_openfiles
-%{python_sitelib}/pytest_openfiles-%{version}-py*.egg-info
+%{python_sitelib}/pytest_openfiles-%{version}.dist-info