File tree Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Expand file tree Collapse file tree 5 files changed +14
-5
lines changed Original file line number Diff line number Diff line change 25
25
- uses : actions/checkout@v4
26
26
27
27
- name : Build
28
+ env :
29
+ PIP_CONSTRAINT : ' ci/constraints.txt'
28
30
run : |
29
31
python -m pip install --config-settings=--build-option=--system-zstd .
30
32
50
52
- uses : actions/checkout@v4
51
53
52
54
- name : Build
55
+ env :
56
+ PIP_CONSTRAINT : ' ci/constraints.txt'
53
57
run : |
54
58
python -m pip install --config-settings=--build-option=--system-zstd .
Original file line number Diff line number Diff line change 13
13
with :
14
14
version : " 0.4.29"
15
15
- name : Run Sphinx
16
+ env :
17
+ PIP_CONSTRAINT : ' ci/constraints.txt'
16
18
run : |
17
19
uv venv --python 3.12 venv
18
20
source venv/bin/activate
Original file line number Diff line number Diff line change 80
80
# TODO enable once PyO3 supports 3.13.
81
81
- name : Build (Rust)
82
82
if : matrix.arch == 'x64' && matrix.py != '3.13'
83
+ env :
84
+ PIP_CONSTRAINT : ' ci/constraints.txt'
83
85
run : |
84
86
python -m pip install --config-settings='--build-option=--rust-backend' -e .
85
87
Original file line number Diff line number Diff line change
1
+ # 69.0.0 breaks handling of --config-settings=--build-option, which our CI
2
+ # relies on. So constrained to an older version until we figure out a
3
+ # workaround. See comment at
4
+ # https://github.com/pypa/pip/issues/11859#issuecomment-2132287974.
5
+ setuptools<69.0.0
Original file line number Diff line number Diff line change @@ -29,11 +29,7 @@ Documentation = "https://python-zstandard.readthedocs.io/en/latest/"
29
29
[build-system ]
30
30
requires = [
31
31
" cffi>=1.17.0" ,
32
- # 69.0.0 breaks handling of --config-settings=--build-option, which our CI
33
- # relies on. So constrained to an older version until we figure out a
34
- # workaround. See comment at
35
- # https://github.com/pypa/pip/issues/11859#issuecomment-2132287974.
36
- " setuptools<69.0.0" ,
32
+ " setuptools" ,
37
33
]
38
34
# Need to use legacy backend because setup_zstd.py breaks build isolation.
39
35
build-backend = " setuptools.build_meta:__legacy__"
You can’t perform that action at this time.
0 commit comments