Add testing for Python 3.9 (#19261)

This commit is contained in:
Adam J. Stewart
2020-10-11 23:16:00 -05:00
committed by GitHub
parent 759e8ee4c2
commit 372ac4a073
6 changed files with 16 additions and 16 deletions

View File

@@ -45,7 +45,7 @@ jobs:
ccache-build-${{ matrix.package }} ccache-build-${{ matrix.package }}
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install System Packages - name: Install System Packages
run: | run: |
sudo apt-get update sudo apt-get update

View File

@@ -14,7 +14,7 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
python-version: [2.7, 3.5, 3.6, 3.7, 3.8] python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
@@ -65,7 +65,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install System packages - name: Install System packages
run: | run: |
sudo apt-get -y update sudo apt-get -y update

View File

@@ -27,7 +27,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: spack install - name: spack install
run: | run: |
. .github/workflows/install_spack.sh . .github/workflows/install_spack.sh
@@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: spack install - name: spack install
run: | run: |
. .github/workflows/install_spack.sh . .github/workflows/install_spack.sh
@@ -55,7 +55,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: spack install - name: spack install
run: | run: |
. .github/workflows/install_spack.sh . .github/workflows/install_spack.sh
@@ -70,7 +70,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: spack install - name: spack install
run: | run: |
. .github/workflows/install_spack.sh . .github/workflows/install_spack.sh

View File

@@ -18,7 +18,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install Python packages - name: Install Python packages
run: | run: |
pip install --upgrade pip six setuptools pip install --upgrade pip six setuptools

View File

@@ -16,7 +16,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install Python Packages - name: Install Python Packages
run: | run: |
pip install --upgrade pip pip install --upgrade pip
@@ -33,7 +33,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install Python packages - name: Install Python packages
run: | run: |
pip install --upgrade pip six setuptools flake8 pip install --upgrade pip six setuptools flake8
@@ -51,7 +51,7 @@ jobs:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- uses: actions/setup-python@v2 - uses: actions/setup-python@v2
with: with:
python-version: 3.8 python-version: 3.9
- name: Install System packages - name: Install System packages
run: | run: |
sudo apt-get -y update sudo apt-get -y update

View File

@@ -16,7 +16,7 @@ Prerequisites
Spack has the following minimum requirements, which must be installed Spack has the following minimum requirements, which must be installed
before Spack is run: before Spack is run:
#. Python 2 (2.6 or 2.7) or 3 (3.5 - 3.8) to run Spack #. Python 2 (2.6 or 2.7) or 3 (3.5 - 3.9) to run Spack
#. A C/C++ compiler for building #. A C/C++ compiler for building
#. The ``make`` executable for building #. The ``make`` executable for building
#. The ``tar``, ``gzip``, ``bzip2``, ``xz`` and optionally ``zstd`` #. The ``tar``, ``gzip``, ``bzip2``, ``xz`` and optionally ``zstd``
@@ -26,8 +26,8 @@ before Spack is run:
#. If using the ``gpg`` subcommand, ``gnupg2`` is required #. If using the ``gpg`` subcommand, ``gnupg2`` is required
These requirements can be easily installed on most modern Linux systems; These requirements can be easily installed on most modern Linux systems;
on Macintosh, XCode is required. Spack is designed to run on HPC on macOS, XCode is required. Spack is designed to run on HPC
platforms like Cray and BlueGene/Q. Not all packages should be expected platforms like Cray. Not all packages should be expected
to work on all platforms. A build matrix showing which packages are to work on all platforms. A build matrix showing which packages are
working on which systems is planned but not yet available. working on which systems is planned but not yet available.
@@ -53,12 +53,12 @@ in the ``SPACK_ROOT`` environment variable. Add ``$SPACK_ROOT/bin``
to your path and you're ready to go: to your path and you're ready to go:
.. code-block:: console .. code-block:: console
# For bash/zsh users # For bash/zsh users
$ export SPACK_ROOT=/path/to/spack $ export SPACK_ROOT=/path/to/spack
$ export PATH=$SPACK_ROOT/bin:$PATH $ export PATH=$SPACK_ROOT/bin:$PATH
# For tsch/csh users # For tsch/csh users
$ setenv SPACK_ROOT /path/to/spack $ setenv SPACK_ROOT /path/to/spack
$ setenv PATH $SPACK_ROOT/bin:$PATH $ setenv PATH $SPACK_ROOT/bin:$PATH