Skip to content

Commit

Permalink
Bump packages (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamescooke committed Mar 26, 2023
1 parent f81917c commit 31d6e0c
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 57 deletions.
34 changes: 17 additions & 17 deletions requirements/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,39 +9,39 @@ Summary
* ``dev.in|txt``: Requirements for working on code. Build with Python 3.8
(can't build on 3.7)

* Tox environments use ``lint.in|txt``, ``test.in|txt`` and
``examples.in|txt``, all built with Python 3.7.
* Tox environments use ``test.in|txt`` and ``examples.in|txt``, all built with
Python 3.7.

* ``docs.in|txt``: Python 3.10 (match RTD)

CI ``ci.txt`` py310
-------------------
CI requirements
---------------

Used by GitHub Actions. Installs tox and GH helper to manage Python versions.
``ci.txt``: Python 3.10

# Requirements for CI
# Currently GitHub actions on their Ubuntu 22.04 images
# These have Python 3.10.6 installed so compile these requirements with py310
# https://github.com/actions/runner-images/blob/main/images/linux/Ubuntu2204-Readme.md
Used by GitHub Actions. Installs tox and GH helper to manage Python versions.

Targets Python 3.10 because GHA instance uses that version in ``ubuntu-22.04``
image.

Am using a pinned Tox dependency to allow for tags to be built "in the past" in
scenarios where they might have missed a build / were forgotten. E.g. `tag
v0.12.2 <https://github.com/jamescooke/flake8-aaa/releases/tag/v0.12.2>`_ was
added more than a year after the release was done, but by that point couldn't
be built by latest Tox, so `commit 77e29
Tox dependency is pinned to allow for tags to be built "in the past". For
example, in scenarios where they might have missed a build / were forgotten.
E.g. `tag v0.12.2
<https://github.com/jamescooke/flake8-aaa/releases/tag/v0.12.2>`_ was added
more than a year after the release was done, but by that point couldn't be
built by latest Tox, so `commit 77e29
<https://github.com/jamescooke/flake8-aaa/commit/77e29b1bbfaebed1664bcbc4bb77580185f00ae8>`_
now shows red 😞.

Development ``dev.txt`` py38
----------------------------
Development requirements
------------------------

``dev.txt``: Python 3.8

Targets Python 3.8 because it's the oldest version that is easy to build these
requirements for (Python 3.7 fails to build this list with no constraints).

All tools for local development. Tests are run in Tox, so no Pytest. But
linters are run in editor, so those are installed.

Twine available for shipping packages
Twine available for shipping packages.
12 changes: 6 additions & 6 deletions requirements/ci.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,31 @@ colorama==0.4.6
# via tox
distlib==0.3.6
# via virtualenv
filelock==3.9.0
filelock==3.10.6
# via
# tox
# virtualenv
packaging==23.0
# via
# pyproject-api
# tox
platformdirs==3.0.0
platformdirs==3.2.0
# via
# tox
# virtualenv
pluggy==1.0.0
# via tox
pyproject-api==1.5.0
pyproject-api==1.5.1
# via tox
tomli==2.0.1
# via
# pyproject-api
# tox
tox==4.4.5
tox==4.4.7
# via
# -r ci.in
# tox-gh-actions
tox-gh-actions==3.0.0
tox-gh-actions==3.1.0
# via -r ci.in
virtualenv==20.19.0
virtualenv==20.21.0
# via tox
34 changes: 17 additions & 17 deletions requirements/dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,25 +22,25 @@ chardet==5.1.0
# via
# -c ci.txt
# tox
charset-normalizer==3.0.1
charset-normalizer==3.1.0
# via requests
click==8.1.3
# via pip-tools
colorama==0.4.6
# via
# -c ci.txt
# tox
cryptography==39.0.1
cryptography==40.0.1
# via secretstorage
distlib==0.3.6
# via
# -c ci.txt
# virtualenv
docutils==0.19
# via readme-renderer
exceptiongroup==1.1.0
exceptiongroup==1.1.1
# via pytest
filelock==3.9.0
filelock==3.10.6
# via
# -c ci.txt
# tox
Expand All @@ -49,7 +49,7 @@ flake8==6.0.0
# via -r dev.in
idna==3.4
# via requests
importlib-metadata==6.0.0
importlib-metadata==6.1.0
# via
# keyring
# twine
Expand All @@ -71,9 +71,9 @@ mccabe==0.7.0
# via flake8
mdurl==0.1.2
# via markdown-it-py
more-itertools==9.0.0
more-itertools==9.1.0
# via jaraco-classes
mypy==1.0.1
mypy==1.1.1
# via -r dev.in
mypy-extensions==1.0.0
# via mypy
Expand All @@ -84,11 +84,11 @@ packaging==23.0
# pyproject-api
# pytest
# tox
pip-tools==6.12.2
pip-tools==6.12.3
# via -r dev.in
pkginfo==1.9.6
# via twine
platformdirs==3.0.0
platformdirs==3.2.0
# via
# -c ci.txt
# tox
Expand All @@ -108,13 +108,13 @@ pygments==2.14.0
# via
# readme-renderer
# rich
pyproject-api==1.5.0
pyproject-api==1.5.1
# via
# -c ci.txt
# tox
pyproject-hooks==1.0.0
# via build
pytest==7.2.1
pytest==7.2.2
# via -r dev.in
readme-renderer==37.3
# via twine
Expand All @@ -126,7 +126,7 @@ requests-toolbelt==0.10.1
# via twine
rfc3986==2.0.0
# via twine
rich==13.3.1
rich==13.3.2
# via twine
secretstorage==3.3.3
# via keyring
Expand All @@ -141,7 +141,7 @@ tomli==2.0.1
# pyproject-hooks
# pytest
# tox
tox==4.4.5
tox==4.4.7
# via
# -c ci.txt
# -r dev.in
Expand All @@ -151,21 +151,21 @@ typing-extensions==4.5.0
# via
# mypy
# rich
urllib3==1.26.14
urllib3==1.26.15
# via
# requests
# twine
virtualenv==20.19.0
virtualenv==20.21.0
# via
# -c ci.txt
# tox
webencodings==0.5.1
# via bleach
wheel==0.38.4
wheel==0.40.0
# via pip-tools
yapf==0.32.0
# via -r dev.in
zipp==3.14.0
zipp==3.15.0
# via
# importlib-metadata
# importlib-resources
Expand Down
14 changes: 5 additions & 9 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
#
alabaster==0.7.13
# via sphinx
babel==2.11.0
babel==2.12.1
# via sphinx
certifi==2022.12.7
# via requests
charset-normalizer==3.0.1
charset-normalizer==3.1.0
# via requests
colorama==0.4.6
# via sphinx-autobuild
Expand All @@ -32,8 +32,6 @@ packaging==23.0
# via sphinx
pygments==2.14.0
# via sphinx
pytz==2022.7.1
# via babel
requests==2.28.2
# via sphinx
six==1.16.0
Expand All @@ -45,6 +43,7 @@ sphinx==6.1.3
# -r docs.in
# sphinx-autobuild
# sphinx-rtd-theme
# sphinxcontrib-jquery
sphinx-autobuild==2021.3.14
# via -r docs.in
sphinx-rtd-theme==1.2.0
Expand All @@ -55,7 +54,7 @@ sphinxcontrib-devhelp==1.0.2
# via sphinx
sphinxcontrib-htmlhelp==2.0.1
# via sphinx
sphinxcontrib-jquery==2.0.0
sphinxcontrib-jquery==4.1
# via sphinx-rtd-theme
sphinxcontrib-jsmath==1.0.1
# via sphinx
Expand All @@ -65,8 +64,5 @@ sphinxcontrib-serializinghtml==1.1.5
# via sphinx
tornado==6.2
# via livereload
urllib3==1.26.14
urllib3==1.26.15
# via requests

# The following packages are considered to be unsafe in a requirements file:
# setuptools
12 changes: 6 additions & 6 deletions requirements/examples.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ black==22.12.0
# via -r examples.in
click==8.1.3
# via black
exceptiongroup==1.1.0
exceptiongroup==1.1.1
# via pytest
flake8==5.0.4
# via -r examples.in
Expand All @@ -24,25 +24,25 @@ iniconfig==2.0.0
# via pytest
mccabe==0.7.0
# via flake8
mypy==1.0.1
mypy==1.1.1
# via -r examples.in
mypy-extensions==1.0.0
# via
# black
# mypy
packaging==23.0
# via pytest
pathspec==0.11.0
pathspec==0.11.1
# via black
platformdirs==3.0.0
platformdirs==3.2.0
# via black
pluggy==1.0.0
# via pytest
pycodestyle==2.9.1
# via flake8
pyflakes==2.5.0
# via flake8
pytest==7.2.1
pytest==7.2.2
# via -r examples.in
tomli==2.0.1
# via
Expand All @@ -59,5 +59,5 @@ typing-extensions==4.5.0
# importlib-metadata
# mypy
# platformdirs
zipp==3.14.0
zipp==3.15.0
# via importlib-metadata
4 changes: 2 additions & 2 deletions requirements/test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ attrs==22.2.0
# via pytest
docutils==0.19
# via restructuredtext-lint
exceptiongroup==1.1.0
exceptiongroup==1.1.1
# via pytest
flake8==4.0.1
# via -r test.in
Expand Down Expand Up @@ -37,7 +37,7 @@ pyflakes==2.4.0
# via flake8
pygments==2.14.0
# via -r test.in
pytest==7.2.1
pytest==7.2.2
# via -r test.in
restructuredtext-lint==1.4.0
# via -r test.in
Expand Down

0 comments on commit 31d6e0c

Please sign in to comment.