Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Sep 10, 2025

Note

Mend has cancelled the proposed renaming of the Renovate GitHub app being renamed to mend[bot].

This notice will be removed on 2025-10-07.


This PR contains the following updates:

Package Change Age Confidence
pytest-randomly (changelog) ==3.* -> ==4.* age confidence

Release Notes

pytest-dev/pytest-randomly (pytest-randomly)

v4.0.1

Compare Source

  • 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 #&#8203;690 <https://github.com/pytest-dev/pytest-randomly/issues/687>__.

  • 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 #&#8203;691 <https://github.com/pytest-dev/pytest-randomly/issues/691>__.

v4.0.0

Compare Source

  • 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 #&#8203;687 <https://github.com/pytest-dev/pytest-randomly/issues/687>.
    Thanks to Bryce Drennan for the suggestion in Issue #&#8203;600 <https://github.com/pytest-dev/pytest-randomly/issues/600>
    and initial implementation in PR #&#8203;617 <https://github.com/pytest-dev/pytest-randomly/pull/617>__.

  • Move from MD5 to CRC32 for hashing test IDs, as it’s 5x faster and we don’t need cryptographic security.

    Issue #&#8203;686 <https://github.com/pytest-dev/pytest-randomly/issues/686>__.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/pytest-randomly-4.x branch from 0c3fe7a to 6174651 Compare September 29, 2025 09:50
@renovate renovate bot force-pushed the renovate/pytest-randomly-4.x branch from 6174651 to d770f7c Compare September 30, 2025 14:25
@sonarqubecloud
Copy link

@clavedeluna clavedeluna merged commit 304210a into main Oct 2, 2025
13 checks passed
@clavedeluna clavedeluna deleted the renovate/pytest-randomly-4.x branch October 2, 2025 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant