Fix crash when pytest’s cacheprovider is disabled.
Thanks to Mandeep Sandhu for the report in Issue [#408](https://github.com/pytest-dev/pytest-randomly/issues/408) <https://github.com/pytest-dev/pytest-randomly/issues/408>__.
Improve group name in pytest --help.
3.10.1 (2021-08-13)
Fix new shuffling to work when one or more test in a class or module have the
same test id.
Thanks to Nikita Sobolev for the report in Issue [#378](https://github.com/pytest-dev/pytest-randomly/issues/378) <https://github.com/pytest-dev/pytest-randomly/issues/378>__.
3.10.0 (2021-08-13)
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.
Thanks to Tom Grainger for the suggestion in Issue [#210](https://github.com/pytest-dev/pytest-randomly/issues/210) <https://github.com/pytest-dev/pytest-randomly/issues/210>__.
Shuffle before other test collection hooks. This allows
pytest’s --stepwise flag <https://docs.pytest.org/en/latest/cache.html#stepwise>__ to work, among
other things.
Thanks to Tom Grainger for the suggestion to try with --stepwise. Fixes
Issue [#376](https://github.com/pytest-dev/pytest-randomly/issues/376) <https://github.com/pytest-dev/pytest-randomly/issues/376>__.
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 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)
Bumps pytest-randomly from 3.8.0 to 3.10.2.
Changelog
Sourced from pytest-randomly's changelog.
Commits
72fd752
Version 3.10.2bcd0267
Fix crash when pytest’s cacheprovdier is disabled (#409)d874258
[pre-commit.ci] pre-commit autoupdate (#407)21342d4
Upgrade requirements (#406)4cd2b2a
Tweak README (#405)f6580c3
Upgrade requirements (#404)de6ff5f
[pre-commit.ci] pre-commit autoupdate (#403)2fe2488
Upgrade requirements (#401)c6f6b52
[pre-commit.ci] pre-commit autoupdate (#400)4d98219
Upgrade requirements (#399)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 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)