Skip to content

Commit 52ce346

Browse files
committed
upgrade dev dependencies, support lint under python 3.12
upgrade pip-tools, pytest, pylint
1 parent e172221 commit 52ce346

File tree

3 files changed

+20
-45
lines changed

3 files changed

+20
-45
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ on:
66
- master
77
pull_request:
88

9-
# pylint crashes on 3.12 due to https://github.com/pylint-dev/astroid/issues/2201
10-
# see https://github.com/pylint-dev/pylint/issues/8782
119
jobs:
1210
build_and_test_pinned:
1311
runs-on: ${{ matrix.os }}
1412
strategy:
1513
matrix:
1614
os: [ubuntu-latest]
17-
python-version: ['3.7', '3.8', '3.9', '3.10', '3.11']
15+
# latest pylint/astroid doesn't support 3.7
16+
# python3.7 is covered in build_and_test_old_deps
17+
python-version: ['3.8', '3.9', '3.10', '3.11', '3.12-dev']
1818

1919
steps:
2020
- uses: actions/checkout@v3
@@ -68,6 +68,7 @@ jobs:
6868
- run: make test
6969

7070
build_and_test_latest:
71+
# use latest package versions meeting .in requirements
7172
runs-on: ${{ matrix.os }}
7273
strategy:
7374
matrix:

requirements-dev-full.txt

Lines changed: 11 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,19 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.7
2+
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements-dev-full.txt requirements-dev.in requirements-extras.in setup.py
66
#
77
alabaster==0.7.13
88
# via sphinx
9-
astroid==2.15.0
9+
astroid==3.0.0
1010
# via pylint
1111
async-generator==1.10
1212
# via trio
1313
attrs==22.2.0
1414
# via
1515
# -r requirements-dev.in
1616
# outcome
17-
# pytest
1817
# trio
1918
babel==2.12.1
2019
# via sphinx
@@ -34,14 +33,14 @@ coverage[toml]==7.2.1
3433
# via pytest-cov
3534
cryptography==39.0.2
3635
# via trustme
37-
dill==0.3.6
36+
dill==0.3.7
3837
# via pylint
3938
docutils==0.18.1
4039
# via
4140
# readme-renderer
4241
# sphinx
4342
# sphinx-rtd-theme
44-
exceptiongroup==1.1.0
43+
exceptiongroup==1.1.3 ; python_version < "3.11"
4544
# via
4645
# pytest
4746
# trio
@@ -57,14 +56,10 @@ imagesize==1.4.1
5756
# via sphinx
5857
importlib-metadata==6.0.0
5958
# via
60-
# build
61-
# click
6259
# keyring
63-
# pluggy
64-
# pytest
6560
# sphinx
6661
# twine
67-
importlib-resources==5.12.0
62+
importlib-resources==6.1.0
6863
# via keyring
6964
iniconfig==2.0.0
7065
# via pytest
@@ -76,8 +71,6 @@ jinja2==3.1.2
7671
# via sphinx
7772
keyring==23.13.1
7873
# via twine
79-
lazy-object-proxy==1.9.0
80-
# via astroid
8174
markdown-it-py==2.2.0
8275
# via rich
8376
markupsafe==2.1.2
@@ -97,7 +90,7 @@ packaging==23.0
9790
# build
9891
# pytest
9992
# sphinx
100-
pip-tools==6.12.3
93+
pip-tools==6.14.0
10194
# via -r requirements-dev.in
10295
pkginfo==1.9.6
10396
# via twine
@@ -112,11 +105,11 @@ pygments==2.14.0
112105
# readme-renderer
113106
# rich
114107
# sphinx
115-
pylint==2.17.0
108+
pylint==3.0.0a7
116109
# via -r requirements-extras.in
117110
pyproject-hooks==1.0.0
118111
# via build
119-
pytest==7.2.2
112+
pytest==7.4.2
120113
# via
121114
# -r requirements-dev.in
122115
# pytest-cov
@@ -125,7 +118,7 @@ pytest-cov==4.0.0
125118
# via -r requirements-dev.in
126119
pytest-trio==0.8.0
127120
# via -r requirements-dev.in
128-
pytz==2022.7.1
121+
pytz==2023.3.post1
129122
# via babel
130123
readme-renderer==37.3
131124
# via twine
@@ -175,6 +168,7 @@ tomli==2.0.1
175168
# via
176169
# build
177170
# coverage
171+
# pip-tools
178172
# pylint
179173
# pyproject-hooks
180174
# pytest
@@ -188,15 +182,9 @@ trustme==0.9.0
188182
# via -r requirements-dev.in
189183
twine==4.0.2
190184
# via -r requirements-extras.in
191-
typed-ast==1.5.4
192-
# via astroid
193-
typing-extensions==4.5.0
185+
typing-extensions==4.8.0
194186
# via
195187
# astroid
196-
# h11
197-
# importlib-metadata
198-
# markdown-it-py
199-
# platformdirs
200188
# pylint
201189
# rich
202190
urllib3==1.26.15
@@ -207,8 +195,6 @@ webencodings==0.5.1
207195
# via bleach
208196
wheel==0.38.4
209197
# via pip-tools
210-
wrapt==1.15.0
211-
# via astroid
212198
wsproto==1.2.0
213199
# via trio-websocket (setup.py)
214200
zipp==3.15.0

requirements-dev.txt

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.7
2+
# This file is autogenerated by pip-compile with Python 3.8
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements-dev.txt requirements-dev.in setup.py
@@ -10,7 +10,6 @@ attrs==22.2.0
1010
# via
1111
# -r requirements-dev.in
1212
# outcome
13-
# pytest
1413
# trio
1514
build==0.10.0
1615
# via pip-tools
@@ -22,7 +21,7 @@ coverage[toml]==7.2.1
2221
# via pytest-cov
2322
cryptography==41.0.4
2423
# via trustme
25-
exceptiongroup==1.1.0
24+
exceptiongroup==1.1.3 ; python_version < "3.11"
2625
# via
2726
# pytest
2827
# trio
@@ -33,12 +32,6 @@ idna==3.4
3332
# via
3433
# trio
3534
# trustme
36-
importlib-metadata==6.0.0
37-
# via
38-
# build
39-
# click
40-
# pluggy
41-
# pytest
4235
iniconfig==2.0.0
4336
# via pytest
4437
outcome==1.2.0
@@ -49,15 +42,15 @@ packaging==23.0
4942
# via
5043
# build
5144
# pytest
52-
pip-tools==6.12.3
45+
pip-tools==6.14.0
5346
# via -r requirements-dev.in
5447
pluggy==1.0.0
5548
# via pytest
5649
pycparser==2.21
5750
# via cffi
5851
pyproject-hooks==1.0.0
5952
# via build
60-
pytest==7.2.2
53+
pytest==7.4.2
6154
# via
6255
# -r requirements-dev.in
6356
# pytest-cov
@@ -74,6 +67,7 @@ tomli==2.0.1
7467
# via
7568
# build
7669
# coverage
70+
# pip-tools
7771
# pyproject-hooks
7872
# pytest
7973
trio==0.22.0
@@ -82,16 +76,10 @@ trio==0.22.0
8276
# trio-websocket (setup.py)
8377
trustme==0.9.0
8478
# via -r requirements-dev.in
85-
typing-extensions==4.5.0
86-
# via
87-
# h11
88-
# importlib-metadata
8979
wheel==0.38.4
9080
# via pip-tools
9181
wsproto==1.2.0
9282
# via trio-websocket (setup.py)
93-
zipp==3.15.0
94-
# via importlib-metadata
9583

9684
# The following packages are considered to be unsafe in a requirements file:
9785
# pip

0 commit comments

Comments
 (0)