@@ -124,7 +124,7 @@ jobs:
124
124
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
125
125
126
126
- name : pip cache
127
- uses : actions/cache@v3
127
+ uses : actions/cache@v4
128
128
with :
129
129
path : ${{ steps.pip-cache.outputs.dir }}
130
130
key : ${{ runner.os }}-pip-${{ matrix.python-version }}
@@ -138,7 +138,8 @@ jobs:
138
138
pip install -U setuptools wheel twine
139
139
# cffi will probably have no public release until a Python 3.13 beta
140
140
# or even RC release, see https://github.com/python-cffi/cffi/issues/23
141
- pip install -U "cffi @ https://github.com/python-cffi/cffi/archive/refs/heads/main.zip"
141
+ echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt
142
+ PIP_CONSTRAINT=cffi_constraint.txt pip install cffi
142
143
# twine has no release for 3.13, yet, see https://github.com/pypa/twine/issues/1030
143
144
pip install -U "git+https://github.com/pypa/twine.git#egg=twine"
144
145
- name : Install Build Dependencies
@@ -190,9 +191,12 @@ jobs:
190
191
if : matrix.python-version == '3.13.0-alpha - 3.13.0'
191
192
run : |
192
193
# Install to collect dependencies into the (pip) cache.
194
+ # cffi will probably have no public release until a Python 3.13 beta
195
+ # or even RC release, see https://github.com/python-cffi/cffi/issues/23
196
+ echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt
193
197
# Use "--pre" here because dependencies with support for this future
194
198
# Python release may only be available as pre-releases
195
- pip install --pre .[test]
199
+ PIP_CONSTRAINT=cffi_constraint.txt pip install --pre .[test]
196
200
- name : Install AccessControl and dependencies
197
201
if : matrix.python-version != '3.13.0-alpha - 3.13.0'
198
202
run : |
@@ -279,7 +283,7 @@ jobs:
279
283
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
280
284
281
285
- name : pip cache
282
- uses : actions/cache@v3
286
+ uses : actions/cache@v4
283
287
with :
284
288
path : ${{ steps.pip-cache.outputs.dir }}
285
289
key : ${{ runner.os }}-pip-${{ matrix.python-version }}
@@ -297,17 +301,17 @@ jobs:
297
301
pip install -U wheel setuptools
298
302
# cffi will probably have no public release until a beta or even RC
299
303
# version of Python 3.13, see https://github.com/python-cffi/cffi/issues/23
300
- pip install -U 'cffi @ https://github.com/python-cffi/cffi/archive/refs/heads/main.zip ; platform_python_implementation == "CPython"'
304
+ echo 'cffi @ git+ https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58 ; platform_python_implementation == "CPython"' > cffi_constraint.txt
301
305
# coverage has a wheel on PyPI for a future python version which is
302
306
# not ABI compatible with the current one, so build it from sdist:
303
307
pip install -U --no-binary :all: coverage
304
308
# Unzip into src/ so that testrunner can find the .so files
305
309
# when we ask it to load tests from that directory. This
306
310
# might also save some build time?
307
- unzip -n dist/AccessControl -*whl -d src
311
+ unzip -n dist/zope.index -*whl -d src
308
312
# Use "--pre" here because dependencies with support for this future
309
313
# Python release may only be available as pre-releases
310
- pip install --pre -U -e .[test]
314
+ PIP_CONSTRAINT=cffi_constraint.txt pip install --pre -U -e .[test]
311
315
- name : Install AccessControl
312
316
if : ${{ !startsWith(matrix.python-version, '3.13.0-alpha - 3.13.0') }}
313
317
run : |
@@ -374,7 +378,7 @@ jobs:
374
378
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
375
379
376
380
- name : pip cache
377
- uses : actions/cache@v3
381
+ uses : actions/cache@v4
378
382
with :
379
383
path : ${{ steps.pip-cache.outputs.dir }}
380
384
key : ${{ runner.os }}-pip-${{ matrix.python-version }}
@@ -427,7 +431,7 @@ jobs:
427
431
echo "dir=$(pip cache dir)" >>$GITHUB_OUTPUT
428
432
429
433
- name : pip cache
430
- uses : actions/cache@v3
434
+ uses : actions/cache@v4
431
435
with :
432
436
path : ${{ steps.pip-cache.outputs.dir }}
433
437
key : ${{ runner.os }}-pip_manylinux-${{ matrix.image }}-${{ matrix.python-version }}
0 commit comments