2025-09-03 01:45:16 +00:00
committed by Git OBS Bridge
parent 479cee3c56
commit 0e3bbefacb
4 changed files with 14 additions and 10 deletions

BIN
pytest_salt_factories-1.0.4.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:13e020a938292ffc33d2247c5d094a532c53fd89d3ecb70bcda98f15d7846bc7
size 171553

View File

@@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Sep 3 01:44:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Update to 1.0.5:
* Support pytest 8.4+
-------------------------------------------------------------------
Thu Apr 10 11:22:32 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-salt-factories
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,7 +16,6 @@
#
%define _version 1.0.4
%if 0%{?suse_version} > 1500
%bcond_without libalternatives
%else
@@ -24,12 +23,12 @@
%endif
Name: python-pytest-salt-factories
Version: %{_version}
Version: 1.0.5
Release: 0
Summary: A pytest plugin for testing Salt
License: Apache-2.0
URL: https://pytest-salt-factories.readthedocs.io/en/latest/
Source0: https://files.pythonhosted.org/packages/source/p/pytest-salt-factories/pytest_salt_factories-%{_version}.tar.gz
Source0: https://files.pythonhosted.org/packages/source/p/pytest-salt-factories/pytest_salt_factories-%{version}.tar.gz
# PATCH-FIX-OPENSUSE fix_unit_tests.patch this patch is removing the workaround in the unit test implementation so the test can pass when using our openSUSE Salt 3006.0 package
Patch1: fix_unit_tests.patch
BuildRequires: %{python_module PyYAML}
@@ -77,7 +76,7 @@ Requires(postun): update-alternatives
A pytest plugin for testing Salt.
%prep
%autosetup -p1 -n pytest_salt_factories-%{_version}
%autosetup -p1 -n pytest_salt_factories-%{version}
%build
%pyproject_wheel
@@ -88,7 +87,6 @@ A pytest plugin for testing Salt.
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
export PYTHONDONTWRITEBYTECODE=1
# Run test and exclude some that doesn't work fine in OBS.
donttest="ssh or echoext"
# Flaky tests for aarch64, ppc, arm
@@ -125,7 +123,7 @@ python313_donttest=$python312_donttest
%license LICENSE
%doc README.rst CHANGELOG.rst
%{python_sitelib}/saltfactories
%{python_sitelib}/pytest_salt_factories-%{_version}*-info
%{python_sitelib}/pytest_salt_factories-%{version}.dist-info
%python_alternative %{_bindir}/salt-factories
%changelog