Skip to content

Commit 0448527

Browse files
committed
CI: restore pypy build
1 parent bebd9cf commit 0448527

File tree

2 files changed

+66
-56
lines changed

2 files changed

+66
-56
lines changed

.github/workflows/ci.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ jobs:
1212
strategy:
1313
matrix:
1414
os: [ubuntu-latest]
15-
python-version: ['3.7', '3.8', '3.9', '3.10'] # 'pypy-3.7'
15+
python-version: ['3.7', '3.8', '3.9', '3.10']
16+
1617
steps:
1718
- uses: actions/checkout@v3
1819
- name: Setup Python
@@ -25,6 +26,24 @@ jobs:
2526
- run: make test
2627
- run: make lint
2728

29+
build_and_test_pypy:
30+
runs-on: ${{ matrix.os }}
31+
strategy:
32+
matrix:
33+
os: [ubuntu-latest]
34+
python-version: ['pypy-3.7']
35+
36+
steps:
37+
- uses: actions/checkout@v3
38+
- name: Setup Python
39+
uses: actions/setup-python@v3
40+
with:
41+
python-version: ${{ matrix.python-version }}
42+
cache: 'pip'
43+
cache-dependency-path: 'requirements-min.txt'
44+
- run: pip install . -r requirements-min.txt
45+
- run: make test
46+
2847
build_and_test_latest:
2948
runs-on: ${{ matrix.os }}
3049
strategy:

requirements-min.txt

Lines changed: 46 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -1,114 +1,105 @@
11
#
2-
# This file is autogenerated by pip-compile with python 3.6
3-
# To update, run:
2+
# This file is autogenerated by pip-compile with Python 3.7
3+
# by the following command:
44
#
55
# pip-compile --output-file=requirements-dev.txt requirements-dev.in setup.py
66
#
77
async-generator==1.10
88
# via
9-
# pytest-trio
109
# trio
1110
# trio-websocket (setup.py)
12-
attrs==21.4.0
11+
attrs==22.2.0
1312
# via
1413
# -r requirements-dev.in
1514
# outcome
1615
# pytest
1716
# trio
18-
certifi==2021.10.8
17+
build==0.10.0
18+
# via pip-tools
19+
certifi==2022.12.7
1920
# via requests
20-
cffi==1.15.0
21+
cffi==1.15.1
2122
# via cryptography
22-
charset-normalizer==2.0.10
23+
charset-normalizer==3.1.0
2324
# via requests
24-
click==8.0.3
25+
click==8.1.3
2526
# via pip-tools
26-
contextvars==2.4
27-
# via
28-
# sniffio
29-
# trio
30-
coverage[toml]==6.2
27+
coverage[toml]==6.5.0
3128
# via
3229
# pytest-cov
33-
cryptography==3.3.2
30+
cryptography==39.0.2
3431
# via trustme
35-
dataclasses==0.8
36-
# via wsproto
37-
h11==0.12.0
32+
exceptiongroup==1.1.0
33+
# via
34+
# pytest
35+
# trio
36+
h11==0.14.0
3837
# via wsproto
39-
idna==3.3
38+
idna==3.4
4039
# via
4140
# requests
4241
# trio
4342
# trustme
44-
immutables==0.16
45-
# via contextvars
46-
importlib-metadata==4.8.3
47-
# via
48-
# click
49-
# pep517
50-
# pluggy
51-
# pytest
52-
iniconfig==1.1.1
43+
importlib-resources==5.12.0
44+
# via keyring
45+
iniconfig==2.0.0
5346
# via pytest
54-
outcome==1.1.0
47+
outcome==1.2.0
5548
# via
5649
# pytest-trio
5750
# trio
58-
packaging==21.3
59-
# via pytest
60-
pep517==0.12.0
61-
# via pip-tools
62-
pip-tools==6.4.0
51+
packaging==23.0
52+
# via
53+
# build
54+
# pytest
55+
pip-tools==6.12.3
6356
# via -r requirements-dev.in
6457
pluggy==1.0.0
6558
# via pytest
66-
py==1.11.0
67-
# via pytest
6859
pycparser==2.21
6960
# via cffi
70-
pyparsing==3.0.6
71-
# via packaging
72-
pytest==6.2.5
61+
pyproject-hooks==1.0.0
62+
# via build
63+
pytest==7.2.2
7364
# via
7465
# -r requirements-dev.in
7566
# pytest-cov
7667
# pytest-trio
77-
pytest-cov==3.0.0
68+
pytest-cov==4.0.0
7869
# via -r requirements-dev.in
79-
pytest-trio==0.7.0
70+
pytest-trio==0.8.0
8071
# via -r requirements-dev.in
81-
sniffio==1.2.0
72+
pytz==2022.7.1
73+
# via babel
74+
sniffio==1.3.0
8275
# via trio
8376
sortedcontainers==2.4.0
8477
# via trio
85-
toml==0.10.2
86-
# via pytest
87-
tomli==1.2.3
78+
tomli==2.0.1
8879
# via
80+
# build
8981
# coverage
90-
# pep517
91-
trio==0.19.0
82+
# pyproject-hooks
83+
# pytest
84+
trio==0.22.0
9285
# via
9386
# -r requirements-dev.in
9487
# pytest-trio
9588
# trio-websocket (setup.py)
9689
trustme==0.9.0
9790
# via -r requirements-dev.in
98-
typing-extensions==4.0.1
91+
typing-extensions==4.5.0
9992
# via
100-
# immutables
101-
# importlib-metadata
102-
urllib3==1.26.8
103-
# via requests
104-
wheel==0.37.1
93+
# h11
94+
# platformdirs
95+
wheel==0.38.4
10596
# via pip-tools
106-
wsproto==0.15.0
97+
wsproto==1.2.0
10798
# via trio-websocket (setup.py)
108-
zipp==3.6.0
99+
zipp==3.15.0
109100
# via
110101
# importlib-metadata
111-
# pep517
102+
# importlib-resources
112103

113104
# The following packages are considered to be unsafe in a requirements file:
114105
# pip

0 commit comments

Comments
 (0)