Skip to content

Commit f5b07e9

Browse files
Merge pull request #181 from oscarbenjamin/pr_fix_setup_py
Fix setuptools coverage build
2 parents 7660dc7 + ec5af2b commit f5b07e9

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

.github/workflows/buildwheel.yml

+17
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,23 @@ jobs:
138138
- run: pip install .
139139
- run: python -m flint.test --verbose
140140

141+
# Test that we can still make a coverage build with setuptools.
142+
test_coverage_setuptools:
143+
name: Test coverage setuptools build
144+
runs-on: ubuntu-24.04
145+
steps:
146+
- uses: actions/checkout@v4
147+
- uses: actions/setup-python@v5
148+
with:
149+
python-version: '3.12'
150+
- run: sudo apt-get update
151+
- run: sudo apt-get install libflint-dev
152+
- run: pip install cython setuptools coverage
153+
- run: bin/coverage.sh
154+
env:
155+
PYTHONPATH: src
156+
- run: coverage report --sort=cover
157+
141158
# Run SymPy test suite against python-flint master
142159
test_sympy:
143160
name: Test SymPy ${{ matrix.sympy-version }}

setup.py

-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,6 @@
103103
("flint.types.fmpz_mod_mat", ["src/flint/types/fmpz_mod_mat.pyx"]),
104104

105105
("flint.types.fmpq_mpoly", ["src/flint/types/fmpq_mpoly.pyx"]),
106-
("flint.types.fmpz_mpoly_q", ["src/flint/types/fmpz_mpoly_q.pyx"]),
107106

108107
("flint.types.fq_default", ["src/flint/types/fq_default.pyx"]),
109108

0 commit comments

Comments
 (0)