summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2022-04-13 23:32:23 +0200
committerGitHub <noreply@github.com>2022-04-13 14:32:23 -0700
commitc846b5149dd541e5323b58a946efa34cb88b7596 (patch)
tree9ed37b9f0f66ebbed57e5f06fe9408030fd3ca2f /.github
parent4c1250854a5cc6b153b9c9ecc02b05d70dbdbd7d (diff)
downloadspack-c846b5149dd541e5323b58a946efa34cb88b7596.tar.gz
spack-c846b5149dd541e5323b58a946efa34cb88b7596.tar.bz2
spack-c846b5149dd541e5323b58a946efa34cb88b7596.tar.xz
spack-c846b5149dd541e5323b58a946efa34cb88b7596.zip
Add support for Python 3.10 (#29581)
* Add support for Python 3.10 * Update unit-tests to use 3.10 * Update Getting started section of the docs * Update bootstrap action
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/bootstrap.yml16
-rw-r--r--.github/workflows/unit_tests.yaml12
2 files changed, 14 insertions, 14 deletions
diff --git a/.github/workflows/bootstrap.yml b/.github/workflows/bootstrap.yml
index 4af7abb278..65f097053e 100644
--- a/.github/workflows/bootstrap.yml
+++ b/.github/workflows/bootstrap.yml
@@ -43,7 +43,7 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
- spack bootstrap untrust github-actions
+ spack bootstrap untrust github-actions-v0.2
spack external find cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -81,7 +81,7 @@ jobs:
shell: runuser -u spack-test -- bash {0}
run: |
source share/spack/setup-env.sh
- spack bootstrap untrust github-actions
+ spack bootstrap untrust github-actions-v0.2
spack external find cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -143,7 +143,7 @@ jobs:
- name: Bootstrap clingo
run: |
source share/spack/setup-env.sh
- spack bootstrap untrust github-actions
+ spack bootstrap untrust github-actions-v0.2
spack external find cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -159,7 +159,7 @@ jobs:
run: |
source share/spack/setup-env.sh
export PATH=/usr/local/opt/bison@2.7/bin:$PATH
- spack bootstrap untrust github-actions
+ spack bootstrap untrust github-actions-v0.2
spack external find --not-buildable cmake bison
spack -d solve zlib
tree ~/.spack/bootstrap/store/
@@ -168,7 +168,7 @@ jobs:
runs-on: macos-latest
strategy:
matrix:
- python-version: ['3.5', '3.6', '3.7', '3.8', '3.9']
+ python-version: ['3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- name: Install dependencies
run: |
@@ -188,7 +188,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9']
+ python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # @v2
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # @v2
@@ -276,7 +276,7 @@ jobs:
run: |
source share/spack/setup-env.sh
spack solve zlib
- spack bootstrap untrust github-actions
+ spack bootstrap untrust github-actions-v0.2
spack -d gpg list
tree ~/.spack/bootstrap/store/
@@ -309,6 +309,6 @@ jobs:
run: |
source share/spack/setup-env.sh
spack solve zlib
- spack bootstrap untrust github-actions
+ spack bootstrap untrust github-actions-v0.2
spack -d gpg list
tree ~/.spack/bootstrap/store/
diff --git a/.github/workflows/unit_tests.yaml b/.github/workflows/unit_tests.yaml
index c1dfe4c20a..6809df383e 100644
--- a/.github/workflows/unit_tests.yaml
+++ b/.github/workflows/unit_tests.yaml
@@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # @v2
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # @v2
with:
- python-version: 3.9
+ python-version: '3.10'
- name: Install Python Packages
run: |
pip install --upgrade pip
@@ -36,7 +36,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # @v2
with:
- python-version: 3.9
+ python-version: '3.10'
- name: Install Python packages
run: |
pip install --upgrade pip six setuptools types-six
@@ -96,7 +96,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9]
+ python-version: ['2.7', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
concretizer: ['clingo']
include:
- python-version: 2.7
@@ -176,7 +176,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # @v2
with:
- python-version: 3.9
+ python-version: '3.10'
- name: Install System packages
run: |
sudo apt-get -y update
@@ -242,7 +242,7 @@ jobs:
fetch-depth: 0
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # @v2
with:
- python-version: 3.9
+ python-version: '3.10'
- name: Install System packages
run: |
sudo apt-get -y update
@@ -334,7 +334,7 @@ jobs:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # @v2
- uses: actions/setup-python@21c0493ecfd34b1217f0a90ec19a327f3cc0a048 # @v2
with:
- python-version: 3.9
+ python-version: '3.10'
- name: Install Python packages
run: |
pip install --upgrade pip six setuptools pytest codecov coverage[toml]==6.2