Files
python-pytest-randomly/python-pytest-randomly.changes
Dirk Mueller 51bce7483e - 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.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-randomly?expand=0&rev=40
2025-09-29 20:52:57 +00:00

187 lines
7.2 KiB
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
-------------------------------------------------------------------
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 its 5x
faster and we dont 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>
- 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>
- update to 3.13.0:
* Drop Python 3.7 support.
- drop fix-tests-pytest-73.patch (upstream)
-------------------------------------------------------------------
Thu May 4 22:57:32 UTC 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 pytests 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 12:31:53 UTC 2023 - Dirk Müller <dmueller@suse.com>
- add sle15_python_module_pythons (jsc#PED-68)
-------------------------------------------------------------------
Thu Apr 13 22:44:08 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Make calling of %{sle15modernpython} optional.
-------------------------------------------------------------------
Fri Mar 24 18:09:50 UTC 2023 - Matej Cepl <mcepl@suse.com>
- Rebuild in SP4.
-------------------------------------------------------------------
Sat Apr 17 10:11:21 UTC 2021 - Ben Greiner <code@bnavigator.de>
- Update to 3.7.0
* Drop dependency on backports.entry-points-selectable by
depending on importlib-metadata version 3.6.0+.
- Release 3.6.0
* Fix deprecation warning from importlib-metadata 3.9.0+.
* Stop distributing tests to reduce package size. Tests are not
intended to be run outside of the tox setup in the repository.
Repackagers can use GitHub's tarballs per tag.
* Drop Python 3.5 support.
- Release 3.5.0
* Support Python 3.9.
* Move license from BSD to MIT License
- Drop pytest6.patch merged upstream
- Don't try test with non-existent python36-numpy
-------------------------------------------------------------------
Tue Aug 25 08:27:52 UTC 2020 - Marketa Calabkova <mcalabkova@suse.com>
- Update to 3.4.1
* Fix numpy error ``ValueError: Seed must be between 0 and 2**32 - 1`` when
passed a seed outside of this range.
- Add upstream patch pytest6.patch to fix tests
-------------------------------------------------------------------
Tue Jun 9 07:47:42 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.4.0:
* Provide a faker_seed fixture to set the seed for tests using faker's pytest fixtures (as per its docs).
-------------------------------------------------------------------
Mon Apr 27 09:33:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.3.1:
* Fix to work when pytest-xdist is not installed or active.
* Add pytest-xdist support.
-------------------------------------------------------------------
Thu Feb 20 07:14:24 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.2.1:
* Update MANIFEST.in so tests are included in the sdist tarball again.
-------------------------------------------------------------------
Mon Jan 6 13:03:16 UTC 2020 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.2.0:
* Converted setuptools metadata to configuration file
* Convert reading entrypoints to use importlib.metadata.
Depend on importlib-metadata on Python < 3.8.
* Update Python support to 3.5-3.8.
-------------------------------------------------------------------
Mon Sep 9 09:20:12 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.1.0:
* Add plugins via entry points pytest_randomly.random_seeder to allow
outside packages to register additional random generators to seed.
This has added a dependency on the entrypoints package.
- Drop patch tests-restore-python2.7.patch
-------------------------------------------------------------------
Mon Jun 3 09:13:50 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Update to 3.0.0:
* Handle CollectErrors and ImportErrors during collection when accessing item.module.
-------------------------------------------------------------------
Tue Mar 26 10:08:08 UTC 2019 - John Vandenberg <jayvdb@gmail.com>
- Downgrade Faker dependency to Recommends
- Add Suggests for numpy
- Add tests-restore-python2.7.patch to re-add support for Python 2.7
- Use PYTHONDONTWRITEBYTECODE=true to fix file-contains-buildroot
on Leap 42.3
- Update to v2.1.1
* Fix including tests in sdist after re-arrangement in 2.1.0
- from v2.1.0
* Add the option --randomly-seed=last to reuse the last used value
for the seed
- from v2.0.0
* Drop Python 2 support, only Python 3.4+ is supported now
-------------------------------------------------------------------
Thu Feb 14 15:24:04 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Make sure we execute tests
-------------------------------------------------------------------
Mon Jan 21 03:52:33 UTC 2019 - Todd R <toddrme2178@gmail.com>
- Initial version for v1.2.3