[#632](https://github.com/pytest-dev/pytest-xdist/issues/632) <https://github.com/pytest-dev/pytest-xdist/issues/632>_: --dist=loadscope now sorts scopes by number of tests to assign largest scopes early -- in many cases this should improve overall test session running time, as there is less chance of a large scope being left to be processed near the end of the session, leaving other workers idle.
pytest-xdist 3.4.0 (2023-11-11)
Features
[#963](https://github.com/pytest-dev/pytest-xdist/issues/963) <https://github.com/pytest-dev/pytest-xdist/issues/963>_: Wait for workers to finish reporting when test run stops early.
This makes sure that the results of in-progress tests are displayed.
Previously these reports were being discarded, losing information about the
test run.
[#965](https://github.com/pytest-dev/pytest-xdist/issues/965) <https://github.com/pytest-dev/pytest-xdist/issues/965>_: Added support for Python 3.12.
Fixes a bug that caused an internal pytest error when collecting .txt files #703
pytest-asyncio 0.23.1
0.23.1 (2023-12-03)
Fixes a bug that caused an internal pytest error when using module-level skips #701
pytest-asyncio 0.23.0
This release is backwards-compatible with v0.21. Changes are
non-breaking, unless you upgrade from v0.22.
BREAKING: The asyncio_event_loop mark has been removed. Event
loops with class, module, package, and session scopes can be
requested via the scope keyword argument to the asyncio
mark.
Introduces the event_loop_policy fixture which allows testing with
non-default or multiple event loops #662
Introduces pytest_asyncio.is_async_test which returns whether a
test item is managed by pytest-asyncio #376
Removes and pytest-trio,mypy, and flaky from the test
dependencies #620, #674, #678
pytest-asyncio 0.23.0b0
0.23.0 (UNRELEASED)
This release is backwards-compatible with v0.21.
Changes are non-breaking, unless you upgrade from v0.22.
BREAKING: The asyncio_event_loop mark has been removed. Event loops with class, module, package, and session scopes can be requested via the scope keyword argument to the asyncio mark.
Introduces the event_loop_policy fixture which allows testing with non-default or multiple event loops #662
Removes pytest-trio from the test dependencies #620
pytest-asyncio 0.23.0a1
0.23.0 (UNRELEASED)
This release is backwards-compatible with v0.21.
Changes are non-breaking, unless you upgrade from v0.22.
BREAKING: The asyncio_event_loop mark has been removed. Event loops with class, module, package, and session scopes can be requested via the scope keyword argument to the asyncio mark.
Introduces the event_loop_policy fixture which allows testing with non-default or multiple event loops #662
Removes pytest-trio from the test dependencies #620
pytest-asyncio 0.23.0a0
0.23.0 (UNRELEASED)
This release is backwards-compatible with v0.21.
Changes are non-breaking, unless you upgrade from v0.22.
... (truncated)
Commits
b614c77 [fix] Fixes a bug that caused an internal pytest error when collecting .txt f...
a214c3e [fix] Fixes a bug that caused an internal pytest error when using module-leve...
176d558 [refactor] Extracted test for pytest.skip into a separate test module.
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 ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore major version` will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
- `@dependabot ignore minor version` will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
- `@dependabot ignore ` will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
- `@dependabot unignore ` will remove all of the ignore conditions of the specified dependency
- `@dependabot unignore ` will remove the ignore condition of the specified dependency and ignore conditions
Bumps the development-dependencies group with 4 updates: pytest-xdist, pytest-mock, pytest-asyncio and nb-cli.
Updates
pytest-xdist
from 3.3.1 to 3.5.0Changelog
Sourced from pytest-xdist's changelog.
Commits
95b309e
Release 3.5.03fe877b
LoadScope scheduler: Sort scopes by number of tests to assign biggest scopes ...f36ea25
Create GitHub release after deploy (#973)d81f575
Merge pull request #969 from pytest-dev/pre-commit-ci-update-config1d26164
[pre-commit.ci] pre-commit autoupdate5f43575
Merge pull request #966 from pytest-dev/release-3.4.0a6b5611
Update CHANGELOG64f9388
Add support for Python 3.12230ba6a
Properly wait for workers when test run terminates early (#963)93ca202
fix typo index -> insteadUpdates
pytest-mock
from 3.11.1 to 3.12.0Release notes
Sourced from pytest-mock's releases.
Changelog
Sourced from pytest-mock's changelog.
Commits
69adc6f
Re-add norewrite testsb905823
Drop Python 3.7 and add Python 3.122a71a0d
mocker.resetall now also resets mockers created bycreate_autospec
(#390)e84f885
Merge pull request #391 from pytest-dev/pre-commit-ci-update-confige037221
[pre-commit.ci] pre-commit autoupdatef019696
Merge pull request #387 from pytest-dev/where-to-patch-link09f1814
Merge pull request #388 from pytest-dev/pre-commit-ci-update-configf55f17e
[pre-commit.ci] pre-commit autoupdatecec59a0
Update usage.rst53cc0a5
Update usage.rstUpdates
pytest-asyncio
from 0.21.1 to 0.23.2Release notes
Sourced from pytest-asyncio's releases.
... (truncated)
Commits
b614c77
[fix] Fixes a bug that caused an internal pytest error when collecting .txt f...a214c3e
[fix] Fixes a bug that caused an internal pytest error when using module-leve...176d558
[refactor] Extracted test for pytest.skip into a separate test module.0b34e8e
[chore] Prepare release of v0.23.03c2691d
[docs] Remove badge which points out that the project uses Black as a code fo...349c152
[docs] Mention the #pytest-asyncio:matrix.org chat room in README and for get...533b886
Build(deps): Bump hypothesis in /dependencies/default9a8b431
Build(deps): Bump exceptiongroup in /dependencies/default540426d
Build(deps): Bump pygments from 2.17.1 to 2.17.2 in /dependencies/docsee23a65
Build(deps): Bump idna from 3.4 to 3.6 in /dependencies/docsUpdates
nb-cli
from 1.2.3 to 1.2.7Release notes
Sourced from nb-cli's releases.
Commits
98a9415
:bookmark: bump version 1.2.7e74a6ec
:bug: Fix: 修复删除适配器前的索引确认问题 (#106)4994e85
:sparkles: Feature: addreload-dirs
option to run project (#105)702248a
:arrow_up: auto update by pre-commit hooks (#104)1e14762
:bookmark: bump version 1.2.6d37a869
:arrow_up: upgrade dependenciescd1cf01
:bug: Fix: scripts entrypoint select (#103)95e7c64
:pencil2: Fix: 修复__plugin_meta__
typo (#102)49af30d
:arrow_up: auto update by pre-commit hooks (#101)5e82115
:bookmark: bump version 1.2.5Dependabot 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