From be82f363062a8dc89f45debc8eaab871d59be7c7 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Nov 2025 13:01:45 +0000 Subject: [PATCH 1/2] Bump pytest-asyncio from 0.26.0 to 1.3.0 Bumps [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) from 0.26.0 to 1.3.0. - [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases) - [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.26.0...v1.3.0) --- updated-dependencies: - dependency-name: pytest-asyncio dependency-version: 1.3.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- requirements_test.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements_test.txt b/requirements_test.txt index 452b1f7..44bc253 100644 --- a/requirements_test.txt +++ b/requirements_test.txt @@ -1,5 +1,5 @@ pytest==8.4.2 -pytest-asyncio==0.26.0 +pytest-asyncio==1.3.0 pytest-cov==7.0.0 pytest-mock==3.14.1 pytest-timeout==2.4.0 From 08af4d2083ad9c56b0c4f4d93f5d3a7f4e304c89 Mon Sep 17 00:00:00 2001 From: Martin Hjelmare Date: Fri, 6 Mar 2026 22:27:20 +0100 Subject: [PATCH 2/2] chore: fix deprecated event loop fixture --- tests/conftest.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/conftest.py b/tests/conftest.py index 8942b94..f434559 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -1,5 +1,7 @@ """Provide package level pytest fixtures.""" +import asyncio + import pytest from camacq.control import Center @@ -7,9 +9,9 @@ @pytest.fixture(name="center") -def center_fixture(event_loop): +async def center_fixture(): """Give access to center via fixture.""" - _center = Center(loop=event_loop) + _center = Center(loop=asyncio.get_running_loop()) _center._track_tasks = True # pylint: disable=protected-access yield _center