diff --git a/CHANGELOG.rst b/CHANGELOG.rst index 7d13322..a1f360b 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -35,6 +35,9 @@ Added * 🎈 Explicit support added for Python 3.12. `Issue 228 `_. +* ⛏️ Tox label added to help with dependency bumping. `Pull #231 + <:ttps://github.com/jamescooke/flake8-aaa/pull/231>`_. + Changed ....... @@ -42,6 +45,9 @@ Changed * ⛏️ Test requirements unpinned from old Flake8 and Mypy. +* ⛏️ All requirements bumped. `Issue 227 + `_. + Removed ....... diff --git a/requirements/README.rst b/requirements/README.rst index bb3b3cc..becbaf3 100644 --- a/requirements/README.rst +++ b/requirements/README.rst @@ -1,6 +1,16 @@ Requirements management ======================= +TL;DR +----- + +To update all requirements: + +.. code-block:: shell + + rm requirements/*.txt + tox -m requirements + Summary ------- diff --git a/requirements/ci.txt b/requirements/ci.txt index 9f7071c..060231d 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,18 +1,18 @@ # -# This file is autogenerated by pip-compile with Python 3.8 +# This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --output-file=ci.txt ci.in +# pip-compile --no-emit-index-url requirements/ci.in # cachetools==5.3.1 # via tox -chardet==5.1.0 +chardet==5.2.0 # via tox colorama==0.4.6 # via tox -distlib==0.3.6 +distlib==0.3.7 # via virtualenv -filelock==3.12.2 +filelock==3.12.4 # via # tox # virtualenv @@ -20,23 +20,23 @@ packaging==23.1 # via # pyproject-api # tox -platformdirs==3.9.0 +platformdirs==3.10.0 # via # tox # virtualenv -pluggy==1.2.0 +pluggy==1.3.0 # via tox -pyproject-api==1.5.3 +pyproject-api==1.6.1 # via tox tomli==2.0.1 # via # pyproject-api # tox -tox==4.6.4 +tox==4.11.3 # via - # -r ci.in + # -r requirements/ci.in # tox-gh-actions tox-gh-actions==3.1.3 - # via -r ci.in -virtualenv==20.24.0 + # via -r requirements/ci.in +virtualenv==20.24.5 # via tox diff --git a/requirements/dev.txt b/requirements/dev.txt index ab4ed25..3c905bf 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -2,21 +2,21 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile dev.in +# pip-compile --no-emit-index-url requirements/dev.in # build==1.0.3 # via pip-tools cachetools==5.3.1 # via - # -c ci.txt + # -c requirements/ci.txt # tox certifi==2023.7.22 # via requests cffi==1.15.1 # via cryptography -chardet==5.1.0 +chardet==5.2.0 # via - # -c ci.txt + # -c requirements/ci.txt # tox charset-normalizer==3.2.0 # via requests @@ -24,25 +24,25 @@ click==8.1.7 # via pip-tools colorama==0.4.6 # via - # -c ci.txt + # -c requirements/ci.txt # tox cryptography==41.0.4 # via secretstorage -distlib==0.3.6 +distlib==0.3.7 # via - # -c ci.txt + # -c requirements/ci.txt # virtualenv docutils==0.20.1 # via readme-renderer exceptiongroup==1.1.3 # via pytest -filelock==3.12.2 +filelock==3.12.4 # via - # -c ci.txt + # -c requirements/ci.txt # tox # virtualenv flake8==6.1.0 - # via -r dev.in + # via -r requirements/dev.in idna==3.4 # via requests importlib-metadata==6.8.0 @@ -72,31 +72,31 @@ mdurl==0.1.2 more-itertools==10.1.0 # via jaraco-classes mypy==1.5.1 - # via -r dev.in + # via -r requirements/dev.in mypy-extensions==1.0.0 # via mypy nh3==0.2.14 # via readme-renderer packaging==23.1 # via - # -c ci.txt + # -c requirements/ci.txt # build # pyproject-api # pytest # tox pip-tools==7.3.0 - # via -r dev.in + # via -r requirements/dev.in pkginfo==1.9.6 # via twine -platformdirs==3.9.0 +platformdirs==3.10.0 # via - # -c ci.txt + # -c requirements/ci.txt # tox # virtualenv # yapf -pluggy==1.2.0 +pluggy==1.3.0 # via - # -c ci.txt + # -c requirements/ci.txt # pytest # tox pycodestyle==2.11.0 @@ -109,14 +109,14 @@ pygments==2.16.1 # via # readme-renderer # rich -pyproject-api==1.5.3 +pyproject-api==1.6.1 # via - # -c ci.txt + # -c requirements/ci.txt # tox pyproject-hooks==1.0.0 # via build pytest==7.4.2 - # via -r dev.in + # via -r requirements/dev.in readme-renderer==42.0 # via twine requests==2.31.0 @@ -133,7 +133,7 @@ secretstorage==3.3.3 # via keyring tomli==2.0.1 # via - # -c ci.txt + # -c requirements/ci.txt # build # mypy # pip-tools @@ -142,12 +142,12 @@ tomli==2.0.1 # pytest # tox # yapf -tox==4.6.4 +tox==4.11.3 # via - # -c ci.txt - # -r dev.in + # -c requirements/ci.txt + # -r requirements/dev.in twine==4.0.2 - # via -r dev.in + # via -r requirements/dev.in typing-extensions==4.8.0 # via # mypy @@ -156,14 +156,14 @@ urllib3==2.0.5 # via # requests # twine -virtualenv==20.24.0 +virtualenv==20.24.5 # via - # -c ci.txt + # -c requirements/ci.txt # tox wheel==0.41.2 # via pip-tools yapf==0.40.2 - # via -r dev.in + # via -r requirements/dev.in zipp==3.17.0 # via # importlib-metadata diff --git a/requirements/docs.txt b/requirements/docs.txt index 2a78f13..0794b4c 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -2,13 +2,13 @@ # This file is autogenerated by pip-compile with Python 3.10 # by the following command: # -# pip-compile --output-file=docs.txt docs.in +# pip-compile --no-emit-index-url requirements/docs.in # alabaster==0.7.13 # via sphinx babel==2.12.1 # via sphinx -certifi==2023.5.7 +certifi==2023.7.22 # via requests charset-normalizer==3.2.0 # via requests @@ -30,7 +30,7 @@ markupsafe==2.1.3 # via jinja2 packaging==23.1 # via sphinx -pygments==2.15.1 +pygments==2.16.1 # via sphinx requests==2.31.0 # via sphinx @@ -38,31 +38,36 @@ six==1.16.0 # via livereload snowballstemmer==2.2.0 # via sphinx -sphinx==6.2.1 +sphinx==7.2.6 # via - # -r docs.in + # -r requirements/docs.in # sphinx-autobuild # sphinx-rtd-theme + # sphinxcontrib-applehelp + # sphinxcontrib-devhelp + # sphinxcontrib-htmlhelp # sphinxcontrib-jquery + # sphinxcontrib-qthelp + # sphinxcontrib-serializinghtml sphinx-autobuild==2021.3.14 - # via -r docs.in -sphinx-rtd-theme==1.2.2 - # via -r docs.in -sphinxcontrib-applehelp==1.0.4 + # via -r requirements/docs.in +sphinx-rtd-theme==1.3.0 + # via -r requirements/docs.in +sphinxcontrib-applehelp==1.0.7 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==1.0.5 # via sphinx -sphinxcontrib-htmlhelp==2.0.1 +sphinxcontrib-htmlhelp==2.0.4 # via sphinx sphinxcontrib-jquery==4.1 # via sphinx-rtd-theme sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==1.0.6 # via sphinx -sphinxcontrib-serializinghtml==1.1.5 +sphinxcontrib-serializinghtml==1.1.9 # via sphinx -tornado==6.3.2 +tornado==6.3.3 # via livereload -urllib3==2.0.3 +urllib3==2.0.5 # via requests diff --git a/requirements/examples.txt b/requirements/examples.txt index 4c70593..dfe4aaa 100644 --- a/requirements/examples.txt +++ b/requirements/examples.txt @@ -2,22 +2,22 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile --output-file=examples.txt examples.in +# pip-compile --no-emit-index-url requirements/examples.in # -black==23.7.0 - # via -r examples.in -click==8.1.5 +black==23.9.1 + # via -r requirements/examples.in +click==8.1.7 # via black -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 # via pytest -flake8==6.0.0 - # via -r examples.in +flake8==6.1.0 + # via -r requirements/examples.in iniconfig==2.0.0 # via pytest mccabe==0.7.0 # via flake8 -mypy==1.4.1 - # via -r examples.in +mypy==1.5.1 + # via -r requirements/examples.in mypy-extensions==1.0.0 # via # black @@ -26,24 +26,24 @@ packaging==23.1 # via # black # pytest -pathspec==0.11.1 +pathspec==0.11.2 # via black -platformdirs==3.9.0 +platformdirs==3.10.0 # via black -pluggy==1.2.0 +pluggy==1.3.0 # via pytest -pycodestyle==2.10.0 +pycodestyle==2.11.0 # via flake8 -pyflakes==3.0.1 +pyflakes==3.1.0 # via flake8 -pytest==7.4.0 - # via -r examples.in +pytest==7.4.2 + # via -r requirements/examples.in tomli==2.0.1 # via # black # mypy # pytest -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via # black # mypy diff --git a/requirements/test.txt b/requirements/test.txt index 13990fb..6ca7074 100644 --- a/requirements/test.txt +++ b/requirements/test.txt @@ -2,54 +2,54 @@ # This file is autogenerated by pip-compile with Python 3.8 # by the following command: # -# pip-compile --output-file=test.txt test.in +# pip-compile --no-emit-index-url requirements/test.in # docutils==0.20.1 # via restructuredtext-lint -exceptiongroup==1.1.2 +exceptiongroup==1.1.3 # via pytest -faker==19.1.0 - # via -r test.in -flake8==6.0.0 - # via -r test.in -icdiff==2.0.6 +faker==19.6.2 + # via -r requirements/test.in +flake8==6.1.0 + # via -r requirements/test.in +icdiff==2.0.7 # via pytest-icdiff importlib-metadata==6.8.0 # via yapf iniconfig==2.0.0 # via pytest isort==5.12.0 - # via -r test.in + # via -r requirements/test.in mccabe==0.7.0 # via flake8 -mypy==1.4.1 - # via -r test.in +mypy==1.5.1 + # via -r requirements/test.in mypy-extensions==1.0.0 # via mypy packaging==23.1 # via pytest -platformdirs==3.9.1 +platformdirs==3.10.0 # via yapf -pluggy==1.2.0 +pluggy==1.3.0 # via pytest pprintpp==0.4.0 # via pytest-icdiff -pycodestyle==2.10.0 +pycodestyle==2.11.0 # via flake8 -pyflakes==3.0.1 +pyflakes==3.1.0 # via flake8 -pygments==2.15.1 - # via -r test.in -pytest==7.4.0 +pygments==2.16.1 + # via -r requirements/test.in +pytest==7.4.2 # via - # -r test.in + # -r requirements/test.in # pytest-icdiff -pytest-icdiff==0.6 - # via -r test.in +pytest-icdiff==0.8 + # via -r requirements/test.in python-dateutil==2.8.2 # via faker restructuredtext-lint==1.4.0 - # via -r test.in + # via -r requirements/test.in six==1.16.0 # via python-dateutil tomli==2.0.1 @@ -57,11 +57,11 @@ tomli==2.0.1 # mypy # pytest # yapf -typing-extensions==4.7.1 +typing-extensions==4.8.0 # via # faker # mypy -yapf==0.40.1 - # via -r test.in -zipp==3.16.2 +yapf==0.40.2 + # via -r requirements/test.in +zipp==3.17.0 # via importlib-metadata diff --git a/tox.ini b/tox.ini index 60cab1d..ebef72e 100644 --- a/tox.ini +++ b/tox.ini @@ -11,6 +11,7 @@ # # Additional: # * docs: Run documentation build. +# * requirements: Compile all requirements in required version of Python. # # Pip URL # ------- @@ -199,6 +200,29 @@ commands = allowlist_externals = make +# --- Requirements --- +# Do not emit index URL because running tox on devpi-server would normally +# cause that to be written as the index URL to the output text file, but we +# want to have the generated requirements files not linked to a particular index. +[testenv:py310-requirements] +description = 📦 Compile requirements +labels = requirements +deps = + pip-tools +commands = + pip-compile requirements/ci.in --no-emit-index-url + pip-compile requirements/docs.in --no-emit-index-url + +[testenv:py38-requirements] +description = 📦 Compile requirements +labels = requirements +deps = + pip-tools +commands = + pip-compile requirements/dev.in --no-emit-index-url + pip-compile requirements/test.in --no-emit-index-url + pip-compile requirements/examples.in --no-emit-index-url + # --- Mappings for GitHub actions --- [gh-actions]