Skip to content

Commit 82f7a0f

Browse files
authored
Removing the macos-12 runner (#4520)
* Removing the macos-12 runner * Update to latest IREE stable release * Try a different stable release * Change jax version * last attempt before reverting jax-iree changes * Hack to make keep this running
1 parent fb81f21 commit 82f7a0f

File tree

5 files changed

+6
-12
lines changed

5 files changed

+6
-12
lines changed

.github/workflows/publish_pypi.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ jobs:
242242
python scripts/install_KLU_Sundials.py
243243
python -m cibuildwheel --output-dir wheelhouse
244244
env:
245-
# 10.13 for Intel (macos-12/macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
245+
# 10.13 for Intel (macos-13), 11.0 for Apple Silicon (macos-14 and macos-latest)
246246
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.os == 'macos-14' && '11.0' || '10.13' }}
247247
CIBW_ARCHS_MACOS: auto
248248
CIBW_BEFORE_BUILD: python -m pip install cmake casadi setuptools wheel delocate

.github/workflows/run_periodic_tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
strategy:
3232
fail-fast: false
3333
matrix:
34-
os: [ ubuntu-latest, macos-12, macos-14, windows-latest ]
34+
os: [ ubuntu-latest, macos-13, macos-14, windows-latest ]
3535
python-version: [ "3.9", "3.10", "3.11", "3.12" ]
3636
name: Tests (${{ matrix.os }} / Python ${{ matrix.python-version }})
3737

@@ -46,7 +46,7 @@ jobs:
4646
sudo apt-get install gfortran gcc graphviz pandoc libopenblas-dev texlive-latex-extra dvipng
4747
4848
- name: Install macOS system dependencies
49-
if: matrix.os == 'macos-12' || matrix.os == 'macos-14'
49+
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
5050
env:
5151
HOMEBREW_NO_INSTALL_CLEANUP: 1
5252
HOMEBREW_NO_AUTO_UPDATE: 1

.github/workflows/test_on_push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
strategy:
4242
fail-fast: false
4343
matrix:
44-
os: [ubuntu-latest, macos-12, macos-14, windows-latest]
44+
os: [ubuntu-latest, macos-13, macos-14, windows-latest]
4545
python-version: ["3.9", "3.10", "3.11", "3.12"]
4646
name: Tests (${{ matrix.os }} / Python ${{ matrix.python-version }})
4747

@@ -65,7 +65,7 @@ jobs:
6565
sudo apt-get install libopenblas-dev texlive-latex-extra dvipng
6666
6767
- name: Install macOS system dependencies
68-
if: matrix.os == 'macos-12' || matrix.os == 'macos-14'
68+
if: matrix.os == 'macos-13' || matrix.os == 'macos-14'
6969
env:
7070
HOMEBREW_NO_INSTALL_CLEANUP: 1
7171
HOMEBREW_NO_AUTO_UPDATE: 1

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ def set_iree_state():
4040
# iree-compiler is currently only available as a wheel on macOS 13 (or
4141
# higher) and Python version 3.11
4242
mac_ver = int(platform.mac_ver()[0].split(".")[0])
43-
if (not sys.version_info[:2] == (3, 11)) or mac_ver < 13:
43+
if (not sys.version_info[:2] == (3, 11)) or mac_ver < 14:
4444
warnings.warn(
4545
(
4646
"IREE is only supported on MacOS 13 (or higher) and Python"

src/pybamm/util.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
1-
#
2-
# Utility classes for PyBaMM
3-
#
4-
# The code in this file is adapted from Pints
5-
# (see https://github.com/pints-team/pints)
6-
#
71
import importlib.util
82
import importlib.metadata
93
import numbers

0 commit comments

Comments
 (0)