spack/Fix-Spinx-configuration-to-avoid-throwing-errors.patch

57 lines
2.0 KiB
Diff
Raw Normal View History

Accepting request 931785 from home:mslacken:sp - updated to version 0.17.0 (Upstream feature/bug references (<ID>) are relative to https://github.com/spack/spack/issues/<ID>). * New concretizer is now default The new concretizer introduced as an experimental feature in v0.16.0 is now the default (#25502). The new concretizer is based on the clingo logic programming system, and it enables us to do much higher quality and faster dependency solving The old concretizer is still available via the concretizer: original setting, but it is deprecated and will be removed in v0.18.0. * Binary Bootstrapping To make it easier to use the new concretizer and binary packages, Spack now bootstraps clingo and GnuPG from public binaries. If it is not able to bootstrap them from binaries, it installs them from source code. With these changes, you should still be able to clone Spack and start using it almost immediately. * Reuse existing packages (experimental) The most wanted feature from our 2020 user survey and the most wanted Spack feature of all time (#25310). spack install, spack spec, and spack concretize now have a --reuse option, which causes Spack to minimize the number of rebuilds it does. The --reuse option will try to find existing installations and binary packages locally and in registered mirrors, and will prefer to use them over building new versions. This will allow users to build from source far less than in prior versions of Spack. This feature will continue to be improved, with configuration options and better CLI expected in v0.17.1. It will become the default concretization mode in v0.18.0. * Better error messages We have improved the error messages generated by the new concretizer by OBS-URL: https://build.opensuse.org/request/show/931785 OBS-URL: https://build.opensuse.org/package/show/network:cluster/spack?expand=0&rev=35
2021-11-16 15:32:55 +01:00
From: Egbert Eich <eich@suse.com>
Date: Wed Nov 10 16:30:14 2021 +0100
Subject: Fix Spinx configuration to avoid throwing errors
Patch-mainline: Not yet
Git-repo: https://github.com/spack/spack
Git-commit: f8be4e346441f8d33b760ddfdc5fad360edf055d
References:
- Ignore certain variables
- Don't attempt downloading ntersphinx inventory
Signed-off-by: Egbert Eich <eich@suse.com>
Signed-off-by: Egbert Eich <eich@suse.de>
---
lib/spack/docs/conf.py | 24 +++++++++++++++++++++++-
1 file changed, 23 insertions(+), 1 deletion(-)
diff --git a/lib/spack/docs/conf.py b/lib/spack/docs/conf.py
index 2b58223e1d..95888cf5d4 100644
--- a/lib/spack/docs/conf.py
+++ b/lib/spack/docs/conf.py
@@ -179,6 +179,28 @@ def setup(sphinx):
('py:class', '_frozen_importlib_external.SourceFileLoader'),
# Spack classes that are private and we don't want to expose
('py:class', 'spack.provider_index._IndexBase'),
+ ('py:class', 'datetime.datetime'),
+ ('py:class', 'argparse.ArgumentParser'),
+ ('py:class', 'argparse.RawTextHelpFormatter'),
+ ('py:class', 'argparse.Namespace'),
+ ('py:class', 'argparse.Action'),
+ ('py:class', 'ast.NodeVisitor'),
+ ('py:class', 'ast.NodeTransformer'),
+ ('py:class', 'ast.AST'),
+ ('py:class', 'collections.abc.MutableMapping'),
+ ('py:class', 'collections.abc.Sequence'),
+ ('py:class', 'collections.abc.Mapping'),
+ ('py:class', 'html.parser.HTMLParser'),
+ ('py:class', 'typing.IO'),
+ ('py:class', 'urllib.request.HTTPSHandler'),
+ ('py:obj', 'typing.Callable'),
+ ('py:obj', 'typing.IO'),
+ ('py:obj', 'bool'),
+ ('py:obj', 'dict'),
+ ('py:obj', 'int'),
+ ('py:obj', 'list'),
+ ('py:obj', 're'),
+ ('py:obj', 'str')
]
# The reST default role (used for this markup: `text`) to use for all documents.
@@ -381,5 +403,5 @@ class SpackStyle(DefaultStyle):
# sphinx.ext.intersphinx
intersphinx_mapping = {
- "python": ("https://docs.python.org/3", None),
+ "python": ("https://docs.python.org/3", "objects.inv"),
}