Skip to content

Commit 0a123d8

Browse files
authored
Merge pull request #1439 from DimitriPapadopoulos/macos
macOS updates
2 parents 132ded6 + d63edaa commit 0a123d8

File tree

4 files changed

+26
-18
lines changed

4 files changed

+26
-18
lines changed

.github/workflows/test.yml

Lines changed: 23 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Build and test
22

33
# This file tests the claimed support range of NiBabel including
44
#
5-
# * Operating systems: Linux, Windows (x64 & x86), OSX
5+
# * Operating systems: Linux, Windows (x64 & x86), macOS
66
# * Dependencies: minimum requirements, optional requirements
77
# * Installation methods: setup.py, sdist, wheel, archive
88

@@ -112,7 +112,7 @@ jobs:
112112
strategy:
113113
fail-fast: false
114114
matrix:
115-
os: ['ubuntu-latest', 'windows-latest', 'macos-13', 'macos-latest']
115+
os: ['ubuntu-latest', 'windows-latest', 'macos-14', 'macos-latest']
116116
python-version:
117117
- "3.9"
118118
- "3.10"
@@ -142,48 +142,56 @@ jobs:
142142
dependencies: 'min'
143143
exclude:
144144
# Use ubuntu-latest to cover the whole range of Python. For Windows
145-
# and OSX, checking oldest and newest should be sufficient.
145+
# and macOS, checking oldest and newest should be sufficient.
146146
- os: windows-latest
147147
python-version: "3.10"
148148
- os: windows-latest
149149
python-version: "3.11"
150150
- os: windows-latest
151151
python-version: "3.12"
152-
- os: macos-13
152+
- os: windows-latest
153+
python-version: "3.13"
154+
- os: windows-latest
155+
python-version: "3.13t"
156+
- os: macos-14
157+
python-version: "3.9"
158+
- os: macos-14
153159
python-version: "3.10"
154-
- os: macos-13
155-
python-version: "3.11"
156-
- os: macos-13
157-
python-version: "3.12"
160+
- os: macos-14
161+
python-version: "3.14"
162+
- os: macos-14
163+
python-version: "3.14t"
158164
- os: macos-latest
159165
python-version: "3.10"
160166
- os: macos-latest
161167
python-version: "3.11"
162168
- os: macos-latest
163169
python-version: "3.12"
170+
- os: macos-latest
171+
python-version: "3.13"
172+
- os: macos-latest
173+
python-version: "3.13t"
164174

165175
## Unavailable architectures
166176
# x86 is available for Windows
167177
- os: ubuntu-latest
168178
architecture: x86
169-
- os: macos-latest
179+
- os: macos-14
170180
architecture: x86
171-
- os: macos-13
181+
- os: macos-latest
172182
architecture: x86
173183
# arm64 is available for macos-14+
174184
- os: ubuntu-latest
175185
architecture: arm64
176186
- os: windows-latest
177187
architecture: arm64
178-
- os: macos-13
179-
architecture: arm64
180-
# x64 is not available for macos-14+
188+
# x64 is not available for macos-15
181189
- os: macos-latest
182190
architecture: x64
183191

184192
## Reduced support
185-
# Drop pre tests for macos-13
186-
- os: macos-13
193+
# Drop pre tests for macos-14
194+
- os: macos-14
187195
dependencies: pre
188196
# Drop pre tests for SPEC-0-unsupported Python versions
189197
- python-version: '3.9'

doc/source/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ If you are not using a Linux package manager, then best way to install NiBabel
3636
is via pip_. If you don't have pip already, follow the `pip install
3737
instructions`_.
3838

39-
Then open a terminal (``Terminal.app`` on OSX, ``cmd`` or ``Powershell`` on
39+
Then open a terminal (``Terminal.app`` on macOS, ``cmd`` or ``Powershell`` on
4040
Windows), and type::
4141

4242
pip install nibabel

nibabel/tests/test_floating.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_check_nmant_nexp():
117117
ti = type_info(t)
118118
if ti['nmant'] not in (105, 106): # This check does not work for PPC double pair
119119
assert _check_nmant(t, ti['nmant'])
120-
# Test fails for longdouble after blacklisting of OSX powl as of numpy
120+
# Test fails for longdouble after blacklisting of macOS powl as of numpy
121121
# 1.12 - see https://github.com/numpy/numpy/issues/8307
122122
if t != np.longdouble or sys.platform != 'darwin':
123123
assert _check_maxexp(t, ti['maxexp'])

nibabel/tests/test_volumeutils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1013,7 +1013,7 @@ def test_fname_ext_ul_case():
10131013
with InTemporaryDirectory():
10141014
with open('afile.TXT', 'w') as fobj:
10151015
fobj.write('Interesting information')
1016-
# OSX usually has case-insensitive file systems; Windows also
1016+
# macOS usually has case-insensitive file systems; Windows also
10171017
os_cares_case = not exists('afile.txt')
10181018
with open('bfile.txt', 'w') as fobj:
10191019
fobj.write('More interesting information')

0 commit comments

Comments
 (0)