Skip to content

Commit 6488494

Browse files
authored
Merge pull request #279 from pallets/update-requirements
update requirements, stop using dependabot
2 parents 341836f + a885e85 commit 6488494

File tree

9 files changed

+41
-135
lines changed

9 files changed

+41
-135
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
@@ -39,19 +39,13 @@ jobs:
3939
- uses: actions/setup-python@v2
4040
with:
4141
python-version: ${{ matrix.python }}
42+
cache: 'pip'
43+
cache-dependency-path: 'requirements/*.txt'
4244
- name: update pip
4345
run: |
4446
pip install -U wheel
4547
pip install -U setuptools
4648
python -m pip install -U pip
47-
- name: get pip cache dir
48-
id: pip-cache
49-
run: echo "::set-output name=dir::$(pip cache dir)"
50-
- name: cache pip
51-
uses: actions/cache@v2
52-
with:
53-
path: ${{ steps.pip-cache.outputs.dir }}
54-
key: pip|${{ runner.os }}|${{ matrix.python }}|${{ hashFiles('setup.py') }}|${{ hashFiles('requirements/*.txt') }}
5549
- name: cache mypy
5650
uses: actions/cache@v2
5751
with:

.pre-commit-config.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,13 @@ repos:
88
- id: pyupgrade
99
args: ["--py36-plus"]
1010
- repo: https://github.com/asottile/reorder_python_imports
11-
rev: v2.6.0
11+
rev: v2.7.1
1212
hooks:
1313
- id: reorder-python-imports
1414
args: ["--application-directories", "src"]
15+
additional_dependencies: ["setuptools>60.9"]
1516
- repo: https://github.com/psf/black
16-
rev: 21.12b0
17+
rev: 22.1.0
1718
hooks:
1819
- id: black
1920
- repo: https://github.com/PyCQA/flake8

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: 19 additions & 98 deletions
Original file line numberDiff line numberDiff line change
@@ -1,129 +1,50 @@
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-
attrs==21.4.0
10-
# via pytest
11-
babel==2.9.1
12-
# via sphinx
13-
certifi==2021.10.8
14-
# via requests
8+
-r docs.txt
9+
-r tests.txt
10+
-r typing.txt
1511
cfgv==3.3.1
1612
# via pre-commit
17-
charset-normalizer==2.0.10
18-
# via requests
1913
click==8.0.3
20-
# via pip-tools
14+
# via
15+
# pip-compile-multi
16+
# pip-tools
2117
distlib==0.3.4
2218
# via virtualenv
23-
docutils==0.17.1
24-
# via sphinx
25-
filelock==3.4.2
19+
filelock==3.5.0
2620
# via
2721
# tox
2822
# virtualenv
29-
identify==2.4.3
23+
identify==2.4.10
3024
# via pre-commit
31-
idna==3.3
32-
# via requests
33-
imagesize==1.3.0
34-
# via sphinx
35-
iniconfig==1.1.1
36-
# via pytest
37-
jinja2==3.0.3
38-
# via sphinx
39-
markupsafe==2.0.1
40-
# via jinja2
41-
mypy==0.931
42-
# via -r requirements/typing.in
43-
mypy-extensions==0.4.3
44-
# via mypy
4525
nodeenv==1.6.0
4626
# via pre-commit
47-
packaging==21.3
48-
# via
49-
# pallets-sphinx-themes
50-
# pytest
51-
# sphinx
52-
# tox
53-
pallets-sphinx-themes==2.0.2
54-
# via -r requirements/docs.in
5527
pep517==0.12.0
5628
# via pip-tools
57-
pip-tools==6.4.0
29+
pip-compile-multi==2.4.3
5830
# via -r requirements/dev.in
59-
platformdirs==2.4.1
31+
pip-tools==6.5.1
32+
# via pip-compile-multi
33+
platformdirs==2.5.0
6034
# via virtualenv
61-
pluggy==1.0.0
62-
# via
63-
# pytest
64-
# tox
65-
pre-commit==2.16.0
35+
pre-commit==2.17.0
6636
# via -r requirements/dev.in
67-
py==1.11.0
68-
# via
69-
# pytest
70-
# tox
71-
pygments==2.11.2
72-
# via sphinx
73-
pyparsing==3.0.6
74-
# via packaging
75-
pytest==6.2.5
76-
# via -r requirements/tests.in
77-
pytz==2021.3
78-
# via babel
7937
pyyaml==6.0
8038
# via pre-commit
81-
requests==2.27.1
82-
# via sphinx
8339
six==1.16.0
8440
# via
8541
# tox
8642
# virtualenv
87-
snowballstemmer==2.2.0
88-
# via sphinx
89-
sphinx==4.3.2
90-
# via
91-
# -r requirements/docs.in
92-
# pallets-sphinx-themes
93-
# sphinx-issues
94-
# sphinxcontrib-log-cabinet
95-
sphinx-issues==3.0.1
96-
# via -r requirements/docs.in
97-
sphinxcontrib-applehelp==1.0.2
98-
# via sphinx
99-
sphinxcontrib-devhelp==1.0.2
100-
# via sphinx
101-
sphinxcontrib-htmlhelp==2.0.0
102-
# via sphinx
103-
sphinxcontrib-jsmath==1.0.1
104-
# via sphinx
105-
sphinxcontrib-log-cabinet==1.0.1
106-
# via -r requirements/docs.in
107-
sphinxcontrib-qthelp==1.0.3
108-
# via sphinx
109-
sphinxcontrib-serializinghtml==1.1.5
110-
# via sphinx
111-
toml==0.10.2
112-
# via
113-
# pre-commit
114-
# pytest
115-
# tox
116-
tomli==2.0.0
117-
# via
118-
# mypy
119-
# pep517
43+
toposort==1.7
44+
# via pip-compile-multi
12045
tox==3.24.5
12146
# via -r requirements/dev.in
122-
typing-extensions==4.0.1
123-
# via mypy
124-
urllib3==1.26.8
125-
# via requests
126-
virtualenv==20.13.0
47+
virtualenv==20.13.1
12748
# via
12849
# pre-commit
12950
# tox

requirements/docs.txt

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
1+
# SHA1:45c590f97fe95b8bdc755eef796e91adf5fbe4ea
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.12
1415
# via requests
1516
docutils==0.17.1
1617
# via sphinx
@@ -30,15 +31,15 @@ pallets-sphinx-themes==2.0.2
3031
# via -r requirements/docs.in
3132
pygments==2.11.2
3233
# via sphinx
33-
pyparsing==3.0.6
34+
pyparsing==3.0.7
3435
# via packaging
3536
pytz==2021.3
3637
# via babel
3738
requests==2.27.1
3839
# via sphinx
3940
snowballstemmer==2.2.0
4041
# via sphinx
41-
sphinx==4.3.2
42+
sphinx==4.4.0
4243
# via
4344
# -r requirements/docs.in
4445
# pallets-sphinx-themes
@@ -62,6 +63,3 @@ sphinxcontrib-serializinghtml==1.1.5
6263
# via sphinx
6364
urllib3==1.26.8
6465
# via requests
65-
66-
# The following packages are considered to be unsafe in a requirements file:
67-
# setuptools

requirements/tests.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pytest
1+
pytest<7

requirements/tests.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
# SHA1:43b07f68ee4dcf187dce9de79fc8dd462f1c99d6
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
attrs==21.4.0
89
# via pytest
@@ -14,7 +15,7 @@ pluggy==1.0.0
1415
# via pytest
1516
py==1.11.0
1617
# via pytest
17-
pyparsing==3.0.6
18+
pyparsing==3.0.7
1819
# via packaging
1920
pytest==6.2.5
2021
# via -r requirements/tests.in

requirements/typing.txt

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
1+
# SHA1:7983aaa01d64547827c20395d77e248c41b2572f
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/typing.in
6+
# pip-compile-multi
67
#
78
mypy==0.931
89
# via -r requirements/typing.in
910
mypy-extensions==0.4.3
1011
# via mypy
11-
tomli==2.0.0
12+
tomli==2.0.1
1213
# via mypy
13-
typing-extensions==4.0.1
14+
typing-extensions==4.1.1
1415
# via mypy

0 commit comments

Comments
 (0)