Skip to content

Commit d6496c8

Browse files
authored
Merge pull request #4443 from pallets/update-requirements
update requirements, stop using dependabot
2 parents 528db86 + 1fd8654 commit d6496c8

File tree

13 files changed

+64
-166
lines changed

13 files changed

+64
-166
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
version: 2
22
updates:
3-
- package-ecosystem: "pip"
4-
directory: "/requirements"
5-
target-branch: "2.0.x"
6-
versioning-strategy: "lockfile-only"
7-
schedule:
8-
interval: "monthly"
9-
day: "monday"
10-
time: "16:00"
11-
timezone: "UTC"
12-
open-pull-requests-limit: 99
133
- package-ecosystem: "github-actions"
144
directory: "/"
155
schedule:

.github/workflows/tests.yaml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,12 @@ jobs:
4141
- uses: actions/setup-python@v2
4242
with:
4343
python-version: ${{ matrix.python }}
44+
cache: 'pip'
45+
cache-dependency-path: 'requirements/*.txt'
4446
- name: update pip
4547
run: |
4648
pip install -U wheel
4749
pip install -U setuptools
4850
python -m pip install -U pip
49-
- name: get pip cache dir
50-
id: pip-cache
51-
run: echo "::set-output name=dir::$(pip cache dir)"
52-
- name: cache pip
53-
uses: actions/cache@v2
54-
with:
55-
path: ${{ steps.pip-cache.outputs.dir }}
56-
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }}
5751
- run: pip install tox
5852
- run: tox -e ${{ matrix.tox }}

.pre-commit-config.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ repos:
2525
additional_dependencies:
2626
- flake8-bugbear
2727
- flake8-implicit-str-concat
28+
- repo: https://github.com/peterdemin/pip-compile-multi
29+
rev: v2.4.3
30+
hooks:
31+
- id: pip-compile-multi-verify
2832
- repo: https://github.com/pre-commit/pre-commit-hooks
2933
rev: v4.1.0
3034
hooks:

requirements/dev.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
-r docs.in
22
-r tests.in
33
-r typing.in
4-
pip-tools
4+
pip-compile-multi
55
pre-commit
66
tox

requirements/dev.txt

Lines changed: 17 additions & 121 deletions
Original file line numberDiff line numberDiff line change
@@ -1,156 +1,52 @@
1+
# SHA1:54b5b77ec8c7a0064ffa93b2fd16cb0130ba177c
12
#
2-
# This file is autogenerated by pip-compile with python 3.10
3+
# This file is autogenerated by pip-compile-multi
34
# To update, run:
45
#
5-
# pip-compile requirements/dev.in
6+
# pip-compile-multi
67
#
7-
alabaster==0.7.12
8-
# via sphinx
9-
asgiref==3.4.1
10-
# via -r requirements/tests.in
11-
attrs==21.4.0
12-
# via pytest
13-
babel==2.9.1
14-
# via sphinx
15-
blinker==1.4
16-
# via -r requirements/tests.in
17-
certifi==2021.10.8
18-
# via requests
19-
cffi==1.15.0
20-
# via cryptography
8+
-r docs.txt
9+
-r tests.txt
10+
-r typing.txt
2111
cfgv==3.3.1
2212
# via pre-commit
23-
charset-normalizer==2.0.10
24-
# via requests
2513
click==8.0.3
26-
# via pip-tools
27-
cryptography==36.0.1
28-
# via -r requirements/typing.in
14+
# via
15+
# pip-compile-multi
16+
# pip-tools
2917
distlib==0.3.4
3018
# via virtualenv
31-
docutils==0.16
32-
# via
33-
# sphinx
34-
# sphinx-tabs
3519
filelock==3.4.2
3620
# via
3721
# tox
3822
# virtualenv
3923
greenlet==1.1.2 ; python_version < "3.11"
4024
# via -r requirements/tests.in
41-
identify==2.4.3
25+
identify==2.4.8
4226
# via pre-commit
43-
idna==3.3
44-
# via requests
45-
imagesize==1.3.0
46-
# via sphinx
47-
iniconfig==1.1.1
48-
# via pytest
49-
jinja2==3.0.3
50-
# via sphinx
51-
markupsafe==2.0.1
52-
# via jinja2
53-
mypy==0.931
54-
# via -r requirements/typing.in
55-
mypy-extensions==0.4.3
56-
# via mypy
5727
nodeenv==1.6.0
5828
# via pre-commit
59-
packaging==21.3
60-
# via
61-
# pallets-sphinx-themes
62-
# pytest
63-
# sphinx
64-
# tox
65-
pallets-sphinx-themes==2.0.2
66-
# via -r requirements/docs.in
6729
pep517==0.12.0
6830
# via pip-tools
69-
pip-tools==6.4.0
31+
pip-compile-multi==2.4.3
7032
# via -r requirements/dev.in
33+
pip-tools==6.5.1
34+
# via pip-compile-multi
7135
platformdirs==2.4.1
7236
# via virtualenv
73-
pluggy==1.0.0
74-
# via
75-
# pytest
76-
# tox
77-
pre-commit==2.16.0
37+
pre-commit==2.17.0
7838
# via -r requirements/dev.in
79-
py==1.11.0
80-
# via
81-
# pytest
82-
# tox
83-
pycparser==2.21
84-
# via cffi
85-
pygments==2.11.2
86-
# via
87-
# sphinx
88-
# sphinx-tabs
89-
pyparsing==3.0.6
90-
# via packaging
91-
pytest==6.2.5
92-
# via -r requirements/tests.in
93-
python-dotenv==0.19.2
94-
# via -r requirements/tests.in
95-
pytz==2021.3
96-
# via babel
9739
pyyaml==6.0
9840
# via pre-commit
99-
requests==2.27.1
100-
# via sphinx
10141
six==1.16.0
10242
# via
10343
# tox
10444
# virtualenv
105-
snowballstemmer==2.2.0
106-
# via sphinx
107-
sphinx==4.3.2
108-
# via
109-
# -r requirements/docs.in
110-
# pallets-sphinx-themes
111-
# sphinx-issues
112-
# sphinx-tabs
113-
# sphinxcontrib-log-cabinet
114-
sphinx-issues==3.0.1
115-
# via -r requirements/docs.in
116-
sphinx-tabs==3.2.0
117-
# via -r requirements/docs.in
118-
sphinxcontrib-applehelp==1.0.2
119-
# via sphinx
120-
sphinxcontrib-devhelp==1.0.2
121-
# via sphinx
122-
sphinxcontrib-htmlhelp==2.0.0
123-
# via sphinx
124-
sphinxcontrib-jsmath==1.0.1
125-
# via sphinx
126-
sphinxcontrib-log-cabinet==1.0.1
127-
# via -r requirements/docs.in
128-
sphinxcontrib-qthelp==1.0.3
129-
# via sphinx
130-
sphinxcontrib-serializinghtml==1.1.5
131-
# via sphinx
132-
toml==0.10.2
133-
# via
134-
# pre-commit
135-
# pytest
136-
# tox
137-
tomli==2.0.0
138-
# via
139-
# mypy
140-
# pep517
45+
toposort==1.7
46+
# via pip-compile-multi
14147
tox==3.24.5
14248
# via -r requirements/dev.in
143-
types-contextvars==2.4.1
144-
# via -r requirements/typing.in
145-
types-dataclasses==0.6.4
146-
# via -r requirements/typing.in
147-
types-setuptools==57.4.7
148-
# via -r requirements/typing.in
149-
typing-extensions==4.0.1
150-
# via mypy
151-
urllib3==1.26.8
152-
# via requests
153-
virtualenv==20.13.0
49+
virtualenv==20.13.1
15450
# via
15551
# pre-commit
15652
# tox

requirements/docs.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
# SHA1:34fd4ca6516e97c7348e6facdd9c4ebb68209d1c
12
#
2-
# This file is autogenerated by pip-compile with python 3.10
3+
# This file is autogenerated by pip-compile-multi
34
# To update, run:
45
#
5-
# pip-compile requirements/docs.in
6+
# pip-compile-multi
67
#
78
alabaster==0.7.12
89
# via sphinx
910
babel==2.9.1
1011
# via sphinx
1112
certifi==2021.10.8
1213
# via requests
13-
charset-normalizer==2.0.10
14+
charset-normalizer==2.0.11
1415
# via requests
1516
docutils==0.16
1617
# via
@@ -34,15 +35,15 @@ pygments==2.11.2
3435
# via
3536
# sphinx
3637
# sphinx-tabs
37-
pyparsing==3.0.6
38+
pyparsing==3.0.7
3839
# via packaging
3940
pytz==2021.3
4041
# via babel
4142
requests==2.27.1
4243
# via sphinx
4344
snowballstemmer==2.2.0
4445
# via sphinx
45-
sphinx==4.3.2
46+
sphinx==4.4.0
4647
# via
4748
# -r requirements/docs.in
4849
# pallets-sphinx-themes
@@ -69,6 +70,3 @@ sphinxcontrib-serializinghtml==1.1.5
6970
# via sphinx
7071
urllib3==1.26.8
7172
# via requests
72-
73-
# The following packages are considered to be unsafe in a requirements file:
74-
# setuptools

requirements/tests-pallets-dev.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
# SHA1:692b640e7f835e536628f76de0afff1296524122
12
#
2-
# This file is autogenerated by pip-compile with python 3.10
3+
# This file is autogenerated by pip-compile-multi
34
# To update, run:
45
#
5-
# pip-compile requirements/tests-pallets-dev.in
6+
# pip-compile-multi
67
#
78
click @ https://github.com/pallets/click/archive/refs/heads/main.tar.gz
89
# via -r requirements/tests-pallets-dev.in

requirements/tests-pallets-min.txt

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
# SHA1:4de7d9e6254a945fd97ec10880dd23b6cd43b70d
12
#
2-
# This file is autogenerated by pip-compile with python 3.10
3+
# This file is autogenerated by pip-compile-multi
34
# To update, run:
45
#
5-
# pip-compile requirements/tests-pallets-min.in
6+
# pip-compile-multi
67
#
78
click==8.0.0
89
# via -r requirements/tests-pallets-min.in

requirements/tests.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
pytest
2-
asgiref
1+
pytest<7
2+
asgiref<3.5
33
blinker
44
greenlet ; python_version < "3.11"
55
python-dotenv

requirements/tests.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
# SHA1:39a475af80093ba5deaee28d9ac0851afb91b6a9
12
#
2-
# This file is autogenerated by pip-compile with python 3.10
3+
# This file is autogenerated by pip-compile-multi
34
# To update, run:
45
#
5-
# pip-compile requirements/tests.in
6+
# pip-compile-multi
67
#
78
asgiref==3.4.1
89
# via -r requirements/tests.in
@@ -20,7 +21,7 @@ pluggy==1.0.0
2021
# via pytest
2122
py==1.11.0
2223
# via pytest
23-
pyparsing==3.0.6
24+
pyparsing==3.0.7
2425
# via packaging
2526
pytest==6.2.5
2627
# via -r requirements/tests.in

0 commit comments

Comments
 (0)