From c846b5149dd541e5323b58a946efa34cb88b7596 Mon Sep 17 00:00:00 2001 From: Massimiliano Culpo Date: Wed, 13 Apr 2022 23:32:23 +0200 Subject: 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 --- lib/spack/docs/getting_started.rst | 13 +++++++------ lib/spack/docs/tables/system_prerequisites.csv | 2 +- lib/spack/spack/test/llnl/util/lock.py | 2 +- 3 files changed, 9 insertions(+), 8 deletions(-) (limited to 'lib') 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)) -- cgit v1.2.3-70-g09d2