- Update to 1.8.1:

* drop support for setuptools
  * drop support for python < 3.11
  * drop support for pytest < 6.0
- Switch to pyproject macros.
- No more greedy globs in %files.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-echo?expand=0&rev=4
This commit is contained in:
2025-03-04 03:25:40 +00:00
committed by Git OBS Bridge
parent e6270a4b86
commit c61f595148
4 changed files with 26 additions and 14 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:3bf6a065ca624a5915bc2a820505a44735a8aa11865a57d8214d4eac18960191
size 13950

3
pytest_echo-1.8.1.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:7d765b4ddac93468fa1d303e70c48ad9e38479b4d122d5ae019919bb7fed0c2a
size 14863

View File

@@ -1,3 +1,13 @@
-------------------------------------------------------------------
Tue Mar 4 03:25:25 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.8.1:
* drop support for setuptools
* drop support for python < 3.11
* drop support for pytest < 6.0
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Aug 10 11:26:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> Mon Aug 10 11:26:37 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-echo # spec file for package python-pytest-echo
# #
# Copyright (c) 2020 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -16,22 +16,22 @@
# #
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-echo Name: python-pytest-echo
Version: 1.7.1 Version: 1.8.1
Release: 0 Release: 0
Summary: Pytest plugin for echoing build environment attributes Summary: Pytest plugin for echoing build environment attributes
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-echo URL: https://github.com/pytest-dev/pytest-echo
Source: https://files.pythonhosted.org/packages/source/p/pytest-echo/pytest-echo-%{version}.tar.gz Source: https://files.pythonhosted.org/packages/source/p/pytest-echo/pytest_echo-%{version}.tar.gz
BuildRequires: %{python_module base >= 3.8}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
Requires: python-pytest >= 2.2 Requires: python-pytest >= 8.3
BuildArch: noarch BuildArch: noarch
# SECTION test requirements # SECTION test requirements
BuildRequires: %{python_module Django} BuildRequires: %{python_module pytest >= 8.3}
BuildRequires: %{python_module pytest >= 2.2}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -40,13 +40,13 @@ pytest plugin with mechanisms for echoing environment variables,
package version and generic attributes. package version and generic attributes.
%prep %prep
%setup -q -n pytest-echo-%{version} %setup -q -n pytest_echo-%{version}
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -57,6 +57,8 @@ mv /tmp/pytest_echo.py pytest_echo.py
%files %{python_files} %files %{python_files}
%doc CHANGELOG README.rst %doc CHANGELOG README.rst
%license LICENSE %license LICENSE
%{python_sitelib}/* %{python_sitelib}/pytest_echo.py
%pycache_only %{python_sitelib}/__pycache__/pytest_echo*pyc
%{python_sitelib}/pytest_echo-%{version}.dist-info
%changelog %changelog