From e6f077a5f28378fa7950337829556a599ef85238 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 30 Sep 2024 22:58:31 +0000 Subject: [PATCH 1/5] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/rhysd/actionlint: v1.7.1 → v1.7.3](https://github.com/rhysd/actionlint/compare/v1.7.1...v1.7.3) --- .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 5e39222..9c24405 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -43,7 +43,7 @@ repos: args: [--py3-plus] - repo: https://github.com/rhysd/actionlint - rev: v1.7.1 + rev: v1.7.3 hooks: - id: actionlint-docker From caa00d6d73d0867cfad4a7224ca7d59f468b70b5 Mon Sep 17 00:00:00 2001 From: David Zaslavsky Date: Sat, 5 Oct 2024 14:59:44 -0700 Subject: [PATCH 2/5] Bump required pytest version to 4.6 We have started getting an error with pytest>=4,<4.6 when setuptools>=71 (or typeguard>=4.2) is also installed, due to a conflict with older pytest and setuptools' vendored version of typeguard. Out of various ways to resolve this conflict, this is the only one that doesn't involve putting an upper bound on the version of some package. It should still be technically possible to use older versions of pytest along with setuptools<71, if someone really needs to do that, but there isn't any way to express that dependency constraint, and I'm not going to go to any trouble to support long-obsolete versions of packages. --- .github/workflows/tests.yml | 10 +++++----- tox.ini | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index b0c217e..946e189 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -19,19 +19,19 @@ jobs: python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13', 'pypy-3.7', 'pypy-3.8', 'pypy-3.9'] extra: ['', '-smtp'] # The forced pytest versions correspond with the lower bounds in tox.ini - pytest-version: ['', '--force-dep pytest==4', '--force-dep pytest==6.2.4'] + pytest-version: ['', '--force-dep pytest==4.6', '--force-dep pytest==6.2.4'] include: - os: 'ubuntu-20.04' python-version: '3.6' exclude: - python-version: '3.10' - pytest-version: '--force-dep pytest==4' + pytest-version: '--force-dep pytest==4.6' - python-version: '3.11' - pytest-version: '--force-dep pytest==4' + pytest-version: '--force-dep pytest==4.6' - python-version: '3.12' - pytest-version: '--force-dep pytest==4' + pytest-version: '--force-dep pytest==4.6' - python-version: '3.13' - pytest-version: '--force-dep pytest==4' + pytest-version: '--force-dep pytest==4.6' fail-fast: false steps: diff --git a/tox.ini b/tox.ini index 1273c88..ad51132 100644 --- a/tox.ini +++ b/tox.ini @@ -22,7 +22,7 @@ deps = # works with your code. Don't forget to modify the corresponding entries in # the Github workflows configuration file if you do change these lower # bounds. - pytest >=4, <8; python_version<'3.10' + pytest >=4.6, <8; python_version<'3.10' pytest >=6.2.4, <8; python_version>='3.10' pytest-cov requests From ea88d5077966e03f0ca80c5a11f759df5b56beb0 Mon Sep 17 00:00:00 2001 From: David Zaslavsky Date: Sat, 5 Oct 2024 15:14:50 -0700 Subject: [PATCH 3/5] Increase max allowed pytest version to 9 pytest 8 has been out for a while; it's long past time we officially added support for it. This will allow people to use this plugin along with pytest 8. --- tox.ini | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tox.ini b/tox.ini index ad51132..7b22335 100644 --- a/tox.ini +++ b/tox.ini @@ -22,8 +22,8 @@ deps = # works with your code. Don't forget to modify the corresponding entries in # the Github workflows configuration file if you do change these lower # bounds. - pytest >=4.6, <8; python_version<'3.10' - pytest >=6.2.4, <8; python_version>='3.10' + pytest >=4.6, <9; python_version<'3.10' + pytest >=6.2.4, <9; python_version>='3.10' pytest-cov requests extras = From f54db74890c6b4e88ba76ca99e35a83b3dec2b10 Mon Sep 17 00:00:00 2001 From: David Zaslavsky Date: Sat, 5 Oct 2024 15:31:25 -0700 Subject: [PATCH 4/5] Fix a typo in changelog I accidentially wrote 0.9.1 instead of 0.9.0 when I updated the changelog for the last release. I'm fixing it now. --- CHANGES | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index ab719b2..7229d35 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -0.9.1 (2024-08-13) +0.9.0 (2024-08-13) ------------------ Add support for exposing server certificate From 69cb864dc83b68b8f6480f47e30ea1e89c5ea2c4 Mon Sep 17 00:00:00 2001 From: David Zaslavsky Date: Sat, 5 Oct 2024 15:34:05 -0700 Subject: [PATCH 5/5] Update changelog for the upcoming 0.9.0.post0 release --- CHANGES | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/CHANGES b/CHANGES index 7229d35..9082df1 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,9 @@ +0.9.0.post0 (2024-10-05) +------------------------ + +Update listed dependencies to add support for pytest 8 and drop support for pytest<4.6 + + 0.9.0 (2024-08-13) ------------------