Skip to content

Commit 1c01fe2

Browse files
authored
Pin setuptools verison on macos CI (workaround petsc4py issue) (#4077)
* Update Python * Remove build isolation * Revert version * Drop Python version * Earlier python * Change * Change python * pip version * No build isolation * Undo key change * Install pyamg * More dependency problems
1 parent aaad975 commit 1c01fe2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ jobs:
3737
uses: actions/setup-python@v6
3838
id: cp3
3939
with:
40-
python-version: "3.12"
40+
python-version: "3.14"
4141

4242
- name: Install Homebrew dependencies
4343
run: |
@@ -46,7 +46,7 @@ jobs:
4646
4747
- name: Install Python dependencies (petsc4py)
4848
run: |
49-
pip install cython setuptools wheel
49+
pip install cython setuptools==80 wheel
5050
pip install mpi4py numpy
5151
5252
- name: Restore cache PETSc and petsc4py
@@ -121,6 +121,7 @@ jobs:
121121
- name: Build and install DOLFINx Python interface
122122
working-directory: python
123123
run: |
124+
pip install pyamg pybind11>=2.8.0 setuptools_scm[toml]==8.3.0
124125
pip install scikit-build-core
125126
python -m scikit_build_core.build requires | python -c "import sys, json; print(' '.join(json.load(sys.stdin)))" | xargs pip install
126127
pip install --check-build-dependencies --no-build-isolation --config-settings=cmake.build-type="Developer" './[test]'

0 commit comments

Comments
 (0)