Skip to content

Commit 4709fce

Browse files
committed
ci: add requests compatiblity check
1 parent d69dac1 commit 4709fce

File tree

2 files changed

+101
-1
lines changed

2 files changed

+101
-1
lines changed

.github/workflows/deps.yaml

Lines changed: 100 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,100 @@
1+
name: Dependency Compatiblity
2+
on:
3+
- pull_request
4+
concurrency:
5+
group: ${{ github.workflow }}-${{ github.ref }}
6+
cancel-in-progress: true
7+
env:
8+
UV_SYSTEM_PYTHON: true
9+
jobs:
10+
lint:
11+
runs-on: ubuntu-latest
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
requests-version:
16+
- '2.32.3'
17+
- '2.32.2'
18+
- '2.31.0'
19+
# - '2.30.0'
20+
# - '2.29.0'
21+
# - '2.28.2'
22+
# - '2.28.1'
23+
# - '2.28.0'
24+
# - '2.27.1'
25+
# - '2.27.0'
26+
# - '2.26.0'
27+
# - '2.25.1'
28+
# - '2.25.0'
29+
# - '2.24.0'
30+
# - '2.23.0'
31+
# - '2.22.0'
32+
# - '2.21.0'
33+
# - '2.20.1'
34+
# - '2.20.0'
35+
# - '2.19.1'
36+
# - '2.19.0'
37+
# - '2.18.4'
38+
# - '2.18.3'
39+
# - '2.18.2'
40+
# - '2.18.1'
41+
# - '2.18.0'
42+
# - '2.17.3'
43+
# - '2.17.2'
44+
# - '2.17.1'
45+
# - '2.17.0'
46+
# - '2.16.5'
47+
# - '2.16.4'
48+
# - '2.16.3'
49+
# - '2.16.2'
50+
# - '2.16.1'
51+
# - '2.16.0'
52+
# - '2.15.1'
53+
# - '2.15.0'
54+
# - '2.14.2'
55+
# - '2.14.1'
56+
# - '2.14.0'
57+
# - '2.13.0'
58+
# - '2.12.5'
59+
# - '2.12.4'
60+
# - '2.12.3'
61+
# - '2.12.2'
62+
# - '2.12.1'
63+
# - '2.12.0'
64+
# - '2.11.1'
65+
# - '2.11.0'
66+
# - '2.10.0'
67+
# - '2.9.2'
68+
# - '2.9.1'
69+
# - '2.9.0'
70+
# - '2.8.1'
71+
# - '2.8.0'
72+
# - '2.7.0'
73+
# - '2.6.2'
74+
# - '2.6.1'
75+
# - '2.6.0'
76+
# - '2.5.3'
77+
# - '2.5.2'
78+
# - '2.5.1'
79+
# - '2.5.0'
80+
# - '2.4.3'
81+
# - '2.4.2'
82+
# - '2.4.1'
83+
# - '2.4.0'
84+
# - '2.3.0'
85+
# - '2.2.1'
86+
# - '2.2.0'
87+
# - '2.1.0'
88+
# - '2.0.1'
89+
# - '2.0.0'
90+
steps:
91+
- uses: actions/checkout@v4
92+
- uses: actions/setup-python@v5
93+
with:
94+
python-version: 3.x
95+
check-latest: true
96+
cache: 'pip'
97+
- run: make ensure-uv
98+
- run: uv pip install requests==${{ matrix.requests-version }}
99+
- run: make deps
100+
- run: make test

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ classifiers = [
2020
]
2121
dynamic = ["version"]
2222
dependencies = [
23-
"requests>=2.31.0,<3",
23+
"requests>=2,<3",
2424
"packaging",
2525
"typing-extensions"
2626
]

0 commit comments

Comments
 (0)