From 0e40804cd0de0be9353d1602103eed2695a379c3 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Thu, 4 Aug 2022 15:26:56 +0200 Subject: Deprecate support for Python 3.5 (by removing it from CI) (#31908) * Deprecate support for Python 3.5 (by removing it from CI) * Restore Python 3.9 --- .github/workflows/bootstrap.yml | 4 ++-- .github/workflows/unit_tests.yaml | 6 +++--- .github/workflows/windows_python.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) (limited to '.github') diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml index 0522829303..9dd051d0ae 100644 --- a/.github/workflows/bootstrap.yml +++ b/.github/workflows/bootstrap.yml @@ -183,7 +183,7 @@ jobs: runs-on: ${{ matrix.macos-version }} strategy: matrix: - python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] macos-version: ['macos-11', 'macos-12'] if: github.repository == 'spack/spack' steps: @@ -206,7 +206,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10'] if: github.repository == 'spack/spack' steps: - name: Checkout diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml index 44c00856f6..0a569d6d86 100644 --- a/.github/workflows/unit_tests.yaml +++ b/.github/workflows/unit_tests.yaml @@ -29,9 +29,9 @@ jobs: pip install --upgrade pip pip install --upgrade vermin - name: vermin (Spack's Core) - run: vermin --backport argparse --violations --backport typing -t=2.7- -t=3.5- -vvv lib/spack/spack/ lib/spack/llnl/ bin/ + run: vermin --backport argparse --violations --backport typing -t=2.7- -t=3.6- -vvv lib/spack/spack/ lib/spack/llnl/ bin/ - name: vermin (Repositories) - run: vermin --backport argparse --violations --backport typing -t=2.7- -t=3.5- -vvv var/spack/repos + run: vermin --backport argparse --violations --backport typing -t=2.7- -t=3.6- -vvv var/spack/repos # Run style checks on the files that have been changed style: runs-on: ubuntu-latest @@ -101,7 +101,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10'] concretizer: ['clingo'] include: - python-version: 2.7 diff --git a/.github/workflows/windows_python.yml b/.github/workflows/windows_python.yml index 37eb1082d9..e45fdb2bc8 100644 --- a/.github/workflows/windows_python.yml +++ b/.github/workflows/windows_python.yml @@ -31,9 +31,9 @@ jobs: python -m pip install --upgrade pip python -m pip install --upgrade vermin - name: vermin (Spack's Core) - run: vermin --backport argparse --backport typing -t='2.7-' -t='3.5-' -v spack/lib/spack/spack/ spack/lib/spack/llnl/ spack/bin/ + run: vermin --backport argparse --backport typing -t='2.7-' -t='3.6-' -v spack/lib/spack/spack/ spack/lib/spack/llnl/ spack/bin/ - name: vermin (Repositories) - run: vermin --backport argparse --backport typing -t='2.7-' -t='3.5-' -v spack/var/spack/repos + run: vermin --backport argparse --backport typing -t='2.7-' -t='3.6-' -v spack/var/spack/repos # Run style checks on the files that have been changed style: runs-on: windows-latest -- cgit v1.2.3-70-g09d2