File tree Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Expand file tree Collapse file tree 2 files changed +8
-12
lines changed Original file line number Diff line number Diff line change @@ -200,14 +200,14 @@ jobs:
200
200
- run : bin/coverage_setuptools.sh
201
201
202
202
# Test that we can make a coverage build and report coverage
203
- test_coverage_build :
203
+ test_coverage_build_meson :
204
204
name : Test coverage meson build
205
205
runs-on : ubuntu-24.04
206
206
steps :
207
207
- uses : actions/checkout@v4
208
208
- uses : actions/setup-python@v5
209
209
with :
210
- python-version : ' 3.13 '
210
+ python-version : ' 3.12 ' # does not work with 3.13
211
211
- run : sudo apt-get update
212
212
- run : sudo apt-get install libflint-dev
213
213
- run : pip install -r requirements-dev.txt
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
#
3
- # This needs a patched Cython:
4
- #
5
- # pip install git+https://github.com/oscarbenjamin/cython.git@pr_relative_paths
6
- #
7
- # That patch has been submitted as a pull request:
8
- #
9
- # https://github.com/cython/cython/pull/6341
10
- #
11
3
# Arguments to this script are passed to python -m flint.test e.g. to skip
12
4
# doctests and run in quiet mode:
13
5
#
@@ -18,9 +10,13 @@ set -o errexit
18
10
RC=" --rcfile=.coveragerc.meson"
19
11
20
12
# See https://github.com/cython/cython/issues/6658
21
- # Needed for Python 3.13 only
13
+ # Needed for Python 3.13 only but the plugin does not work with 3.13 anyway...
14
+ # pip uninstall -y cython
15
+ # pip install git+https://github.com/cython/cython.git@fdbca99
16
+
22
17
pip uninstall -y cython
23
- pip install git+https://github.com/cython/cython.git@fdbca99
18
+ pip install --pre cython # unpinned to pick up new releases in CI
19
+ # pip install cython==3.1.0a1 # known working version for Python < 3.13
24
20
25
21
meson setup build -Dcoverage=true
26
22
spin run -- coverage run $RC -m flint.test $@
You can’t perform that action at this time.
0 commit comments