summaryrefslogtreecommitdiff
path: root/lib/spack/docs/conf.py
diff options
context:
space:
mode:
authorMassimiliano Culpo <massimiliano.culpo@gmail.com>2023-07-17 16:51:04 +0200
committerGitHub <noreply@github.com>2023-07-17 16:51:04 +0200
commit53ae969aa008c8fb358f33b9b961beb5512999ff (patch)
tree6ecb773c5a418fabd4f8fbec10ca6dcc77f1e5f9 /lib/spack/docs/conf.py
parent2b5a7bb4d7428529d7603d1b711beab0baa76b1c (diff)
downloadspack-53ae969aa008c8fb358f33b9b961beb5512999ff.tar.gz
spack-53ae969aa008c8fb358f33b9b961beb5512999ff.tar.bz2
spack-53ae969aa008c8fb358f33b9b961beb5512999ff.tar.xz
spack-53ae969aa008c8fb358f33b9b961beb5512999ff.zip
Lock, database and store don't need global configuration on construction (#33495)
Lock objects can now be instantiated independently, without being tied to the global configuration. The same is true for database and store objects. The database __init__ method has been simplified to take a single lock configuration object. Some common lock configurations (e.g. NO_LOCK or NO_TIMEOUT) have been named and are provided as globals. The use_store context manager keeps the configuration consistent by pushing and popping an internal scope. It can also be tuned by passing extra data to set up e.g. upstreams or anything else that might be related to the store.
Diffstat (limited to 'lib/spack/docs/conf.py')
-rw-r--r--lib/spack/docs/conf.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py
index 34710ea73a..20c10ee486 100644
--- a/lib/spack/docs/conf.py
+++ b/lib/spack/docs/conf.py
@@ -214,6 +214,7 @@ nitpick_ignore = [
# Spack classes that intersphinx is unable to resolve
("py:class", "spack.version.StandardVersion"),
("py:class", "spack.spec.DependencySpec"),
+ ("py:class", "spack.spec.SpecfileReaderBase"),
("py:class", "spack.install_test.Pb"),
]