Skip to content

Commit 5963dcc

Browse files
committed
Python 3.12 macOS builds are now available. [ci skip]
1 parent 422e096 commit 5963dcc

3 files changed

Lines changed: 12 additions & 10 deletions

File tree

.github/workflows/devel.yaml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ jobs:
1818
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
1919
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
2020
exclude:
21+
# Exclude all but the latest Python from macOS
2122
- platform:
2223
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
23-
python-version: "3.12" # MacOS can't run 3.12 yet... We want 3.10 and 3.11
24+
python-version: "3.10"
25+
- platform:
26+
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
27+
python-version: "3.11"
2428
environment:
2529
name: ghostly-build
2630
defaults:
@@ -63,12 +67,12 @@ jobs:
6367
- name: Install anaconda-client
6468
shell: bash
6569
run: python -m pip install anaconda-client
66-
if: ${{ matrix.platform.name == 'linux' && matrix.python-version == '3.11' }}
70+
if: ${{ matrix.platform.name == 'linux' && matrix.python-version == '3.12' }}
6771
#
6872
- name: Upload package
6973
shell: bash
7074
run: python actions/upload_package.py
7175
env:
7276
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
7377
ANACONDA_LABEL: dev
74-
if: ${{ matrix.platform.name == 'linux' && matrix.python-version == '3.11' }}
78+
if: ${{ matrix.platform.name == 'linux' && matrix.python-version == '3.12' }}

.github/workflows/main.yaml

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ jobs:
2020
platform:
2121
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
2222
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
23-
exclude:
24-
- platform:
25-
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
26-
python-version: "3.12" # MacOS can't run 3.12 yet...
23+
# No exclusions - release builds all combinations
2724
environment:
2825
name: ghostly-build
2926
defaults:
@@ -67,12 +64,12 @@ jobs:
6764
- name: Install anaconda-client
6865
shell: bash
6966
run: python -m pip install anaconda-client
70-
if: github.event.inputs.upload_packages == 'true' && matrix.platform.name == 'linux' && matrix.python-version == '3.11'
67+
if: github.event.inputs.upload_packages == 'true' && matrix.platform.name == 'linux' && matrix.python-version == '3.12'
7168
#
7269
- name: Upload package
7370
shell: bash
7471
run: python actions/upload_package.py
7572
env:
7673
ANACONDA_TOKEN: ${{ secrets.ANACONDA_TOKEN }}
7774
ANACONDA_LABEL: main
78-
if: github.event.inputs.upload_packages == 'true' && matrix.platform.name == 'linux' && matrix.python-version == '3.11'
75+
if: github.event.inputs.upload_packages == 'true' && matrix.platform.name == 'linux' && matrix.python-version == '3.12'

.github/workflows/pr.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,13 @@ jobs:
1717
- { name: "linux", os: "ubuntu-latest", shell: "bash -l {0}" }
1818
- { name: "macos", os: "macos-latest", shell: "bash -l {0}" }
1919
exclude:
20+
# Exclude all but the latest Python from macOS
2021
- platform:
2122
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
2223
python-version: "3.10"
2324
- platform:
2425
{ name: "macos", os: "macos-latest", shell: "bash -l {0}" }
25-
python-version: "3.12" # MacOS can't run 3.12 yet...
26+
python-version: "3.11"
2627
environment:
2728
name: ghostly-build
2829
defaults:

0 commit comments

Comments
 (0)