17
0

3 Commits

4 changed files with 30 additions and 14 deletions

BIN
2.2.1.tar.gz LFS

Binary file not shown.

BIN
pytest_services-2.2.2.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,3 +1,16 @@
-------------------------------------------------------------------
Thu Mar 5 08:32:28 UTC 2026 - Dirk Müller <dmueller@suse.com>
- update to 2.2.2:
* #47: Replace distutils.spawn.find_executable with
shutil.which. The package distutils is deprecated.
-------------------------------------------------------------------
Thu May 1 07:02:59 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Switch to pyproject macros.
- No more greedy globs in %files.
------------------------------------------------------------------- -------------------------------------------------------------------
Sat Jun 10 09:24:57 UTC 2023 - ecsos <ecsos@opensuse.org> Sat Jun 10 09:24:57 UTC 2023 - ecsos <ecsos@opensuse.org>
@@ -6,15 +19,15 @@ Sat Jun 10 09:24:57 UTC 2023 - ecsos <ecsos@opensuse.org>
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Mar 23 06:23:05 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com> Wed Mar 23 06:23:05 UTC 2022 - Steve Kowalik <steven.kowalik@suse.com>
- Remove mock BuildRequires, not needed. - Remove mock BuildRequires, not needed.
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Nov 5 15:53:37 UTC 2020 - Marketa Machova <mmachova@suse.com> Thu Nov 5 15:53:37 UTC 2020 - Marketa Machova <mmachova@suse.com>
- Update to 2.2.1 - Update to 2.2.1
* #38: Retry to lock resource if zc.lockfile.LockError is raised. * #38: Retry to lock resource if zc.lockfile.LockError is raised.
Fix needed for pytest-xdist. (StabbarN) Fix needed for pytest-xdist. (StabbarN)
* #42: Retry on zc.lockfile.LockError in file_lock, use existing * #42: Retry on zc.lockfile.LockError in file_lock, use existing
timeout kwarg (mshriver) timeout kwarg (mshriver)
------------------------------------------------------------------- -------------------------------------------------------------------
@@ -23,7 +36,7 @@ Mon Jun 29 12:05:26 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to version 2.1.0 - Update to version 2.1.0
* #34: Deprecated slave_id fixture in favor of worker_id, * #34: Deprecated slave_id fixture in favor of worker_id,
for compatibility with pytest-xdist 2. for compatibility with pytest-xdist 2.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Mar 13 12:39:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com> Fri Mar 13 12:39:49 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-services # spec file for package python-pytest-services
# #
# Copyright (c) 2023 SUSE LLC # Copyright (c) 2025 SUSE LLC
# #
# All modifications and additions to the file contributed by third parties # All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed # remain the property of their copyright owners, unless otherwise agreed
@@ -18,18 +18,20 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-services Name: python-pytest-services
Version: 2.2.1 Version: 2.2.2
Release: 0 Release: 0
Summary: Services plugin for pytest testing framework Summary: Services plugin for pytest testing framework
License: MIT License: MIT
URL: https://github.com/pytest-dev/pytest-services URL: https://github.com/pytest-dev/pytest-services
Source: https://github.com/pytest-dev/pytest-services/archive/%{version}.tar.gz Source: https://github.com/pytest-dev/pytest-services/releases/download/v%{version}/pytest_services-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module psutil} BuildRequires: %{python_module psutil}
BuildRequires: %{python_module pylibmc} BuildRequires: %{python_module pylibmc}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests} BuildRequires: %{python_module requests}
BuildRequires: %{python_module setuptools_scm} BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools} BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module zc.lockfile >= 2.0} BuildRequires: %{python_module zc.lockfile >= 2.0}
BuildRequires: fdupes BuildRequires: fdupes
BuildRequires: python-rpm-macros BuildRequires: python-rpm-macros
@@ -53,15 +55,15 @@ The plugin provides a set of fixtures and utility functions to start service
processes for your tests with pytest. processes for your tests with pytest.
%prep %prep
%setup -q -n pytest-services-%{version} %setup -q -n pytest_services-%{version}
# we don't test mysql anway # we don't test mysql anway
sed -i -e '/import MySQLdb/d' tests/test_plugin.py sed -i -e '/import MySQLdb/d' tests/test_plugin.py
%build %build
%python_build %pyproject_wheel
%install %install
%python_install %pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib} %python_expand %fdupes %{buildroot}%{$python_sitelib}
%check %check
@@ -71,6 +73,7 @@ sed -i -e '/import MySQLdb/d' tests/test_plugin.py
%files %{python_files} %files %{python_files}
%doc CHANGES.rst README.rst %doc CHANGES.rst README.rst
%license LICENSE.txt %license LICENSE.txt
%{python_sitelib}/* %{python_sitelib}/pytest_services
%{python_sitelib}/pytest_services-%{version}.dist-info
%changelog %changelog