Ana Guerrero d23758ec0f Accepting request 1308063 from devel:languages:python:pytest
- 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/request/show/1308063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-pytest-randomly?expand=0&rev=19
2025-09-30 15:41:44 +00:00
2025-09-29 20:52:57 +00:00
Description
No description provided
173 KiB
Languages
RPM Spec 100%