From 619bfae5b164820038a45d1ba3ab9ed5f3f32714 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 18:20:08 +0000 Subject: [PATCH 01/31] --- updated-dependencies: - dependency-name: requests dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/docs/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/docs/constraints.txt b/dependencies/docs/constraints.txt index 966b8034..c7c2882f 100644 --- a/dependencies/docs/constraints.txt +++ b/dependencies/docs/constraints.txt @@ -9,7 +9,7 @@ Jinja2==3.1.4 MarkupSafe==2.1.5 packaging==24.0 Pygments==2.18.0 -requests==2.31.0 +requests==2.32.0 snowballstemmer==2.2.0 Sphinx==7.3.7 sphinx-rtd-theme==2.0.0 From eccb40495f1a2efcb2a60d17a708e30942149135 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 18:07:48 +0000 Subject: [PATCH 02/31] Build(deps): Bump pytest from 8.2.0 to 8.2.1 in /dependencies/default Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.0 to 8.2.1. - [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.2.0...8.2.1) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 209bbcd2..658e2571 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -5,7 +5,7 @@ hypothesis==6.102.0 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 -pytest==8.2.0 +pytest==8.2.1 sortedcontainers==2.4.0 tomli==2.0.1 typing_extensions==4.11.0 From 2bfffea3a8eb615a934d6ab175804e28ee9edb60 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 20 May 2024 18:07:42 +0000 Subject: [PATCH 03/31] Build(deps): Bump hypothesis in /dependencies/default Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.102.0 to 6.102.4. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.102.0...hypothesis-python-6.102.4) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 658e2571..02215525 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.1 exceptiongroup==1.2.1 -hypothesis==6.102.0 +hypothesis==6.102.4 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From 70e0d27d88f5cb312ae701db8b6347bddf5b5a61 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:22:50 +0000 Subject: [PATCH 04/31] Build(deps): Bump coverage from 7.5.1 to 7.5.3 in /dependencies/default Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.1 to 7.5.3. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.1...7.5.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 02215525..5c19a630 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.1 +coverage==7.5.3 exceptiongroup==1.2.1 hypothesis==6.102.4 iniconfig==2.0.0 From ee825389d7264ec7440cd8558348813b409c438f Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:22:58 +0000 Subject: [PATCH 05/31] Build(deps): Bump hypothesis in /dependencies/default Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.102.4 to 6.103.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.102.4...hypothesis-python-6.103.0) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 5c19a630..a1458ca9 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.3 exceptiongroup==1.2.1 -hypothesis==6.102.4 +hypothesis==6.103.0 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From 4a531134b2e8f3b35093083cea155989b9acce82 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:22:43 +0000 Subject: [PATCH 06/31] Build(deps): Bump typing-extensions in /dependencies/default Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.11.0 to 4.12.1. - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](https://github.com/python/typing_extensions/compare/4.11.0...4.12.1) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index a1458ca9..80635873 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -8,4 +8,4 @@ pluggy==1.5.0 pytest==8.2.1 sortedcontainers==2.4.0 tomli==2.0.1 -typing_extensions==4.11.0 +typing_extensions==4.12.1 From 685790bd1d8036f66b12e2b31f39851501437931 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:11:59 +0000 Subject: [PATCH 07/31] Build(deps): Bump requests from 2.32.0 to 2.32.3 in /dependencies/docs Bumps [requests](https://github.com/psf/requests) from 2.32.0 to 2.32.3. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.32.0...v2.32.3) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/docs/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/docs/constraints.txt b/dependencies/docs/constraints.txt index c7c2882f..7e47b840 100644 --- a/dependencies/docs/constraints.txt +++ b/dependencies/docs/constraints.txt @@ -9,7 +9,7 @@ Jinja2==3.1.4 MarkupSafe==2.1.5 packaging==24.0 Pygments==2.18.0 -requests==2.32.0 +requests==2.32.3 snowballstemmer==2.2.0 Sphinx==7.3.7 sphinx-rtd-theme==2.0.0 From 9e254b4779a0fd37279d010db346e0d30a95e353 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 3 Jun 2024 18:11:54 +0000 Subject: [PATCH 08/31] Build(deps): Bump certifi in /dependencies/docs Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.6.2. - [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.06.02) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/docs/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/docs/constraints.txt b/dependencies/docs/constraints.txt index 7e47b840..176ef20d 100644 --- a/dependencies/docs/constraints.txt +++ b/dependencies/docs/constraints.txt @@ -1,6 +1,6 @@ alabaster==0.7.16 Babel==2.15.0 -certifi==2024.2.2 +certifi==2024.6.2 charset-normalizer==3.3.2 docutils==0.18.1 idna==3.7 From f6a841e61e1d84a912a647b9dbf628781fbe925c Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Wed, 26 Jun 2024 07:19:49 +0200 Subject: [PATCH 09/31] Create SECURITY.rst --- SECURITY.rst | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 SECURITY.rst diff --git a/SECURITY.rst b/SECURITY.rst new file mode 100644 index 00000000..cebe85ad --- /dev/null +++ b/SECURITY.rst @@ -0,0 +1,4 @@ +Security contact information +============================ + +To report a security vulnerability, please use the `Tidelift security contact. `__ Tidelift will coordinate the fix and disclosure. From 16696f1f37341116e9bffa7b89e618c90d497273 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 18:50:58 +0000 Subject: [PATCH 10/31] Build(deps): Bump coverage from 7.5.3 to 7.5.4 in /dependencies/default Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.3 to 7.5.4. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.3...7.5.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 80635873..f88222e4 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.3 +coverage==7.5.4 exceptiongroup==1.2.1 hypothesis==6.103.0 iniconfig==2.0.0 From 15de696110a537d594bf471017e8efc6393f8f93 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 24 Jun 2024 18:51:08 +0000 Subject: [PATCH 11/31] Build(deps): Bump hypothesis in /dependencies/default Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.103.0 to 6.103.5. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.103.0...hypothesis-python-6.103.5) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index f88222e4..a8bf1314 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.4 exceptiongroup==1.2.1 -hypothesis==6.103.0 +hypothesis==6.103.5 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 From b9a9381c7473d8f493fd74a59d27c94b134b201a Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 18:50:51 +0000 Subject: [PATCH 12/31] Build(deps): Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0. - [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases) - [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.8.14...v1.9.0) --- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4f435f11..194d9636 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -149,7 +149,7 @@ jobs: run: | pandoc -s -o README.md README.rst - name: PyPI upload - uses: pypa/gh-action-pypi-publish@v1.8.14 + uses: pypa/gh-action-pypi-publish@v1.9.0 with: packages-dir: dist password: ${{ secrets.PYPI_API_TOKEN }} From 392d2690dda1ae4c469341aadb9120b35fa9029d Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 17 Jun 2024 18:18:49 +0000 Subject: [PATCH 13/31] Build(deps): Bump urllib3 from 2.2.1 to 2.2.2 in /dependencies/docs Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/urllib3/urllib3/releases) - [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst) - [Commits](https://github.com/urllib3/urllib3/compare/2.2.1...2.2.2) --- updated-dependencies: - dependency-name: urllib3 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/docs/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/docs/constraints.txt b/dependencies/docs/constraints.txt index 176ef20d..b6e93652 100644 --- a/dependencies/docs/constraints.txt +++ b/dependencies/docs/constraints.txt @@ -20,4 +20,4 @@ sphinxcontrib-jquery==4.1 sphinxcontrib-jsmath==1.0.1 sphinxcontrib-qthelp==1.0.7 sphinxcontrib-serializinghtml==1.1.10 -urllib3==2.2.1 +urllib3==2.2.2 From 316cdfa3c953cf93904aaea364bd0e60fcfa3fb1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:19:23 +0000 Subject: [PATCH 14/31] Build(deps): Bump packaging from 24.0 to 24.1 in /dependencies/docs Bumps [packaging](https://github.com/pypa/packaging) from 24.0 to 24.1. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/24.0...24.1) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/docs/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/docs/constraints.txt b/dependencies/docs/constraints.txt index b6e93652..b9972199 100644 --- a/dependencies/docs/constraints.txt +++ b/dependencies/docs/constraints.txt @@ -7,7 +7,7 @@ idna==3.7 imagesize==1.4.1 Jinja2==3.1.4 MarkupSafe==2.1.5 -packaging==24.0 +packaging==24.1 Pygments==2.18.0 requests==2.32.3 snowballstemmer==2.2.0 From 0d4336e2d9f0cdda6d644ccf1758e58b252c58eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:59:21 +0000 Subject: [PATCH 15/31] Build(deps): Bump pytest from 8.2.1 to 8.2.2 in /dependencies/default Bumps [pytest](https://github.com/pytest-dev/pytest) from 8.2.1 to 8.2.2. - [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.2.1...8.2.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index a8bf1314..16cb512c 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -5,7 +5,7 @@ hypothesis==6.103.5 iniconfig==2.0.0 packaging==24.0 pluggy==1.5.0 -pytest==8.2.1 +pytest==8.2.2 sortedcontainers==2.4.0 tomli==2.0.1 typing_extensions==4.12.1 From 4dad29ab6831a081c0bd5f686d2f047964db7b7e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:59:24 +0000 Subject: [PATCH 16/31] Build(deps): Bump typing-extensions in /dependencies/default Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.12.1 to 4.12.2. - [Release notes](https://github.com/python/typing_extensions/releases) - [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md) - [Commits](https://github.com/python/typing_extensions/compare/4.12.1...4.12.2) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 16cb512c..b766bdc0 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -8,4 +8,4 @@ pluggy==1.5.0 pytest==8.2.2 sortedcontainers==2.4.0 tomli==2.0.1 -typing_extensions==4.12.1 +typing_extensions==4.12.2 From d8e01c4c3c5193217e71255a48a5eca7e8fac0c1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 10 Jun 2024 18:59:28 +0000 Subject: [PATCH 17/31] Build(deps): Bump packaging from 24.0 to 24.1 in /dependencies/default Bumps [packaging](https://github.com/pypa/packaging) from 24.0 to 24.1. - [Release notes](https://github.com/pypa/packaging/releases) - [Changelog](https://github.com/pypa/packaging/blob/main/CHANGELOG.rst) - [Commits](https://github.com/pypa/packaging/compare/24.0...24.1) --- updated-dependencies: - dependency-name: packaging dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index b766bdc0..a96bcdc0 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -3,7 +3,7 @@ coverage==7.5.4 exceptiongroup==1.2.1 hypothesis==6.103.5 iniconfig==2.0.0 -packaging==24.0 +packaging==24.1 pluggy==1.5.0 pytest==8.2.2 sortedcontainers==2.4.0 From 734fdb0476591c9ce7a82509e334e924920b2a43 Mon Sep 17 00:00:00 2001 From: Tamir Duberstein Date: Mon, 24 Jun 2024 12:44:33 -0400 Subject: [PATCH 18/31] Use pytest's FixtureDef type --- pytest_asyncio/plugin.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pytest_asyncio/plugin.py b/pytest_asyncio/plugin.py index 7dbb238d..cd4c4ede 100644 --- a/pytest_asyncio/plugin.py +++ b/pytest_asyncio/plugin.py @@ -61,8 +61,11 @@ FixtureFunction = Union[SimpleFixtureFunction, FactoryFixtureFunction] FixtureFunctionMarker = Callable[[FixtureFunction], FixtureFunction] -# https://github.com/pytest-dev/pytest/pull/9510 -FixtureDef = Any +# https://github.com/pytest-dev/pytest/commit/fb55615d5e999dd44306596f340036c195428ef1 +if pytest.version_tuple < (8, 0): + FixtureDef = Any +else: + from pytest import FixtureDef class PytestAsyncioError(Exception): @@ -315,7 +318,7 @@ def _wrap_asyncgen_fixture(fixturedef: FixtureDef, event_loop_fixture_id: str) - @functools.wraps(fixture) def _asyncgen_fixture_wrapper(request: FixtureRequest, **kwargs: Any): - unittest = False if pytest.version_tuple >= (8, 2) else fixturedef.unittest + unittest = fixturedef.unittest if hasattr(fixturedef, "unittest") else False func = _perhaps_rebind_fixture_func(fixture, request.instance, unittest) event_loop = kwargs.pop(event_loop_fixture_id) gen_obj = func( From 65aa4410b195d6e433cef902c0a27b70b473233b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 1 Jul 2024 18:31:58 +0000 Subject: [PATCH 19/31] Build(deps): Bump hypothesis in /dependencies/default Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.103.5 to 6.104.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.103.5...hypothesis-python-6.104.2) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index a96bcdc0..b421e59b 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.4 exceptiongroup==1.2.1 -hypothesis==6.103.5 +hypothesis==6.104.2 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From b77bff41c0f6ad76c5393392d87b5a640eb29625 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Mon, 29 Apr 2024 14:39:19 +0200 Subject: [PATCH 20/31] [docs] Added changelog entry for v0.21.2. Signed-off-by: Michael Seifert --- docs/source/reference/changelog.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/source/reference/changelog.rst b/docs/source/reference/changelog.rst index bdec69db..a55fb9a8 100644 --- a/docs/source/reference/changelog.rst +++ b/docs/source/reference/changelog.rst @@ -84,6 +84,10 @@ This release has been yanked from PyPI due to fundamental issues with the _async - Remove support for Python 3.7 - Declare support for Python 3.12 +0.21.2 (2024-04-29) +=================== +- Fix compatibility with pytest 8.2. Backport of `#800 `_ to pytest-asyncio v0.21 for users who are unable to upgrade to a more recent version (see `#706`_) + 0.21.1 (2023-07-12) =================== - Output a proper error message when an invalid ``asyncio_mode`` is selected. From 81c503271a1e9923be6624bd26d150a18b10d952 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Thu, 4 Jul 2024 10:17:56 +0200 Subject: [PATCH 21/31] [test] Run some tests in a Pytester subprocess to avoid PytestAssertRewriteWarning. Signed-off-by: Michael Seifert --- tests/hypothesis/test_base.py | 4 ++-- tests/markers/test_function_scope.py | 2 +- tests/markers/test_module_scope.py | 2 +- tests/modes/test_strict_mode.py | 4 ++-- tests/test_asyncio_mark.py | 14 +++++++------- tests/test_event_loop_fixture_finalizer.py | 6 +++--- ...test_event_loop_fixture_override_deprecation.py | 8 ++++---- tests/test_explicit_event_loop_fixture_request.py | 10 +++++----- 8 files changed, 25 insertions(+), 25 deletions(-) diff --git a/tests/hypothesis/test_base.py b/tests/hypothesis/test_base.py index fa12f2b3..2d2171bd 100644 --- a/tests/hypothesis/test_base.py +++ b/tests/hypothesis/test_base.py @@ -23,7 +23,7 @@ async def test_mark_inner(n): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1) @@ -67,7 +67,7 @@ async def test_explicit_fixture_request(event_loop, n): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=2) result.stdout.fnmatch_lines( [ diff --git a/tests/markers/test_function_scope.py b/tests/markers/test_function_scope.py index 7a5f8533..2057a128 100644 --- a/tests/markers/test_function_scope.py +++ b/tests/markers/test_function_scope.py @@ -43,7 +43,7 @@ async def test_remember_loop(event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( '*is asynchronous and explicitly requests the "event_loop" fixture*' diff --git a/tests/markers/test_module_scope.py b/tests/markers/test_module_scope.py index 01fdc324..5cc6a2a7 100644 --- a/tests/markers/test_module_scope.py +++ b/tests/markers/test_module_scope.py @@ -48,7 +48,7 @@ def sample_fixture(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=2, warnings=2) result.stdout.fnmatch_lines( '*is asynchronous and explicitly requests the "event_loop" fixture*' diff --git a/tests/modes/test_strict_mode.py b/tests/modes/test_strict_mode.py index 3afc9f5b..220410be 100644 --- a/tests/modes/test_strict_mode.py +++ b/tests/modes/test_strict_mode.py @@ -79,7 +79,7 @@ async def test_anything(): """ ) ) - result = testdir.runpytest("--asyncio-mode=strict", "-W default") + result = testdir.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(skipped=1, warnings=1) result.stdout.fnmatch_lines(["*async def functions are not natively supported*"]) @@ -100,7 +100,7 @@ async def test_anything(any_fixture): """ ) ) - result = testdir.runpytest("--asyncio-mode=strict", "-W default") + result = testdir.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(skipped=1, warnings=2) result.stdout.fnmatch_lines( [ diff --git a/tests/test_asyncio_mark.py b/tests/test_asyncio_mark.py index b514cbcd..20ac173d 100644 --- a/tests/test_asyncio_mark.py +++ b/tests/test_asyncio_mark.py @@ -15,7 +15,7 @@ def test_a(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1) result.stdout.fnmatch_lines( ["*is marked with '@pytest.mark.asyncio' but it is not an async function.*"] @@ -36,7 +36,7 @@ async def test_a(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(xfailed=1, warnings=1) result.stdout.fnmatch_lines( ["*Tests based on asynchronous generators are not supported*"] @@ -54,7 +54,7 @@ async def test_a(): """ ) ) - result = pytester.runpytest("--asyncio-mode=auto", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=auto", "-W default") result.assert_outcomes(xfailed=1, warnings=1) result.stdout.fnmatch_lines( ["*Tests based on asynchronous generators are not supported*"] @@ -76,7 +76,7 @@ async def test_a(self): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(xfailed=1, warnings=1) result.stdout.fnmatch_lines( ["*Tests based on asynchronous generators are not supported*"] @@ -96,7 +96,7 @@ async def test_a(): """ ) ) - result = pytester.runpytest("--asyncio-mode=auto", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=auto", "-W default") result.assert_outcomes(xfailed=1, warnings=1) result.stdout.fnmatch_lines( ["*Tests based on asynchronous generators are not supported*"] @@ -119,7 +119,7 @@ async def test_a(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(xfailed=1, warnings=1) result.stdout.fnmatch_lines( ["*Tests based on asynchronous generators are not supported*"] @@ -139,7 +139,7 @@ async def test_a(): """ ) ) - result = pytester.runpytest("--asyncio-mode=auto", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=auto", "-W default") result.assert_outcomes(xfailed=1, warnings=1) result.stdout.fnmatch_lines( ["*Tests based on asynchronous generators are not supported*"] diff --git a/tests/test_event_loop_fixture_finalizer.py b/tests/test_event_loop_fixture_finalizer.py index eabb54a3..ae260261 100644 --- a/tests/test_event_loop_fixture_finalizer.py +++ b/tests/test_event_loop_fixture_finalizer.py @@ -84,7 +84,7 @@ async def test_async_with_explicit_fixture_request(event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( '*is asynchronous and explicitly requests the "event_loop" fixture*' @@ -113,7 +113,7 @@ async def test_ends_with_unclosed_loop(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W", "default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W", "default") result.assert_outcomes(passed=1, warnings=2) result.stdout.fnmatch_lines("*unclosed event loop*") @@ -135,6 +135,6 @@ async def test_ends_with_unclosed_loop(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W", "default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W", "default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines("*unclosed event loop*") diff --git a/tests/test_event_loop_fixture_override_deprecation.py b/tests/test_event_loop_fixture_override_deprecation.py index 45afc542..683f0963 100644 --- a/tests/test_event_loop_fixture_override_deprecation.py +++ b/tests/test_event_loop_fixture_override_deprecation.py @@ -22,7 +22,7 @@ async def test_emits_warning(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( ["*event_loop fixture provided by pytest-asyncio has been redefined*"] @@ -50,7 +50,7 @@ async def test_emits_warning_when_requested_explicitly(event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=2) result.stdout.fnmatch_lines( ["*event_loop fixture provided by pytest-asyncio has been redefined*"] @@ -80,7 +80,7 @@ def test_emits_no_warning(): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict") + result = pytester.runpytest_subprocess("--asyncio-mode=strict") result.assert_outcomes(passed=1, warnings=0) @@ -107,5 +107,5 @@ def test_emits_warning(uses_event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) diff --git a/tests/test_explicit_event_loop_fixture_request.py b/tests/test_explicit_event_loop_fixture_request.py index 4cac85f7..e09893fa 100644 --- a/tests/test_explicit_event_loop_fixture_request.py +++ b/tests/test_explicit_event_loop_fixture_request.py @@ -17,7 +17,7 @@ async def test_coroutine_emits_warning(event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( ['*is asynchronous and explicitly requests the "event_loop" fixture*'] @@ -39,7 +39,7 @@ async def test_coroutine_emits_warning(self, event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( ['*is asynchronous and explicitly requests the "event_loop" fixture*'] @@ -62,7 +62,7 @@ async def test_coroutine_emits_warning(event_loop): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( ['*is asynchronous and explicitly requests the "event_loop" fixture*'] @@ -88,7 +88,7 @@ async def test_uses_fixture(emits_warning): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( ['*is asynchronous and explicitly requests the "event_loop" fixture*'] @@ -114,7 +114,7 @@ async def test_uses_fixture(emits_warning): """ ) ) - result = pytester.runpytest("--asyncio-mode=strict", "-W default") + result = pytester.runpytest_subprocess("--asyncio-mode=strict", "-W default") result.assert_outcomes(passed=1, warnings=1) result.stdout.fnmatch_lines( ['*is asynchronous and explicitly requests the "event_loop" fixture*'] From b646cc18a222c8043433c38a42c07245fe9735ce Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sun, 19 May 2024 14:00:57 +0200 Subject: [PATCH 22/31] [fix] Fixed a bug that causes markers to be duplicated for async test functions. Signed-off-by: Michael Seifert --- docs/source/reference/changelog.rst | 9 ++++++++ pytest_asyncio/plugin.py | 3 ++- tests/markers/test_function_scope.py | 31 ++++++++++++++++++++++++++++ 3 files changed, 42 insertions(+), 1 deletion(-) diff --git a/docs/source/reference/changelog.rst b/docs/source/reference/changelog.rst index a55fb9a8..5f0de0a1 100644 --- a/docs/source/reference/changelog.rst +++ b/docs/source/reference/changelog.rst @@ -2,6 +2,15 @@ Changelog ========= +0.23.8 (UNRELEASED) +=================== +- Fixes a bug that caused duplicate markers in async tests `#813 `_ + +Known issues +------------ +As of v0.23, pytest-asyncio attaches an asyncio event loop to each item of the test suite (i.e. session, packages, modules, classes, functions) and allows tests to be run in those loops when marked accordingly. Pytest-asyncio currently assumes that async fixture scope is correlated with the new event loop scope. This prevents fixtures from being evaluated independently from the event loop scope and breaks some existing test suites (see `#706`_). For example, a test suite may require all fixtures and tests to run in the same event loop, but have async fixtures that are set up and torn down for each module. If you're affected by this issue, please continue using the v0.21 release, until it is resolved. + + 0.23.7 (2024-05-19) =================== - Silence deprecation warnings about unclosed event loops that occurred with certain CPython patch releases `#817 `_ diff --git a/pytest_asyncio/plugin.py b/pytest_asyncio/plugin.py index cd4c4ede..d3d1fcf7 100644 --- a/pytest_asyncio/plugin.py +++ b/pytest_asyncio/plugin.py @@ -405,7 +405,8 @@ def _from_function(cls, function: Function, /) -> Function: keywords=function.keywords, originalname=function.originalname, ) - subclass_instance.own_markers.extend(function.own_markers) + subclass_instance.own_markers = function.own_markers + assert subclass_instance.own_markers == function.own_markers subclassed_function_signature = inspect.signature(subclass_instance.obj) if "event_loop" in subclassed_function_signature.parameters: subclass_instance.warn( diff --git a/tests/markers/test_function_scope.py b/tests/markers/test_function_scope.py index 2057a128..eded4552 100644 --- a/tests/markers/test_function_scope.py +++ b/tests/markers/test_function_scope.py @@ -197,3 +197,34 @@ async def test_anything(): ) result = pytester.runpytest_subprocess("--asyncio-mode=strict") result.assert_outcomes(warnings=0, passed=1) + + +def test_asyncio_mark_does_not_duplicate_other_marks_in_auto_mode( + pytester: Pytester, +): + pytester.makeconftest( + dedent( + """\ + def pytest_configure(config): + config.addinivalue_line( + "markers", "dummy_marker: mark used for testing purposes" + ) + """ + ) + ) + pytester.makepyfile( + dedent( + """\ + import pytest + + @pytest.mark.dummy_marker + async def test_markers_not_duplicated(request): + markers = [] + for node, marker in request.node.iter_markers_with_node(): + markers.append(marker) + assert len(markers) == 2 + """ + ) + ) + result = pytester.runpytest_subprocess("--asyncio-mode=auto") + result.assert_outcomes(warnings=0, passed=1) From a89e4d7a899d7587e1efa6cafe9e181b3e2a1d69 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:27:51 +0000 Subject: [PATCH 23/31] Build(deps): Bump certifi in /dependencies/docs Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.6.2 to 2024.7.4. - [Commits](https://github.com/certifi/python-certifi/compare/2024.06.02...2024.07.04) --- updated-dependencies: - dependency-name: certifi dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/docs/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/docs/constraints.txt b/dependencies/docs/constraints.txt index b9972199..4c187a1e 100644 --- a/dependencies/docs/constraints.txt +++ b/dependencies/docs/constraints.txt @@ -1,6 +1,6 @@ alabaster==0.7.16 Babel==2.15.0 -certifi==2024.6.2 +certifi==2024.7.4 charset-normalizer==3.3.2 docutils==0.18.1 idna==3.7 From d572138e097f493c07c84151649d191df5e09ee0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:13:17 +0000 Subject: [PATCH 24/31] Build(deps): Bump hypothesis in /dependencies/default Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.104.2 to 6.105.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.104.2...hypothesis-python-6.105.1) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index b421e59b..ebe99207 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.4 exceptiongroup==1.2.1 -hypothesis==6.104.2 +hypothesis==6.105.1 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From 91171b41c2bd6714955cd3d72e07bd9091f909e2 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sat, 13 Jul 2024 21:28:02 +0200 Subject: [PATCH 25/31] ci: Test with CPython 3.13. --- .github/workflows/main.yml | 2 +- tox.ini | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 194d9636..620a65cc 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -62,7 +62,7 @@ jobs: strategy: matrix: os: [ubuntu, windows] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 3.13.0-beta.3] steps: - uses: actions/checkout@v4 diff --git a/tox.ini b/tox.ini index 7bab7350..665c2fff 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.14.0 -envlist = py38, py39, py310, py311, py312, pytest-min, docs +envlist = py38, py39, py310, py311, py312, py13, pytest-min, docs isolated_build = true passenv = CI @@ -42,4 +42,5 @@ python = 3.10: py310 3.11: py311 3.12: py312 + 3.13: py313 pypy3: pypy3 From b735e8a8ef3118109521c7b058596cf7decb03d0 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sat, 13 Jul 2024 21:47:18 +0200 Subject: [PATCH 26/31] build: Remove development dependency on Docker. Removes the actionlint-docker pre-commit hook, which requires Docker to be set up on the development machine. Given that the pre-commit hooks already lint yaml files and that the GitHub actions are run for every PR, the Docker dependency seems unreasonable. --- .pre-commit-config.yaml | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index ee649b19..f83159c1 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -52,22 +52,10 @@ repos: rev: v1.9.0 hooks: - id: python-use-type-annotations -- repo: https://github.com/rhysd/actionlint - rev: v1.6.22 - hooks: - - id: actionlint-docker - args: - - -ignore - - 'SC2155:' - - -ignore - - 'SC2086:' - - -ignore - - 'SC1004:' - repo: https://github.com/sirosen/check-jsonschema rev: 0.19.2 hooks: - id: check-github-actions ci: skip: - - actionlint-docker - check-github-actions From 5c40a1cf8b6f47f47596fcf1117420585517c627 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 18:24:21 +0000 Subject: [PATCH 27/31] Build(deps): Bump hypothesis in /dependencies/default Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.105.1 to 6.108.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.105.1...hypothesis-python-6.108.2) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index ebe99207..2969e52d 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,7 +1,7 @@ attrs==23.2.0 coverage==7.5.4 exceptiongroup==1.2.1 -hypothesis==6.105.1 +hypothesis==6.108.2 iniconfig==2.0.0 packaging==24.1 pluggy==1.5.0 From c747c7db7837d7cb7fef029af92092e20759e217 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 15 Jul 2024 18:24:26 +0000 Subject: [PATCH 28/31] Build(deps): Bump coverage from 7.5.4 to 7.6.0 in /dependencies/default Bumps [coverage](https://github.com/nedbat/coveragepy) from 7.5.4 to 7.6.0. - [Release notes](https://github.com/nedbat/coveragepy/releases) - [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst) - [Commits](https://github.com/nedbat/coveragepy/compare/7.5.4...7.6.0) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index 2969e52d..ddbaef42 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,5 +1,5 @@ attrs==23.2.0 -coverage==7.5.4 +coverage==7.6.0 exceptiongroup==1.2.1 hypothesis==6.108.2 iniconfig==2.0.0 From b0009ca36ad66ec0bf40b2ad97edaa96fa39e510 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Mon, 15 Jul 2024 16:48:52 +0200 Subject: [PATCH 29/31] [build] Declare support for Python 3.13. Signed-off-by: Michael Seifert --- docs/source/reference/changelog.rst | 1 + setup.cfg | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/source/reference/changelog.rst b/docs/source/reference/changelog.rst index 5f0de0a1..a46813da 100644 --- a/docs/source/reference/changelog.rst +++ b/docs/source/reference/changelog.rst @@ -5,6 +5,7 @@ Changelog 0.23.8 (UNRELEASED) =================== - Fixes a bug that caused duplicate markers in async tests `#813 `_ +- Declare support for Python 3.13 Known issues ------------ diff --git a/setup.cfg b/setup.cfg index 9fba05ae..9947cbe3 100644 --- a/setup.cfg +++ b/setup.cfg @@ -26,6 +26,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Topic :: Software Development :: Testing From 74b3a0a2057b6faaaf2dfc2d1de785abcf145bcb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 16 Jul 2024 10:34:43 +0000 Subject: [PATCH 30/31] Build(deps): Bump exceptiongroup in /dependencies/default Bumps [exceptiongroup](https://github.com/agronholm/exceptiongroup) from 1.2.1 to 1.2.2. - [Release notes](https://github.com/agronholm/exceptiongroup/releases) - [Changelog](https://github.com/agronholm/exceptiongroup/blob/main/CHANGES.rst) - [Commits](https://github.com/agronholm/exceptiongroup/compare/1.2.1...1.2.2) --- updated-dependencies: - dependency-name: exceptiongroup dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- dependencies/default/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt index ddbaef42..2ccf269e 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,6 +1,6 @@ attrs==23.2.0 coverage==7.6.0 -exceptiongroup==1.2.1 +exceptiongroup==1.2.2 hypothesis==6.108.2 iniconfig==2.0.0 packaging==24.1 From 4be86a5174f864f6098872fc9fdf0a557a1b50f8 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Wed, 17 Jul 2024 19:30:38 +0200 Subject: [PATCH 31/31] docs: Prepare release of v0.23.8. --- docs/source/reference/changelog.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/reference/changelog.rst b/docs/source/reference/changelog.rst index a46813da..b62e5114 100644 --- a/docs/source/reference/changelog.rst +++ b/docs/source/reference/changelog.rst @@ -2,7 +2,7 @@ Changelog ========= -0.23.8 (UNRELEASED) +0.23.8 (2024-07-17) =================== - Fixes a bug that caused duplicate markers in async tests `#813 `_ - Declare support for Python 3.13