Skip to content

Commit f6614b9

Browse files
David Fritzschedavidfritzsche
David Fritzsche
authored andcommitted
Bump dependencies
1 parent b155824 commit f6614b9

11 files changed

+152
-135
lines changed

.flake8

+12-6
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,18 @@ exclude =
1919
runtime/src/prettypb/protobuf/*.py
2020

2121
ignore =
22-
F811 # redefinition of unused '...' from line ...
23-
W503 # line break before binary operator
24-
E203 # whitespace before ':'
25-
E231 # missing whitespace after ','
26-
E501 # line too long
27-
E731 # do not assign a lambda expression, use a def
22+
# F811: redefinition of unused '...' from line ...
23+
F811
24+
# W503: line break before binary operator
25+
W503
26+
# E203: whitespace before ':'
27+
E203
28+
# E231: missing whitespace after ','
29+
E231
30+
# E501:line too long
31+
E501
32+
# E731: do not assign a lambda expression, use a def
33+
E731
2834

2935
builtins = reveal_type
3036

constraints.txt

+49-46
Original file line numberDiff line numberDiff line change
@@ -1,69 +1,72 @@
1+
# SPDX-FileCopyrightText: David Fritzsche
2+
# SPDX-License-Identifier: CC0-1.0
13
#
2-
# This file is autogenerated by lock_requirements.sh
4+
# This file is autogenerated by lock-requirements.sh
35
# To update, run:
46
#
5-
# sh lock_requirements.sh
7+
# ./lock-requirements.sh
68
#
7-
attrs==22.1.0
9+
attrs==22.2.0
810
binaryornot==0.4.4
9-
black==22.8.0
11+
black==23.1.0
1012
boolean-py==4.0
11-
build==0.8.0
13+
build==0.10.0
1214
bump2version==1.0.1
13-
certifi==2022.9.14
14-
chardet==5.0.0
15-
charset-normalizer==2.1.1
15+
certifi==2022.12.7
16+
chardet==5.1.0
17+
charset-normalizer==3.0.1
1618
click==8.1.3
17-
coverage==6.4.4
19+
coverage==7.2.0
1820
dflit==2.3.0.1
1921
dflit-core==2.3.0.1
2022
distlib==0.3.6
2123
docutils==0.19
22-
filelock==3.8.0
23-
flake8==5.0.4
24-
flake8-bugbear==22.9.11
25-
flake8-comprehensions==3.10.0
26-
flake8-html==0.4.2
27-
flake8-logging-format==0.7.5
24+
exceptiongroup==1.1.0
25+
filelock==3.9.0
26+
flake8==6.0.0
27+
flake8-bugbear==23.2.13
28+
flake8-comprehensions==3.10.1
29+
flake8-html==0.4.3
30+
flake8-logging-format==0.9.0
2831
flake8-mutable==1.2.0
29-
flake8-pyi==22.8.2
32+
flake8-pyi==23.1.2
3033
fsfe-reuse==1.0.0
3134
idna==3.4
32-
iniconfig==1.1.1
33-
invoke==1.7.1
34-
isort==5.10.1
35+
iniconfig==2.0.0
36+
invoke==2.0.0
37+
isort==5.12.0
3538
jinja2==3.1.2
36-
license-expression==30.0.0
37-
markupsafe==2.1.1
39+
license-expression==30.1.0
40+
markupsafe==2.1.2
3841
mccabe==0.7.0
39-
mypy==0.971
40-
mypy-extensions==0.4.3
41-
packaging==21.3
42-
pathspec==0.10.1
43-
pep517==0.13.0
44-
pip-tools==6.8.0
45-
platformdirs==2.5.2
42+
mypy==1.0.1
43+
mypy-extensions==1.0.0
44+
packaging==23.0
45+
pathspec==0.11.0
46+
pip==23.0.1
47+
pip-tools==6.12.2
48+
platformdirs==3.0.0
4649
pluggy==1.0.0
4750
py==1.11.0
48-
pycodestyle==2.9.1
49-
pyflakes==2.5.0
50-
pygments==2.13.0
51-
pyparsing==3.0.9
52-
pytest==7.1.3
53-
pytest-cov==3.0.0
54-
pytest-html==3.1.1
55-
pytest-metadata==2.0.2
56-
python-debian==0.1.47
51+
pycodestyle==2.10.0
52+
pyflakes==3.0.1
53+
pygments==2.14.0
54+
pyproject-hooks==1.0.0
55+
pytest==7.2.1
56+
pytest-cov==4.0.0
57+
pytest-html==3.2.0
58+
pytest-metadata==2.0.4
59+
python-debian==0.1.49
5760
pytoml==0.1.21
58-
requests==2.28.1
59-
reuse==1.0.0
61+
requests==2.28.2
62+
reuse==1.1.2
63+
setuptools==67.4.0
6064
six==1.16.0
6165
tomli==2.0.1
62-
tox==3.26.0
66+
tox==3.28.0
6367
tox-pyenv==1.1.0
64-
typing-extensions==4.3.0
65-
urllib3==1.26.12
66-
virtualenv==20.16.5
67-
wheel==0.37.1
68-
pip==22.2.2
69-
setuptools==65.3.0
68+
types-invoke==2.0.0.3
69+
typing-extensions==4.5.0
70+
urllib3==1.26.14
71+
virtualenv==20.19.0
72+
wheel==0.38.4

lock-requirements.sh

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
#!/bin/sh
2+
3+
# SPDX-FileCopyrightText: David Fritzsche
4+
# SPDX-License-Identifier: CC0-1.0
5+
6+
export CUSTOM_COMPILE_COMMAND="./lock-requirements.sh"
7+
8+
PYTHONWARNINGS=ignore pip-compile --unsafe-package='' --no-emit-index-url --resolver=backtracking "$@"
9+
cat >constraints.txt <<EOF
10+
# SPDX-FileCopyrightText: David Fritzsche
11+
# SPDX-License-Identifier: CC0-1.0
12+
#
13+
# This file is autogenerated by lock-requirements.sh
14+
# To update, run:
15+
#
16+
# ./lock-requirements.sh
17+
#
18+
EOF
19+
sed -E -e 's/(\[.*\])//g' -e '/^ *#/d' -e '/^$/d' requirements.txt >> constraints.txt

lock_requirements.sh

-12
This file was deleted.

mypy.ini

+4
Original file line numberDiff line numberDiff line change
@@ -47,3 +47,7 @@ warn_return_any = True
4747
# Strict Optional checks.
4848
# If False, mypy treats None as compatible with every type. (default True)
4949
strict_optional = True
50+
51+
52+
[mypy-py.*]
53+
ignore_missing_imports = True

requirements.in

+6-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# SPDX-FileCopyrightText: David Fritzsche
22
# SPDX-License-Identifier: CC0-1.0
3-
black<23
3+
black>=23,<24
44
bump2version
55
coverage[toml]
66
dflit
@@ -13,12 +13,13 @@ flake8-pyi
1313
fsfe-reuse
1414
invoke
1515
isort
16-
mypy==0.971
16+
mypy~=1.0
1717
pip-tools
18-
pip>=19.3
18+
pip>=20.3
1919
pytest-cov
2020
pytest-html
21-
pytest~=7.1.2
21+
pytest~=7.2.1
2222
setuptools>=43
23+
tox < 4
2324
tox-pyenv
24-
tox>=3.14.3
25+
types-invoke

0 commit comments

Comments
 (0)