@@ -102,7 +102,6 @@ jobs:
102
102
- " 3.10"
103
103
- " 3.11"
104
104
- " 3.12"
105
- - " 3.13.0-alpha - 3.13.0"
106
105
os : [ubuntu-20.04, macos-11]
107
106
108
107
steps :
@@ -131,17 +130,7 @@ jobs:
131
130
restore-keys : |
132
131
${{ runner.os }}-pip-
133
132
134
- - name : Install Build Dependencies (3.13.0-alpha - 3.13.0)
135
- if : matrix.python-version == '3.13.0-alpha - 3.13.0'
136
- run : |
137
- pip install -U pip
138
- pip install -U setuptools wheel twine
139
- # cffi will probably have no public release until a Python 3.13 beta
140
- # or even RC release, see https://github.com/python-cffi/cffi/issues/23
141
- echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt
142
- PIP_CONSTRAINT=cffi_constraint.txt pip install cffi
143
133
- name : Install Build Dependencies
144
- if : matrix.python-version != '3.13.0-alpha - 3.13.0'
145
134
run : |
146
135
pip install -U pip
147
136
pip install -U setuptools wheel twine cffi
@@ -185,18 +174,7 @@ jobs:
185
174
python setup.py build_ext -i
186
175
python setup.py bdist_wheel
187
176
188
- - name : Install AccessControl and dependencies (3.13.0-alpha - 3.13.0)
189
- if : matrix.python-version == '3.13.0-alpha - 3.13.0'
190
- run : |
191
- # Install to collect dependencies into the (pip) cache.
192
- # cffi will probably have no public release until a Python 3.13 beta
193
- # or even RC release, see https://github.com/python-cffi/cffi/issues/23
194
- echo "cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58" > cffi_constraint.txt
195
- # Use "--pre" here because dependencies with support for this future
196
- # Python release may only be available as pre-releases
197
- PIP_CONSTRAINT=cffi_constraint.txt pip install --pre .[test]
198
177
- name : Install AccessControl and dependencies
199
- if : matrix.python-version != '3.13.0-alpha - 3.13.0'
200
178
run : |
201
179
# Install to collect dependencies into the (pip) cache.
202
180
pip install .[test]
@@ -240,7 +218,6 @@ jobs:
240
218
&& startsWith(github.ref, 'refs/tags')
241
219
&& startsWith(runner.os, 'Mac')
242
220
&& !startsWith(matrix.python-version, 'pypy')
243
- && !startsWith(matrix.python-version, '3.13.0-alpha - 3.13.0')
244
221
env :
245
222
TWINE_PASSWORD : ${{ secrets.TWINE_PASSWORD }}
246
223
run : |
@@ -259,7 +236,6 @@ jobs:
259
236
- " 3.10"
260
237
- " 3.11"
261
238
- " 3.12"
262
- - " 3.13.0-alpha - 3.13.0"
263
239
os : [ubuntu-20.04, macos-11]
264
240
265
241
steps :
@@ -293,25 +269,7 @@ jobs:
293
269
with :
294
270
name : AccessControl-${{ runner.os }}-${{ matrix.python-version }}.whl
295
271
path : dist/
296
- - name : Install AccessControl 3.13.0-alpha - 3.13.0
297
- if : ${{ startsWith(matrix.python-version, '3.13.0-alpha - 3.13.0') }}
298
- run : |
299
- pip install -U wheel setuptools
300
- # cffi will probably have no public release until a beta or even RC
301
- # version of Python 3.13, see https://github.com/python-cffi/cffi/issues/23
302
- echo 'cffi @ git+https://github.com/python-cffi/cffi.git@954cab4f889fb019a7f90df153ee1be501495f58 ; platform_python_implementation == "CPython"' > cffi_constraint.txt
303
- # coverage has a wheel on PyPI for a future python version which is
304
- # not ABI compatible with the current one, so build it from sdist:
305
- pip install -U --no-binary :all: coverage
306
- # Unzip into src/ so that testrunner can find the .so files
307
- # when we ask it to load tests from that directory. This
308
- # might also save some build time?
309
- unzip -n dist/AccessControl-*whl -d src
310
- # Use "--pre" here because dependencies with support for this future
311
- # Python release may only be available as pre-releases
312
- PIP_CONSTRAINT=cffi_constraint.txt pip install --pre -U -e .[test]
313
272
- name : Install AccessControl
314
- if : ${{ !startsWith(matrix.python-version, '3.13.0-alpha - 3.13.0') }}
315
273
run : |
316
274
pip install -U wheel setuptools
317
275
pip install -U coverage
0 commit comments