From 970b71e4573f9039eb417a715f3727bbfa419bca86c617b0d54121db92b8325e Mon Sep 17 00:00:00 2001 From: Steve Kowalik Date: Tue, 1 Jul 2025 03:00:06 +0000 Subject: [PATCH] - 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 --- .gitattributes | 23 +++++++++++++ .gitignore | 1 + pytest-describe-2.2.0.tar.gz | 3 ++ python-pytest-describe.changes | 45 ++++++++++++++++++++++++ python-pytest-describe.spec | 62 ++++++++++++++++++++++++++++++++++ 5 files changed, 134 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 pytest-describe-2.2.0.tar.gz create mode 100644 python-pytest-describe.changes create mode 100644 python-pytest-describe.spec diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/pytest-describe-2.2.0.tar.gz b/pytest-describe-2.2.0.tar.gz new file mode 100644 index 0000000..89bde33 --- /dev/null +++ b/pytest-describe-2.2.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:39bb05eb90f2497d9ca342ef9a0b7fa5bada7e58505aec33f66d661d631955b7 +size 10907 diff --git a/python-pytest-describe.changes b/python-pytest-describe.changes new file mode 100644 index 0000000..c333964 --- /dev/null +++ b/python-pytest-describe.changes @@ -0,0 +1,45 @@ +------------------------------------------------------------------- +Tue Jul 1 02:59:27 UTC 2025 - Steve Kowalik + +- 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 + +- 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 + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Thu May 4 22:38:28 UTC 2023 - Dirk Müller + +- 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 + +- 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á + +- 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 + +- Initial spec for v1.0.0 diff --git a/python-pytest-describe.spec b/python-pytest-describe.spec new file mode 100644 index 0000000..d74514b --- /dev/null +++ b/python-pytest-describe.spec @@ -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