From d9133e9369eb03886dc1a847c4b96d826ebbf398 Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 10 Aug 2021 06:49:38 -0700 Subject: [PATCH 1/3] update requirements --- requirements/dev.txt | 66 ++++++++++++++++++++++------------------- requirements/docs.txt | 28 ++++++++--------- requirements/tests.txt | 10 +++---- requirements/typing.txt | 8 ++--- 4 files changed, 58 insertions(+), 54 deletions(-) diff --git a/requirements/dev.txt b/requirements/dev.txt index 1b6998cf..5a41a78a 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,30 +1,30 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.9 # To update, run: # # pip-compile requirements/dev.in # alabaster==0.7.12 # via sphinx -appdirs==1.4.4 - # via virtualenv -asgiref==3.3.4 +asgiref==3.4.1 # via -r requirements/tests.in attrs==21.2.0 # via pytest babel==2.9.1 # via sphinx +backports.entry-points-selectable==1.1.0 + # via virtualenv blinker==1.4 # via -r requirements/tests.in -certifi==2020.12.5 +certifi==2021.5.30 # via requests cfgv==3.3.0 # via pre-commit -chardet==4.0.0 +charset-normalizer==2.0.4 # via requests click==8.0.1 # via pip-tools -distlib==0.3.1 +distlib==0.3.2 # via virtualenv docutils==0.16 # via @@ -34,11 +34,11 @@ filelock==3.0.12 # via # tox # virtualenv -greenlet==1.1.0 +greenlet==1.1.1 # via -r requirements/tests.in -identify==2.2.4 +identify==2.2.13 # via pre-commit -idna==2.10 +idna==3.2 # via requests imagesize==1.2.0 # via sphinx @@ -48,13 +48,13 @@ jinja2==3.0.1 # via sphinx markupsafe==2.0.1 # via jinja2 +mypy==0.910 + # via -r requirements/typing.in mypy-extensions==0.4.3 # via mypy -mypy==0.812 - # via -r requirements/typing.in nodeenv==1.6.0 # via pre-commit -packaging==20.9 +packaging==21.0 # via # pallets-sphinx-themes # pytest @@ -62,15 +62,17 @@ packaging==20.9 # tox pallets-sphinx-themes==2.0.1 # via -r requirements/docs.in -pep517==0.10.0 +pep517==0.11.0 # via pip-tools -pip-tools==6.1.0 +pip-tools==6.2.0 # via -r requirements/dev.in +platformdirs==2.2.0 + # via virtualenv pluggy==0.13.1 # via # pytest # tox -pre-commit==2.12.1 +pre-commit==2.14.0 # via -r requirements/dev.in py==1.10.0 # via @@ -84,13 +86,13 @@ pyparsing==2.4.7 # via packaging pytest==6.2.4 # via -r requirements/tests.in -python-dotenv==0.17.1 +python-dotenv==0.19.0 # via -r requirements/tests.in pytz==2021.1 # via babel pyyaml==5.4.1 # via pre-commit -requests==2.25.1 +requests==2.26.0 # via sphinx six==1.16.0 # via @@ -98,22 +100,22 @@ six==1.16.0 # virtualenv snowballstemmer==2.1.0 # via sphinx -sphinx-issues==1.2.0 - # via -r requirements/docs.in -sphinx-tabs==3.0.0 - # via -r requirements/docs.in -sphinx==4.0.2 +sphinx==4.1.2 # via # -r requirements/docs.in # pallets-sphinx-themes # sphinx-issues # sphinx-tabs # sphinxcontrib-log-cabinet +sphinx-issues==1.2.0 + # via -r requirements/docs.in +sphinx-tabs==3.2.0 + # via -r requirements/docs.in sphinxcontrib-applehelp==1.0.2 # via sphinx sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-htmlhelp==2.0.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx @@ -121,26 +123,28 @@ sphinxcontrib-log-cabinet==1.0.1 # via -r requirements/docs.in sphinxcontrib-qthelp==1.0.3 # via sphinx -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.5 # via sphinx toml==0.10.2 # via - # pep517 + # mypy # pre-commit # pytest # tox -tox==3.23.1 +tomli==1.2.1 + # via pep517 +tox==3.24.1 # via -r requirements/dev.in -typed-ast==1.4.3 - # via mypy typing-extensions==3.10.0.0 # via mypy -urllib3==1.26.4 +urllib3==1.26.6 # via requests -virtualenv==20.4.6 +virtualenv==20.7.1 # via # pre-commit # tox +wheel==0.37.0 + # via pip-tools # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/docs.txt b/requirements/docs.txt index 245f04b6..54543279 100644 --- a/requirements/docs.txt +++ b/requirements/docs.txt @@ -1,5 +1,5 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.9 # To update, run: # # pip-compile requirements/docs.in @@ -8,15 +8,15 @@ alabaster==0.7.12 # via sphinx babel==2.9.1 # via sphinx -certifi==2020.12.5 +certifi==2021.5.30 # via requests -chardet==4.0.0 +charset-normalizer==2.0.4 # via requests docutils==0.16 # via # sphinx # sphinx-tabs -idna==2.10 +idna==3.2 # via requests imagesize==1.2.0 # via sphinx @@ -24,7 +24,7 @@ jinja2==3.0.1 # via sphinx markupsafe==2.0.1 # via jinja2 -packaging==20.9 +packaging==21.0 # via # pallets-sphinx-themes # sphinx @@ -38,26 +38,26 @@ pyparsing==2.4.7 # via packaging pytz==2021.1 # via babel -requests==2.25.1 +requests==2.26.0 # via sphinx snowballstemmer==2.1.0 # via sphinx -sphinx-issues==1.2.0 - # via -r requirements/docs.in -sphinx-tabs==3.0.0 - # via -r requirements/docs.in -sphinx==4.0.2 +sphinx==4.1.2 # via # -r requirements/docs.in # pallets-sphinx-themes # sphinx-issues # sphinx-tabs # sphinxcontrib-log-cabinet +sphinx-issues==1.2.0 + # via -r requirements/docs.in +sphinx-tabs==3.2.0 + # via -r requirements/docs.in sphinxcontrib-applehelp==1.0.2 # via sphinx sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-htmlhelp==2.0.0 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx @@ -65,9 +65,9 @@ sphinxcontrib-log-cabinet==1.0.1 # via -r requirements/docs.in sphinxcontrib-qthelp==1.0.3 # via sphinx -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.5 # via sphinx -urllib3==1.26.4 +urllib3==1.26.6 # via requests # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/tests.txt b/requirements/tests.txt index deb93d62..0fac47d7 100644 --- a/requirements/tests.txt +++ b/requirements/tests.txt @@ -1,20 +1,20 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.9 # To update, run: # # pip-compile requirements/tests.in # -asgiref==3.3.4 +asgiref==3.4.1 # via -r requirements/tests.in attrs==21.2.0 # via pytest blinker==1.4 # via -r requirements/tests.in -greenlet==1.1.0 +greenlet==1.1.1 # via -r requirements/tests.in iniconfig==1.1.1 # via pytest -packaging==20.9 +packaging==21.0 # via pytest pluggy==0.13.1 # via pytest @@ -24,7 +24,7 @@ pyparsing==2.4.7 # via packaging pytest==6.2.4 # via -r requirements/tests.in -python-dotenv==0.17.1 +python-dotenv==0.19.0 # via -r requirements/tests.in toml==0.10.2 # via pytest diff --git a/requirements/typing.txt b/requirements/typing.txt index 0e342aaa..e1fc1f43 100644 --- a/requirements/typing.txt +++ b/requirements/typing.txt @@ -1,14 +1,14 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.9 # To update, run: # # pip-compile requirements/typing.in # +mypy==0.910 + # via -r requirements/typing.in mypy-extensions==0.4.3 # via mypy -mypy==0.812 - # via -r requirements/typing.in -typed-ast==1.4.3 +toml==0.10.2 # via mypy typing-extensions==3.10.0.0 # via mypy From 78e82a3ef74e433ac4e0bda521877cbb60bc77ba Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 10 Aug 2021 06:50:09 -0700 Subject: [PATCH 2/3] update pre-commit hooks --- .pre-commit-config.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index d75f3c31..970b8d2a 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,19 +2,19 @@ ci: autoupdate_schedule: monthly repos: - repo: https://github.com/asottile/pyupgrade - rev: v2.15.0 + rev: v2.23.3 hooks: - id: pyupgrade args: ["--py36-plus"] - repo: https://github.com/asottile/reorder_python_imports - rev: v2.5.0 + rev: v2.6.0 hooks: - id: reorder-python-imports name: Reorder Python imports (src, tests) files: "^(?!examples/)" args: ["--application-directories", "src"] - repo: https://github.com/psf/black - rev: 21.5b1 + rev: 21.7b0 hooks: - id: black - repo: https://github.com/PyCQA/flake8 @@ -25,7 +25,7 @@ repos: - flake8-bugbear - flake8-implicit-str-concat - repo: https://github.com/pre-commit/pre-commit-hooks - rev: v3.4.0 + rev: v4.0.1 hooks: - id: fix-byte-order-marker - id: trailing-whitespace From 31ce7d61cd184f377203dca8081becde1a50c730 Mon Sep 17 00:00:00 2001 From: David Lord Date: Tue, 10 Aug 2021 06:51:41 -0700 Subject: [PATCH 3/3] add type stub packages --- requirements/dev.txt | 10 ++++++++++ requirements/typing.in | 3 +++ requirements/typing.txt | 10 ++++++++++ 3 files changed, 23 insertions(+) diff --git a/requirements/dev.txt b/requirements/dev.txt index 5a41a78a..2ab4a162 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -18,12 +18,16 @@ blinker==1.4 # via -r requirements/tests.in certifi==2021.5.30 # via requests +cffi==1.14.6 + # via cryptography cfgv==3.3.0 # via pre-commit charset-normalizer==2.0.4 # via requests click==8.0.1 # via pip-tools +cryptography==3.4.7 + # via -r requirements/typing.in distlib==0.3.2 # via virtualenv docutils==0.16 @@ -78,6 +82,8 @@ py==1.10.0 # via # pytest # tox +pycparser==2.20 + # via cffi pygments==2.9.0 # via # sphinx @@ -135,6 +141,10 @@ tomli==1.2.1 # via pep517 tox==3.24.1 # via -r requirements/dev.in +types-dataclasses==0.1.7 + # via -r requirements/typing.in +types-setuptools==57.0.2 + # via -r requirements/typing.in typing-extensions==3.10.0.0 # via mypy urllib3==1.26.6 diff --git a/requirements/typing.in b/requirements/typing.in index f0aa93ac..fbbea9f5 100644 --- a/requirements/typing.in +++ b/requirements/typing.in @@ -1 +1,4 @@ mypy +types-dataclasses +types-setuptools +cryptography diff --git a/requirements/typing.txt b/requirements/typing.txt index e1fc1f43..ebb7c64b 100644 --- a/requirements/typing.txt +++ b/requirements/typing.txt @@ -4,11 +4,21 @@ # # pip-compile requirements/typing.in # +cffi==1.14.6 + # via cryptography +cryptography==3.4.7 + # via -r requirements/typing.in mypy==0.910 # via -r requirements/typing.in mypy-extensions==0.4.3 # via mypy +pycparser==2.20 + # via cffi toml==0.10.2 # via mypy +types-dataclasses==0.1.7 + # via -r requirements/typing.in +types-setuptools==57.0.2 + # via -r requirements/typing.in typing-extensions==3.10.0.0 # via mypy