- Skip a broken test with Pytest 8.4.

- Drop unneeded {Build,}Requires on python-py.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-describe?expand=0&rev=13
This commit is contained in:
2025-07-01 03:00:06 +00:00
committed by Git OBS Bridge
commit 970b71e457
5 changed files with 134 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

View File

@@ -0,0 +1,45 @@
-------------------------------------------------------------------
Tue Jul 1 02:59:27 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Skip a broken test with Pytest 8.4.
- Drop unneeded {Build,}Requires on python-py.
-------------------------------------------------------------------
Thu Mar 21 17:22:52 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.2.0:
* This version supports pytest 4.0 to 8.0 on Python 3.7 to
3.12.
-------------------------------------------------------------------
Thu Jul 6 11:23:10 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Thu May 4 22:38:28 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.1.0:
* This version comes with some internal clean-up and
modernization and now supports pytest 4.0 to 7.3 on Python
3.7 to 3.11.
-------------------------------------------------------------------
Wed Nov 30 08:24:00 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Add python-py dependency
- Remove python_module macro definition
- More specific python_sitelib in %files
-------------------------------------------------------------------
Mon May 2 08:00:02 UTC 2022 - Markéta Machová <mmachova@suse.com>
- Update to 2.0.1
* This version supports pytest 4.0 to 6.2 on Python 3.6 to 3.10
* Support list/tuple argnames for mark.parametrize
* Made markers consistent with pytest's defaults
-------------------------------------------------------------------
Sat Aug 8 05:11:26 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v1.0.0

View File

@@ -0,0 +1,62 @@
#
# spec file for package python-pytest-describe
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%{?sle15_python_module_pythons}
Name: python-pytest-describe
Version: 2.2.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
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-pytest >= 4.0
BuildArch: noarch
# SECTION test requirements
BuildRequires: %{python_module pytest >= 4.0}
# /SECTION
%python_subpackages
%description
Describe-style plugin for pytest.
%prep
%setup -q -n pytest-describe-%{version}
%build
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Broken with pytest 8.4
%pytest -k 'not test_fixture'
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/pytest_describe
%{python_sitelib}/pytest_describe-%{version}.dist-info
%changelog