Compare commits

1 Commits
main ... 1.1

4 changed files with 8 additions and 39 deletions

BIN
pytest-randomly-3.13.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
pytest-randomly-3.16.0.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@@ -1,23 +1,3 @@
-------------------------------------------------------------------
Mon Oct 28 16:48:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 3.16.0:
* Drop Python 3.8 support.
* Support Python 3.13.
-------------------------------------------------------------------
Mon Oct 28 09:41:53 UTC 2024 - Daniel Garcia <daniel.garcia@suse.com>
- Make model-bakery BuildRequires optional, in SLFO:Main we don't have
python311-django.
-------------------------------------------------------------------
Tue Nov 7 20:04:52 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 3.15.0:
* Support Python 3.12.
* Reset the random state for `Model Bakery`
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jul 24 19:54:28 UTC 2023 - Dirk Müller <dmueller@suse.com> Mon Jul 24 19:54:28 UTC 2023 - Dirk Müller <dmueller@suse.com>

View File

@@ -1,7 +1,7 @@
# #
# spec file for package python-pytest-randomly # spec file for package python-pytest-randomly
# #
# Copyright (c) 2024 SUSE LLC # Copyright (c) 2023 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,7 +18,7 @@
%{?sle15_python_module_pythons} %{?sle15_python_module_pythons}
Name: python-pytest-randomly Name: python-pytest-randomly
Version: 3.16.0 Version: 3.13.0
Release: 0 Release: 0
Summary: Pytest plugin to randomly order tests and control random.seed Summary: Pytest plugin to randomly order tests and control random.seed
License: MIT License: MIT
@@ -37,13 +37,9 @@ BuildArch: noarch
BuildRequires: %{python_module Faker >= 13.11.0} BuildRequires: %{python_module Faker >= 13.11.0}
BuildRequires: %{python_module factory_boy} BuildRequires: %{python_module factory_boy}
BuildRequires: %{python_module importlib-metadata >= 3.6.0} BuildRequires: %{python_module importlib-metadata >= 3.6.0}
# Django package not available on SLFO:Main
%if 0%{suse_version} > 1600
BuildRequires: %{python_module model-bakery >= 1.13.0}
%endif
BuildRequires: %{python_module numpy}
BuildRequires: %{python_module pytest-xdist} BuildRequires: %{python_module pytest-xdist}
BuildRequires: %{python_module pytest} BuildRequires: %{python_module pytest}
BuildRequires: %{python_module numpy if (%python-base without python36-base)}
# /SECTION # /SECTION
%python_subpackages %python_subpackages
@@ -79,14 +75,7 @@ Features:
%check %check
# test_entrypoint_injection needs installed module for pytest to use # test_entrypoint_injection needs installed module for pytest to use
skiptest="test_entrypoint_injection or test_it_runs_before_stepwise" %pytest -k "not (test_entrypoint_injection or test_it_runs_before_stepwise)"
# Django package not available on SLFO:Main
%if 0%{suse_version} <= 1600
skiptest+=" or test_model_bakery"
%endif
%pytest -k "not ($skiptest)"
%files %{python_files} %files %{python_files}
%doc README.rst %doc README.rst