From bb49093eb69e58ade999df06bcfa07279acdebd2 Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 9 Sep 2024 18:23:04 -0500 Subject: [PATCH 1/2] Adjust env markers and deps for Python 3.8+ followup to #997 --- .pre-commit-config.yaml | 3 +-- requirements/pytest.txt | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index a1fb60682..c3ebfa0b5 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -155,8 +155,7 @@ repos: additional_dependencies: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` - - pytest < 8 - - Sphinx >= 5.3.0, < 6 + - Sphinx >= 5.3.0 args: - --python-version=3.8 - --txt-report=.tox/.tmp/.mypy/python-3.8 diff --git a/requirements/pytest.txt b/requirements/pytest.txt index a3577a505..b9c84e064 100644 --- a/requirements/pytest.txt +++ b/requirements/pytest.txt @@ -1,2 +1,2 @@ -pytest==8.3.2; python_version >= "3.8" +pytest==8.3.2 pytest-cov==5.0.0 From 52ff40e37d9b155cac020be226bd2a3b67f9441a Mon Sep 17 00:00:00 2001 From: "J. Nick Koston" Date: Mon, 9 Sep 2024 18:26:52 -0500 Subject: [PATCH 2/2] Update .pre-commit-config.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sviatoslav Sydorenko (Святослав Сидоренко) --- .pre-commit-config.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index c3ebfa0b5..408e9a7d4 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -155,6 +155,7 @@ repos: additional_dependencies: - types-docutils - lxml # dep of `--txt-report`, `--cobertura-xml-report` & `--html-report` + - pytest - Sphinx >= 5.3.0 args: - --python-version=3.8