From 269220ca8ecb4912519672a025c33ad9da848437 Mon Sep 17 00:00:00 2001 From: David Fritzsche Date: Mon, 26 Feb 2024 18:56:47 +0100 Subject: [PATCH] Bump development dependencies --- README.md | 2 + constraints.txt | 90 ++++++++++++++++++------------------ requirements.in | 20 +++++--- requirements.txt | 117 ++++++++++++++++++++++++++--------------------- tox.ini | 4 +- 5 files changed, 129 insertions(+), 104 deletions(-) diff --git a/README.md b/README.md index eb94851..eb87857 100644 --- a/README.md +++ b/README.md @@ -142,6 +142,7 @@ decorators are extracted from the ast. * Add support for pytest 8 (no actual change, but declare support) ([#46][i46], [#47][p47]) * Update GitHub actions ([#48][p48]) +* Update development dependencies ([#49][p49]) ## v0.1.1 @@ -231,3 +232,4 @@ decorators are extracted from the ast. [p43]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/43 [p47]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/47 [p48]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/48 +[p49]: https://github.com/davidfritzsche/pytest-mypy-testing/pull/49 diff --git a/constraints.txt b/constraints.txt index 895cbd2..9c6d365 100644 --- a/constraints.txt +++ b/constraints.txt @@ -6,67 +6,69 @@ # # ./lock-requirements.sh # -attrs==22.2.0 +attrs==23.2.0 binaryornot==0.4.4 -black==23.1.0 +black==24.2.0 boolean-py==4.0 -build==0.10.0 +build==1.0.3 bump2version==1.0.1 -certifi==2022.12.7 -chardet==5.1.0 -charset-normalizer==3.0.1 -click==8.1.3 -coverage==7.2.0 +certifi==2024.2.2 +chardet==5.2.0 +charset-normalizer==3.3.2 +click==8.1.7 +coverage==7.4.3 dflit==2.3.0.1 dflit-core==2.3.0.1 -distlib==0.3.6 -docutils==0.19 -exceptiongroup==1.1.0 -filelock==3.9.0 -flake8==6.0.0 -flake8-bugbear==23.2.13 -flake8-comprehensions==3.10.1 +distlib==0.3.8 +docutils==0.20.1 +exceptiongroup==1.2.0 +filelock==3.12.2 +flake8==7.0.0 +flake8-bugbear==24.2.6 +flake8-comprehensions==3.14.0 flake8-html==0.4.3 flake8-logging-format==0.9.0 flake8-mutable==1.2.0 -flake8-pyi==23.1.2 +flake8-pyi==24.1.0 fsfe-reuse==1.0.0 -idna==3.4 +idna==3.6 +importlib-metadata==6.7.0 iniconfig==2.0.0 -invoke==2.0.0 -isort==5.12.0 -jinja2==3.1.2 -license-expression==30.1.0 -markupsafe==2.1.2 +invoke==2.2.0 +isort==5.13.2 +jinja2==3.1.3 +license-expression==30.2.0 +markupsafe==2.1.5 mccabe==0.7.0 -mypy==1.0.1 +mypy==1.8.0 mypy-extensions==1.0.0 -packaging==23.0 -pathspec==0.11.0 -pip==23.0.1 -pip-tools==6.12.2 -platformdirs==3.0.0 -pluggy==1.0.0 +packaging==23.2 +pathspec==0.12.1 +pip==23.1.2 +pip-tools==7.4.0 +platformdirs==4.0.0 +pluggy==1.2.0 py==1.11.0 -pycodestyle==2.10.0 -pyflakes==3.0.1 -pygments==2.14.0 +pycodestyle==2.11.1 +pyflakes==3.2.0 +pygments==2.17.2 pyproject-hooks==1.0.0 -pytest==7.2.1 -pytest-cov==4.0.0 -pytest-html==3.2.0 -pytest-metadata==2.0.4 +pytest==7.4.4 +pytest-cov==4.1.0 +pytest-html==4.1.1 +pytest-metadata==3.1.1 python-debian==0.1.49 pytoml==0.1.21 -requests==2.28.2 -reuse==1.1.2 -setuptools==67.4.0 +requests==2.31.0 +reuse==3.0.1 +setuptools==69.1.1 six==1.16.0 tomli==2.0.1 tox==3.28.0 tox-pyenv==1.1.0 -types-invoke==2.0.0.3 -typing-extensions==4.5.0 -urllib3==1.26.14 -virtualenv==20.19.0 -wheel==0.38.4 +types-invoke==2.0.0.10 +typing-extensions==4.7.1 +urllib3==2.2.1 +virtualenv==20.25.1 +wheel==0.42.0 +zipp==3.15.0 diff --git a/requirements.in b/requirements.in index d612445..ab8a502 100644 --- a/requirements.in +++ b/requirements.in @@ -1,6 +1,6 @@ # SPDX-FileCopyrightText: David Fritzsche # SPDX-License-Identifier: CC0-1.0 -black>=23,<24 +black >=24,<25 bump2version coverage[toml] dflit @@ -13,13 +13,21 @@ flake8-pyi fsfe-reuse invoke isort -mypy~=1.0 +mypy ~=1.8 +pip pip-tools -pip>=20.3 +pytest <8 pytest-cov pytest-html -pytest~=7.2.1 -setuptools>=43 -tox < 4 +setuptools >=69 +tox <4 tox-pyenv types-invoke + +# to let the tox setup stay compatible with Python 3.7 +filelock <3.12.3 +importlib-metadata <6.8 +platformdirs <4.1 +pluggy <1.3 +typing-extensions <4.8 +zipp <3.16 diff --git a/requirements.txt b/requirements.txt index 40cd141..4100a7c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,35 +4,33 @@ # # ./lock-requirements.sh # -attrs==22.2.0 - # via - # flake8-bugbear - # pytest +attrs==23.2.0 + # via flake8-bugbear binaryornot==0.4.4 # via reuse -black==23.1.0 +black==24.2.0 # via -r requirements.in boolean-py==4.0 # via # license-expression # reuse -build==0.10.0 +build==1.0.3 # via pip-tools bump2version==1.0.1 # via -r requirements.in -certifi==2022.12.7 +certifi==2024.2.2 # via requests -chardet==5.1.0 +chardet==5.2.0 # via # binaryornot # python-debian -charset-normalizer==3.0.1 +charset-normalizer==3.3.2 # via requests -click==8.1.3 +click==8.1.7 # via # black # pip-tools -coverage[toml]==7.2.0 +coverage[toml]==7.4.3 # via # -r requirements.in # pytest-cov @@ -40,26 +38,27 @@ dflit==2.3.0.1 # via -r requirements.in dflit-core==2.3.0.1 # via dflit -distlib==0.3.6 +distlib==0.3.8 # via virtualenv -docutils==0.19 +docutils==0.20.1 # via dflit -exceptiongroup==1.1.0 +exceptiongroup==1.2.0 # via pytest -filelock==3.9.0 +filelock==3.12.2 # via + # -r requirements.in # tox # virtualenv -flake8==6.0.0 +flake8==7.0.0 # via # flake8-bugbear # flake8-comprehensions # flake8-html # flake8-mutable # flake8-pyi -flake8-bugbear==23.2.13 +flake8-bugbear==24.2.6 # via -r requirements.in -flake8-comprehensions==3.10.1 +flake8-comprehensions==3.14.0 # via -r requirements.in flake8-html==0.4.3 # via -r requirements.in @@ -67,81 +66,86 @@ flake8-logging-format==0.9.0 # via -r requirements.in flake8-mutable==1.2.0 # via -r requirements.in -flake8-pyi==23.1.2 +flake8-pyi==24.1.0 # via -r requirements.in fsfe-reuse==1.0.0 # via -r requirements.in -idna==3.4 +idna==3.6 # via requests +importlib-metadata==6.7.0 + # via -r requirements.in iniconfig==2.0.0 # via pytest -invoke==2.0.0 +invoke==2.2.0 # via -r requirements.in -isort==5.12.0 +isort==5.13.2 # via -r requirements.in -jinja2==3.1.2 +jinja2==3.1.3 # via # flake8-html + # pytest-html # reuse -license-expression==30.1.0 +license-expression==30.2.0 # via reuse -markupsafe==2.1.2 +markupsafe==2.1.5 # via jinja2 mccabe==0.7.0 # via flake8 -mypy==1.0.1 +mypy==1.8.0 # via -r requirements.in mypy-extensions==1.0.0 # via # black # mypy -packaging==23.0 +packaging==23.2 # via # black # build # pytest # tox -pathspec==0.11.0 +pathspec==0.12.1 # via black -pip==23.0.1 +pip==23.1.2 # via # -r requirements.in # pip-tools -pip-tools==6.12.2 +pip-tools==7.4.0 # via -r requirements.in -platformdirs==3.0.0 +platformdirs==4.0.0 # via + # -r requirements.in # black # virtualenv -pluggy==1.0.0 +pluggy==1.2.0 # via + # -r requirements.in # pytest # tox py==1.11.0 - # via - # pytest-html - # tox -pycodestyle==2.10.0 + # via tox +pycodestyle==2.11.1 # via flake8 -pyflakes==3.0.1 +pyflakes==3.2.0 # via # flake8 # flake8-pyi -pygments==2.14.0 +pygments==2.17.2 # via flake8-html pyproject-hooks==1.0.0 - # via build -pytest==7.2.1 + # via + # build + # pip-tools +pytest==7.4.4 # via # -r requirements.in # pytest-cov # pytest-html # pytest-metadata -pytest-cov==4.0.0 +pytest-cov==4.1.0 # via -r requirements.in -pytest-html==3.2.0 +pytest-html==4.1.1 # via -r requirements.in -pytest-metadata==2.0.4 +pytest-metadata==3.1.1 # via pytest-html python-debian==0.1.49 # via reuse @@ -149,15 +153,14 @@ pytoml==0.1.21 # via # dflit # dflit-core -requests==2.28.2 +requests==2.31.0 # via dflit -reuse==1.1.2 +reuse==3.0.1 # via fsfe-reuse -setuptools==67.4.0 +setuptools==69.1.1 # via # -r requirements.in # pip-tools - # reuse six==1.16.0 # via tox tomli==2.0.1 @@ -166,6 +169,7 @@ tomli==2.0.1 # build # coverage # mypy + # pip-tools # pyproject-hooks # pytest # tox @@ -175,13 +179,20 @@ tox==3.28.0 # tox-pyenv tox-pyenv==1.1.0 # via -r requirements.in -types-invoke==2.0.0.3 +types-invoke==2.0.0.10 # via -r requirements.in -typing-extensions==4.5.0 - # via mypy -urllib3==1.26.14 +typing-extensions==4.7.1 + # via + # -r requirements.in + # black + # mypy +urllib3==2.2.1 # via requests -virtualenv==20.19.0 +virtualenv==20.25.1 # via tox -wheel==0.38.4 +wheel==0.42.0 # via pip-tools +zipp==3.15.0 + # via + # -r requirements.in + # importlib-metadata diff --git a/tox.ini b/tox.ini index bcdd1d3..83dfea2 100644 --- a/tox.ini +++ b/tox.ini @@ -8,6 +8,8 @@ envlist = {py38,py39,py310,py311,py312}-pytest{70,71,72,80}-mypy{10,18} py-pytest{70,71,72,80}-mypy{10,18} linting +minversion = 3.28 + [testenv] deps = @@ -25,7 +27,7 @@ deps = mypy097: mypy==0.971 mypy099: mypy==0.991 mypy10: mypy==1.0.1 - mypy14: mypy==1.4.1 + mypy14: mypy==1.4.1 # last version to support Python 3.7 mypy18: mypy==1.8.0 setenv = COVERAGE_FILE={toxinidir}/build/{envname}/coverage