GitHub
09/15/2025, 2:39 PM## 4.0.1 (2025-09-12)
• 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](https://github.com/pytest-dev/pytest-randomly/issues/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 [#691](https://github.com/pytest-dev/pytest-randomly/issues/691) https://github.com/pytest-dev/pytest-randomly/issues/691`__.
## 4.0.0 (2025-09-10)
• 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](https://github.com/pytest-dev/pytest-randomly/issues/687) https://github.com/pytest-dev/pytest-randomly/issues/687`*. Thanks to Bryce Drennan for the suggestion in `Issue [#600](https://github.com/pytest-dev/pytest-randomly/issues/600) https://github.com/pytest-dev/pytest-randomly/issues/600`* and initial implementation in `PR [#617](https://github.com/pytest-dev/pytest-randomly/issues/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 [#686](https://github.com/pytest-dev/pytest-randomly/issues/686) https://github.com/pytest-dev/pytest-randomly/issues/686`__.Commits •
50de096 Version 4.0.1
• f9406ec Modify Numpy seed restriction (#691)
• 22049aa Remove the random state caching (#690)
• ded2e54 Version 4.0.0
• cb9b861 Move from MD5 to CRC32 for hashing test IDs (#688)
• bd697bd Use a different random seed per test (#687)
• acadf46 Generate default seed on demand (#685)
• f818056 Support Python 3.14 (#684)
• 456f787 Drop unused import of xdist
• e00b782 [pre-commit.ci] pre-commit autoupdate (#682)
• Additional commits viewable in compare view
[Dependabot compatibility score](https://camo.githubusercontent.com/2f834b491469cf96f983454caa8edf92c1e422bea4f804922eab31fe181b3ec3/68747470733a2f2f646570656e6461626f742d6261646765732e6769746875626170702e636f6d2f6261646765732f636f6d7061746962696c6974795f73636f72653f646570656e64656e63792d6e616d653d7079746573742d72616e646f6d6c79267061636b6167652d6d616e616765723d75762670726576696f75732d76657273696f6e3d332e31362e30266e65772d76657273696f6e3d342e302e31)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
---
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
• @dependabot rebase will rebase this PR
• @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
• @dependabot merge will merge this PR after your CI passes on it
• @dependabot squash and merge will squash and merge this PR after your CI passes on it
• @dependabot cancel merge will cancel a previously requested merge and block automerging
• @dependabot reopen will reopen this PR if it is closed
• @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
• @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
• @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
• @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
meltano/meltanoGitHub
09/15/2025, 4:09 PM