From 006f96089bc8af3437624e44b974db9b68946b9aa1385ebe76c7e2535bb045d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adrian=20Schr=C3=B6ter?= Date: Fri, 3 May 2024 22:23:34 +0200 Subject: [PATCH] Sync from SUSE:SLFO:Main python-pytest-forked revision 6a67e04536521464abb545b8baae7e0f --- .gitattributes | 23 ++++++++++++ pytest-forked-1.6.0.tar.gz | 3 ++ python-pytest-forked.changes | 69 ++++++++++++++++++++++++++++++++++++ python-pytest-forked.spec | 61 +++++++++++++++++++++++++++++++ 4 files changed, 156 insertions(+) create mode 100644 .gitattributes create mode 100644 pytest-forked-1.6.0.tar.gz create mode 100644 python-pytest-forked.changes create mode 100644 python-pytest-forked.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-forked-1.6.0.tar.gz b/pytest-forked-1.6.0.tar.gz new file mode 100644 index 0000000..b88510e --- /dev/null +++ b/pytest-forked-1.6.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4dafd46a9a600f65d822b8f605133ecf5b3e1941ebb3588e943b4e3eb71a5a3f +size 9977 diff --git a/python-pytest-forked.changes b/python-pytest-forked.changes new file mode 100644 index 0000000..afb6a77 --- /dev/null +++ b/python-pytest-forked.changes @@ -0,0 +1,69 @@ +------------------------------------------------------------------- +Fri Apr 21 12:31:23 UTC 2023 - Dirk Müller + +- add sle15_python_module_pythons (jsc#PED-68) + +------------------------------------------------------------------- +Mon Mar 27 07:30:54 UTC 2023 - Dirk Müller + +- update to 1.6.0: + * Relaxed dependency requirements (`#77 + `__). + * Dropped support for Python 3.6. + * Added official support for Python 3.11. + +------------------------------------------------------------------- +Wed Nov 30 08:45:20 UTC 2022 - Daniel Garcia + +- 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 + +- 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 + +- 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 + +- 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 + +- 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 + +- Update to 1.0.2: + * Fix support for pytest 4.2 + +------------------------------------------------------------------- +Thu Feb 14 12:55:27 UTC 2019 - Tomáš Chvátal + +- 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 diff --git a/python-pytest-forked.spec b/python-pytest-forked.spec new file mode 100644 index 0000000..857154c --- /dev/null +++ b/python-pytest-forked.spec @@ -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