Skip to content

Commit 60ae0e8

Browse files
committed
Temporarily limit CI to Python 3.14t free-threading jobs
1 parent 179a66f commit 60ae0e8

File tree

1 file changed

+18
-113
lines changed

1 file changed

+18
-113
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -35,27 +35,9 @@ jobs:
3535
fail-fast: false
3636
matrix:
3737
include:
38-
- runs-on: ubuntu-22.04
39-
python-version: '3.8'
40-
cmake-args: -DPYBIND11_FINDPYTHON=OFF -DPYBIND11_NUMPY_1_ONLY=ON
41-
- runs-on: ubuntu-latest
42-
python-version: '3.13'
43-
cmake-args: -DCMAKE_CXX_STANDARD=23 -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON
4438
- runs-on: ubuntu-latest
4539
python-version: '3.14t'
4640
cmake-args: -DCMAKE_CXX_STANDARD=17 -DPYBIND11_TEST_SMART_HOLDER=ON
47-
- runs-on: ubuntu-latest
48-
python-version: 'pypy3.11'
49-
cmake-args: -DCMAKE_CXX_STANDARD=17
50-
- runs-on: ubuntu-latest
51-
python-version: 'graalpy-24.2'
52-
cmake-args: -DCMAKE_CXX_STANDARD=20
53-
- runs-on: macos-latest
54-
python-version: '3.14'
55-
cmake-args: -DCMAKE_CXX_STANDARD=14
56-
- runs-on: windows-2022
57-
python-version: '3.8'
58-
cmake-args: -DPYBIND11_FINDPYTHON=OFF
5941

6042

6143
name: 🐍
@@ -71,90 +53,12 @@ jobs:
7153
fail-fast: false
7254
matrix:
7355
include:
74-
- runs-on: ubuntu-latest
75-
python-version: '3.8'
76-
cmake-args: -DPYBIND11_FINDPYTHON=ON -DCMAKE_CXX_STANDARD=17
77-
- runs-on: ubuntu-latest
78-
python-version: '3.10'
79-
cmake-args: -DCMAKE_CXX_STANDARD=20
80-
- runs-on: ubuntu-latest
81-
python-version: '3.11'
82-
cmake-args: -DPYBIND11_TEST_SMART_HOLDER=ON -DCMAKE_CXX_STANDARD=17
83-
- runs-on: ubuntu-latest
84-
python-version: '3.12'
85-
cmake-args: -DPYBIND11_TEST_SMART_HOLDER=ON -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON
86-
- runs-on: ubuntu-latest
87-
python-version: '3.13t'
88-
cmake-args: -DCMAKE_CXX_STANDARD=20 -DPYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION=ON
89-
- runs-on: ubuntu-latest
90-
python-version: '3.14'
91-
cmake-args: -DCMAKE_CXX_STANDARD=14 -DCMAKE_CXX_FLAGS="-DPYBIND11_HAS_SUBINTERPRETER_SUPPORT=0"
92-
- runs-on: ubuntu-latest
93-
python-version: 'pypy-3.10'
94-
cmake-args: -DCMAKE_CXX_STANDARD=14
95-
- runs-on: ubuntu-latest
96-
python-version: 'graalpy-24.1'
97-
98-
# No SciPy for macOS ARM
99-
- runs-on: macos-15-intel
100-
python-version: '3.8'
101-
cmake-args: -DCMAKE_CXX_STANDARD=14
102-
- runs-on: macos-15-intel
103-
python-version: '3.11'
104-
cmake-args: -DPYBIND11_TEST_SMART_HOLDER=ON
105-
- runs-on: macos-latest
106-
python-version: '3.12'
107-
cmake-args: -DCMAKE_CXX_STANDARD=17 -DPYBIND11_DISABLE_HANDLE_TYPE_NAME_DEFAULT_IMPLEMENTATION=ON
108-
- runs-on: macos-15-intel
109-
python-version: '3.13t'
110-
cmake-args: -DCMAKE_CXX_STANDARD=11
11156
- runs-on: macos-latest
11257
python-version: '3.14t'
11358
cmake-args: -DCMAKE_CXX_STANDARD=20
114-
- runs-on: macos-15-intel
115-
python-version: 'pypy-3.10'
116-
cmake-args: -DCMAKE_CXX_STANDARD=17
117-
- runs-on: macos-latest
118-
python-version: 'pypy-3.11'
119-
- runs-on: macos-latest
120-
python-version: 'graalpy-24.2'
121-
122-
- runs-on: windows-latest
123-
python-version: '3.9'
124-
cmake-args: -DPYBIND11_TEST_SMART_HOLDER=ON
125-
- runs-on: windows-2022
126-
python-version: '3.8'
127-
cmake-args: -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreaded -DPYBIND11_NUMPY_1_ONLY=ON
128-
- runs-on: windows-2022
129-
python-version: '3.9'
130-
cmake-args: -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDLL -DCMAKE_CXX_STANDARD=14
131-
# This needs a python built with MTd
132-
# - runs-on: windows-2022
133-
# python-version: '3.11'
134-
# cmake-args: -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebug
135-
- runs-on: windows-2022
136-
python-version: '3.10'
137-
cmake-args: -DPYBIND11_TEST_SMART_HOLDER=ON -DCMAKE_CXX_FLAGS="/GR /EHsc"
138-
- runs-on: windows-2022
139-
python-version: '3.13'
140-
cmake-args: -DCMAKE_MSVC_RUNTIME_LIBRARY=MultiThreadedDebugDLL
141-
- runs-on: windows-latest
142-
python-version: '3.13t'
143-
cmake-args: -DCMAKE_CXX_STANDARD=17
144-
- runs-on: windows-latest
145-
python-version: '3.14'
146-
cmake-args: -DCMAKE_CXX_STANDARD=20
14759
- runs-on: windows-latest
14860
python-version: '3.14t'
14961
cmake-args: -DCMAKE_CXX_STANDARD=23
150-
- runs-on: windows-latest
151-
python-version: 'pypy-3.10'
152-
cmake-args: -DCMAKE_CXX_STANDARD=17
153-
- runs-on: windows-latest
154-
python-version: 'pypy3.11'
155-
cmake-args: -DCMAKE_CXX_STANDARD=20
156-
# The setup-python action currently doesn't have graalpy for windows
157-
# See https://github.com/actions/setup-python/pull/880
15862

15963
name: 🐍
16064
uses: ./.github/workflows/reusable-standard.yml
@@ -165,7 +69,7 @@ jobs:
16569

16670
# This checks inplace builds with C++11
16771
inplace:
168-
if: github.event.pull_request.draft == false
72+
if: false
16973
strategy:
17074
fail-fast: false
17175
matrix:
@@ -240,7 +144,7 @@ jobs:
240144

241145
manylinux:
242146
name: Manylinux on 🐍 3.13t • GIL
243-
if: github.event.pull_request.draft == false
147+
if: false
244148
runs-on: ubuntu-latest
245149
timeout-minutes: 40
246150
container: quay.io/pypa/musllinux_1_2_x86_64:latest
@@ -265,7 +169,7 @@ jobs:
265169
run: cmake --build --preset testsvenv -t pytest
266170

267171
deadsnakes:
268-
if: github.event.pull_request.draft == false
172+
if: false
269173
strategy:
270174
fail-fast: false
271175
matrix:
@@ -346,7 +250,7 @@ jobs:
346250

347251
# Testing on clang using the excellent silkeh clang docker images
348252
clang:
349-
if: github.event.pull_request.draft == false
253+
if: false
350254
runs-on: ubuntu-latest
351255
strategy:
352256
fail-fast: false
@@ -403,6 +307,7 @@ jobs:
403307

404308
# Testing NVCC; forces sources to behave like .cu files
405309
cuda:
310+
if: false
406311
runs-on: ubuntu-latest
407312
name: "🐍 3.10 • CUDA 12.2 • Ubuntu 22.04"
408313
container: nvidia/cuda:12.2.0-devel-ubuntu22.04
@@ -471,7 +376,7 @@ jobs:
471376

472377
# Testing on Ubuntu + NVHPC (previous PGI) compilers, which seems to require more workarounds
473378
ubuntu-nvhpc7:
474-
if: github.event.pull_request.draft == false
379+
if: false
475380
runs-on: ubuntu-22.04
476381
name: "🐍 3 • NVHPC 23.5 • C++17 • x64"
477382
timeout-minutes: 90
@@ -526,7 +431,7 @@ jobs:
526431

527432
# Testing on GCC using the GCC docker images (only recent images supported)
528433
gcc:
529-
if: github.event.pull_request.draft == false
434+
if: false
530435
runs-on: ubuntu-latest
531436
strategy:
532437
fail-fast: false
@@ -599,7 +504,7 @@ jobs:
599504

600505
# Testing on ICC using the oneAPI apt repo
601506
icc:
602-
if: github.event.pull_request.draft == false
507+
if: false
603508
runs-on: ubuntu-22.04
604509
timeout-minutes: 90
605510

@@ -705,7 +610,7 @@ jobs:
705610
706611
# Testing on CentOS (manylinux uses a centos base).
707612
centos:
708-
if: github.event.pull_request.draft == false
613+
if: false
709614
runs-on: ubuntu-latest
710615
strategy:
711616
fail-fast: false
@@ -771,7 +676,7 @@ jobs:
771676

772677
# This tests an "install" with the CMake tools
773678
install-classic:
774-
if: github.event.pull_request.draft == false
679+
if: false
775680
name: "🐍 3.9 • Debian • x86 • Install"
776681
runs-on: ubuntu-latest
777682
container: i386/debian:bullseye
@@ -817,7 +722,7 @@ jobs:
817722
# This verifies that the documentation is not horribly broken, and does a
818723
# basic validation check on the SDist.
819724
doxygen:
820-
if: github.event.pull_request.draft == false
725+
if: false
821726
name: "Documentation build test"
822727
runs-on: ubuntu-latest
823728
timeout-minutes: 90
@@ -853,7 +758,7 @@ jobs:
853758
diff -rq $installed ./pybind11
854759
855760
win32:
856-
if: github.event.pull_request.draft == false
761+
if: false
857762
strategy:
858763
fail-fast: false
859764
matrix:
@@ -908,7 +813,7 @@ jobs:
908813
run: cmake --build build -t pytest
909814

910815
win32-debug:
911-
if: github.event.pull_request.draft == false
816+
if: false
912817
strategy:
913818
fail-fast: false
914819
matrix:
@@ -960,7 +865,7 @@ jobs:
960865

961866

962867
windows-2022:
963-
if: github.event.pull_request.draft == false
868+
if: false
964869
strategy:
965870
fail-fast: false
966871
matrix:
@@ -1024,7 +929,7 @@ jobs:
1024929
run: cmake --build build_partial --target pytest
1025930

1026931
mingw:
1027-
if: github.event.pull_request.draft == false
932+
if: false
1028933
name: "🐍 3 • windows-latest • ${{ matrix.sys }}"
1029934
runs-on: windows-latest
1030935
timeout-minutes: 90
@@ -1133,7 +1038,7 @@ jobs:
11331038
run: PYTHONHOME=/${{matrix.sys}} PYTHONPATH=/${{matrix.sys}} cmake --build build3 --target test_cross_module_rtti
11341039

11351040
windows_clang:
1136-
if: github.event.pull_request.draft == false
1041+
if: false
11371042

11381043
strategy:
11391044
matrix:
@@ -1208,7 +1113,7 @@ jobs:
12081113

12091114
# Clang with MSVC/Windows SDK toolchain + python.org CPython (Windows ARM)
12101115
windows_arm_clang_msvc:
1211-
if: github.event.pull_request.draft == false
1116+
if: false
12121117

12131118
strategy:
12141119
fail-fast: false
@@ -1267,7 +1172,7 @@ jobs:
12671172

12681173
# Clang in MSYS2/MinGW-w64 CLANGARM64 toolchain + MSYS2 Python (Windows ARM)
12691174
windows_arm_clang_msys2:
1270-
if: github.event.pull_request.draft == false
1175+
if: false
12711176

12721177
strategy:
12731178
fail-fast: false

0 commit comments

Comments
 (0)