Skip to content

Commit 32704d2

Browse files
committed
build: Bump minimum supported pytest version to v7.3.0.
1 parent 25fdead commit 32704d2

File tree

6 files changed

+6
-8
lines changed

6 files changed

+6
-8
lines changed

dependencies/default/requirements.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Always adjust install_requires in setup.cfg and pytest-min-requirements.txt
22
# when changing runtime dependencies
3-
pytest >= 7.0.0,<9
3+
pytest >= 7.3.0,<9

dependencies/pytest-min/constraints.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ packaging==23.2
1414
pluggy==1.3.0
1515
py==1.11.0
1616
Pygments==2.16.1
17-
pytest==7.0.0
17+
pytest==7.2.0
1818
requests==2.31.0
1919
sortedcontainers==2.4.0
2020
tomli==2.0.1
+1-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# Always adjust install_requires in setup.cfg and requirements.txt
22
# when changing minimum version dependencies
3-
pytest[testing] == 7.0.0
3+
pytest[testing] == 7.3.0

docs/source/reference/changelog.rst

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Changelog
88
- Deprecates the optional `scope` keyword argument to `pytest.mark.asyncio` for API consistency with ``pytest_asyncio.fixture``. Users are encouraged to use the `loop_scope` keyword argument, which does exactly the same.
99
- Raises an error when passing `scope` or `loop_scope` as a positional argument to ``@pytest.mark.asyncio``. `#812 <https://github.com/pytest-dev/pytest-asyncio/issues/812>`_
1010
- Fixes a bug that caused module-scoped async fixtures to fail when reused in other modules `#862 <https://github.com/pytest-dev/pytest-asyncio/issues/862>`_ `#668 <https://github.com/pytest-dev/pytest-asyncio/issues/668>`_
11+
- Updated minimum supported pytest version to v7.3.0
1112

1213

1314
0.23.8 (2024-07-17)

setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ include_package_data = True
4141

4242
# Always adjust requirements.txt and pytest-min-requirements.txt when changing runtime dependencies
4343
install_requires =
44-
pytest >= 7.0.0,<9
44+
pytest >= 7.3.0,<9
4545

4646
[options.extras_require]
4747
testing =

tests/test_is_async_test.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -74,10 +74,7 @@ def pytest_collection_modifyitems(items):
7474
)
7575
)
7676
result = pytester.runpytest("--asyncio-mode=strict")
77-
if pytest.version_tuple < (7, 2):
78-
# Probably related to https://github.com/pytest-dev/pytest/pull/10012
79-
result.assert_outcomes(failed=1)
80-
elif pytest.version_tuple < (8,):
77+
if pytest.version_tuple < (8,):
8178
result.assert_outcomes(skipped=1)
8279
else:
8380
result.assert_outcomes(failed=1)

0 commit comments

Comments
 (0)