Accepting request 1320084 from devel:languages:python
- Drop conftest.py, only required for Python 2 and breaks with pytest 9+. OBS-URL: https://build.opensuse.org/request/show/1320084 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-fields?expand=0&rev=6
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Nov 26 01:12:52 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
|
||||
|
||||
- Drop conftest.py, only required for Python 2 and breaks with pytest 9+.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue May 27 11:45:44 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package python-fields
|
||||
#
|
||||
# Copyright (c) 2025 SUSE LLC
|
||||
# Copyright (c) 2025 SUSE LLC and contributors
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@@ -22,7 +22,6 @@ Version: 5.0.0
|
||||
Release: 0
|
||||
Summary: Container class boilerplate killer
|
||||
License: BSD-2-Clause
|
||||
Group: Development/Languages/Python
|
||||
URL: https://github.com/ionelmc/python-fields
|
||||
Source: https://files.pythonhosted.org/packages/source/f/fields/fields-%{version}.tar.gz
|
||||
BuildRequires: %{python_module pip}
|
||||
@@ -52,6 +51,8 @@ sed -i -e '/--benchmark-disable/d' setup.cfg
|
||||
sed -i -e '/doctest/d' setup.cfg
|
||||
sed -i -e 's/\[pytest\]/\[tools:pytest\]/g' setup.cfg
|
||||
rm tests/test_perf.py
|
||||
# only required for python 2 support, breaks with pytest 9
|
||||
rm conftest.py
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -67,6 +68,6 @@ rm tests/test_perf.py
|
||||
%license LICENSE
|
||||
%doc AUTHORS.rst CHANGELOG.rst README.rst
|
||||
%{python_sitelib}/fields
|
||||
%{python_sitelib}/fields-%{version}*-info
|
||||
%{python_sitelib}/fields-%{version}.dist-info
|
||||
|
||||
%changelog
|
||||
|
||||
Reference in New Issue
Block a user