Skip to content

Commit 3cfb24e

Browse files
authored
V3.0.26 (#29)
* Update subproject commit and modify GitHub Actions workflow for Python 3.11 and additional Python 3.14 support * Refactor GitHub Actions workflow by removing outdated Python versions for Windows and Linux, and enable prerelease Python builds. * Update GitHub Actions workflow to use Windows 2022 for Python builds, enhancing compatibility with newer environments.
1 parent ebcdcb4 commit 3cfb24e

File tree

3 files changed

+33
-73
lines changed

3 files changed

+33
-73
lines changed

.github/workflows/wheels.yml

Lines changed: 31 additions & 71 deletions
Original file line numberDiff line numberDiff line change
@@ -10,70 +10,27 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
include:
13-
# Windows 32-bit
14-
- os: windows-2019
15-
python: 38
16-
platform_id: win32
17-
- os: windows-2019
18-
python: 39
19-
platform_id: win32
20-
- os: windows-2019
21-
python: 310
22-
platform_id: win32
23-
- os: windows-2019
24-
python: 311
25-
platform_id: win32
26-
- os: windows-2019
27-
python: 312
28-
platform_id: win32
29-
- os: windows-2019
30-
python: 313
31-
platform_id: win32
32-
3313
# Windows 64-bit
34-
- os: windows-2019
35-
python: 38
36-
platform_id: win_amd64
37-
- os: windows-2019
14+
- os: windows-2022
3815
python: 39
3916
platform_id: win_amd64
40-
- os: windows-2019
17+
- os: windows-2022
4118
python: 310
4219
platform_id: win_amd64
43-
- os: windows-2019
20+
- os: windows-2022
4421
python: 311
4522
platform_id: win_amd64
46-
- os: windows-2019
23+
- os: windows-2022
4724
python: 312
4825
platform_id: win_amd64
49-
- os: windows-2019
26+
- os: windows-2022
5027
python: 313
5128
platform_id: win_amd64
52-
53-
# Linux 32-bit
54-
- os: ubuntu-latest
55-
python: 38
56-
platform_id: manylinux_i686
57-
- os: ubuntu-latest
58-
python: 39
59-
platform_id: manylinux_i686
60-
- os: ubuntu-latest
61-
python: 310
62-
platform_id: manylinux_i686
63-
- os: ubuntu-latest
64-
python: 311
65-
platform_id: manylinux_i686
66-
- os: ubuntu-latest
67-
python: 312
68-
platform_id: manylinux_i686
69-
- os: ubuntu-latest
70-
python: 313
71-
platform_id: manylinux_i686
29+
- os: windows-2022
30+
python: 314
31+
platform_id: win_amd64
7232

7333
# Linux 64-bit
74-
- os: ubuntu-latest
75-
python: 38
76-
platform_id: manylinux_x86_64
7734
- os: ubuntu-latest
7835
python: 39
7936
platform_id: manylinux_x86_64
@@ -89,11 +46,11 @@ jobs:
8946
- os: ubuntu-latest
9047
python: 313
9148
platform_id: manylinux_x86_64
49+
- os: ubuntu-latest
50+
python: 314
51+
platform_id: manylinux_x86_64
9252

9353
# Linux aarch64
94-
- os: ubuntu-latest
95-
python: 38
96-
platform_id: manylinux_aarch64
9754
- os: ubuntu-latest
9855
python: 39
9956
platform_id: manylinux_aarch64
@@ -109,13 +66,11 @@ jobs:
10966
- os: ubuntu-latest
11067
python: 313
11168
platform_id: manylinux_aarch64
69+
- os: ubuntu-latest
70+
python: 314
71+
platform_id: manylinux_aarch64
11272

11373
# 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"
11974
- os: macos-latest
12075
python: 39
12176
arch: x86_64
@@ -136,19 +91,18 @@ jobs:
13691
arch: x86_64
13792
platform_id: macosx_x86_64
13893
macosx_deployment_target: "10.9"
139-
14094
- os: macos-latest
14195
python: 313
14296
arch: x86_64
14397
platform_id: macosx_x86_64
14498
macosx_deployment_target: "10.9"
99+
- os: macos-latest
100+
python: 314
101+
arch: x86_64
102+
platform_id: macosx_x86_64
103+
macosx_deployment_target: "10.9"
145104

146105
# 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"
152106
- os: macos-latest
153107
python: 39
154108
arch: arm64
@@ -174,6 +128,11 @@ jobs:
174128
arch: arm64
175129
platform_id: macosx_arm64
176130
macosx_deployment_target: "11.0"
131+
- os: macos-latest
132+
python: 314
133+
arch: arm64
134+
platform_id: macosx_arm64
135+
macosx_deployment_target: "11.0"
177136

178137
steps:
179138
- uses: actions/checkout@v4
@@ -189,7 +148,7 @@ jobs:
189148
- uses: actions/setup-python@v5
190149
name: Install Python host for cibuildwheel
191150
with:
192-
python-version: '3.9'
151+
python-version: '3.11'
193152

194153
# Visual Studio
195154
- name: Set up MSVC x86
@@ -270,7 +229,7 @@ jobs:
270229
popd
271230
272231
- name: Install cibuildwheel
273-
run: python -m pip install cibuildwheel==2.20.0
232+
run: python -m pip install cibuildwheel==3.0.1
274233

275234
- name: Build wheels
276235
# to supply options, put them in 'env', like:
@@ -283,15 +242,16 @@ jobs:
283242

284243
# Include latest Python beta
285244
CIBW_PRERELEASE_PYTHONS: True
245+
CIBW_ENABLE: cpython-prerelease
286246

287247
CIBW_BUILD_FRONTEND: build
288248

289249
CIBW_BEFORE_ALL_LINUX: |
290250
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
251+
/opt/python/cp311-cp311/bin/python -m pip install ninja
252+
ln -s /opt/python/cp311-cp311/bin/ninja /usr/bin/ninja
293253
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
254+
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
295255
mkdir /tmp/swig
296256
tar -xvzf /tmp/swig.tar.gz -C /tmp/swig --strip-components 1 &> /dev/null
297257
pushd /tmp/swig
@@ -337,7 +297,7 @@ jobs:
337297
- uses: actions/setup-python@v5
338298
name: Install Python host for sdist
339299
with:
340-
python-version: '3.9'
300+
python-version: '3.11'
341301

342302
- name: Create sdist
343303
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)