Skip to content

chore(deps): update dependency pytest-randomly to v5 - #133

Merged
DavidSAmundsen merged 1 commit into
mainfrom
renovate/pytest-randomly-5.x
Sep 2, 2026
Merged

chore(deps): update dependency pytest-randomly to v5#133
DavidSAmundsen merged 1 commit into
mainfrom
renovate/pytest-randomly-5.x

Conversation

@renovate

@renovate renovate Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
pytest-randomly (changelog) ==4.1.0==5.0.0 age confidence

Release Notes

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

v5.0.0

Compare Source

  • Support Python 3.15.

  • Shuffle tests before other plugins’ pytest_collection_modifyitems hooks run.

    Previously, pytest-randomly used a plain tryfirst hook, so another plugin using tryfirst, such as pytest-django, could reorder tests before or after pytest-randomly’s shuffle, depending on the plugin registration order.
    Since that order can vary between environments, this would make the final test order non-repeatable.

    Now, pytest-randomly marks its hook as a hook wrapper, making it run before any other plugin’s pytest_collection_modifyitems hooks, regardless of registration order.
    Plugins that group tests with a stable sort can apply their grouping on top of the shuffled order, making the final test order reproducible from the seed.

    This is a low-impact breaking change because it you may not be able to reprduce a test order from the last pytest-randomly version by reusing a --randomly-seed value.

    PR #&#8203;746 <https://github.com/pytest-dev/pytest-randomly/pull/746>.
    Thanks to milssky for the report in Issue #&#8203;701 <https://github.com/pytest-dev/pytest-randomly/issues/701>
    .

  • Require pytest 8+, the first version to require a version of pluggy that supports hook wrappers, as used by the above fix.

    PR #&#8203;746 <https://github.com/pytest-dev/pytest-randomly/pull/746>__.

  • Reset Polyfactory <https://polyfactory.litestar.dev/>__\’s default random state at the start of every test, if it is installed.

    Thanks to Rahul Kumar in PR #&#8203;735 <https://github.com/pytest-dev/pytest-randomly/issues/735>__.

  • Switch package build backend from setuptools to uv_build <https://docs.astral.sh/uv/concepts/build-backend/>__.
    This makes builds with uv about nine times faster, since uv runs the backend natively, without creating a build environment or spawning a Python process.
    Additionally, source distributions no longer include test files, which setuptools previously included incompletely, missing the files needed to actually run them.


Configuration

📅 Schedule: (UTC)

  • 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 becomes conflicted, 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 added the dependencies Pull requests that update a dependency file label Sep 2, 2026
@DavidSAmundsen
DavidSAmundsen merged commit 0879cab into main Sep 2, 2026
16 checks passed
@DavidSAmundsen
DavidSAmundsen deleted the renovate/pytest-randomly-5.x branch September 2, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant