4343 - ' 3.6'
4444 - ' 3.9'
4545 - ' 3.10'
46- - ' 3.11-dev '
46+ - ' 3.11'
4747 - ' pypy-3.7'
4848 - ' pypy-3.8'
4949 - ' pypy-3.9'
@@ -115,10 +115,12 @@ jobs:
115115 run : python -m pip install pytest-github-actions-annotate-failures
116116
117117 # First build - C++11 mode and inplace
118+ # More-or-less randomly adding -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON here.
118119 - name : Configure C++11 ${{ matrix.args }}
119120 run : >
120121 cmake -S . -B .
121122 -DPYBIND11_WERROR=ON
123+ -DPYBIND11_SIMPLE_GIL_MANAGEMENT=ON
122124 -DDOWNLOAD_CATCH=ON
123125 -DDOWNLOAD_EIGEN=ON
124126 -DCMAKE_CXX_STANDARD=11
@@ -133,7 +135,7 @@ jobs:
133135
134136 - name : C++11 tests
135137 # 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'))"
137139 run : cmake --build . --target cpptest -j 2
138140
139141 - name : Interface test C++11
@@ -143,10 +145,12 @@ jobs:
143145 run : git clean -fdx
144146
145147 # Second build - C++17 mode and in a build directory
148+ # More-or-less randomly adding -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF here.
146149 - name : Configure C++17
147150 run : >
148151 cmake -S . -B build2
149152 -DPYBIND11_WERROR=ON
153+ -DPYBIND11_SIMPLE_GIL_MANAGEMENT=OFF
150154 -DDOWNLOAD_CATCH=ON
151155 -DDOWNLOAD_EIGEN=ON
152156 -DCMAKE_CXX_STANDARD=17
@@ -161,7 +165,7 @@ jobs:
161165
162166 - name : C++ tests
163167 # 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'))"
165169 run : cmake --build build2 --target cpptest
166170
167171 # Third build - C++17 mode with unstable ABI
@@ -202,7 +206,7 @@ jobs:
202206 - python-version : " 3.9"
203207 python-debug : true
204208 valgrind : true
205- - python-version : " 3.11-dev "
209+ - python-version : " 3.11"
206210 python-debug : false
207211
208212 name : " 🐍 ${{ matrix.python-version }}${{ matrix.python-debug && '-dbg' || '' }} (deadsnakes)${{ matrix.valgrind && ' • Valgrind' || '' }} • x64"
@@ -410,7 +414,7 @@ jobs:
410414 # Testing on CentOS 7 + PGI compilers, which seems to require more workarounds
411415 centos-nvhpc7 :
412416 runs-on : ubuntu-latest
413- name : " 🐍 3 • CentOS7 / PGI 22.3 • x64"
417+ name : " 🐍 3 • CentOS7 / PGI 22.9 • x64"
414418 container : centos:7
415419
416420 steps :
@@ -420,7 +424,7 @@ jobs:
420424 run : yum update -y && yum install -y epel-release && yum install -y git python3-devel make environment-modules cmake3 yum-utils
421425
422426 - 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
424428
425429 # On CentOS 7, we have to filter a few tests (compiler internal error)
426430 # and allow deeper template recursion (not needed on CentOS 8 with a newer
@@ -430,12 +434,12 @@ jobs:
430434 shell : bash
431435 run : |
432436 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
434438 cmake3 -S . -B build -DDOWNLOAD_CATCH=ON \
435439 -DCMAKE_CXX_STANDARD=11 \
436440 -DPYTHON_EXECUTABLE=$(python3 -c "import sys; print(sys.executable)") \
437441 -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"
439443
440444 # Building before installing Pip should produce a warning but not an error
441445 - name : Build
0 commit comments