Skip to content

Commit d988799

Browse files
committed
Update subproject commit and modify GitHub Actions workflow for Python 3.11 and additional Python 3.14 support
1 parent ebcdcb4 commit d988799

File tree

3 files changed

+33
-34
lines changed

3 files changed

+33
-34
lines changed

.github/workflows/wheels.yml

Lines changed: 31 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,6 @@ jobs:
1111
matrix:
1212
include:
1313
# Windows 32-bit
14-
- os: windows-2019
15-
python: 38
16-
platform_id: win32
1714
- os: windows-2019
1815
python: 39
1916
platform_id: win32
@@ -29,11 +26,11 @@ jobs:
2926
- os: windows-2019
3027
python: 313
3128
platform_id: win32
29+
- os: windows-2019
30+
python: 314
31+
platform_id: win32
3232

3333
# Windows 64-bit
34-
- os: windows-2019
35-
python: 38
36-
platform_id: win_amd64
3734
- os: windows-2019
3835
python: 39
3936
platform_id: win_amd64
@@ -49,11 +46,11 @@ jobs:
4946
- os: windows-2019
5047
python: 313
5148
platform_id: win_amd64
49+
- os: windows-2019
50+
python: 314
51+
platform_id: win_amd64
5252

5353
# Linux 32-bit
54-
- os: ubuntu-latest
55-
python: 38
56-
platform_id: manylinux_i686
5754
- os: ubuntu-latest
5855
python: 39
5956
platform_id: manylinux_i686
@@ -69,11 +66,11 @@ jobs:
6966
- os: ubuntu-latest
7067
python: 313
7168
platform_id: manylinux_i686
69+
- os: ubuntu-latest
70+
python: 314
71+
platform_id: manylinux_i686
7272

7373
# Linux 64-bit
74-
- os: ubuntu-latest
75-
python: 38
76-
platform_id: manylinux_x86_64
7774
- os: ubuntu-latest
7875
python: 39
7976
platform_id: manylinux_x86_64
@@ -89,11 +86,11 @@ jobs:
8986
- os: ubuntu-latest
9087
python: 313
9188
platform_id: manylinux_x86_64
89+
- os: ubuntu-latest
90+
python: 314
91+
platform_id: manylinux_x86_64
9292

9393
# Linux aarch64
94-
- os: ubuntu-latest
95-
python: 38
96-
platform_id: manylinux_aarch64
9794
- os: ubuntu-latest
9895
python: 39
9996
platform_id: manylinux_aarch64
@@ -109,13 +106,11 @@ jobs:
109106
- os: ubuntu-latest
110107
python: 313
111108
platform_id: manylinux_aarch64
109+
- os: ubuntu-latest
110+
python: 314
111+
platform_id: manylinux_aarch64
112112

113113
# macOS on Intel 64-bit
114-
- os: macos-latest
115-
python: 38
116-
arch: x86_64
117-
platform_id: macosx_x86_64
118-
macosx_deployment_target: "10.9"
119114
- os: macos-latest
120115
python: 39
121116
arch: x86_64
@@ -136,19 +131,18 @@ jobs:
136131
arch: x86_64
137132
platform_id: macosx_x86_64
138133
macosx_deployment_target: "10.9"
139-
140134
- os: macos-latest
141135
python: 313
142136
arch: x86_64
143137
platform_id: macosx_x86_64
144138
macosx_deployment_target: "10.9"
139+
- os: macos-latest
140+
python: 314
141+
arch: x86_64
142+
platform_id: macosx_x86_64
143+
macosx_deployment_target: "10.9"
145144

146145
# macOS on Apple M1 64-bit
147-
- os: macos-latest
148-
python: 38
149-
arch: arm64
150-
platform_id: macosx_arm64
151-
macosx_deployment_target: "11.0"
152146
- os: macos-latest
153147
python: 39
154148
arch: arm64
@@ -174,6 +168,11 @@ jobs:
174168
arch: arm64
175169
platform_id: macosx_arm64
176170
macosx_deployment_target: "11.0"
171+
- os: macos-latest
172+
python: 314
173+
arch: arm64
174+
platform_id: macosx_arm64
175+
macosx_deployment_target: "11.0"
177176

178177
steps:
179178
- uses: actions/checkout@v4
@@ -189,7 +188,7 @@ jobs:
189188
- uses: actions/setup-python@v5
190189
name: Install Python host for cibuildwheel
191190
with:
192-
python-version: '3.9'
191+
python-version: '3.11'
193192

194193
# Visual Studio
195194
- name: Set up MSVC x86
@@ -270,7 +269,7 @@ jobs:
270269
popd
271270
272271
- name: Install cibuildwheel
273-
run: python -m pip install cibuildwheel==2.20.0
272+
run: python -m pip install cibuildwheel==3.0.1
274273

275274
- name: Build wheels
276275
# to supply options, put them in 'env', like:
@@ -288,10 +287,10 @@ jobs:
288287

289288
CIBW_BEFORE_ALL_LINUX: |
290289
yum install -y gcc-c++ pcre-devel openssl-devel
291-
/opt/python/cp38-cp38/bin/python -m pip install ninja
292-
ln -s /opt/python/cp38-cp38/bin/ninja /usr/bin/ninja
290+
/opt/python/cp311-cp311/bin/python -m pip install ninja
291+
ln -s /opt/python/cp311-cp311/bin/ninja /usr/bin/ninja
293292
if [[ ! -e $(command -v swig) ]]; then
294-
curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.2.1/swig-4.2.1.tar.gz/download --output /tmp/swig.tar.gz
293+
curl -L https://sourceforge.net/projects/swig/files/swig/swig-4.3.1/swig-4.3.1.tar.gz/download --output /tmp/swig.tar.gz
295294
mkdir /tmp/swig
296295
tar -xvzf /tmp/swig.tar.gz -C /tmp/swig --strip-components 1 &> /dev/null
297296
pushd /tmp/swig
@@ -337,7 +336,7 @@ jobs:
337336
- uses: actions/setup-python@v5
338337
name: Install Python host for sdist
339338
with:
340-
python-version: '3.9'
339+
python-version: '3.11'
341340

342341
- name: Create sdist
343342
run: |

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ requires = [
1010

1111
[project]
1212
name = "python-gdcm"
13-
version = "3.0.25"
13+
version = "3.0.26"
1414
authors = [
1515
{ name = "Thiago Franco de Moraes", email = "[email protected]" },
1616
]

0 commit comments

Comments
 (0)