| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: python311-pytest-randomly | Distribution: openSUSE Tumbleweed |
| Version: 4.0.1 | Vendor: openSUSE |
| Release: 1.1 | Build date: Mon Sep 29 22:52:21 2025 |
| Group: Unspecified | Build host: reproducible |
| Size: 54553 | Source RPM: python-pytest-randomly-4.0.1-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/pytest-dev/pytest-randomly | |
| Summary: Pytest plugin to randomly order tests and control random.seed | |
Pytest plugin to randomly order tests and control random.seed.
Features:
* Randomly shuffles the order of test items. This is done first at
the level of modules, then at the level of test classes (if you
have them), then at the order of functions. This also works with
things like doctests.
* Resets random.seed() at the start of every test case and test to
fixed number - this defaults to time.time() from the start of
your test run, but you can pass in --randomly-seed to repeat a
randomness-induced failure.
* If factory boy is installed, its random state is reset at the
start of every test. This allows for repeatable use of its random
'fuzzy' features.
* If faker is installed, its random state is reset at the start of
every test. This is also for repeatable fuzzy data in tests.
* If numpy is installed, its random state is reset at the start of
every test.
MIT
* Mon Sep 29 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 2025 Markéta Machová <mmachova@suse.com>
- setuptools needed for build
* Mon Oct 28 2024 Dirk Müller <dmueller@suse.com>
- update to 3.16.0:
* Drop Python 3.8 support.
* Support Python 3.13.
* Mon Oct 28 2024 Daniel Garcia <daniel.garcia@suse.com>
- Make model-bakery BuildRequires optional, in SLFO:Main we don't have
python311-django.
* Tue Nov 07 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 2023 Dirk Müller <dmueller@suse.com>
- update to 3.13.0:
* Drop Python 3.7 support.
- drop fix-tests-pytest-73.patch (upstream)
* Thu May 04 2023 Dirk Müller <dmueller@suse.com>
- update to 3.12.0:
* Support Python 3.11.
* Drop Python 3.6 support.
* Work on FIPS Python 3.9+, by declaring use of
``hashlib.md5()`` as not used for security.
* Fix crash when pytest’s cacheprovider is disabled.
* Improve group name in ``pytest --help``.
* Fix new shuffling to work when one or more test in a class or
module have the same test id.
* Rework shuffling algorithm to use hashing. This means that
running a subset of tests with the same seed will now produce
the same ordering as running the full set of tests.
This allows narrowing down ordering-related failures.
* Add type hints.
* Support Python 3.10.
- add fix-tests-pytest-73.patch to support pytest 7.3.x
* Fri Apr 21 2023 Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
* Thu Apr 13 2023 Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
* Fri Mar 24 2023 Matej Cepl <mcepl@suse.com>
- Rebuild in SP4.
/usr/lib/python3.11/site-packages/pytest_randomly /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/INSTALLER /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/METADATA /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/RECORD /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/REQUESTED /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/WHEEL /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/entry_points.txt /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/licenses /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/licenses/LICENSE /usr/lib/python3.11/site-packages/pytest_randomly-4.0.1.dist-info/top_level.txt /usr/lib/python3.11/site-packages/pytest_randomly/__init__.py /usr/lib/python3.11/site-packages/pytest_randomly/__pycache__ /usr/lib/python3.11/site-packages/pytest_randomly/__pycache__/__init__.cpython-311.opt-1.pyc /usr/lib/python3.11/site-packages/pytest_randomly/__pycache__/__init__.cpython-311.pyc /usr/lib/python3.11/site-packages/pytest_randomly/py.typed /usr/share/doc/packages/python311-pytest-randomly /usr/share/doc/packages/python311-pytest-randomly/README.rst /usr/share/licenses/python311-pytest-randomly /usr/share/licenses/python311-pytest-randomly/LICENSE
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Oct 22 22:25:06 2025