Compare commits
9 Commits
| Author | SHA256 | Date | |
|---|---|---|---|
| d23758ec0f | |||
| 51bce7483e | |||
| 5dabab7396 | |||
| b12e13f2e4 | |||
| de49926916 | |||
| fbdd34d0f5 | |||
| eda0c5f3f6 | |||
| e952d1ebfe | |||
| e85bd24e6d |
BIN
pytest-randomly-3.16.0.tar.gz
LFS
BIN
pytest-randomly-3.16.0.tar.gz
LFS
Binary file not shown.
3
pytest-randomly-4.0.1.tar.gz
Normal file
3
pytest-randomly-4.0.1.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:dc0ad4fc1ff37344b37026063b9587596052215c670094439d68e0eab72cd684
|
||||||
|
size 52023
|
||||||
@@ -1,3 +1,33 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Sep 29 20:52:21 UTC 2025 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
- update to 4.0.1:
|
||||||
|
* Remove the random state caching, which would grow without
|
||||||
|
bound, leaking memory in long test runs. The caching was
|
||||||
|
added to slightly speed up re-using the same (final) seed,
|
||||||
|
but since the final seed is now different for each test, it
|
||||||
|
has no effect. PR #690.
|
||||||
|
* Modify Numpy seed restriction, replacing hashing with a
|
||||||
|
modulo operation. The extra work to hash is unnecessary now
|
||||||
|
that we generate a final seed per test with CRC32. This
|
||||||
|
change saves ~500ns per test when Numpy is installed. PR
|
||||||
|
#691.
|
||||||
|
* Support Python 3.14.
|
||||||
|
* Use a different random seed per test, based on the test ID.
|
||||||
|
This change should mean that tests exercise more random data
|
||||||
|
values in a given run, and that any randomly-generated
|
||||||
|
identifiers have a lower chance of collision when stored in a
|
||||||
|
shared resource like a database. PR #687. Thanks to Bryce
|
||||||
|
Drennan for the suggestion in Issue #600 and initial
|
||||||
|
implementation in PR #617.
|
||||||
|
* Move from MD5 to CRC32 for hashing test IDs, as it’s 5x
|
||||||
|
faster and we don’t need cryptographic security. Issue #686.
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Apr 22 13:06:29 UTC 2025 - Markéta Machová <mmachova@suse.com>
|
||||||
|
|
||||||
|
- setuptools needed for build
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Oct 28 16:48:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
Mon Oct 28 16:48:13 UTC 2024 - Dirk Müller <dmueller@suse.com>
|
||||||
|
|
||||||
|
|||||||
@@ -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) 2025 SUSE LLC and contributors
|
||||||
#
|
#
|
||||||
# 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,13 +18,14 @@
|
|||||||
|
|
||||||
%{?sle15_python_module_pythons}
|
%{?sle15_python_module_pythons}
|
||||||
Name: python-pytest-randomly
|
Name: python-pytest-randomly
|
||||||
Version: 3.16.0
|
Version: 4.0.1
|
||||||
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
|
||||||
URL: https://github.com/pytest-dev/pytest-randomly
|
URL: https://github.com/pytest-dev/pytest-randomly
|
||||||
Source: https://github.com/pytest-dev/pytest-randomly/archive/%{version}.tar.gz#/pytest-randomly-%{version}.tar.gz
|
Source: https://github.com/pytest-dev/pytest-randomly/archive/%{version}.tar.gz#/pytest-randomly-%{version}.tar.gz
|
||||||
BuildRequires: %{python_module pip}
|
BuildRequires: %{python_module pip}
|
||||||
|
BuildRequires: %{python_module setuptools}
|
||||||
BuildRequires: %{python_module wheel}
|
BuildRequires: %{python_module wheel}
|
||||||
BuildRequires: fdupes
|
BuildRequires: fdupes
|
||||||
BuildRequires: python-rpm-macros
|
BuildRequires: python-rpm-macros
|
||||||
|
|||||||
Reference in New Issue
Block a user