3232 matrix :
3333 runs-on : [ubuntu-20.04, windows-2022, macos-13]
3434 python :
35- - ' 3.6 '
35+ - ' 3.8 '
3636 - ' 3.9'
3737 - ' 3.12'
3838 - ' 3.13'
@@ -48,16 +48,17 @@ jobs:
4848 include :
4949 # Just add a key
5050 - runs-on : ubuntu-20.04
51- python : ' 3.6 '
51+ python : ' 3.8 '
5252 args : >
5353 -DPYBIND11_FINDPYTHON=ON
5454 -DCMAKE_CXX_FLAGS="-D_=1"
55+ exercise_D_ : 1
5556 - runs-on : ubuntu-20.04
5657 python : ' pypy-3.8'
5758 args : >
5859 -DPYBIND11_FINDPYTHON=ON
5960 - runs-on : windows-2019
60- python : ' 3.6 '
61+ python : ' 3.8 '
6162 args : >
6263 -DPYBIND11_FINDPYTHON=ON
6364 # Inject a couple Windows 2019 runs
8283
8384 - name : Setup Boost (Linux)
8485 # Can't use boost + define _
85- if : runner.os == 'Linux' && matrix.python != '3.6'
86+ if : runner.os == 'Linux' && matrix.exercise_D_ != 1
8687 run : sudo apt-get install libboost-dev
8788
8889 - name : Setup Boost (macOS)
@@ -655,15 +656,13 @@ jobs:
655656 cmake --build build-17 --target test_cmake_build
656657
657658
658- # Testing on CentOS (manylinux uses a centos base, and this is an easy way
659- # to get GCC 4.8, which is the manylinux1 compiler).
659+ # Testing on CentOS (manylinux uses a centos base).
660660 centos :
661661 runs-on : ubuntu-latest
662662 strategy :
663663 fail-fast : false
664664 matrix :
665665 container :
666- - " centos:7" # GCC 4.8
667666 - " almalinux:8"
668667 - " almalinux:9"
669668
@@ -673,18 +672,13 @@ jobs:
673672 steps :
674673 - name : Latest actions/checkout
675674 uses : actions/checkout@v4
676- if : matrix.container != 'centos:7'
677-
678- - name : Pin actions/checkout as required for centos:7
679- uses : actions/checkout@v3
680- if : matrix.container == 'centos:7'
681675
682- - name : Add Python 3 (RHEL 7)
683- if : matrix.container == 'centos:7 '
684- run : yum update -y && yum install -y python3 -devel gcc-c++ make git
676+ - name : Add Python 3.8
677+ if : matrix.container == 'almalinux:8 '
678+ run : dnf update -y && dnf install -y python38 -devel gcc-c++ make git
685679
686- - name : Add Python 3 (RHEL 8+ )
687- if : matrix.container != 'centos:7 '
680+ - name : Add Python 3 (default )
681+ if : matrix.container != 'almalinux:8 '
688682 run : dnf update -y && dnf install -y python3-devel gcc-c++ make git
689683
690684 - name : Update pip
@@ -807,7 +801,6 @@ jobs:
807801 fail-fast : false
808802 matrix :
809803 python :
810- - ' 3.6'
811804 - ' 3.7'
812805 - ' 3.8'
813806 - ' 3.9'
0 commit comments