From ea023fbc308ad635658141d80eaafe19697201ac Mon Sep 17 00:00:00 2001 From: Martin Thoma Date: Wed, 2 Feb 2022 22:12:13 +0100 Subject: [PATCH] MAINT: Package updates (#90) --- Makefile | 4 +- docs/requirements.txt | 79 ++++++------ mpu/datetime.pyi | 10 -- requirements.txt | 6 + requirements/ci.txt | 159 ++++++++++++----------- requirements/dev.txt | 294 +++++++++++++++++++++--------------------- requirements/prod.txt | 7 +- 7 files changed, 283 insertions(+), 276 deletions(-) delete mode 100644 mpu/datetime.pyi create mode 100644 requirements.txt diff --git a/Makefile b/Makefile index 13776fa..35898ff 100644 --- a/Makefile +++ b/Makefile @@ -2,13 +2,13 @@ maint: pip install -r requirements/dev.txt pre-commit autoupdate && pre-commit run --all-files pip-compile -U docs/requirements.in - pip-compile -U setup.py -o requirements/prod.txt + pip-compile -U setup.py pip-compile -U requirements/ci.in pip-compile -U requirements/dev.in upload: make clean - python setup.py sdist bdist_wheel && twine upload dist/* + python setup.py sdist bdist_wheel && twine upload -s dist/* clean: python setup.py clean --all diff --git a/docs/requirements.txt b/docs/requirements.txt index 1f1bb78..b2c0cd4 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,87 +1,92 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.7 # To update, run: # # pip-compile docs/requirements.in # alabaster==0.7.12 # via sphinx -babel==2.9.0 +babel==2.9.1 # via sphinx -boto3==1.17.33 - # via -r requirements.in -botocore==1.20.33 +boto3==1.20.47 + # via -r docs/requirements.in +botocore==1.23.47 # via # boto3 # s3transfer -certifi==2020.12.5 +certifi==2021.10.8 # via requests -chardet==4.0.0 +charset-normalizer==2.0.11 # via requests -docutils==0.16 - # via sphinx -idna==2.10 +docutils==0.17.1 + # via + # sphinx + # sphinx-rtd-theme +idna==3.3 # via requests -imagesize==1.2.0 +imagesize==1.3.0 # via sphinx -jinja2==2.11.3 +importlib-metadata==4.10.1 + # via sphinx +jinja2==3.0.3 # via sphinx jmespath==0.10.0 # via # boto3 # botocore -markupsafe==1.1.1 +markupsafe==2.0.1 # via jinja2 -numpy==1.20.1 +numpy==1.21.5 # via pandas -packaging==20.9 +packaging==21.3 # via sphinx -pandas==1.2.3 - # via -r requirements.in -pygments==2.8.1 +pandas==1.3.5 + # via -r docs/requirements.in +pygments==2.11.2 # via sphinx -pyparsing==2.4.7 +pyparsing==3.0.7 # via packaging -python-dateutil==2.8.1 +python-dateutil==2.8.2 # via # botocore # pandas -pytz==2021.1 +pytz==2021.3 # via # babel # pandas -requests==2.25.1 +requests==2.27.1 # via sphinx -s3transfer==0.3.6 +s3transfer==0.5.1 # via boto3 -six==1.15.0 +six==1.16.0 # via python-dateutil -snowballstemmer==2.1.0 +snowballstemmer==2.2.0 # via sphinx -sphinx-rtd-theme==0.5.1 - # via -r requirements.in -sphinx==3.5.3 +sphinx==4.4.0 # via - # -r requirements.in + # -r docs/requirements.in # sphinx-rtd-theme +sphinx-rtd-theme==1.0.0 + # via -r docs/requirements.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 sphinxcontrib-qthelp==1.0.3 # via sphinx -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.5 # via sphinx -typing-extensions==3.7.4.3 - # via -r requirements.in -urllib3==1.26.5 +typing-extensions==4.0.1 + # via + # -r docs/requirements.in + # importlib-metadata +urllib3==1.26.8 # via # botocore # requests - -# The following packages are considered to be unsafe in a requirements file: -# setuptools +zipp==3.7.0 + # via importlib-metadata diff --git a/mpu/datetime.pyi b/mpu/datetime.pyi deleted file mode 100644 index df6977c..0000000 --- a/mpu/datetime.pyi +++ /dev/null @@ -1,10 +0,0 @@ -from typing import Union -import datetime -import random - -def add_time( - datetime_obj: datetime.datetime, days: int, hours: int, minutes: int, seconds: int -) -> datetime.datetime: ... -def generate( - minimum: datetime.datetime, maximum: datetime.datetime, local_random: random.Random -) -> Union[int, float]: ... diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..b5ea968 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,6 @@ +# +# This file is autogenerated by pip-compile with python 3.7 +# To update, run: +# +# pip-compile setup.py +# diff --git a/requirements/ci.txt b/requirements/ci.txt index f15932f..09e4a36 100644 --- a/requirements/ci.txt +++ b/requirements/ci.txt @@ -1,175 +1,180 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.7 # To update, run: # # pip-compile requirements/ci.in # -attrs==20.3.0 +attrs==21.4.0 # via # hypothesis # pytest -bleach==3.3.0 +bleach==4.1.0 # via readme-renderer -boto3==1.17.33 +boto3==1.20.47 # via - # -r ci.in + # -r requirements/ci.in # moto -botocore==1.20.33 +botocore==1.23.47 # via # boto3 # moto # s3transfer -certifi==2020.12.5 +certifi==2021.10.8 # via requests -cffi==1.14.5 +cffi==1.15.0 # via cryptography -chardet==4.0.0 +charset-normalizer==2.0.11 # via requests -click==7.1.2 +click==8.0.3 # via pip-tools colorama==0.4.4 # via twine -coverage==5.5 +coverage[toml]==6.3.1 # via pytest-cov -cryptography==3.4.6 +cryptography==36.0.1 # via # moto # secretstorage -docutils==0.16 +docutils==0.18.1 # via readme-renderer -hypothesis==6.8.1 - # via -r ci.in -idna==2.10 +hypothesis==6.36.1 + # via -r requirements/ci.in +idna==3.3 # via requests -importlib-metadata==3.7.3 +importlib-metadata==4.10.1 # via + # click # keyring + # moto + # pep517 + # pluggy + # pytest # twine iniconfig==1.1.1 # via pytest -jeepney==0.6.0 +jeepney==0.7.1 # via # keyring # secretstorage -jinja2==2.11.3 +jinja2==3.0.3 # via moto jmespath==0.10.0 # via # boto3 # botocore -keyring==23.0.0 +keyring==23.5.0 # via twine -markupsafe==1.1.1 +markupsafe==2.0.1 # via # jinja2 # moto -mock==4.0.3 - # via moto -more-itertools==8.7.0 - # via moto -moto==2.0.2 - # via -r ci.in -numpy==1.20.1 +moto==3.0.2 + # via -r requirements/ci.in +numpy==1.21.5 # via pandas -packaging==20.9 +packaging==21.3 # via # bleach # pytest -pandas==1.2.3 - # via -r ci.in -pep517==0.10.0 +pandas==1.3.5 + # via -r requirements/ci.in +pep517==0.12.0 # via pip-tools -pip-tools==6.0.1 - # via -r ci.in -pkginfo==1.7.0 +pip-tools==6.4.0 + # via -r requirements/ci.in +pkginfo==1.8.2 # via twine -pluggy==0.13.1 +pluggy==1.0.0 # via pytest -py-cpuinfo==7.0.0 - # via pytest-benchmark -py==1.10.0 +py==1.11.0 # via pytest -pycparser==2.20 +py-cpuinfo==8.0.0 + # via pytest-benchmark +pycparser==2.21 # via cffi -pygments==2.8.1 +pygments==2.11.2 # via readme-renderer -pyparsing==2.4.7 +pyparsing==3.0.7 # via packaging -pytest-benchmark==3.2.3 - # via -r ci.in -pytest-cov==2.11.1 - # via -r ci.in -pytest-timeout==1.4.2 - # via -r ci.in -pytest==6.2.2 - # via - # -r ci.in +pytest==6.2.5 + # via + # -r requirements/ci.in # pytest-benchmark # pytest-cov # pytest-timeout -python-dateutil==2.8.1 +pytest-benchmark==3.4.1 + # via -r requirements/ci.in +pytest-cov==3.0.0 + # via -r requirements/ci.in +pytest-timeout==2.1.0 + # via -r requirements/ci.in +python-dateutil==2.8.2 # via # botocore # moto # pandas -pytz==2021.1 +pytz==2021.3 # via # moto # pandas -readme-renderer==29.0 - # via twine -requests-toolbelt==0.9.1 +readme-renderer==32.0 # via twine -requests==2.25.1 +requests==2.27.1 # via # moto # requests-toolbelt # responses # twine -responses==0.13.1 +requests-toolbelt==0.9.1 + # via twine +responses==0.18.0 # via moto -rfc3986==1.4.0 +rfc3986==2.0.0 # via twine -s3transfer==0.3.6 +s3transfer==0.5.1 # via boto3 secretstorage==3.3.1 # via keyring -simplejson==3.17.2 - # via -r ci.in -six==1.15.0 +simplejson==3.17.6 + # via -r requirements/ci.in +six==1.16.0 # via # bleach - # moto # python-dateutil - # readme-renderer - # responses -sortedcontainers==2.3.0 +sortedcontainers==2.4.0 # via hypothesis toml==0.10.2 + # via pytest +tomli==2.0.0 # via + # coverage # pep517 - # pytest -tqdm==4.59.0 +tqdm==4.62.3 # via twine -twine==3.4.1 - # via -r ci.in -urllib3==1.26.5 +twine==3.8.0 + # via -r requirements/ci.in +typing-extensions==4.0.1 + # via importlib-metadata +urllib3==1.26.8 # via # botocore # requests # responses + # twine webencodings==0.5.1 # via bleach -werkzeug==1.0.1 +werkzeug==2.0.2 # via moto -wheel==0.36.2 - # via -r ci.in +wheel==0.37.1 + # via + # -r requirements/ci.in + # pip-tools xmltodict==0.12.0 # via moto -zipp==3.4.1 +zipp==3.7.0 # via # importlib-metadata - # moto + # pep517 # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/dev.txt b/requirements/dev.txt index a8fdcd0..c610b30 100644 --- a/requirements/dev.txt +++ b/requirements/dev.txt @@ -1,282 +1,288 @@ # -# This file is autogenerated by pip-compile +# This file is autogenerated by pip-compile with python 3.7 # To update, run: # # pip-compile requirements/dev.in # -appdirs==1.4.4 - # via virtualenv -attrs==20.3.0 +attrs==21.4.0 # via - # -r ci.txt + # -r requirements/ci.txt # hypothesis # pytest -bleach==3.3.0 +bleach==4.1.0 # via - # -r ci.txt + # -r requirements/ci.txt # readme-renderer -boto3==1.17.33 +boto3==1.20.47 # via - # -r ci.txt + # -r requirements/ci.txt # moto -botocore==1.20.33 +botocore==1.23.47 # via - # -r ci.txt + # -r requirements/ci.txt # boto3 # moto # s3transfer -certifi==2020.12.5 +certifi==2021.10.8 # via - # -r ci.txt + # -r requirements/ci.txt # requests -cffi==1.14.5 +cffi==1.15.0 # via - # -r ci.txt + # -r requirements/ci.txt # cryptography -cfgv==3.2.0 +cfgv==3.3.1 # via pre-commit -chardet==4.0.0 +charset-normalizer==2.0.11 # via - # -r ci.txt + # -r requirements/ci.txt # requests -click==7.1.2 +click==8.0.3 # via - # -r ci.txt + # -r requirements/ci.txt # pip-tools colorama==0.4.4 # via - # -r ci.txt + # -r requirements/ci.txt # twine -coverage==5.5 +coverage[toml]==6.3.1 # via - # -r ci.txt + # -r requirements/ci.txt # pytest-cov -cryptography==3.4.6 +cryptography==36.0.1 # via - # -r ci.txt + # -r requirements/ci.txt # moto # secretstorage -distlib==0.3.1 +distlib==0.3.4 # via virtualenv -docutils==0.16 +docutils==0.18.1 # via - # -r ci.txt + # -r requirements/ci.txt # readme-renderer -filelock==3.0.12 +filelock==3.4.2 # via virtualenv -hypothesis==6.8.1 - # via -r ci.txt -identify==2.2.0 +hypothesis==6.36.1 + # via -r requirements/ci.txt +identify==2.4.7 # via pre-commit -idna==2.10 +idna==3.3 # via - # -r ci.txt + # -r requirements/ci.txt # requests -importlib-metadata==3.7.3 +importlib-metadata==4.10.1 # via - # -r ci.txt + # -r requirements/ci.txt + # click # keyring + # moto + # pep517 + # pluggy + # pre-commit + # pytest # twine + # virtualenv iniconfig==1.1.1 # via - # -r ci.txt + # -r requirements/ci.txt # pytest -jeepney==0.6.0 +jeepney==0.7.1 # via - # -r ci.txt + # -r requirements/ci.txt # keyring # secretstorage -jinja2==2.11.3 +jinja2==3.0.3 # via - # -r ci.txt + # -r requirements/ci.txt # moto jmespath==0.10.0 # via - # -r ci.txt + # -r requirements/ci.txt # boto3 # botocore -keyring==23.0.0 +keyring==23.5.0 # via - # -r ci.txt + # -r requirements/ci.txt # twine -markupsafe==1.1.1 +markupsafe==2.0.1 # via - # -r ci.txt + # -r requirements/ci.txt # jinja2 # moto -mock==4.0.3 - # via - # -r ci.txt - # moto -more-itertools==8.7.0 - # via - # -r ci.txt - # moto -moto==2.0.2 - # via -r ci.txt -nodeenv==1.5.0 +moto==3.0.2 + # via -r requirements/ci.txt +nodeenv==1.6.0 # via pre-commit -numpy==1.20.1 +numpy==1.21.5 # via - # -r ci.txt + # -r requirements/ci.txt # pandas -packaging==20.9 +packaging==21.3 # via - # -r ci.txt + # -r requirements/ci.txt # bleach # pytest -pandas==1.2.3 - # via -r ci.txt -pep517==0.10.0 +pandas==1.3.5 + # via -r requirements/ci.txt +pep517==0.12.0 # via - # -r ci.txt + # -r requirements/ci.txt # pip-tools -pip-tools==6.0.1 +pip-tools==6.4.0 # via - # -r ci.txt - # -r dev.in -pkginfo==1.7.0 + # -r requirements/ci.txt + # -r requirements/dev.in +pkginfo==1.8.2 # via - # -r ci.txt + # -r requirements/ci.txt # twine -pluggy==0.13.1 +platformdirs==2.4.1 + # via virtualenv +pluggy==1.0.0 # via - # -r ci.txt + # -r requirements/ci.txt # pytest -pre-commit==2.11.1 - # via -r dev.in -py-cpuinfo==7.0.0 +pre-commit==2.17.0 + # via -r requirements/dev.in +py==1.11.0 # via - # -r ci.txt - # pytest-benchmark -py==1.10.0 - # via - # -r ci.txt + # -r requirements/ci.txt # pytest -pycparser==2.20 +py-cpuinfo==8.0.0 # via - # -r ci.txt + # -r requirements/ci.txt + # pytest-benchmark +pycparser==2.21 + # via + # -r requirements/ci.txt # cffi -pygments==2.8.1 +pygments==2.11.2 # via - # -r ci.txt + # -r requirements/ci.txt # readme-renderer -pyparsing==2.4.7 +pyparsing==3.0.7 # via - # -r ci.txt + # -r requirements/ci.txt # packaging -pytest-benchmark==3.2.3 - # via -r ci.txt -pytest-cov==2.11.1 - # via -r ci.txt -pytest-timeout==1.4.2 - # via -r ci.txt -pytest==6.2.2 - # via - # -r ci.txt +pytest==6.2.5 + # via + # -r requirements/ci.txt # pytest-benchmark # pytest-cov # pytest-timeout -python-dateutil==2.8.1 - # via - # -r ci.txt +pytest-benchmark==3.4.1 + # via -r requirements/ci.txt +pytest-cov==3.0.0 + # via -r requirements/ci.txt +pytest-timeout==2.1.0 + # via -r requirements/ci.txt +python-dateutil==2.8.2 + # via + # -r requirements/ci.txt # botocore # moto # pandas -pytz==2021.1 +pytz==2021.3 # via - # -r ci.txt + # -r requirements/ci.txt # moto # pandas -pyyaml==5.4.1 +pyyaml==6.0 # via pre-commit -readme-renderer==29.0 +readme-renderer==32.0 # via - # -r ci.txt + # -r requirements/ci.txt # twine -requests-toolbelt==0.9.1 +requests==2.27.1 # via - # -r ci.txt - # twine -requests==2.25.1 - # via - # -r ci.txt + # -r requirements/ci.txt # moto # requests-toolbelt # responses # twine -responses==0.13.1 +requests-toolbelt==0.9.1 + # via + # -r requirements/ci.txt + # twine +responses==0.18.0 # via - # -r ci.txt + # -r requirements/ci.txt # moto -rfc3986==1.4.0 +rfc3986==2.0.0 # via - # -r ci.txt + # -r requirements/ci.txt # twine -s3transfer==0.3.6 +s3transfer==0.5.1 # via - # -r ci.txt + # -r requirements/ci.txt # boto3 secretstorage==3.3.1 # via - # -r ci.txt + # -r requirements/ci.txt # keyring -simplejson==3.17.2 - # via -r ci.txt -six==1.15.0 +simplejson==3.17.6 + # via -r requirements/ci.txt +six==1.16.0 # via - # -r ci.txt + # -r requirements/ci.txt # bleach - # moto # python-dateutil - # readme-renderer - # responses # virtualenv -sortedcontainers==2.3.0 +sortedcontainers==2.4.0 # via - # -r ci.txt + # -r requirements/ci.txt # hypothesis toml==0.10.2 # via - # -r ci.txt - # pep517 + # -r requirements/ci.txt # pre-commit # pytest -tqdm==4.59.0 +tomli==2.0.0 # via - # -r ci.txt + # -r requirements/ci.txt + # coverage + # pep517 +tqdm==4.62.3 + # via + # -r requirements/ci.txt # twine -twine==3.4.1 - # via -r ci.txt -urllib3==1.26.5 +twine==3.8.0 + # via -r requirements/ci.txt +typing-extensions==4.0.1 + # via + # -r requirements/ci.txt + # importlib-metadata +urllib3==1.26.8 # via - # -r ci.txt + # -r requirements/ci.txt # botocore # requests # responses -virtualenv==20.4.3 + # twine +virtualenv==20.13.0 # via pre-commit webencodings==0.5.1 # via - # -r ci.txt + # -r requirements/ci.txt # bleach -werkzeug==1.0.1 +werkzeug==2.0.2 # via - # -r ci.txt + # -r requirements/ci.txt # moto -wheel==0.36.2 +wheel==0.37.1 # via - # -r ci.txt - # -r dev.in + # -r requirements/ci.txt + # -r requirements/dev.in + # pip-tools xmltodict==0.12.0 # via - # -r ci.txt + # -r requirements/ci.txt # moto -zipp==3.4.1 +zipp==3.7.0 # via - # -r ci.txt + # -r requirements/ci.txt # importlib-metadata - # moto + # pep517 # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/prod.txt b/requirements/prod.txt index 5209d38..3c8d7e7 100644 --- a/requirements/prod.txt +++ b/requirements/prod.txt @@ -1,6 +1 @@ -# -# This file is autogenerated by pip-compile -# To update, run: -# -# pip-compile --output-file=requirements/prod.txt setup.py -# +-r ../requirements.txt