An open index of dependabot pull requests across open source projects.

chore(deps-dev): bump the pytest group across 1 directory with 5 updates

Closed
Number: #31
Type: Pull Request
State: Closed
Author: dependabot[bot] dependabot[bot]
Association: Contributor
Comments: 1
Created: June 16, 2025 at 04:09 AM UTC
(4 months ago)
Updated: June 23, 2025 at 04:13 AM UTC
(3 months ago)
Closed: June 23, 2025 at 04:13 AM UTC
(3 months ago)
Time to Close: 7 days
Labels:
dependencies python
Description:

Bumps the pytest group with 5 updates in the / directory:

Package From To
pytest 8.3.5 8.4.0
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-xdist 3.6.1 3.7.0

Updates pytest from 8.3.5 to 8.4.0

Release notes

Sourced from pytest's releases.

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 see sync-test-async-fixture{.interpreted-text role="ref"}.

New features

  • #11538: Added pytest.RaisesGroup{.interpreted-text role="class"} as an equivalent to pytest.raises{.interpreted-text role="func"} for expecting ExceptionGroup{.interpreted-text role="exc"}. Also adds pytest.RaisesExc{.interpreted-text role="class"} which is now the logic behind pytest.raises{.interpreted-text role="func"} and used as parameter to pytest.RaisesGroup{.interpreted-text role="class"}. RaisesGroup includes the ability to specify multiple different expected exceptions, the structure of nested exception groups, and flags for emulating except* <except_star>{.interpreted-text role="ref"}. See assert-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 accepts pytest.RaisesGroup{.interpreted-text role="class"} for the raises parameter when you expect an exception group. You can also pass a pytest.RaisesExc{.interpreted-text role="class"} if you e.g. want to make use of the check parameter.

  • #12713: New [--force-short-summary]{.title-ref} option to force condensed summary output regardless of verbosity level.

    This lets users still see condensed summary output of failures for quick reference in log files from job outputs, being especially useful if non-condensed output is very verbose.

  • #12749: pytest traditionally collects classes/functions in the test module namespace even if they are imported from another file.

    For example:

    # contents of src/domain.py
    class Testament: ...
    

    contents of tests/test_testament.py

    from domain import Testament

    def test_testament(): ...

    In this scenario with the default options, pytest will collect the class [Testament]{.title-ref} from [tests/test_testament.py]{.title-ref} because it starts with [Test]{.title-ref}, even though in this case it is a production class being imported in the test module namespace.

    This behavior can now be prevented by setting the new collect_imported_tests{.interpreted-text role="confval"} configuration option to false, which will make pytest collect classes/functions from test files only if they are defined in that file.

... (truncated)

Commits
  • 315b3ae Prepare release version 8.4.0
  • 1498ba3 Merge pull request #13467 from pytest-dev/towncrier-create
  • e4389ac Remove resultlog from the docs (#13465)
  • 64b2301 scripts/release: add missing build to towncrier call
  • 4c205cf testing/plugins_integration: update Django (#13463)
  • 4dcbcc9 Merge pull request #13458 from pytest-dev/dup-param-error
  • 5293016 Merge pull request #13459 from pytest-dev/pyright-minor-fixes
  • 7a48181 Add pyright configuration
  • 9fc6db9 pytester: avoid confusing x self parameter
  • 9aa198b mark/expression: fix self -> cls
  • 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 with pytest.mark.asyncio(loop_scope="class") no longer requires a class surrounding the test. This is consistent with the behavior of the scope argument to pytest_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 autoupdate
  • a55ff36 Build(deps): Bump pluggy from 1.5.0 to 1.6.0 in /dependencies/default
  • 633389f Build(deps): Bump hypothesis in /dependencies/default
  • 0c99466 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.1
  • d17e9b7 Update changelog.
  • 8964ab7 Add a note for this warning disable.
  • e932e41 Prevent unimported warnings @ pytest-xdist workers
  • 573379b 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.0
  • f69166a 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

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 internal steal 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 multiple xdist_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

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
Commits:
1
Files Changed:
1
Additions:
+5
Deletions:
-5
Package Dependencies
Package:
pytest-mock
Ecosystem:
pip
Version Change:
3.14.0 → 3.14.1
Update Type:
Patch
Ecosystem:
pip
Version Change:
3.6.1 → 3.7.0
Update Type:
Minor
Package:
pytest
Ecosystem:
pip
Version Change:
8.3.5 → 8.4.0
Update Type:
Minor
Package:
pytest-cov
Ecosystem:
pip
Version Change:
6.1.1 → 6.2.1
Update Type:
Minor
Ecosystem:
pip
Version Change:
0.26.0 → 1.0.0
Update Type:
Major
Technical Details
ID: 1626997
UUID: 2594373404
Node ID: PR_kwDOOw0Wwc6aov8c
Host: GitHub
Repository: mooncitydev/https-github.com-freqtrade-freqtrade
Mergeable: Yes
Merge State: Clean
Rebaseable: Yes