From 216fdda8fb251fa6eac106ba0ae2174880d99b03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=20F=C3=B6hr?= Date: Thu, 19 Sep 2024 19:05:05 +0300 Subject: [PATCH] Update various code quality and development time dependencies (#389) Closes: #384 --- docs/source/changelog.md | 1 + requirements/requirements-check.txt | 4 ++-- requirements/requirements-dev.txt | 2 +- requirements/requirements-mypy.txt | 4 ++-- requirements/requirements-test.txt | 8 +++++--- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/docs/source/changelog.md b/docs/source/changelog.md index d475fe5f..dafb918b 100644 --- a/docs/source/changelog.md +++ b/docs/source/changelog.md @@ -16,6 +16,7 @@ ### 👷 Maintenance - Fixed GitHub Release pipeline: Creates releases only from tags. Added automatic titles. Cannot accidentally publish with "main" tag. ([#328](https://github.com/fohrloop/wakepy/pull/328), [#346](https://github.com/fohrloop/wakepy/pull/346)) - Fixed: Tests failing on Fedora 40 [#381](https://github.com/fohrloop/wakepy/pull/381) +- Update various development time dependencies [#389](https://github.com/fohrloop/wakepy/pull/389) ## wakepy 0.9.1 🗓️ 2024-06-04 diff --git a/requirements/requirements-check.txt b/requirements/requirements-check.txt index 9d5b33c9..7a456579 100644 --- a/requirements/requirements-check.txt +++ b/requirements/requirements-check.txt @@ -1,6 +1,6 @@ # requirements for code style; linters, code analysis and formatting tools invoke==2.2.0 -black==24.2.0 +black==24.8.0 isort==5.13.2 -ruff==0.3.2 +ruff==0.6.5 -r requirements-mypy.txt diff --git a/requirements/requirements-dev.txt b/requirements/requirements-dev.txt index 161768a5..6aba60ea 100644 --- a/requirements/requirements-dev.txt +++ b/requirements/requirements-dev.txt @@ -5,7 +5,7 @@ -r requirements-docs.txt -r requirements-check.txt -sphinx-autobuild==2024.2.4 +sphinx-autobuild==2024.9.19 IPython invoke==2.2.0 # Colorama is used with the tasks.py (invoke commands) diff --git a/requirements/requirements-mypy.txt b/requirements/requirements-mypy.txt index 03ffe101..2b7c86c2 100644 --- a/requirements/requirements-mypy.txt +++ b/requirements/requirements-mypy.txt @@ -1,5 +1,5 @@ -# mypy 1.9.0 only supports Python 3.8+ -mypy==1.9.0; python_version>='3.8' +# This only supports Python 3.8+ +mypy==1.11.2; python_version>='3.8' # Last mypy version to support Python 3.7 mypy==1.4.1; python_version=='3.7' diff --git a/requirements/requirements-test.txt b/requirements/requirements-test.txt index 8191e367..ce82f0e0 100644 --- a/requirements/requirements-test.txt +++ b/requirements/requirements-test.txt @@ -1,14 +1,16 @@ # requirements for running unit tests # Python 3.7 support dropped in tox 4.9.0 -tox==4.14.2; python_version>='3.8' +tox==4.20.0; python_version>='3.8' tox==4.8.0; python_version<'3.8' # Python 3.7 support dropped in pytest 8.0.0 -pytest==8.1.1; python_version>='3.8' +pytest==8.3.3; python_version>='3.8' pytest==7.4.4; python_version=='3.7' -pytest-cov==4.1.0 +# Python 3.7 support dropped in pytest-cov 5.0.0 +pytest-cov==5.0.0; python_version>='3.8' +pytest-cov==4.1.0; python_version=='3.7' coverage-conditional-plugin==0.9.0 # Python 3.7 support dropped in time-machine 2.11.0