43
43
- ' 3.6'
44
44
- ' 3.9'
45
45
- ' 3.10'
46
- - ' 3.11-dev '
46
+ - ' 3.11'
47
47
- ' pypy-3.7'
48
48
- ' pypy-3.8'
49
49
- ' pypy-3.9'
@@ -115,10 +115,12 @@ jobs:
115
115
run : python -m pip install pytest-github-actions-annotate-failures
116
116
117
117
# First build - C++11 mode and inplace
118
+ # More-or-less randomly adding -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON here.
118
119
- name : Configure C++11 ${{ matrix.args }}
119
120
run : >
120
121
cmake -S . -B .
121
122
-DPYBIND11_WERROR=ON
123
+ -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON
122
124
-DDOWNLOAD_CATCH=ON
123
125
-DDOWNLOAD_EIGEN=ON
124
126
-DCMAKE_CXX_STANDARD=11
@@ -133,7 +135,7 @@ jobs:
133
135
134
136
- name : C++11 tests
135
137
# TODO: Figure out how to load the DLL on Python 3.8+
136
- if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10' || matrix.python == '3.11-dev ' || matrix.python == 'pypy-3.8'))"
138
+ if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10' || matrix.python == '3.11' || matrix.python == 'pypy-3.8'))"
137
139
run : cmake --build . --target cpptest -j 2
138
140
139
141
- name : Interface test C++11
@@ -143,10 +145,12 @@ jobs:
143
145
run : git clean -fdx
144
146
145
147
# Second build - C++17 mode and in a build directory
148
+ # More-or-less randomly adding -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF here.
146
149
- name : Configure C++17
147
150
run : >
148
151
cmake -S . -B build2
149
152
-DPYBIND11_WERROR=ON
153
+ -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF
150
154
-DDOWNLOAD_CATCH=ON
151
155
-DDOWNLOAD_EIGEN=ON
152
156
-DCMAKE_CXX_STANDARD=17
@@ -161,7 +165,7 @@ jobs:
161
165
162
166
- name : C++ tests
163
167
# TODO: Figure out how to load the DLL on Python 3.8+
164
- if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10' || matrix.python == '3.11-dev ' || matrix.python == 'pypy-3.8'))"
168
+ if : " !(runner.os == 'Windows' && (matrix.python == 3.8 || matrix.python == 3.9 || matrix.python == '3.10' || matrix.python == '3.11' || matrix.python == 'pypy-3.8'))"
165
169
run : cmake --build build2 --target cpptest
166
170
167
171
# Third build - C++17 mode with unstable ABI
@@ -202,7 +206,7 @@ jobs:
202
206
- python-version : " 3.9"
203
207
python-debug : true
204
208
valgrind : true
205
- - python-version : " 3.11-dev "
209
+ - python-version : " 3.11"
206
210
python-debug : false
207
211
208
212
name : " 🐍 ${{ matrix.python-version }}${{ matrix.python-debug && '-dbg' || '' }} (deadsnakes)${{ matrix.valgrind && ' • Valgrind' || '' }} • x64"
@@ -410,7 +414,7 @@ jobs:
410
414
# Testing on CentOS 7 + PGI compilers, which seems to require more workarounds
411
415
centos-nvhpc7 :
412
416
runs-on : ubuntu-latest
413
- name : " 🐍 3 • CentOS7 / PGI 22.3 • x64"
417
+ name : " 🐍 3 • CentOS7 / PGI 22.9 • x64"
414
418
container : centos:7
415
419
416
420
steps :
@@ -420,7 +424,7 @@ jobs:
420
424
run : yum update -y && yum install -y epel-release && yum install -y git python3-devel make environment-modules cmake3 yum-utils
421
425
422
426
- name : Install NVidia HPC SDK
423
- run : yum-config-manager --add-repo https://developer.download.nvidia.com/hpc-sdk/rhel/nvhpc.repo && yum -y install nvhpc-22.3
427
+ run : yum-config-manager --add-repo https://developer.download.nvidia.com/hpc-sdk/rhel/nvhpc.repo && yum -y install nvhpc-22.9
424
428
425
429
# On CentOS 7, we have to filter a few tests (compiler internal error)
426
430
# and allow deeper template recursion (not needed on CentOS 8 with a newer
@@ -430,12 +434,12 @@ jobs:
430
434
shell : bash
431
435
run : |
432
436
source /etc/profile.d/modules.sh
433
- module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/22.3
437
+ module load /opt/nvidia/hpc_sdk/modulefiles/nvhpc/22.9
434
438
cmake3 -S . -B build -DDOWNLOAD_CATCH=ON \
435
439
-DCMAKE_CXX_STANDARD=11 \
436
440
-DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
437
441
-DCMAKE_CXX_FLAGS="-Wc,--pending_instantiations=0 -DPYBIND11_USE_SMART_HOLDER_AS_DEFAULT" \
438
- -DPYBIND11_TEST_FILTER="test_smart_ptr.cpp;test_virtual_functions.cpp "
442
+ -DPYBIND11_TEST_FILTER="test_smart_ptr.cpp"
439
443
440
444
# Building before installing Pip should produce a warning but not an error
441
445
- name : Build
0 commit comments