diff options
author | Massimiliano Culpo <massimiliano.culpo@gmail.com> | 2022-04-13 23:32:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-13 14:32:23 -0700 |
commit | c846b5149dd541e5323b58a946efa34cb88b7596 (patch) | |
tree | 9ed37b9f0f66ebbed57e5f06fe9408030fd3ca2f /lib | |
parent | 4c1250854a5cc6b153b9c9ecc02b05d70dbdbd7d (diff) | |
download | spack-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 'lib')
-rw-r--r-- | lib/spack/docs/getting_started.rst | 13 | ||||
-rw-r--r-- | lib/spack/docs/tables/system_prerequisites.csv | 2 | ||||
-rw-r--r-- | lib/spack/spack/test/llnl/util/lock.py | 2 |
3 files changed, 9 insertions, 8 deletions
diff --git a/lib/spack/docs/getting_started.rst b/lib/spack/docs/getting_started.rst index 049f66a09e..3a7371a09c 100644 --- a/lib/spack/docs/getting_started.rst +++ b/lib/spack/docs/getting_started.rst @@ -149,27 +149,28 @@ Spack fall back to bootstrapping from sources: .. code-block:: console - $ spack bootstrap untrust github-actions - ==> "github-actions" is now untrusted and will not be used for bootstrapping + $ spack bootstrap untrust github-actions-v0.2 + ==> "github-actions-v0.2" is now untrusted and will not be used for bootstrapping You can verify that the new settings are effective with: .. code-block:: console $ spack bootstrap list - Name: github-actions UNTRUSTED + Name: github-actions-v0.2 UNTRUSTED Type: buildcache Info: - url: https://mirror.spack.io/bootstrap/github-actions/v0.1 - homepage: https://github.com/alalazo/spack-bootstrap-mirrors - releases: https://github.com/alalazo/spack-bootstrap-mirrors/releases + url: https://mirror.spack.io/bootstrap/github-actions/v0.2 + homepage: https://github.com/spack/spack-bootstrap-mirrors + releases: https://github.com/spack/spack-bootstrap-mirrors/releases Description: Buildcache generated from a public workflow using Github Actions. The sha256 checksum of binaries is checked before installation. + [ ... ] Name: spack-install TRUSTED diff --git a/lib/spack/docs/tables/system_prerequisites.csv b/lib/spack/docs/tables/system_prerequisites.csv index 980aea77f6..9cd998e9e1 100644 --- a/lib/spack/docs/tables/system_prerequisites.csv +++ b/lib/spack/docs/tables/system_prerequisites.csv @@ -1,5 +1,5 @@ Name, Supported Versions, Notes, Requirement Reason -Python, 2.7/3.5-3.9, , Interpreter for Spack +Python, 2.7/3.5-3.10, , Interpreter for Spack C/C++ Compilers, , , Building software make, , , Build software patch, , , Build software diff --git a/lib/spack/spack/test/llnl/util/lock.py b/lib/spack/spack/test/llnl/util/lock.py index da8f77b2c3..7f25ddb057 100644 --- a/lib/spack/spack/test/llnl/util/lock.py +++ b/lib/spack/spack/test/llnl/util/lock.py @@ -570,7 +570,7 @@ def test_write_lock_timeout_with_multiple_readers_3_2(lock_path): def test_write_lock_timeout_with_multiple_readers_2_1_ranges(lock_path): multiproc_test( AcquireRead(lock_path, 0, 10), - AcquireRead(lock_path, 0.5, 10), + AcquireRead(lock_path, 2, 10), TimeoutWrite(lock_path, 5, 5)) |