3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-07-29 18:23:49 +00:00

Fix nightly-validation macOS wheel install by rewriting 13_3 platform tag to 13_0

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: 57b9b87e-950a-49ea-bbb3-ed585646a5a9
This commit is contained in:
Nikolaj Bjorner 2026-07-28 01:25:24 -07:00
parent 1a63ac9042
commit 8210bbb9ea

View file

@ -601,6 +601,14 @@ jobs:
- name: Install and test wheel
run: |
# Nightly wheels are tagged with the exact deployment target (e.g.
# macosx_13_3), but pip only recognizes major.0 platform tags such as
# macosx_13_0. Rewrite the unsupported minor version so the wheel is
# installable, mirroring the rename done in nightly.yml.
for whl in wheels/*-macosx_13_3_*.whl; do
[ -e "$whl" ] || continue
mv "$whl" "${whl/macosx_13_3_/macosx_13_0_}"
done
pip install wheels/*.whl
python -c "import z3; x = z3.Int('x'); s = z3.Solver(); s.add(x > 0); print('Result:', s.check()); print('Model:', s.model())"
@ -630,6 +638,14 @@ jobs:
- name: Install and test wheel
run: |
# Nightly wheels are tagged with the exact deployment target (e.g.
# macosx_13_3), but pip only recognizes major.0 platform tags such as
# macosx_13_0. Rewrite the unsupported minor version so the wheel is
# installable, mirroring the rename done in nightly.yml.
for whl in wheels/*-macosx_13_3_*.whl; do
[ -e "$whl" ] || continue
mv "$whl" "${whl/macosx_13_3_/macosx_13_0_}"
done
pip install wheels/*.whl
python -c "import z3; x = z3.Int('x'); s = z3.Solver(); s.add(x > 0); print('Result:', s.check()); print('Model:', s.model())"