forked from pool/python-pytest-describe
- Update to 3.1.0
* This version supports pytest 6.0 to 9.0 on Python 3.9 to 3.14. - Build system switched to uv-build.
This commit was merged in pull request #1.
This commit is contained in:
@@ -18,21 +18,21 @@
|
||||
|
||||
%{?sle15_python_module_pythons}
|
||||
Name: python-pytest-describe
|
||||
Version: 2.2.0
|
||||
Version: 3.1.0
|
||||
Release: 0
|
||||
Summary: Describe-style plugin for pytest
|
||||
License: MIT
|
||||
URL: https://github.com/pytest-dev/pytest-describe
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-describe/pytest-describe-%{version}.tar.gz
|
||||
Source: https://files.pythonhosted.org/packages/source/p/pytest-describe/pytest_describe-%{version}.tar.gz
|
||||
BuildRequires: %{python_module base >= 3.9}
|
||||
BuildRequires: %{python_module pip}
|
||||
BuildRequires: %{python_module setuptools}
|
||||
BuildRequires: %{python_module wheel}
|
||||
BuildRequires: %{python_module uv-build >= 0.9.4}
|
||||
BuildRequires: fdupes
|
||||
BuildRequires: python-rpm-macros
|
||||
Requires: python-pytest >= 4.0
|
||||
Requires: python-pytest >= 6.0
|
||||
BuildArch: noarch
|
||||
# SECTION test requirements
|
||||
BuildRequires: %{python_module pytest >= 4.0}
|
||||
BuildRequires: %{python_module pytest >= 6.0}
|
||||
# /SECTION
|
||||
%python_subpackages
|
||||
|
||||
@@ -40,7 +40,7 @@ BuildRequires: %{python_module pytest >= 4.0}
|
||||
Describe-style plugin for pytest.
|
||||
|
||||
%prep
|
||||
%setup -q -n pytest-describe-%{version}
|
||||
%setup -q -n pytest_describe-%{version}
|
||||
|
||||
%build
|
||||
%pyproject_wheel
|
||||
@@ -50,8 +50,7 @@ Describe-style plugin for pytest.
|
||||
%python_expand %fdupes %{buildroot}%{$python_sitelib}
|
||||
|
||||
%check
|
||||
# Broken with pytest 8.4
|
||||
%pytest -k 'not test_fixture'
|
||||
%pytest
|
||||
|
||||
%files %{python_files}
|
||||
%doc README.md
|
||||
|
||||
Reference in New Issue
Block a user