From 077fb32322d9adba357931bba154caa52c44fcf0c7d9fcbc3e00b7f4ca8301b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Tue, 25 Feb 2025 18:01:57 +0100 Subject: [PATCH] Sync from SUSE:SLFO:Main python-pytest-skip-markers revision ce77647f49a0c18b9e874f385ad5f025 --- .gitattributes | 23 ++++++++++ pytest_skip_markers-1.5.2.tar.gz | 3 ++ python-pytest-skip-markers.changes | 49 ++++++++++++++++++++ python-pytest-skip-markers.spec | 72 ++++++++++++++++++++++++++++++ 4 files changed, 147 insertions(+) create mode 100644 .gitattributes create mode 100644 pytest_skip_markers-1.5.2.tar.gz create mode 100644 python-pytest-skip-markers.changes create mode 100644 python-pytest-skip-markers.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/pytest_skip_markers-1.5.2.tar.gz b/pytest_skip_markers-1.5.2.tar.gz new file mode 100644 index 0000000..df0dd85 --- /dev/null +++ b/pytest_skip_markers-1.5.2.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:76d61be67f1fd639cca37830a4756b09cea5521361616e66344f7ef00b4d06c0 +size 75342 diff --git a/python-pytest-skip-markers.changes b/python-pytest-skip-markers.changes new file mode 100644 index 0000000..c18e765 --- /dev/null +++ b/python-pytest-skip-markers.changes @@ -0,0 +1,49 @@ +------------------------------------------------------------------- +Tue Feb 4 18:58:21 UTC 2025 - Dirk Müller + +- update to 1.5.2: + * Corrected platform support for MacOS Arm64 based systems in + function is_aarch64 + * Dropped support for Python 3.7 + +------------------------------------------------------------------- +Wed Jan 24 13:41:10 UTC 2024 - ecsos + +- Add %{?sle15_python_module_pythons} + +------------------------------------------------------------------- +Fri Jan 5 17:26:54 UTC 2024 - Dirk Müller + +- update to 1.5.1: + * Bug Fixes - Also capture stderr so that no errors are seen on + console when checking for FIPS support + * Don't set the config value twice for the same marker + * Update copyright headers + +------------------------------------------------------------------- +Mon Dec 4 11:23:49 UTC 2023 - Dirk Müller + +- update to 1.5.0: + * Add a ``skip_on_fips_enabled_platform`` marker + * Improvements + * Stop using deprecated `@pytest.mark.trylast` + * Trivial/Internal Changes + * Several minor fixes & improvements: + * Update pre-commit hooks versions + * Update copyright headers + * Update workflows + * Breaking Changes + * Drop support for python versions older than 3.7 + * Improvements + * Don't cache the functions in + `pytestskipmarkers.utils.platform` + +------------------------------------------------------------------- +Tue Oct 10 18:28:55 UTC 2023 - Ondřej Súkup + +- enable testsuite + +------------------------------------------------------------------- +Wed Sep 7 11:26:31 UTC 2022 - Alexander Graul + +- Initial Package diff --git a/python-pytest-skip-markers.spec b/python-pytest-skip-markers.spec new file mode 100644 index 0000000..3874f60 --- /dev/null +++ b/python-pytest-skip-markers.spec @@ -0,0 +1,72 @@ +# +# spec file for package python-pytest-skip-markers +# +# 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-skip-markers +Version: 1.5.2 +Release: 0 +Summary: Pytest plugin for conditionally skipping tests +License: Apache-2.0 +URL: https://github.com/saltstack/pytest-skip-markers +Source: https://files.pythonhosted.org/packages/source/p/pytest-skip-markers/pytest_skip_markers-%{version}.tar.gz +BuildRequires: %{python_module devel >= 3.8} +BuildRequires: %{python_module pip} +BuildRequires: %{python_module setuptools >= 50.3.2} +BuildRequires: %{python_module setuptools-declarative-requirements} +BuildRequires: %{python_module setuptools_scm >= 3.4} +BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: python-rpm-macros +# SECTION test requirements +BuildRequires: %{python_module attrs >= 19.2.0} +BuildRequires: %{python_module distro} +BuildRequires: %{python_module pyfakefs} +BuildRequires: %{python_module pytest >= 6.0.0} +# /SECTION +BuildRequires: fdupes +Requires: python-attrs >= 19.2.0 +Requires: python-distro +Requires: python-pytest >= 6.0.0 +BuildArch: noarch +%python_subpackages + +%description +It’s a collection of of useful skip markers created to simplify and reduce code +required to skip tests in some common scenarios, for example, platform specific +tests. + +%prep +%setup -q -n pytest_skip_markers-%{version} + +%build +%pyproject_wheel + +%install +%pyproject_install +%python_expand %fdupes %{buildroot}%{$python_sitelib} + +%check +%pytest + +%files %{python_files} +%doc CHANGELOG.rst README.rst +%license LICENSE +%{python_sitelib}/pytestskipmarkers +%{python_sitelib}/pytest_skip_markers-%{version}*-info + +%changelog