Skip to content

Commit 6e82b8a

Browse files
committed
ubuntu 24.04 with --break-system-packages)
1 parent 6dbc411 commit 6e82b8a

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

.github/workflows/big_endian.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ jobs:
107107
# Configure git for workspace access
108108
git config --global --add safe.directory /workspace &&
109109
110-
# Install Python build dependencies
111-
python -m pip install --upgrade pip &&
112-
python -m pip install meson>=1.3.2 meson-python wheel &&
113-
python -m pip install --pre --upgrade --timeout=60 --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy &&
114-
python -m pip install pytest pytest-run-parallel pytest-timeout &&
110+
# Install Python build dependencies (using --break-system-packages for Ubuntu 24.04)
111+
python -m pip install --break-system-packages --upgrade pip &&
112+
python -m pip install --break-system-packages meson>=1.3.2 meson-python wheel &&
113+
python -m pip install --break-system-packages --pre --upgrade --timeout=60 --extra-index-url https://pypi.anaconda.org/scientific-python-nightly-wheels/simple numpy &&
114+
python -m pip install --break-system-packages pytest pytest-run-parallel pytest-timeout &&
115115
116116
# Install system dependencies for quaddtype (SLEEF dependencies)
117117
apt install -y libssl-dev libfftw3-dev pkg-config
@@ -135,8 +135,8 @@ jobs:
135135
# Set OpenMP linking for cross-compilation
136136
export LDFLAGS=\"-fopenmp\" &&
137137
138-
# Install quaddtype with test dependencies
139-
python -m pip install .[test] -v --no-build-isolation --force-reinstall
138+
# Install quaddtype with test dependencies (using --break-system-packages)
139+
python -m pip install --break-system-packages .[test] -v --no-build-isolation --force-reinstall
140140
141141
cd ..
142142
python -m pytest -vvv --color=yes --timeout=600 --tb=short quaddtype/tests/

.github/workflows/build_wheels.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ jobs:
217217
env:
218218
LDFLAGS: "-fopenmp"
219219
run: |
220-
python -m build --sdist --outdir dist/
220+
python -m build --sdist --no-isolation --outdir dist/
221221
pip install --no-build-isolation dist/*.tar.gz -v
222222
pytest -s tests
223223
working-directory: ./quaddtype

0 commit comments

Comments
 (0)