From 3f822893223319ec0e162bb555014585ede2f223 Mon Sep 17 00:00:00 2001 From: Agriya Khetarpal <74401230+agriyakhetarpal@users.noreply.github.com> Date: Thu, 16 May 2024 23:20:01 +0530 Subject: [PATCH] Rename wheel from 11_1 to 11_0 --- .github/workflows/publish_pypi.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index e5d8a190c8..b41c190531 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -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