Skip to content

Bump dependencies #40

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 12 additions & 6 deletions .flake8
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,18 @@ exclude =
runtime/src/prettypb/protobuf/*.py

ignore =
F811 # redefinition of unused '...' from line ...
W503 # line break before binary operator
E203 # whitespace before ':'
E231 # missing whitespace after ','
E501 # line too long
E731 # do not assign a lambda expression, use a def
# F811: redefinition of unused '...' from line ...
F811
# W503: line break before binary operator
W503
# E203: whitespace before ':'
E203
# E231: missing whitespace after ','
E231
# E501:line too long
E501
# E731: do not assign a lambda expression, use a def
E731

builtins = reveal_type

Expand Down
95 changes: 49 additions & 46 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,69 +1,72 @@
# SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0
#
# This file is autogenerated by lock_requirements.sh
# This file is autogenerated by lock-requirements.sh
# To update, run:
#
# sh lock_requirements.sh
# ./lock-requirements.sh
#
attrs==22.1.0
attrs==22.2.0
binaryornot==0.4.4
black==22.8.0
black==23.1.0
boolean-py==4.0
build==0.8.0
build==0.10.0
bump2version==1.0.1
certifi==2022.9.14
chardet==5.0.0
charset-normalizer==2.1.1
certifi==2022.12.7
chardet==5.1.0
charset-normalizer==3.0.1
click==8.1.3
coverage==6.4.4
coverage==7.2.0
dflit==2.3.0.1
dflit-core==2.3.0.1
distlib==0.3.6
docutils==0.19
filelock==3.8.0
flake8==5.0.4
flake8-bugbear==22.9.11
flake8-comprehensions==3.10.0
flake8-html==0.4.2
flake8-logging-format==0.7.5
exceptiongroup==1.1.0
filelock==3.9.0
flake8==6.0.0
flake8-bugbear==23.2.13
flake8-comprehensions==3.10.1
flake8-html==0.4.3
flake8-logging-format==0.9.0
flake8-mutable==1.2.0
flake8-pyi==22.8.2
flake8-pyi==23.1.2
fsfe-reuse==1.0.0
idna==3.4
iniconfig==1.1.1
invoke==1.7.1
isort==5.10.1
iniconfig==2.0.0
invoke==2.0.0
isort==5.12.0
jinja2==3.1.2
license-expression==30.0.0
markupsafe==2.1.1
license-expression==30.1.0
markupsafe==2.1.2
mccabe==0.7.0
mypy==0.971
mypy-extensions==0.4.3
packaging==21.3
pathspec==0.10.1
pep517==0.13.0
pip-tools==6.8.0
platformdirs==2.5.2
mypy==1.0.1
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
py==1.11.0
pycodestyle==2.9.1
pyflakes==2.5.0
pygments==2.13.0
pyparsing==3.0.9
pytest==7.1.3
pytest-cov==3.0.0
pytest-html==3.1.1
pytest-metadata==2.0.2
python-debian==0.1.47
pycodestyle==2.10.0
pyflakes==3.0.1
pygments==2.14.0
pyproject-hooks==1.0.0
pytest==7.2.1
pytest-cov==4.0.0
pytest-html==3.2.0
pytest-metadata==2.0.4
python-debian==0.1.49
pytoml==0.1.21
requests==2.28.1
reuse==1.0.0
requests==2.28.2
reuse==1.1.2
setuptools==67.4.0
six==1.16.0
tomli==2.0.1
tox==3.26.0
tox==3.28.0
tox-pyenv==1.1.0
typing-extensions==4.3.0
urllib3==1.26.12
virtualenv==20.16.5
wheel==0.37.1
pip==22.2.2
setuptools==65.3.0
types-invoke==2.0.0.3
typing-extensions==4.5.0
urllib3==1.26.14
virtualenv==20.19.0
wheel==0.38.4
19 changes: 19 additions & 0 deletions lock-requirements.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0

export CUSTOM_COMPILE_COMMAND="./lock-requirements.sh"

PYTHONWARNINGS=ignore pip-compile --unsafe-package='' --no-emit-index-url --resolver=backtracking "$@"
cat >constraints.txt <<EOF
# SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0
#
# This file is autogenerated by lock-requirements.sh
# To update, run:
#
# ./lock-requirements.sh
#
EOF
sed -E -e 's/(\[.*\])//g' -e '/^ *#/d' -e '/^$/d' requirements.txt >> constraints.txt
12 changes: 0 additions & 12 deletions lock_requirements.sh

This file was deleted.

4 changes: 4 additions & 0 deletions mypy.ini
Original file line number Diff line number Diff line change
Expand Up @@ -47,3 +47,7 @@ warn_return_any = True
# Strict Optional checks.
# If False, mypy treats None as compatible with every type. (default True)
strict_optional = True


[mypy-py.*]
ignore_missing_imports = True
11 changes: 6 additions & 5 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# SPDX-FileCopyrightText: David Fritzsche
# SPDX-License-Identifier: CC0-1.0
black<23
black>=23,<24
bump2version
coverage[toml]
dflit
Expand All @@ -13,12 +13,13 @@ flake8-pyi
fsfe-reuse
invoke
isort
mypy==0.971
mypy~=1.0
pip-tools
pip>=19.3
pip>=20.3
pytest-cov
pytest-html
pytest~=7.1.2
pytest~=7.2.1
setuptools>=43
tox < 4
tox-pyenv
tox>=3.14.3
types-invoke
Loading