summaryrefslogtreecommitdiff
path: root/.github/workflows/valid-style.yml
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-11-14 13:11:28 +0100
committerGitHub <noreply@github.com>2022-11-14 13:11:28 +0100
commit3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6 (patch)
treee72dcf67429f424332a3696d3be7e0ea8c166baf /.github/workflows/valid-style.yml
parentf4c3d980647cd1fad8a9b179eef1461bfad77469 (diff)
downloadspack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.tar.gz
spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.tar.bz2
spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.tar.xz
spack-3efa4ee26fac9c9a3cd3d6bf077faa20ccf229c6.zip
Remove support for running with Python 2.7 (#33063)
* Remove CI jobs related to Python 2.7 * Remove Python 2.7 specific code from Spack core * Remove externals for Python 2 only * Remove llnl.util.compat
Diffstat (limited to '.github/workflows/valid-style.yml')
-rw-r--r--.github/workflows/valid-style.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.github/workflows/valid-style.yml b/.github/workflows/valid-style.yml
index a82c786b44..2d70406471 100644
--- a/.github/workflows/valid-style.yml
+++ b/.github/workflows/valid-style.yml
@@ -28,9 +28,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.6- -vvv lib/spack/spack/ lib/spack/llnl/ bin/
+ run: vermin --backport importlib --backport argparse --violations --backport typing -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.6- -vvv var/spack/repos
+ run: vermin --backport importlib --backport argparse --violations --backport typing -t=3.6- -vvv var/spack/repos
# Run style checks on the files that have been changed
style:
runs-on: ubuntu-latest
@@ -44,7 +44,7 @@ jobs:
cache: 'pip'
- name: Install Python packages
run: |
- python3 -m pip install --upgrade pip six setuptools types-six click==8.0.2 'black==21.12b0' mypy isort clingo flake8
+ python3 -m pip install --upgrade pip six setuptools types-six black mypy isort clingo flake8
- name: Setup git configuration
run: |
# Need this for the git tests to succeed.