From 8b791f3bf8acc58c688bfb50000a34f6776e0d98 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 Apr 2026 02:30:37 +0000 Subject: [PATCH 1/2] build(deps-dev): bump pytest from 8.4.2 to 9.0.3 Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.4.2 to 9.0.3. - [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/8.4.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- poetry.lock | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/poetry.lock b/poetry.lock index 446c791b4..9db4a218a 100644 --- a/poetry.lock +++ b/poetry.lock @@ -2238,21 +2238,21 @@ diagrams = ["jinja2", "railroad-diagrams"] [[package]] name = "pytest" -version = "8.4.2" +version = "9.0.3" description = "pytest: simple powerful testing with Python" optional = false -python-versions = ">=3.9" +python-versions = ">=3.10" groups = ["dev"] files = [ - {file = "pytest-8.4.2-py3-none-any.whl", hash = "sha256:872f880de3fc3a5bdc88a11b39c9710c3497a547cfa9320bc3c5e62fbf272e79"}, - {file = "pytest-8.4.2.tar.gz", hash = "sha256:86c0d0b93306b961d58d62a4db4879f27fe25513d4b969df351abdddb3c30e01"}, + {file = "pytest-9.0.3-py3-none-any.whl", hash = "sha256:2c5efc453d45394fdd706ade797c0a81091eccd1d6e4bccfcd476e2b8e0ab5d9"}, + {file = "pytest-9.0.3.tar.gz", hash = "sha256:b86ada508af81d19edeb213c681b1d48246c1a91d304c6c81a427674c17eb91c"}, ] [package.dependencies] colorama = {version = ">=0.4", markers = "sys_platform == \"win32\""} exceptiongroup = {version = ">=1", markers = "python_version < \"3.11\""} -iniconfig = ">=1" -packaging = ">=20" +iniconfig = ">=1.0.1" +packaging = ">=22" pluggy = ">=1.5,<2" pygments = ">=2.7.2" tomli = {version = ">=1", markers = "python_version < \"3.11\""} From c014d7648ad9c0ba97615bae76a17b7d0c9036a2 Mon Sep 17 00:00:00 2001 From: collerek Date: Mon, 20 Apr 2026 11:22:49 +0200 Subject: [PATCH 2/2] fix marks on fixtures --- tests/test_databases/test_transaction_as_fixture.py | 1 - tests/test_queries/test_selecting_subset_of_columns.py | 1 - tests/test_queries/test_values_and_values_list.py | 1 - 3 files changed, 3 deletions(-) diff --git a/tests/test_databases/test_transaction_as_fixture.py b/tests/test_databases/test_transaction_as_fixture.py index 4d3b4bbd1..d7cdb140e 100644 --- a/tests/test_databases/test_transaction_as_fixture.py +++ b/tests/test_databases/test_transaction_as_fixture.py @@ -20,7 +20,6 @@ def anyio_backend(): return "asyncio" -@pytest.mark.anyio @pytest.fixture(scope="function", autouse=True) async def db_session(): async with base_ormar_config.database: diff --git a/tests/test_queries/test_selecting_subset_of_columns.py b/tests/test_queries/test_selecting_subset_of_columns.py index 748335963..e60aba841 100644 --- a/tests/test_queries/test_selecting_subset_of_columns.py +++ b/tests/test_queries/test_selecting_subset_of_columns.py @@ -57,7 +57,6 @@ class Car(ormar.Model): @pytest_asyncio.fixture(autouse=True, scope="module") -@pytest.mark.usefixtures("create_test_database") async def sample_data(): async with base_ormar_config.database: nick1 = await NickNames.objects.create(name="Nippon", is_lame=False) diff --git a/tests/test_queries/test_values_and_values_list.py b/tests/test_queries/test_values_and_values_list.py index 95d9bfdb7..cc7159b91 100644 --- a/tests/test_queries/test_values_and_values_list.py +++ b/tests/test_queries/test_values_and_values_list.py @@ -47,7 +47,6 @@ class Post(ormar.Model): @pytest_asyncio.fixture(autouse=True, scope="module") -@pytest.mark.usefixtures("create_test_database") async def sample_data(): async with base_ormar_config.database: creator = await User(name="Anonymous").save()