Skip to content

Commit

Permalink
Rename wheel from 11_1 to 11_0
Browse files Browse the repository at this point in the history
  • Loading branch information
agriyakhetarpal committed May 16, 2024
1 parent 3c84d8d commit 3f82289
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/publish_pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,10 @@ jobs:
python -m pip install cmake wget
python scripts/install_KLU_Sundials.py
CIBW_BEFORE_BUILD_MACOS: python -m pip install --upgrade pip cmake casadi setuptools wheel delocate
CIBW_REPAIR_WHEEL_COMMAND_MACOS: delocate-listdeps {wheel} && delocate-wheel -v -w {dest_dir} {wheel}
# Rename wheel for now: https://github.com/casadi/casadi/issues/3698
CIBW_REPAIR_WHEEL_COMMAND_MACOS: |
delocate-listdeps {wheel} && delocate-wheel -v -w {dest_dir} {wheel} --require-target-macos-version 11.1
mv {dest_dir}/{wheel} | sed 's/macosx_11_1/macosx_11_0/' {dest_dir}/{wheel}
CIBW_TEST_COMMAND: python -c "import pybamm; pybamm.IDAKLUSolver()"

- name: Upload wheels for macOS arm64
Expand Down

0 comments on commit 3f82289

Please sign in to comment.