diff --git a/pytest-openfiles-0.5.0.tar.gz b/pytest-openfiles-0.5.0.tar.gz deleted file mode 100644 index 231f9f3..0000000 --- a/pytest-openfiles-0.5.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:179c2911d8aee3441fee051aba08e0d9b4dab61b829ae4811906d5c49a3b0a58 -size 8323 diff --git a/pytest_openfiles-0.6.0.tar.gz b/pytest_openfiles-0.6.0.tar.gz new file mode 100644 index 0000000..21ee268 --- /dev/null +++ b/pytest_openfiles-0.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff5160c34eaada82b983a2c316fcccb30e0094630e97784471f015956870a993 +size 9012 diff --git a/python-pytest-openfiles.changes b/python-pytest-openfiles.changes index 48c5d62..926785d 100644 --- a/python-pytest-openfiles.changes +++ b/python-pytest-openfiles.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Thu Oct 24 08:54:42 UTC 2024 - Dirk Müller + +- update to 0.6.0: + * Replaced distutils with packaging; the latter now a required + dependency. + * Dropped support for Python 3.6. + ------------------------------------------------------------------- Sun Apr 19 14:30:45 UTC 2020 - Benjamin Greiner diff --git a/python-pytest-openfiles.spec b/python-pytest-openfiles.spec index c551a3c..aba1660 100644 --- a/python-pytest-openfiles.spec +++ b/python-pytest-openfiles.spec @@ -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 @@ developers to detect whether any file handles or other file-like objects were 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,6 +62,6 @@ rm setup.cfg %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 %changelog