From de5a3c2b32610d01740d8e0a808c9283490de6ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 24 Jun 2026 15:17:57 +0000 Subject: [PATCH 1/2] Build(deps): Bump pytest from 9.0.3 to 9.1.0 Bumps [pytest](https://github.com/pytest-dev/pytest) from 9.0.3 to 9.1.0. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pytest-dev/pytest/compare/9.0.3...9.1.0) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.1.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constraints.txt b/constraints.txt index 903fd4a6..01a5f69e 100644 --- a/constraints.txt +++ b/constraints.txt @@ -37,7 +37,7 @@ Pygments==2.20.0 pycparser==3.0 pydantic==2.13.4 pydantic-core==2.46.4 -pytest==9.0.3 +pytest==9.1.0 readme-renderer==45.0 requests==2.34.2 requests-toolbelt==1.0.0 From c8e1c25e8ea84ae533f091db195786a097665bc6 Mon Sep 17 00:00:00 2001 From: Tom Kuson Date: Tue, 21 Jul 2026 11:29:01 +0200 Subject: [PATCH 2/2] test: Make test_class_scope ready for pytest v9.1 --- tests/markers/test_class_scope.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/markers/test_class_scope.py b/tests/markers/test_class_scope.py index 28f7187c..ce023fcc 100644 --- a/tests/markers/test_class_scope.py +++ b/tests/markers/test_class_scope.py @@ -111,7 +111,8 @@ class CustomEventLoopPolicy(asyncio.DefaultEventLoopPolicy): class TestUsesCustomEventLoop: @pytest.fixture(scope="class") - def event_loop_policy(self): + @classmethod + def event_loop_policy(cls): return CustomEventLoopPolicy() @pytest.mark.asyncio