chore(deps-dev): bump the pytest group across 1 directory with 6 updates
Type: Pull Request
State: Merged
![dependabot[bot]](https://github.com/dependabot.png)
Association: Contributor
Comments: 0
(3 months ago)
(3 months ago)
(3 months ago)
by mooncitydev
dependencies python
Bumps the pytest group with 6 updates in the / directory:
Package | From | To |
---|---|---|
pytest | 8.3.5 |
8.4.1 |
pytest-asyncio | 0.26.0 |
1.0.0 |
pytest-cov | 6.1.1 |
6.2.1 |
pytest-mock | 3.14.0 |
3.14.1 |
pytest-random-order | 1.1.1 |
1.2.0 |
pytest-xdist | 3.6.1 |
3.7.0 |
Updates pytest
from 8.3.5 to 8.4.1
Release notes
Sourced from pytest's releases.
8.4.1
pytest 8.4.1 (2025-06-17)
Bug fixes
#13461: Corrected
_pytest.terminal.TerminalReporter.isatty
to support being called as a method. Before it was just a boolean which could break correct code when using-o log_cli=true
).#13477: Reintroduced
pytest.PytestReturnNotNoneWarning
{.interpreted-text role="class"} which was removed by accident in pytest [8.4]{.title-ref}.This warning is raised when a test functions returns a value other than
None
, which is often a mistake made by beginners.See
return-not-none
{.interpreted-text role="ref"} for more information.#13497: Fixed compatibility with
Twisted 25+
.Improved documentation
- #13492: Fixed outdated warning about
faulthandler
not working on Windows.8.4.0
pytest 8.4.0 (2025-06-02)
Removals and backward incompatible breaking changes
#11372: Async tests will now fail, instead of warning+skipping, if you don't have any suitable plugin installed.
#12346: Tests will now fail, instead of raising a warning, if they return any value other than None.
#12874: We dropped support for Python 3.8 following its end of life (2024-10-07).
#12960: Test functions containing a yield now cause an explicit error. They have not been run since pytest 4.0, and were previously marked as an expected failure and deprecation warning.
See
the docs <yield tests deprecated>
{.interpreted-text role="ref"} for more information.Deprecations (removal in next major release)
- #10839: Requesting an asynchronous fixture without a [pytest_fixture_setup]{.title-ref} hook that resolves it will now give a DeprecationWarning. This most commonly happens if a sync test requests an async fixture. This should have no effect on a majority of users with async tests or fixtures using async pytest plugins, but may affect non-standard hook setups or
autouse=True
. For guidance on how to work around this warning seesync-test-async-fixture
{.interpreted-text role="ref"}.New features
#11538: Added
pytest.RaisesGroup
{.interpreted-text role="class"} as an equivalent topytest.raises
{.interpreted-text role="func"} for expectingExceptionGroup
{.interpreted-text role="exc"}. Also addspytest.RaisesExc
{.interpreted-text role="class"} which is now the logic behindpytest.raises
{.interpreted-text role="func"} and used as parameter topytest.RaisesGroup
{.interpreted-text role="class"}.RaisesGroup
includes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulatingexcept* <except_star>
{.interpreted-text role="ref"}. Seeassert-matching-exception-groups
{.interpreted-text role="ref"} and docstrings for more information.#12081: Added
capteesys
{.interpreted-text role="fixture"} to capture AND pass output to next handler set by--capture=
.#12504:
pytest.mark.xfail
{.interpreted-text role="func"} now acceptspytest.RaisesGroup
{.interpreted-text role="class"} for theraises
parameter when you expect an exception group. You can also pass apytest.RaisesExc
{.interpreted-text role="class"} if you e.g. want to make use of thecheck
parameter.#12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.
... (truncated)
Commits
8d99211
Prepare release version 8.4.15dc5880
docs: update pytest.ini addopts example to use separate -p entries (#13529) (...d0c7ed0
Reintroduce PytestReturnNotNoneWarning (#13495) (#13527)a1b3a78
Fix compatibility with Twisted 25 (#13502) (#13531)4c161ab
pytester: avoid unraisableexception gc collects in inline runs to speed up te...a86ee09
Fix typo in parametrize.rst (#13514) (#13516)1a0581b
Remove outdated warning about faulthandler_timeout on Windows (#13492) (#13493)4e631a7
Merge pull request #13486 from hosmir/fixtypo (#13487)b49745e
fix: support TerminalReporter.isatty being called (#13462) (#13483)cc5ceed
RELEASING: remove pytest mailing list (#13472) (#13473)- Additional commits viewable in compare view
Updates pytest-asyncio
from 0.26.0 to 1.0.0
Release notes
Sourced from pytest-asyncio's releases.
pytest-asyncio 1.0.0
1.0.0 - 2025-05-26
Removed
- The deprecated event_loop fixture. (#1106)
Added
- Prelimiary support for Python 3.14 (#1025)
Changed
- Scoped event loops (e.g. module-scoped loops) are created once rather than per scope (e.g. per module). This reduces the number of fixtures and speeds up collection time, especially for large test suites. (#1107)
- The loop_scope argument to
pytest.mark.asyncio
no longer forces that a pytest Collector exists at the level of the specified scope. For example, a test function marked withpytest.mark.asyncio(loop_scope="class")
no longer requires a class surrounding the test. This is consistent with the behavior of the scope argument topytest_asyncio.fixture
. (#1112)Fixed
- An error caused when using pytest's [--setup-plan]{.title-ref} option. (#630)
- Unsuppressed import errors with pytest option
--doctest-ignore-import-errors
(#797)- A "fixture not found" error in connection with package-scoped loops (#1052)
Notes for Downstream Packagers
- Removed a test that had an ordering dependency on other tests. (#1114)
pytest-asyncio 1.0.0a1
1.0.0a1 - 2025-05-09
Removed
- The deprecated event_loop fixture. (#1106)
... (truncated)
Commits
5ef97bd
chore: Prepare release of v1.0.0.f212e24
docs: Mention fix of #797.32c1d10
test: Removed obsolete test for async_gen_fixtures.627ce92
[pre-commit.ci] pre-commit autoupdatea55ff36
Build(deps): Bump pluggy from 1.5.0 to 1.6.0 in /dependencies/default633389f
Build(deps): Bump hypothesis in /dependencies/default0c99466
docs: Fixed an error that reported a missing event_loop fixture when using pa...0688d17
ci: Replace Github template expansion with env variable expansion.2adcf52
ci: Quote Github variable expansion.dd0fac9
ci: Fixed a bug that prevented release notes from being extracted from a Git ...- Additional commits viewable in compare view
Updates pytest-cov
from 6.1.1 to 6.2.1
Changelog
Sourced from pytest-cov's changelog.
6.2.1 (2025-06-12)
Added a version requirement for pytest's pluggy dependency (1.2.0, released 2023-06-21) that has the required new-style hookwrapper API.
Removed deprecated license classifier (packaging).
Disabled coverage warnings in two more situations where they have no value:
- "module-not-measured" in workers
- "already-imported" in subprocesses
6.2.0 (2025-06-11)
The plugin now adds 3 rules in the filter warnings configuration to prevent common coverage warnings being raised as obscure errors::
default:unclosed database in <sqlite3.Connection object at:ResourceWarning once::PytestCovWarning once::CoverageWarning
This fixes most of the bad interactions that are occurring on pytest 8.4 with
filterwarnings=error
.The plugin will check if there already matching rules for the 3 categories (
ResourceWarning
,PytestCovWarning
,CoverageWarning
) and message (unclosed database in <sqlite3.Connection object at
) before adding the filters.This means you can have this in your pytest configuration for complete oblivion (not recommended, if that is not clear)::
filterwarnings = [ "error", "ignore:unclosed database in <sqlite3.Connection object at:ResourceWarning", "ignore::PytestCovWarning", "ignore::CoverageWarning", ]
Commits
55dbe43
Bump version: 6.2.0 → 6.2.1d17e9b7
Update changelog.8964ab7
Add a note for this warning disable.e932e41
Prevent unimported warnings @ pytest-xdist workers573379b
Bring pytest-cov's suprocess management in line with coverage's process_start...f1884e8
Fix xdist pin.512c669
Added minium version requirements for pluggin (for new-style hookwrappers). P...629ba64
Remove deprecated license classifier.dca5723
Bump version: 6.1.1 → 6.2.0f69166a
Also trigger the sqlite warning.- Additional commits viewable in compare view
Updates pytest-mock
from 3.14.0 to 3.14.1
Release notes
Sourced from pytest-mock's releases.
v3.14.1
- #503: Python 3.14 is now officially supported.
Changelog
Sourced from pytest-mock's changelog.
3.14.1 (2025-08-26)
[#503](https://github.com/pytest-dev/pytest-mock/issues/503) <https://github.com/pytest-dev/pytest-mock/pull/503>
_: Python 3.14 is now officially supported.
Commits
34dd61a
Release 3.14.1299adb9
Add support for Python 3.14 (#503)f5fcef7
[pre-commit.ci] pre-commit autoupdate (#504)bae64d8
[pre-commit.ci] pre-commit autoupdate (#502)824f334
[pre-commit.ci] pre-commit autoupdate (#501)db1add6
[pre-commit.ci] pre-commit autoupdate (#500)48ac874
[pre-commit.ci] pre-commit autoupdate (#499)fe7ad9a
[pre-commit.ci] pre-commit autoupdate (#498)7857e60
[pre-commit.ci] pre-commit autoupdate (#497)a8b97ea
[pre-commit.ci] pre-commit autoupdate (#496)- Additional commits viewable in compare view
Updates pytest-random-order
from 1.1.1 to 1.2.0
Changelog
Sourced from pytest-random-order's changelog.
1.2.0 +++++
2025-06-22
- Dropped support for EOL Python versions and added support for Python 3.13.
- Fix
[#58](https://github.com/jbasko/pytest-random-order/issues/58) <https://github.com/pytest-dev/pytest-random-order/issues/58>
_:return
in afinally
block swallows exceptions and raises a warning in Python 3.14.
Commits
1bddb0f
Fix RELEASING.rst instructions43803c8
Release 1.2.0754a8e4
Removereturn
fromfinally
block (#60)a8f09eb
Fix setuptools-scm configuratione898111
Removereturn
fromfinally
block90a346f
Modernize CI and configuration (#59)76c4d58
Merge pull request #57 from euri10/python_versions32f0ef7
ci: added 3.11 and 3.12ac1369a
Comment to guard against removing 'none' option as suggested in #40- See full diff in compare view
Updates pytest-xdist
from 3.6.1 to 3.7.0
Changelog
Sourced from pytest-xdist's changelog.
pytest-xdist 3.7.0 (2025-05-26)
Features
[#1142](https://github.com/pytest-dev/pytest-xdist/issues/1142) <https://github.com/pytest-dev/pytest-xdist/issues/1142>
_: Added support for Python 3.13.
[#1144](https://github.com/pytest-dev/pytest-xdist/issues/1144) <https://github.com/pytest-dev/pytest-xdist/issues/1144>
_: The internalsteal
command is now atomic - it unschedules either all requested tests or none.This is a prerequisite for group/scope support in the
worksteal
scheduler, so test groups won't be broken up incorrectly.
[#1170](https://github.com/pytest-dev/pytest-xdist/issues/1170) <https://github.com/pytest-dev/pytest-xdist/issues/1170>
_: Add the--px
arg to create proxy gateways.Proxy gateways are passed to additional gateways using the
via
keyword. They can serve as a way to run multiple workers on remote machines.
[#1200](https://github.com/pytest-dev/pytest-xdist/issues/1200) <https://github.com/pytest-dev/pytest-xdist/issues/1200>
_: Now multiplexdist_group
markers are considered when assigning tests to groups (order does not matter).Previously, only the last marker would assign a test to a group, but now if a test has multiple
xdist_group
marks applied (for example via parametrization or via fixtures), they are merged to make a new group.Removals
[#1162](https://github.com/pytest-dev/pytest-xdist/issues/1162) <https://github.com/pytest-dev/pytest-xdist/issues/1162>
_: Dropped support for EOL Python 3.8.Trivial Changes
[#1092](https://github.com/pytest-dev/pytest-xdist/issues/1092) <https://github.com/pytest-dev/pytest-xdist/issues/1092>
_: Update an error message to better indicate where users should go for more information.
[#1190](https://github.com/pytest-dev/pytest-xdist/issues/1190) <https://github.com/pytest-dev/pytest-xdist/issues/1190>
_: Switched to using a SPDX license identifier introduced in PEP 639.
Commits
b561916
Release 3.7.071bd3ed
[pre-commit.ci] pre-commit autoupdate (#1204)65de0ab
Join multiple xdist_group markers (#1201)199f949
[pre-commit.ci] pre-commit autoupdate (#1202)b0215da
[pre-commit.ci] pre-commit autoupdate (#1199)18e4785
[pre-commit.ci] pre-commit autoupdate (#1198)731c05d
[pre-commit.ci] pre-commit autoupdate (#1197)16c5be3
[pre-commit.ci] pre-commit autoupdate (#1195)e03757a
[pre-commit.ci] pre-commit autoupdate (#1193)f1d81a4
Merge pull request #1192 from adamchainz/document_disabling- Additional commits viewable in compare view
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 <dependency name> 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 <dependency name> 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 <dependency name>
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 <dependency name>
will remove all of the ignore conditions of the specified dependency@dependabot unignore <dependency name> <ignore condition>
will remove the ignore condition of the specified dependency and ignore conditions
Pull Request Statistics
1
1
+6
-6
Package Dependencies
Technical Details
ID: | 2021890 |
UUID: | 2610386313 |
Node ID: | PR_kwDOOw0Wwc6bl1WJ |
Host: | GitHub |
Repository: | mooncitydev/https-github.com-freqtrade-freqtrade |
Merge State: | Unknown |