From 5a3ca7b7c9eeb9f077446b9bf37f237cc1fbcec1 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Tue, 5 Apr 2022 16:13:21 +0200 Subject: [PATCH 01/50] build: Bumped pre-commit-hook-yamlfmt to v0.1.1. (#318) v0.1.1 fixes an incompatibility with setuptools-61.1.0 see https://github.com/jumanjihouse/pre-commit-hook-yamlfmt/issues/29 --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index bf5f9e2c..8c15003b 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -21,7 +21,7 @@ repos: - markdown - rst - repo: https://github.com/jumanjihouse/pre-commit-hook-yamlfmt - rev: 0.1.0 + rev: 0.1.1 hooks: - id: yamlfmt args: [--mapping, '2', --sequence, '2', --offset, '0'] From a23fb973e8a8fbc428a92c41ae74189c6a70e370 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Tue, 5 Apr 2022 16:19:10 +0200 Subject: [PATCH 02/50] Remove setup.py (#315) * build: Remove deprecated setup.py. setup.py is no longer necessary when the project is installed with a PEP 517 compatible build. Pip has support for PEP 517 since v19.0. The setuptools documentation warns about removing setup.py when editable installations need to be possible. This shouldn't be an issue since editable installations are still possible with pip v21.1 or newer. [1] I don't think a bump of the minimal setuptools version is necessary for this change. Closes #283 [1] https://pip.pypa.io/en/stable/news/#v21-1 Signed-off-by: Michael Seifert * docs: Added changelog entry about removal of setup.py. Signed-off-by: Michael Seifert --- CHANGELOG.rst | 4 ++++ setup.py | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) delete mode 100644 setup.py diff --git a/CHANGELOG.rst b/CHANGELOG.rst index bb10c006..3e7994bb 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,6 +2,10 @@ Changelog ========= +UNRELEASED +================= +- Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 `_ + 0.18.3 (22-03-25) ================= - Adds `pytest-trio `_ to the test dependencies diff --git a/setup.py b/setup.py deleted file mode 100644 index 7f1a1763..00000000 --- a/setup.py +++ /dev/null @@ -1,4 +0,0 @@ -from setuptools import setup - -if __name__ == "__main__": - setup() From 31275681268dae2e529d4014fb87ade3773803ef Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 9 Apr 2022 12:56:15 +0200 Subject: [PATCH 03/50] Bump actions/download-artifact from 2 to 3 (#320) Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 2 to 3. - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/download-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .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 9036f312..6adc3a23 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -107,7 +107,7 @@ jobs: with: fetch-depth: 0 - name: Download distributions - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: dist path: dist From 957ff441e09050e5b10211e5ac4d8e883e47641e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 9 Apr 2022 12:56:33 +0200 Subject: [PATCH 04/50] Bump actions/upload-artifact from 2 to 3 (#319) Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 2 to 3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2...v3) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .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 6adc3a23..a3c01858 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -42,7 +42,7 @@ jobs: id: version run: tox -e version-info - name: Upload artifacts - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 with: name: dist path: dist From 562925390fc28c29ac6c69e8deb9477bae014de5 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sat, 9 Apr 2022 14:20:46 +0200 Subject: [PATCH 05/50] Pin runtime and test dependencies (#316) * build: Extracted runtime dependencies finto requirements.txt. Signed-off-by: Michael Seifert * build: Removed upper version bound on pytest dependency. Constrained pytest to v7.1.1. Signed-off-by: Michael Seifert * build: Added version constraints for transitive dependencies of the "testing" extra. Signed-off-by: Michael Seifert * build: Added version constraints for dependencies to the "pytest-min" tox environment. Signed-off-by: Michael Seifert * build: Extracted runtime dependencies from pytest-min tox environment into the file pytest-min-requirements.txt. Signed-off-by: Michael Seifert * build: Added missing explicit dependency on typing-extensions to pytest-min-requirements. Signed-off-by: Michael Seifert * ci: Move different sets of constraint and requirement files to different directories. This allows Dependabot to update both dependency sets independently. Signed-off-by: Michael Seifert * build: Removed upper bound on the mypy version installed by the "testing" extra. Adjusted constraints accordingly. Signed-off-by: Michael Seifert * build: Removed upper bound on the coverage version installed by the "testing" extra. Adjusted constraints accordingly. Signed-off-by: Michael Seifert --- .github/dependabot.yml | 10 ++++++++-- dependencies/default/constraints.txt | 24 ++++++++++++++++++++++++ dependencies/default/requirements.txt | 4 ++++ dependencies/pytest-min/constraints.txt | 22 ++++++++++++++++++++++ dependencies/pytest-min/requirements.txt | 4 ++++ setup.cfg | 5 +++-- tox.ini | 6 ++++-- 7 files changed, 69 insertions(+), 6 deletions(-) create mode 100644 dependencies/default/constraints.txt create mode 100644 dependencies/default/requirements.txt create mode 100644 dependencies/pytest-min/constraints.txt create mode 100644 dependencies/pytest-min/requirements.txt diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 9179b31d..caab31bf 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -2,9 +2,15 @@ version: 2 updates: - package-ecosystem: pip - directory: / + directory: /dependencies/default schedule: - interval: daily + interval: weekly + open-pull-requests-limit: 10 + target-branch: master +- package-ecosystem: pip + directory: /dependencies/pytest-min + schedule: + interval: weekly open-pull-requests-limit: 10 target-branch: master - package-ecosystem: github-actions diff --git a/dependencies/default/constraints.txt b/dependencies/default/constraints.txt new file mode 100644 index 00000000..a9a0844c --- /dev/null +++ b/dependencies/default/constraints.txt @@ -0,0 +1,24 @@ +async-generator==1.10 +attrs==21.4.0 +coverage==6.3.2 +flaky==3.7.0 +hypothesis==6.39.6 +idna==3.3 +importlib-metadata==4.11.3 +iniconfig==1.1.1 +mypy==0.942 +mypy-extensions==0.4.3 +outcome==1.1.0 +packaging==21.3 +pluggy==1.0.0 +py==1.11.0 +pyparsing==3.0.7 +pytest==7.1.1 +pytest-trio==0.7.0 +sniffio==1.2.0 +sortedcontainers==2.4.0 +tomli==2.0.1 +trio==0.20.0 +typed-ast==1.5.2 +typing_extensions==4.1.1 +zipp==3.7.0 diff --git a/dependencies/default/requirements.txt b/dependencies/default/requirements.txt new file mode 100644 index 00000000..01b2484e --- /dev/null +++ b/dependencies/default/requirements.txt @@ -0,0 +1,4 @@ +# Always adjust install_requires in setup.cfg and pytest-min-requirements.txt +# when changing runtime dependencies +pytest >= 6.1.0 +typing-extensions >= 3.7.2; python_version < "3.8" diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt new file mode 100644 index 00000000..e08c0f1b --- /dev/null +++ b/dependencies/pytest-min/constraints.txt @@ -0,0 +1,22 @@ +async-generator==1.10 +attrs==21.4.0 +coverage==6.3.2 +flaky==3.7.0 +hypothesis==6.39.6 +idna==3.3 +iniconfig==1.1.1 +mypy==0.942 +mypy-extensions==0.4.3 +outcome==1.1.0 +packaging==21.3 +pluggy==0.13.1 +py==1.11.0 +pyparsing==3.0.7 +pytest==6.1.0 +pytest-trio==0.7.0 +sniffio==1.2.0 +sortedcontainers==2.4.0 +toml==0.10.2 +tomli==2.0.1 +trio==0.20.0 +typing_extensions==4.1.1 diff --git a/dependencies/pytest-min/requirements.txt b/dependencies/pytest-min/requirements.txt new file mode 100644 index 00000000..4fc6ef2f --- /dev/null +++ b/dependencies/pytest-min/requirements.txt @@ -0,0 +1,4 @@ +# Always adjust install_requires in setup.cfg and requirements.txt +# when changing minimum version dependencies +pytest == 6.1.0 +typing-extensions >= 3.7.2; python_version < "3.8" diff --git a/setup.cfg b/setup.cfg index 7b684e0f..a0e08d97 100644 --- a/setup.cfg +++ b/setup.cfg @@ -34,16 +34,17 @@ python_requires = >=3.7 packages = find: include_package_data = True +# Always adjust requirements.txt and pytest-min-requirements.txt when changing runtime dependencies install_requires = pytest >= 6.1.0 typing-extensions >= 3.7.2; python_version < "3.8" [options.extras_require] testing = - coverage==6.2 + coverage >= 6.2 hypothesis >= 5.7.1 flaky >= 3.5.0 - mypy == 0.931 + mypy >= 0.931 pytest-trio >= 0.7.0 [options.entry_points] diff --git a/tox.ini b/tox.ini index 00d45222..83cae521 100644 --- a/tox.ini +++ b/tox.ini @@ -8,7 +8,8 @@ passenv = [testenv] extras = testing deps = - pytest == 6.2.5 # required for Python 3.10, not bad for others + --requirement dependencies/default/requirements.txt + --constraint dependencies/default/constraints.txt commands = make test allowlist_externals = make @@ -16,7 +17,8 @@ allowlist_externals = [testenv:pytest-min] extras = testing deps = - pytest == 6.1.0 + --requirement dependencies/pytest-min/requirements.txt + --constraint dependencies/pytest-min/constraints.txt commands = make test allowlist_externals = make From 1a7030c6fa57c4b1c92268ec54f90c65c12ce825 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Apr 2022 21:57:35 +0200 Subject: [PATCH 06/50] Bump zipp from 3.7.0 to 3.8.0 in /dependencies/default (#321) Bumps [zipp](https://github.com/jaraco/zipp) from 3.7.0 to 3.8.0. - [Release notes](https://github.com/jaraco/zipp/releases) - [Changelog](https://github.com/jaraco/zipp/blob/main/CHANGES.rst) - [Commits](https://github.com/jaraco/zipp/compare/v3.7.0...v3.8.0) --- updated-dependencies: - dependency-name: zipp dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 a9a0844c..11b8e725 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -21,4 +21,4 @@ tomli==2.0.1 trio==0.20.0 typed-ast==1.5.2 typing_extensions==4.1.1 -zipp==3.7.0 +zipp==3.8.0 From 3e4029d5900ee616956739539b14a26203660ed4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Apr 2022 21:58:00 +0200 Subject: [PATCH 07/50] Bump hypothesis from 6.39.6 to 6.42.0 in /dependencies/default (#324) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.39.6 to 6.42.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.39.6...hypothesis-python-6.42.0) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 11b8e725..5181d741 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.39.6 +hypothesis==6.42.0 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 From a1877ec29406c5681812f4c907c23fca75a17bc1 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Apr 2022 21:58:28 +0200 Subject: [PATCH 08/50] Bump hypothesis from 6.39.6 to 6.42.0 in /dependencies/pytest-min (#322) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.39.6 to 6.42.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.39.6...hypothesis-python-6.42.0) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies/pytest-min/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt index e08c0f1b..7dc590a1 100644 --- a/dependencies/pytest-min/constraints.txt +++ b/dependencies/pytest-min/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.39.6 +hypothesis==6.42.0 idna==3.3 iniconfig==1.1.1 mypy==0.942 From 18304bb066380330f10b235cdaded6920e35b161 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 10 Apr 2022 22:04:32 +0200 Subject: [PATCH 09/50] Bump hypothesis from 6.42.0 to 6.42.2 in /dependencies/pytest-min (#326) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.42.0 to 6.42.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.42.0...hypothesis-python-6.42.2) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies/pytest-min/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt index 7dc590a1..f3c8abf7 100644 --- a/dependencies/pytest-min/constraints.txt +++ b/dependencies/pytest-min/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.42.0 +hypothesis==6.42.2 idna==3.3 iniconfig==1.1.1 mypy==0.942 From 42099399e04f323caa8902055fca76b21f1cb6bf Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 21:58:39 +0200 Subject: [PATCH 10/50] Bump pyparsing from 3.0.7 to 3.0.8 in /dependencies/default (#331) Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.0.7 to 3.0.8. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.0.7...pyparsing_3.0.8) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 5181d741..8e531b90 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -12,7 +12,7 @@ outcome==1.1.0 packaging==21.3 pluggy==1.0.0 py==1.11.0 -pyparsing==3.0.7 +pyparsing==3.0.8 pytest==7.1.1 pytest-trio==0.7.0 sniffio==1.2.0 From be6e20fe2d9fc76a970f8bd2fff37af08557f0f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 21:58:53 +0200 Subject: [PATCH 11/50] Bump pyparsing from 3.0.7 to 3.0.8 in /dependencies/pytest-min (#329) Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.0.7 to 3.0.8. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.0.7...pyparsing_3.0.8) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies/pytest-min/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt index f3c8abf7..18e01b07 100644 --- a/dependencies/pytest-min/constraints.txt +++ b/dependencies/pytest-min/constraints.txt @@ -11,7 +11,7 @@ outcome==1.1.0 packaging==21.3 pluggy==0.13.1 py==1.11.0 -pyparsing==3.0.7 +pyparsing==3.0.8 pytest==6.1.0 pytest-trio==0.7.0 sniffio==1.2.0 From d9b63fafcb1343284309f42c831f4372ca190bfc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 21:59:08 +0200 Subject: [PATCH 12/50] Bump hypothesis from 6.42.0 to 6.42.3 in /dependencies/default (#330) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.42.0 to 6.42.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.42.0...hypothesis-python-6.42.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 8e531b90..a93dc200 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.42.0 +hypothesis==6.42.3 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 From 06fa4097dc1445a166ce7169d81239740ef96dea Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 11 Apr 2022 21:59:17 +0200 Subject: [PATCH 13/50] Bump hypothesis from 6.42.2 to 6.42.3 in /dependencies/pytest-min (#328) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.42.2 to 6.42.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.42.2...hypothesis-python-6.42.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies/pytest-min/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt index 18e01b07..c2041cc4 100644 --- a/dependencies/pytest-min/constraints.txt +++ b/dependencies/pytest-min/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.42.2 +hypothesis==6.42.3 idna==3.3 iniconfig==1.1.1 mypy==0.942 From 523ff720a80a8b7042b769279bcfdeeb9085fbcd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 15:56:59 +0200 Subject: [PATCH 14/50] Bump typed-ast from 1.5.2 to 1.5.3 in /dependencies/default (#332) Bumps [typed-ast](https://github.com/python/typed_ast) from 1.5.2 to 1.5.3. - [Release notes](https://github.com/python/typed_ast/releases) - [Changelog](https://github.com/python/typed_ast/blob/master/release_process.md) - [Commits](https://github.com/python/typed_ast/compare/1.5.2...1.5.3) --- updated-dependencies: - dependency-name: typed-ast dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 a93dc200..1d1eeb57 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -19,6 +19,6 @@ sniffio==1.2.0 sortedcontainers==2.4.0 tomli==2.0.1 trio==0.20.0 -typed-ast==1.5.2 +typed-ast==1.5.3 typing_extensions==4.1.1 zipp==3.8.0 From 12c12229c4dc13d4de76c9ca4c4e379d1835511b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:00:13 +0200 Subject: [PATCH 15/50] Bump typing-extensions from 4.1.1 to 4.2.0 in /dependencies/pytest-min (#335) Bumps [typing-extensions](https://github.com/python/typing) from 4.1.1 to 4.2.0. - [Release notes](https://github.com/python/typing/releases) - [Changelog](https://github.com/python/typing/blob/master/typing_extensions/CHANGELOG.md) - [Commits](https://github.com/python/typing/compare/4.1.1...4.2.0) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies/pytest-min/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt index c2041cc4..fb4be3d2 100644 --- a/dependencies/pytest-min/constraints.txt +++ b/dependencies/pytest-min/constraints.txt @@ -19,4 +19,4 @@ sortedcontainers==2.4.0 toml==0.10.2 tomli==2.0.1 trio==0.20.0 -typing_extensions==4.1.1 +typing_extensions==4.2.0 From 0d7f43601bba1284e7ca94694622ef56cdd1227e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:00:35 +0200 Subject: [PATCH 16/50] Bump typing-extensions from 4.1.1 to 4.2.0 in /dependencies/default (#336) Bumps [typing-extensions](https://github.com/python/typing) from 4.1.1 to 4.2.0. - [Release notes](https://github.com/python/typing/releases) - [Changelog](https://github.com/python/typing/blob/master/typing_extensions/CHANGELOG.md) - [Commits](https://github.com/python/typing/compare/4.1.1...4.2.0) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 1d1eeb57..fff6d807 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -20,5 +20,5 @@ sortedcontainers==2.4.0 tomli==2.0.1 trio==0.20.0 typed-ast==1.5.3 -typing_extensions==4.1.1 +typing_extensions==4.2.0 zipp==3.8.0 From 81b45c2c768a1967e1fe06517e1c8945924032f0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:00:55 +0200 Subject: [PATCH 17/50] Bump hypothesis from 6.42.3 to 6.43.3 in /dependencies/default (#334) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.42.3 to 6.43.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.42.3...hypothesis-python-6.43.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 fff6d807..16aaf0b6 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.42.3 +hypothesis==6.43.3 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 From a31916df92e32d57bf0fbc85d2bd2812f97dc520 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 22 Apr 2022 16:01:04 +0200 Subject: [PATCH 18/50] Bump hypothesis from 6.42.3 to 6.43.3 in /dependencies/pytest-min (#333) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.42.3 to 6.43.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.42.3...hypothesis-python-6.43.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- dependencies/pytest-min/constraints.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dependencies/pytest-min/constraints.txt b/dependencies/pytest-min/constraints.txt index fb4be3d2..33f7948f 100644 --- a/dependencies/pytest-min/constraints.txt +++ b/dependencies/pytest-min/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.42.3 +hypothesis==6.43.3 idna==3.3 iniconfig==1.1.1 mypy==0.942 From e6f2f96700f63543ea9316035db6bc8a04b59397 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Mon, 2 May 2022 20:36:18 +0200 Subject: [PATCH 19/50] build: Stop bumping version requirements of pytest-min. There's no need to bump them, since the dependency set is only used for testing against the minimum supported pytest version. Disabling dependabot for the pytest-min dependencies will reduce the pull request noise. Signed-off-by: Michael Seifert --- .github/dependabot.yml | 6 ------ 1 file changed, 6 deletions(-) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index caab31bf..28b158af 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,12 +7,6 @@ updates: interval: weekly open-pull-requests-limit: 10 target-branch: master -- package-ecosystem: pip - directory: /dependencies/pytest-min - schedule: - interval: weekly - open-pull-requests-limit: 10 - target-branch: master - package-ecosystem: github-actions directory: / schedule: From 240ab5481082459a3179ea01bb8cb48dde614ed2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 20:38:21 +0200 Subject: [PATCH 20/50] Bump mypy from 0.942 to 0.950 in /dependencies/default (#347) Bumps [mypy](https://github.com/python/mypy) from 0.942 to 0.950. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.942...v0.950) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 16aaf0b6..860d0f23 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -6,7 +6,7 @@ hypothesis==6.43.3 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 -mypy==0.942 +mypy==0.950 mypy-extensions==0.4.3 outcome==1.1.0 packaging==21.3 From 981dda9eb475fad84b1afd0a93f73324393a89e0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 20:38:41 +0200 Subject: [PATCH 21/50] Bump hypothesis from 6.43.3 to 6.46.1 in /dependencies/default (#346) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.43.3 to 6.46.1. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.43.3...hypothesis-python-6.46.1) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 860d0f23..2cba29c9 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.43.3 +hypothesis==6.46.1 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 From 8ad296e33622a3171eb0ce60c19ada73740fc7ed Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 May 2022 20:46:44 +0200 Subject: [PATCH 22/50] Bump pytest from 7.1.1 to 7.1.2 in /dependencies/default (#342) Bumps [pytest](https://github.com/pytest-dev/pytest) from 7.1.1 to 7.1.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/7.1.1...7.1.2) --- updated-dependencies: - dependency-name: pytest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 2cba29c9..98c222b0 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -13,7 +13,7 @@ packaging==21.3 pluggy==1.0.0 py==1.11.0 pyparsing==3.0.8 -pytest==7.1.1 +pytest==7.1.2 pytest-trio==0.7.0 sniffio==1.2.0 sortedcontainers==2.4.0 From cf4a40c01b6aeb2d361f28adfb29e41d4ec657ad Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 12 May 2022 06:25:57 +0200 Subject: [PATCH 23/50] Bump hypothesis from 6.46.1 to 6.46.2 in /dependencies/default (#348) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.46.1 to 6.46.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.1...hypothesis-python-6.46.2) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 98c222b0..19b3a0c5 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.46.1 +hypothesis==6.46.2 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 From 7e0c09af1ea850a2e5821abef88deb4dac285a67 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 08:53:56 +0300 Subject: [PATCH 24/50] Bump hypothesis from 6.46.2 to 6.46.5 in /dependencies/default (#350) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.46.2 to 6.46.5. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.2...hypothesis-python-6.46.5) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 19b3a0c5..7a15d15c 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.2 flaky==3.7.0 -hypothesis==6.46.2 +hypothesis==6.46.5 idna==3.3 importlib-metadata==4.11.3 iniconfig==1.1.1 From ffde33bb305e9092937121a7cf4b150e7cf3294e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 08:54:20 +0300 Subject: [PATCH 25/50] Bump coverage from 6.3.2 to 6.3.3 in /dependencies/default (#351) Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.3.2 to 6.3.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/6.3.2...6.3.3) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 7a15d15c..296cf248 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,6 +1,6 @@ async-generator==1.10 attrs==21.4.0 -coverage==6.3.2 +coverage==6.3.3 flaky==3.7.0 hypothesis==6.46.5 idna==3.3 From 728b87e32852b7e58377483e7b988bff20977ac4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 17 May 2022 08:54:42 +0300 Subject: [PATCH 26/50] Bump pyparsing from 3.0.8 to 3.0.9 in /dependencies/default (#352) Bumps [pyparsing](https://github.com/pyparsing/pyparsing) from 3.0.8 to 3.0.9. - [Release notes](https://github.com/pyparsing/pyparsing/releases) - [Changelog](https://github.com/pyparsing/pyparsing/blob/master/CHANGES) - [Commits](https://github.com/pyparsing/pyparsing/compare/pyparsing_3.0.8...pyparsing_3.0.9) --- updated-dependencies: - dependency-name: pyparsing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 296cf248..c3dfc418 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -12,7 +12,7 @@ outcome==1.1.0 packaging==21.3 pluggy==1.0.0 py==1.11.0 -pyparsing==3.0.8 +pyparsing==3.0.9 pytest==7.1.2 pytest-trio==0.7.0 sniffio==1.2.0 From a45a845076d7644a4166e4c7887fc23c91c8c247 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 11:38:40 +0200 Subject: [PATCH 27/50] Bump typed-ast from 1.5.3 to 1.5.4 in /dependencies/default (#357) Bumps [typed-ast](https://github.com/python/typed_ast) from 1.5.3 to 1.5.4. - [Release notes](https://github.com/python/typed_ast/releases) - [Changelog](https://github.com/python/typed_ast/blob/master/release_process.md) - [Commits](https://github.com/python/typed_ast/compare/1.5.3...1.5.4) --- updated-dependencies: - dependency-name: typed-ast dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 c3dfc418..1f399d36 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -19,6 +19,6 @@ sniffio==1.2.0 sortedcontainers==2.4.0 tomli==2.0.1 trio==0.20.0 -typed-ast==1.5.3 +typed-ast==1.5.4 typing_extensions==4.2.0 zipp==3.8.0 From 8b5ce53cd1d8ed2b7d600dad6ec9c190bd6d9c55 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 11:41:47 +0200 Subject: [PATCH 28/50] Bump importlib-metadata from 4.11.3 to 4.11.4 in /dependencies/default (#356) Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.11.3 to 4.11.4. - [Release notes](https://github.com/python/importlib_metadata/releases) - [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst) - [Commits](https://github.com/python/importlib_metadata/compare/v4.11.3...v4.11.4) --- updated-dependencies: - dependency-name: importlib-metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 1f399d36..420c0387 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -4,7 +4,7 @@ coverage==6.3.3 flaky==3.7.0 hypothesis==6.46.5 idna==3.3 -importlib-metadata==4.11.3 +importlib-metadata==4.11.4 iniconfig==1.1.1 mypy==0.950 mypy-extensions==0.4.3 From 83c56c998793a18524af6e9a17b30ae1e8bdaee5 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 11:41:58 +0200 Subject: [PATCH 29/50] Bump hypothesis from 6.46.5 to 6.46.7 in /dependencies/default (#355) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.46.5 to 6.46.7. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.5...hypothesis-python-6.46.7) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 420c0387..564bf9d9 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.3.3 flaky==3.7.0 -hypothesis==6.46.5 +hypothesis==6.46.7 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From eb5d705315820346784128001b1ef5e6f9915b6e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 24 May 2022 11:42:22 +0200 Subject: [PATCH 30/50] Bump coverage from 6.3.3 to 6.4 in /dependencies/default (#354) Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.3.3 to 6.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/6.3.3...6.4) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 564bf9d9..cc910768 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,6 +1,6 @@ async-generator==1.10 attrs==21.4.0 -coverage==6.3.3 +coverage==6.4 flaky==3.7.0 hypothesis==6.46.7 idna==3.3 From 4922298ed5a61d77b526b35fd9d5838bf1752aa4 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Jun 2022 08:45:33 +0200 Subject: [PATCH 31/50] Bump hypothesis from 6.46.7 to 6.46.9 in /dependencies/default (#360) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.46.7 to 6.46.9. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.7...hypothesis-python-6.46.9) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 cc910768..a86d49bf 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4 flaky==3.7.0 -hypothesis==6.46.7 +hypothesis==6.46.9 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From 7e2f0cffb5382772b7b26eca840fb161df9c47bc Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sat, 4 Jun 2022 08:45:41 +0200 Subject: [PATCH 32/50] Bump mypy from 0.950 to 0.960 in /dependencies/default (#361) Bumps [mypy](https://github.com/python/mypy) from 0.950 to 0.960. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.950...v0.960) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 a86d49bf..c115c9fd 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -6,7 +6,7 @@ hypothesis==6.46.9 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 -mypy==0.950 +mypy==0.960 mypy-extensions==0.4.3 outcome==1.1.0 packaging==21.3 From 394fd54a4abaeb292fd0ac52a3348bbd69fc6df0 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:08:21 +0100 Subject: [PATCH 33/50] Bump mypy from 0.960 to 0.961 in /dependencies/default (#362) Bumps [mypy](https://github.com/python/mypy) from 0.960 to 0.961. - [Release notes](https://github.com/python/mypy/releases) - [Commits](https://github.com/python/mypy/compare/v0.960...v0.961) --- updated-dependencies: - dependency-name: mypy dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 c115c9fd..5801d5d9 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -6,7 +6,7 @@ hypothesis==6.46.9 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 -mypy==0.960 +mypy==0.961 mypy-extensions==0.4.3 outcome==1.1.0 packaging==21.3 From c060bbd10214afc34eae7394cf00866400d3a58b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:08:45 +0100 Subject: [PATCH 34/50] Bump hypothesis from 6.46.9 to 6.46.11 in /dependencies/default (#363) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.46.9 to 6.46.11. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.9...hypothesis-python-6.46.11) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 5801d5d9..ee08f281 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4 flaky==3.7.0 -hypothesis==6.46.9 +hypothesis==6.46.11 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From 090e80b05272cb50af31b49b4d52e9f2d69a6e59 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 8 Jun 2022 20:09:07 +0100 Subject: [PATCH 35/50] Bump coverage from 6.4 to 6.4.1 in /dependencies/default (#364) Bumps [coverage](https://github.com/nedbat/coveragepy) from 6.4 to 6.4.1. - [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/6.4...6.4.1) --- updated-dependencies: - dependency-name: coverage dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 ee08f281..849731f5 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -1,6 +1,6 @@ async-generator==1.10 attrs==21.4.0 -coverage==6.4 +coverage==6.4.1 flaky==3.7.0 hypothesis==6.46.11 idna==3.3 From c02193236e7da328dfbe06b4e9da14e48de6837b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 9 Jun 2022 09:06:49 +0100 Subject: [PATCH 36/50] Bump hypothesis from 6.46.11 to 6.47.0 in /dependencies/default (#366) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.46.11 to 6.47.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.46.11...hypothesis-python-6.47.0) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 849731f5..9d5d84bc 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4.1 flaky==3.7.0 -hypothesis==6.46.11 +hypothesis==6.47.0 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From b098d4e51aa5cb19c4105ba3b88c4054802c299e Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 21:11:48 +0100 Subject: [PATCH 37/50] Bump hypothesis from 6.47.0 to 6.47.2 in /dependencies/default (#367) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.47.0 to 6.47.2. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.47.0...hypothesis-python-6.47.2) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 9d5d84bc..a0616f02 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4.1 flaky==3.7.0 -hypothesis==6.47.0 +hypothesis==6.47.2 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From 6c3d433eede395588fe90c594d73bbeaaabf9224 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 Jun 2022 21:14:04 +0100 Subject: [PATCH 38/50] Bump trio from 0.20.0 to 0.21.0 in /dependencies/default (#368) Bumps [trio](https://github.com/python-trio/trio) from 0.20.0 to 0.21.0. - [Release notes](https://github.com/python-trio/trio/releases) - [Commits](https://github.com/python-trio/trio/compare/v0.20.0...v0.21.0) --- updated-dependencies: - dependency-name: trio dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 a0616f02..b4f4a2fd 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -18,7 +18,7 @@ pytest-trio==0.7.0 sniffio==1.2.0 sortedcontainers==2.4.0 tomli==2.0.1 -trio==0.20.0 +trio==0.21.0 typed-ast==1.5.4 typing_extensions==4.2.0 zipp==3.8.0 From 15e09be47af477c87d1e769740b6e193a3a51090 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 19 Jun 2022 15:28:09 +0200 Subject: [PATCH 39/50] Bump actions/setup-python from 3 to 4 (#365) Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index a3c01858..7bc25b08 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 with: python-version: '3.10' - name: Install GitHub matcher for ActionLint checker @@ -61,7 +61,7 @@ jobs: - uses: actions/checkout@v3 with: fetch-depth: 0 - - uses: actions/setup-python@v3 + - uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install dependencies From fcc0b8b8d7589038d5decc6904dbd4e894bf7548 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jun 2022 13:22:02 +0200 Subject: [PATCH 40/50] Bump outcome from 1.1.0 to 1.2.0 in /dependencies/default (#372) Bumps [outcome](https://github.com/python-trio/outcome) from 1.1.0 to 1.2.0. - [Release notes](https://github.com/python-trio/outcome/releases) - [Commits](https://github.com/python-trio/outcome/compare/v1.1.0...v1.2.0) --- updated-dependencies: - dependency-name: outcome dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 b4f4a2fd..dbd208ee 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -8,7 +8,7 @@ importlib-metadata==4.11.4 iniconfig==1.1.1 mypy==0.961 mypy-extensions==0.4.3 -outcome==1.1.0 +outcome==1.2.0 packaging==21.3 pluggy==1.0.0 py==1.11.0 From 860ff5113c3e73ade396c632c822a171a81e5b78 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jun 2022 13:22:14 +0200 Subject: [PATCH 41/50] Bump hypothesis from 6.47.2 to 6.47.3 in /dependencies/default (#373) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.47.2 to 6.47.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.47.2...hypothesis-python-6.47.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 dbd208ee..35bc12b3 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4.1 flaky==3.7.0 -hypothesis==6.47.2 +hypothesis==6.47.3 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From b463f72675cb680f5982013459b910ce3797a015 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sun, 26 Jun 2022 10:21:44 +0200 Subject: [PATCH 42/50] Python 3.11 support (#370) * build: Run tests on Python 3.11. Signed-off-by: Michael Seifert * feat: Add official support for Python 3.11. Signed-off-by: Michael Seifert --- .github/workflows/main.yml | 4 ++-- CHANGELOG.rst | 1 + setup.cfg | 1 + tox.ini | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 7bc25b08..70363f39 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -51,11 +51,11 @@ jobs: name: Python ${{ matrix.python-version }} runs-on: ubuntu-latest env: - USING_COVERAGE: 3.7,3.8,3.9,3.10 + USING_COVERAGE: 3.7,3.8,3.9,3.10,3.11 strategy: matrix: - python-version: ['3.7', '3.8', '3.9', '3.10'] + python-version: ['3.7', '3.8', '3.9', '3.10', 3.11-dev] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 3e7994bb..ff7e29b4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -5,6 +5,7 @@ Changelog UNRELEASED ================= - Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 `_ +- Add support for Python 3.11. 0.18.3 (22-03-25) ================= diff --git a/setup.cfg b/setup.cfg index a0e08d97..b1f1e82d 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,6 +22,7 @@ classifiers = Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Software Development :: Testing diff --git a/tox.ini b/tox.ini index 83cae521..1d8994ae 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 3.14.0 -envlist = py37, py38, py39, py310, lint, version-info, pytest-min +envlist = py37, py38, py39, py310, py311, lint, version-info, pytest-min isolated_build = true passenv = CI @@ -52,4 +52,5 @@ python = 3.8: py38 3.9: py39 3.10: py310 + 3.11-dev: py311 pypy3: pypy3 From f13c85f0f70e2e26b583bc5278876ff3229ad10c Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Sun, 26 Jun 2022 11:34:47 +0200 Subject: [PATCH 43/50] docs: Fix typo in README. Signed-off-by: Michael Seifert --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 93b369b7..17a10f67 100644 --- a/README.rst +++ b/README.rst @@ -251,7 +251,7 @@ Note about unittest ------------------- Test classes subclassing the standard `unittest `__ library are not supported, users -are recommended to use `unitest.IsolatedAsyncioTestCase `__ +are recommended to use `unittest.IsolatedAsyncioTestCase `__ or an async framework such as `asynctest `__. Contributing From 4cf16cf984ee8cb4a290a8d4852db12f615368f2 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 05:45:10 +0200 Subject: [PATCH 44/50] Bump hypothesis from 6.47.3 to 6.48.0 in /dependencies/default (#377) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.47.3 to 6.48.0. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.47.3...hypothesis-python-6.48.0) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 35bc12b3..b763832a 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4.1 flaky==3.7.0 -hypothesis==6.47.3 +hypothesis==6.48.0 idna==3.3 importlib-metadata==4.11.4 iniconfig==1.1.1 From db72f254b47b2b123cd0ba8892d6c89a481fee96 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 28 Jun 2022 05:45:27 +0200 Subject: [PATCH 45/50] Bump importlib-metadata from 4.11.4 to 4.12.0 in /dependencies/default (#378) Bumps [importlib-metadata](https://github.com/python/importlib_metadata) from 4.11.4 to 4.12.0. - [Release notes](https://github.com/python/importlib_metadata/releases) - [Changelog](https://github.com/python/importlib_metadata/blob/main/CHANGES.rst) - [Commits](https://github.com/python/importlib_metadata/compare/v4.11.4...v4.12.0) --- updated-dependencies: - dependency-name: importlib-metadata dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 b763832a..930336af 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -4,7 +4,7 @@ coverage==6.4.1 flaky==3.7.0 hypothesis==6.48.0 idna==3.3 -importlib-metadata==4.11.4 +importlib-metadata==4.12.0 iniconfig==1.1.1 mypy==0.961 mypy-extensions==0.4.3 From 739198bd62dd89c4d3bab4821d275883272ad2d6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Jul 2022 06:26:24 +0200 Subject: [PATCH 46/50] Bump hypothesis from 6.48.0 to 6.48.3 in /dependencies/default (#381) Bumps [hypothesis](https://github.com/HypothesisWorks/hypothesis) from 6.48.0 to 6.48.3. - [Release notes](https://github.com/HypothesisWorks/hypothesis/releases) - [Commits](https://github.com/HypothesisWorks/hypothesis/compare/hypothesis-python-6.48.0...hypothesis-python-6.48.3) --- updated-dependencies: - dependency-name: hypothesis dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 930336af..af4b23a6 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -2,7 +2,7 @@ async-generator==1.10 attrs==21.4.0 coverage==6.4.1 flaky==3.7.0 -hypothesis==6.48.0 +hypothesis==6.48.3 idna==3.3 importlib-metadata==4.12.0 iniconfig==1.1.1 From 49f07a46fcc876decbb6c0fd431ef52172c5654c Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 5 Jul 2022 06:26:58 +0200 Subject: [PATCH 47/50] Bump typing-extensions from 4.2.0 to 4.3.0 in /dependencies/default (#382) Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.2.0 to 4.3.0. - [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.2.0...4.3.0) --- updated-dependencies: - dependency-name: typing-extensions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- 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 af4b23a6..cd99339f 100644 --- a/dependencies/default/constraints.txt +++ b/dependencies/default/constraints.txt @@ -20,5 +20,5 @@ sortedcontainers==2.4.0 tomli==2.0.1 trio==0.21.0 typed-ast==1.5.4 -typing_extensions==4.2.0 +typing_extensions==4.3.0 zipp==3.8.0 From 25c54a541707d7e4f3f4098c5d28a9534380180e Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Tue, 5 Jul 2022 06:27:25 +0200 Subject: [PATCH 48/50] Clarify documentation of event_loop fixture (#375) * docs: Removed contradicting information about the event_loop fixture not setting the global event loop. Signed-off-by: Michael Seifert * docs: Clarified the effect of pytest.mark.asyncio with regards to the event_loop fixture. Signed-off-by: Michael Seifert * docs: Provide an example for redefining the event_loop fixture rather than for setting a custom event loop. Signed-off-by: Michael Seifert --- README.rst | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/README.rst b/README.rst index 17a10f67..12c76eb0 100644 --- a/README.rst +++ b/README.rst @@ -123,19 +123,16 @@ Fixtures ``event_loop`` ~~~~~~~~~~~~~~ -Creates and injects a new instance of the default asyncio event loop. By -default, the loop will be closed at the end of the test (i.e. the default -fixture scope is ``function``). +Creates a new asyncio event loop based on the current event loop policy. The new loop +is available as the return value of this fixture or via `asyncio.get_running_loop `__. +The event loop is closed when the fixture scope ends. The fixture scope defaults +to ``function`` scope. Note that just using the ``event_loop`` fixture won't make your test function a coroutine. You'll need to interact with the event loop directly, using methods like ``event_loop.run_until_complete``. See the ``pytest.mark.asyncio`` marker for treating test functions like coroutines. -Simply using this fixture will not set the generated event loop as the -default asyncio event loop, or change the asyncio event loop policy in any way. -Use ``pytest.mark.asyncio`` for this purpose. - .. code-block:: python def test_http_client(event_loop): @@ -143,22 +140,23 @@ Use ``pytest.mark.asyncio`` for this purpose. resp = event_loop.run_until_complete(http_client(url)) assert b"HTTP/1.1 200 OK" in resp -This fixture can be easily overridden in any of the standard pytest locations -(e.g. directly in the test file, or in ``conftest.py``) to use a non-default -event loop. This will take effect even if you're using the -``pytest.mark.asyncio`` marker and not the ``event_loop`` fixture directly. +The ``event_loop`` fixture can be overridden in any of the standard pytest locations, +e.g. directly in the test file, or in ``conftest.py``. This allows redefining the +fixture scope, for example: .. code-block:: python - @pytest.fixture + @pytest.fixture(scope="session") def event_loop(): - loop = MyCustomLoop() + policy = asyncio.get_event_loop_policy() + loop = policy.new_event_loop() yield loop loop.close() -If the ``pytest.mark.asyncio`` marker is applied, a pytest hook will -ensure the produced loop is set as the default global loop. -Fixtures depending on the ``event_loop`` fixture can expect the policy to be properly modified when they run. +If you need to change the type of the event loop, prefer setting a custom event loop policy over redefining the ``event_loop`` fixture. + +If the ``pytest.mark.asyncio`` marker is applied to a test function, the ``event_loop`` +fixture will be requested automatically by the test function. ``unused_tcp_port`` ~~~~~~~~~~~~~~~~~~~ From 07beb804a9c934862e0770bf51beb30b7e5a4230 Mon Sep 17 00:00:00 2001 From: Thomas Grainger Date: Tue, 12 Jul 2022 21:50:02 +0100 Subject: [PATCH 49/50] opt into strict mode by default (#380) * opt into strict mode by default * docs: Update CHANGELOG.rst Clarify that no code changes were necessary for Python 3.11 support. Co-authored-by: Thomas Grainger Co-authored-by: Michael Seifert --- CHANGELOG.rst | 3 ++- README.rst | 11 ++++++----- pytest_asyncio/plugin.py | 2 +- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index ff7e29b4..92c5752a 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -4,8 +4,9 @@ Changelog UNRELEASED ================= +- BREAKING: The default ``asyncio_mode`` is now *strict*. `#293 `_ - Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 `_ -- Add support for Python 3.11. +- Declare support for Python 3.11. 0.18.3 (22-03-25) ================= diff --git a/README.rst b/README.rst index 12c76eb0..1fc5ef47 100644 --- a/README.rst +++ b/README.rst @@ -58,7 +58,7 @@ Modes ----- Starting from ``pytest-asyncio>=0.17``, three modes are provided: *auto*, *strict* and -*legacy* (default). +*legacy*. Starting from ``pytest-asyncio>=0.19`` the *strict* mode is the default. The mode can be set by ``asyncio_mode`` configuration option in `configuration file `_: @@ -104,6 +104,8 @@ pytest plugin can handle them. Please use this mode if multiple async frameworks should be combined in the same test suite. +This mode is used by default for the sake of project inter-compatibility. + Legacy mode ~~~~~~~~~~~ @@ -111,11 +113,10 @@ Legacy mode This mode follows rules used by ``pytest-asyncio<0.17``: tests are not auto-marked but fixtures are. -This mode is used by default for the sake of backward compatibility, deprecation -warnings are emitted with suggestion to either switching to ``auto`` mode or using -``strict`` mode with ``@pytest_asyncio.fixture`` decorators. +Deprecation warnings are emitted with suggestion to either switching to ``auto`` mode +or using ``strict`` mode with ``@pytest_asyncio.fixture`` decorators. -In future, the default will be changed. +The default was changed to ``strict`` in ``pytest-asyncio>=0.19``. Fixtures diff --git a/pytest_asyncio/plugin.py b/pytest_asyncio/plugin.py index 08001faf..dd6a782b 100644 --- a/pytest_asyncio/plugin.py +++ b/pytest_asyncio/plugin.py @@ -95,7 +95,7 @@ def pytest_addoption(parser: Parser, pluginmanager: PytestPluginManager) -> None parser.addini( "asyncio_mode", help="default value for --asyncio-mode", - default="legacy", + default="strict", ) From 2da33c4feb4a7523f19dd791a6b0ee6200bf14d8 Mon Sep 17 00:00:00 2001 From: Michael Seifert Date: Fri, 15 Jul 2022 09:00:30 +0100 Subject: [PATCH 50/50] docs: Prepare v0.19.0 release. (#385) Signed-off-by: Michael Seifert --- CHANGELOG.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 92c5752a..8de226c4 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -2,7 +2,7 @@ Changelog ========= -UNRELEASED +0.19.0 (22-07-13) ================= - BREAKING: The default ``asyncio_mode`` is now *strict*. `#293 `_ - Removes `setup.py` since all relevant configuration is present `setup.cfg`. Users requiring an editable installation of pytest-asyncio need to use pip v21.1 or newer. `#283 `_