Sync from SUSE:SLFO:Main python-pytest-skip-markers revision ce77647f49a0c18b9e874f385ad5f025

This commit is contained in:
Adrian Schröter 2025-02-25 18:01:57 +01:00
commit 077fb32322
4 changed files with 147 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

BIN
pytest_skip_markers-1.5.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,49 @@
-------------------------------------------------------------------
Tue Feb 4 18:58:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
- 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 <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Fri Jan 5 17:26:54 UTC 2024 - Dirk Müller <dmueller@suse.com>
- 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 <dmueller@suse.com>
- 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 <mimi.vx@gmail.com>
- enable testsuite
-------------------------------------------------------------------
Wed Sep 7 11:26:31 UTC 2022 - Alexander Graul <alexander.graul@suse.com>
- Initial Package

View File

@ -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
Its 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