Sync from SUSE:SLFO:Main python-pytest-forked revision 6a67e04536521464abb545b8baae7e0f

This commit is contained in:
Adrian Schröter 2024-05-03 22:23:34 +02:00
commit 006f96089b
4 changed files with 156 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-forked-1.6.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,69 @@
-------------------------------------------------------------------
Fri Apr 21 12:31:23 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Mon Mar 27 07:30:54 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 1.6.0:
* Relaxed dependency requirements (`#77
<https://github.com/pytest-dev/pytest-forked/issues/77>`__).
* Dropped support for Python 3.6.
* Added official support for Python 3.11.
-------------------------------------------------------------------
Wed Nov 30 08:45:20 UTC 2022 - Daniel Garcia <daniel.garcia@suse.com>
- Remove python_module macro definition
- Add python-py dep
- More specific python_sitelib in %files
- Update to 1.4.0:
* Dropped support for Python 2.7 and 3.5.
* Added official support for Python 3.10.
-------------------------------------------------------------------
Fri Aug 21 14:29:06 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 1.3.0
* Add support for pytest 6 (issue #45 / PR #46)
* Replace `@pytest.mark.tryfirst` with newer `@pytest.hookimpl` (PR #46)
* Invoke `pytest_runtest_logstart` and `pytest_runtest_logfinish` hooks in `runtest_protocol` (issue #31 / PR #46)
-------------------------------------------------------------------
Mon Jun 29 09:51:58 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 1.2.0
* Add limited support for xfail marker (issue #33 / PR #34).
* Fix support for pytest 5.4.0+ (issue #30 / PR #32).
* Drop support for Python 3.4 as it is EOL (PR #39).
- Drop patch pytest5-compat.patch
-------------------------------------------------------------------
Tue May 12 22:51:08 UTC 2020 - Matej Cepl <mcepl@suse.com>
- Add pytest5-compat.patch to make the test suite compatible
with pytest 5.4.0+ (gh#pytest-dev/pytest-forked#32)
-------------------------------------------------------------------
Tue Nov 5 10:56:22 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.1.3:
* New marker `pytest.mark.forked` to fork before individual tests.
-------------------------------------------------------------------
Fri Feb 15 09:50:14 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.2:
* Fix support for pytest 4.2
-------------------------------------------------------------------
Thu Feb 14 12:55:27 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 1.0.0:
* Fix support for pytest 4.1.
-------------------------------------------------------------------
Wed Nov 15 12:24:04 UTC 2017 - mimi.vx@gmail.com
- initial package

61
python-pytest-forked.spec Normal file
View File

@ -0,0 +1,61 @@
#
# spec file for package python-pytest-forked
#
# Copyright (c) 2023 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-forked
Version: 1.6.0
Release: 0
Summary: Run each test in a forked subprocess
License: MIT
URL: https://github.com/pytest-dev/pytest-forked
Source: https://files.pythonhosted.org/packages/source/p/pytest-forked/pytest-forked-%{version}.tar.gz
BuildRequires: %{python_module pytest >= 3.10}
BuildRequires: %{python_module py}
BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-py
Requires: python-pytest >= 3.10
BuildArch: noarch
%python_subpackages
%description
Extraction of pytest-xdist --forked module used for running tests in forked subprocess
%prep
%setup -q -n pytest-forked-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
# Disable broken tests gh#pytest-dev/pytest-forked#67
%pytest -k "not (test_xfail or test_functional_boxed_capturing[sys] or test_functional_boxed_capturing[fd])"
%files %{python_files}
%license LICENSE
%doc README.rst CHANGELOG.rst
%{python_sitelib}/pytest_forked
%{python_sitelib}/pytest_forked-%{version}*-info
%changelog