Replace or remove Python 3.6 jobs.

This commit is contained in:
Ralf W. Grosse-Kunstleve 2024-06-19 14:40:28 -07:00
parent 4886d874fc
commit 78d36ef593
2 changed files with 8 additions and 10 deletions

View File

@ -32,7 +32,7 @@ jobs:
matrix: matrix:
runs-on: [ubuntu-20.04, windows-2022, macos-13] runs-on: [ubuntu-20.04, windows-2022, macos-13]
python: python:
- '3.6' - '3.8'
- '3.9' - '3.9'
- '3.12' - '3.12'
- '3.13' - '3.13'
@ -48,7 +48,7 @@ jobs:
include: include:
# Just add a key # Just add a key
- runs-on: ubuntu-20.04 - runs-on: ubuntu-20.04
python: '3.6' python: '3.8'
args: > args: >
-DPYBIND11_FINDPYTHON=ON -DPYBIND11_FINDPYTHON=ON
-DCMAKE_CXX_FLAGS="-D_=1" -DCMAKE_CXX_FLAGS="-D_=1"
@ -57,7 +57,7 @@ jobs:
args: > args: >
-DPYBIND11_FINDPYTHON=ON -DPYBIND11_FINDPYTHON=ON
- runs-on: windows-2019 - runs-on: windows-2019
python: '3.6' python: '3.8'
args: > args: >
-DPYBIND11_FINDPYTHON=ON -DPYBIND11_FINDPYTHON=ON
# Inject a couple Windows 2019 runs # Inject a couple Windows 2019 runs
@ -82,7 +82,7 @@ jobs:
- name: Setup Boost (Linux) - name: Setup Boost (Linux)
# Can't use boost + define _ # Can't use boost + define _
if: runner.os == 'Linux' && matrix.python != '3.6' if: runner.os == 'Linux'
run: sudo apt-get install libboost-dev run: sudo apt-get install libboost-dev
- name: Setup Boost (macOS) - name: Setup Boost (macOS)
@ -811,7 +811,6 @@ jobs:
fail-fast: false fail-fast: false
matrix: matrix:
python: python:
- 3.6
- 3.7 - 3.7
- 3.8 - 3.8
- 3.9 - 3.9

View File

@ -21,19 +21,18 @@ env:
jobs: jobs:
# This builds the sdists and wheels and makes sure the files are exactly as # This builds the sdists and wheels and makes sure the files are exactly as
# expected. Using Windows and Python 3.6, since that is often the most # expected.
# challenging matrix element.
test-packaging: test-packaging:
name: 🐍 3.6 • 📦 tests • windows-latest name: 🐍 3.8 • 📦 tests • windows-latest
runs-on: windows-latest runs-on: windows-latest
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Setup 🐍 3.6 - name: Setup 🐍 3.8
uses: actions/setup-python@v5 uses: actions/setup-python@v5
with: with:
python-version: 3.6 python-version: 3.8
- name: Prepare env - name: Prepare env
run: | run: |