SYMBOL INDEX (14977 symbols across 1089 files) FILE: .ci/gitlab/forward_dotenv_variables.py function read_dotenv (line 7) | def read_dotenv(file_name: str) -> Dict[str, str]: FILE: .github/workflows/bin/canonicalize.py function run_git_command (line 14) | def run_git_command(*args: str, dir: str) -> None: function run (line 37) | def run(root: str, output_dir: str) -> None: function compare (line 67) | def compare( FILE: .github/workflows/bin/format-rst.py function _warning (line 65) | def _warning(msg: str) -> str: class Warning (line 69) | class Warning: method __init__ (line 70) | def __init__(self, path: str, line: int, message: str) -> None: method __str__ (line 75) | def __str__(self) -> str: class CodeBlockWarning (line 79) | class CodeBlockWarning(Warning): method __init__ (line 80) | def __init__(self, path: str, line: int, message: str, diff: str): method __str__ (line 83) | def __str__(self) -> str: class ValidationWarning (line 87) | class ValidationWarning(Warning): class SphinxCodeBlock (line 91) | class SphinxCodeBlock(Directive): method run (line 108) | def run(self) -> List[nodes.Node]: class ParagraphInfo (line 119) | class ParagraphInfo: method __init__ (line 125) | def __init__(self, line: int, src: str) -> None: function _is_node_in_table (line 132) | def _is_node_in_table(node: nodes.Node) -> bool: function _validate_schema (line 141) | def _validate_schema(data: object) -> None: function _format_code_blocks (line 149) | def _format_code_blocks(document: nodes.document, path: str) -> List[War... function _format_paragraphs (line 207) | def _format_paragraphs(document: nodes.document, path: str, src_lines: L... function reformat_rst_file (line 245) | def reformat_rst_file(path: str, warnings: List[Warning]) -> bool: function main (line 266) | def main(*files: str) -> None: FILE: bin/haspywin.py function getpywin (line 8) | def getpywin(): FILE: lib/spack/docs/_static/js/versions.js function onSelectorSwitch (line 3) | function onSelectorSwitch(event) { function initVersionSelector (line 9) | function initVersionSelector(config) { function initSearch (line 33) | function initSearch(currentVersion) { FILE: lib/spack/docs/conf.py class NoWhitespaceHtmlFormatter (line 112) | class NoWhitespaceHtmlFormatter(HtmlFormatter): method _get_css_classes (line 115) | def _get_css_classes(self, ttype): class CustomPygmentsBridge (line 121) | class CustomPygmentsBridge(PygmentsBridge): method get_formatter (line 122) | def get_formatter(self, **options): class SpecLexer (line 139) | class SpecLexer(RegexLexer): class PatchedPythonDomain (line 213) | class PatchedPythonDomain(PythonDomain): method resolve_xref (line 214) | def resolve_xref(self, env, fromdocname, builder, type, target, node, ... class NoTabExpansionRSTParser (line 224) | class NoTabExpansionRSTParser(RSTParser): method parse (line 225) | def parse(self, inputstring, document): function add_package_api_version_line (line 232) | def add_package_api_version_line(app, what, name: str, obj, options, lin... function skip_member (line 244) | def skip_member(app, what, name, obj, skip, options): function setup (line 251) | def setup(sphinx): FILE: lib/spack/spack/__init__.py function __try_int (line 30) | def __try_int(v): function get_spack_commit (line 42) | def get_spack_commit() -> Optional[str]: function get_version (line 72) | def get_version() -> str: function get_short_version (line 85) | def get_short_version() -> str: FILE: lib/spack/spack/archspec.py function microarchitecture_flags (line 11) | def microarchitecture_flags(spec: spack.spec.Spec, language: str) -> str: function microarchitecture_flags_from_target (line 40) | def microarchitecture_flags_from_target( FILE: lib/spack/spack/audit.py class Error (line 73) | class Error: method __init__ (line 76) | def __init__(self, summary, details): method __str__ (line 80) | def __str__(self): method __eq__ (line 85) | def __eq__(self, other): method __hash__ (line 90) | def __hash__(self): class AuditClass (line 95) | class AuditClass(collections.abc.Sequence): method __init__ (line 96) | def __init__(self, group, tag, description, kwargs): method __call__ (line 124) | def __call__(self, func): method __getitem__ (line 127) | def __getitem__(self, item): method __len__ (line 130) | def __len__(self): method run (line 133) | def run(self, **kwargs): function run_group (line 146) | def run_group(group, **kwargs): function run_check (line 163) | def run_check(tag, **kwargs): function _search_duplicate_compilers (line 195) | def _search_duplicate_compilers(error_cls): function _search_duplicate_specs_in_externals (line 227) | def _search_duplicate_specs_in_externals(error_cls): function _avoid_mismatched_variants (line 268) | def _avoid_mismatched_variants(error_cls): function _wrongly_named_spec (line 309) | def _wrongly_named_spec(error_cls): function _ensure_all_virtual_packages_have_default_providers (line 332) | def _ensure_all_virtual_packages_have_default_providers(error_cls): function _ensure_no_folders_without_package_py (line 348) | def _ensure_no_folders_without_package_py(error_cls): function _make_config_error (line 368) | def _make_config_error(config_data, summary, error_cls): function _check_build_test_callbacks (line 409) | def _check_build_test_callbacks(pkgs, error_cls): function _directives_can_be_evaluated (line 431) | def _directives_can_be_evaluated(pkgs, error_cls): function _check_patch_urls (line 447) | def _check_patch_urls(pkgs, error_cls): function _search_for_reserved_attributes_names_in_packages (line 507) | def _search_for_reserved_attributes_names_in_packages(pkgs, error_cls): function _ensure_all_package_names_are_lowercase (line 539) | def _ensure_all_package_names_are_lowercase(pkgs, error_cls): function _ensure_packages_are_pickeleable (line 555) | def _ensure_packages_are_pickeleable(pkgs, error_cls): function _ensure_packages_are_unparseable (line 571) | def _ensure_packages_are_unparseable(pkgs, error_cls): function _ensure_all_versions_can_produce_a_fetcher (line 596) | def _ensure_all_versions_can_produce_a_fetcher(pkgs, error_cls): function _ensure_docstring_and_no_fixme (line 614) | def _ensure_docstring_and_no_fixme(pkgs, error_cls): function _ensure_all_packages_use_sha256_checksums (line 646) | def _ensure_all_packages_use_sha256_checksums(pkgs, error_cls): function _ensure_env_methods_are_ported_to_builders (line 683) | def _ensure_env_methods_are_ported_to_builders(pkgs, error_cls): class DeprecatedMagicGlobals (line 714) | class DeprecatedMagicGlobals(ast.NodeVisitor): method __init__ (line 715) | def __init__(self, magic_globals: Iterable[str]): method descend_in_function_def (line 731) | def descend_in_function_def(self, node: ast.AST) -> None: method generic_visit (line 743) | def generic_visit(self, node: ast.AST) -> None: function _uses_deprecated_globals (line 768) | def _uses_deprecated_globals(pkgs, error_cls): function _ensure_test_docstring (line 797) | def _ensure_test_docstring(pkgs, error_cls): function _ensure_test_implemented (line 837) | def _ensure_test_implemented(pkgs, error_cls): function _linting_package_file (line 880) | def _linting_package_file(pkgs, error_cls): function _variant_issues_in_directives (line 906) | def _variant_issues_in_directives(pkgs, error_cls): function _issues_in_depends_on_directive (line 998) | def _issues_in_depends_on_directive(pkgs, error_cls): function _ensure_variant_defaults_are_parsable (line 1088) | def _ensure_variant_defaults_are_parsable(pkgs, error_cls): function _ensure_variants_have_descriptions (line 1126) | def _ensure_variants_have_descriptions(pkgs, error_cls): function _version_constraints_are_satisfiable_by_some_version_in_repo (line 1141) | def _version_constraints_are_satisfiable_by_some_version_in_repo(pkgs, e... function _issues_in_directive_constraint (line 1191) | def _issues_in_directive_constraint(pkg, constraint, *, directive, error... function _analyze_variants_in_directive (line 1216) | def _analyze_variants_in_directive(pkg, constraint, *, directive, error_... function _analize_propagated_deps_in_directive (line 1248) | def _analize_propagated_deps_in_directive( function _named_specs_in_when_arguments (line 1261) | def _named_specs_in_when_arguments(pkgs, error_cls): function packages_with_detection_tests (line 1331) | def packages_with_detection_tests(): function _test_detection_by_executable (line 1350) | def _test_detection_by_executable(pkgs, debug_log, error_cls): FILE: lib/spack/spack/binary_distribution.py class BuildCacheDatabase (line 102) | class BuildCacheDatabase(spack.database.Database): method __init__ (line 112) | def __init__(self, root): method _handle_old_db_versions_read (line 117) | def _handle_old_db_versions_read(self, check, db, *, reindex: bool): class FetchCacheError (line 125) | class FetchCacheError(Exception): method __init__ (line 128) | def __init__(self, errors): class BinaryCacheIndex (line 147) | class BinaryCacheIndex: method __init__ (line 162) | def __init__(self, cache_root: Optional[str] = None): method _init_local_index_cache (line 188) | def _init_local_index_cache(self): method _write_local_index_cache (line 198) | def _write_local_index_cache(self): method regenerate_spec_cache (line 204) | def regenerate_spec_cache(self, clear_existing=False): method _associate_built_specs_with_mirror (line 226) | def _associate_built_specs_with_mirror(self, cache_key, mirror_metadat... method get_all_built_specs (line 257) | def get_all_built_specs(self) -> List[spack.spec.Spec]: method find_built_spec (line 261) | def find_built_spec(self, spec: spack.spec.Spec) -> List[MirrorMetadata]: method find_by_hash (line 275) | def find_by_hash(self, dag_hash: str) -> List[MirrorMetadata]: method update_spec (line 283) | def update_spec(self, spec: spack.spec.Spec, found_list: List[MirrorMe... method update (line 295) | def update(self, with_cooldown: bool = False) -> None: method _fetch_and_cache_index (line 442) | def _fetch_and_cache_index(self, mirror_metadata: MirrorMetadata, cach... function binary_index_location (line 502) | def binary_index_location(): function compute_hash (line 512) | def compute_hash(data): function buildinfo_file_name (line 518) | def buildinfo_file_name(prefix): function read_buildinfo_file (line 523) | def read_buildinfo_file(prefix): function file_matches (line 529) | def file_matches(f: IO[bytes], regex: spack.llnl.util.lang.PatternBytes)... function specs_to_relocate (line 536) | def specs_to_relocate(spec: spack.spec.Spec) -> List[spack.spec.Spec]: function get_buildinfo_dict (line 550) | def get_buildinfo_dict(spec): function buildcache_relative_keys_path (line 565) | def buildcache_relative_keys_path(layout_version: int = CURRENT_BUILD_CA... function buildcache_relative_keys_url (line 570) | def buildcache_relative_keys_url(layout_version: int = CURRENT_BUILD_CAC... function buildcache_relative_specs_path (line 575) | def buildcache_relative_specs_path(layout_version: int = CURRENT_BUILD_C... function buildcache_relative_specs_url (line 580) | def buildcache_relative_specs_url(layout_version: int = CURRENT_BUILD_CA... function buildcache_relative_blobs_path (line 585) | def buildcache_relative_blobs_path(layout_version: int = CURRENT_BUILD_C... function buildcache_relative_blobs_url (line 590) | def buildcache_relative_blobs_url(layout_version: int = CURRENT_BUILD_CA... function buildcache_relative_index_path (line 595) | def buildcache_relative_index_path(layout_version: int = CURRENT_BUILD_C... function buildcache_relative_index_url (line 600) | def buildcache_relative_index_url(layout_version: int = CURRENT_BUILD_CA... function warn_v2_layout (line 606) | def warn_v2_layout(mirror_url: str, action: str) -> bool: function select_signing_key (line 628) | def select_signing_key() -> str: function _push_index (line 642) | def _push_index(db: BuildCacheDatabase, temp_dir: str, cache_prefix: str... function _read_specs_and_push_index (line 659) | def _read_specs_and_push_index( function _url_generate_package_index (line 710) | def _url_generate_package_index( function generate_key_index (line 762) | def generate_key_index(mirror_url: str, tmpdir: str) -> None: class FileTypes (line 805) | class FileTypes: function file_type (line 814) | def file_type(f: IO[bytes]) -> int: function tarfile_of_spec_prefix (line 851) | def tarfile_of_spec_prefix( function create_tarball (line 914) | def create_tarball(spec: spack.spec.Spec, tarfile_path: str) -> Tuple[st... function _do_create_tarball (line 925) | def _do_create_tarball( function _exists_in_buildcache (line 950) | def _exists_in_buildcache( function prefixes_to_relocate (line 959) | def prefixes_to_relocate(spec): function _url_upload_tarball_and_specfile (line 966) | def _url_upload_tarball_and_specfile( class Uploader (line 975) | class Uploader: method __init__ (line 976) | def __init__(self, mirror: spack.mirrors.mirror.Mirror, force: bool, u... method __enter__ (line 987) | def __enter__(self): method __exit__ (line 996) | def __exit__(self, *args): method push_or_raise (line 1000) | def push_or_raise(self, specs: List[spack.spec.Spec]) -> List[spack.sp... method push (line 1011) | def push( method tag (line 1016) | def tag(self, tag: str, roots: List[spack.spec.Spec]): class OCIUploader (line 1021) | class OCIUploader(Uploader): method __init__ (line 1022) | def __init__( method push (line 1033) | def push( method tag (line 1054) | def tag(self, tag: str, roots: List[spack.spec.Spec]): class URLUploader (line 1072) | class URLUploader(Uploader): method __init__ (line 1073) | def __init__( method push (line 1084) | def push( function make_uploader (line 1098) | def make_uploader( function _format_spec (line 1116) | def _format_spec(spec: spack.spec.Spec) -> str: class FancyProgress (line 1120) | class FancyProgress: method __init__ (line 1121) | def __init__(self, total: int): method _clear (line 1129) | def _clear(self): method _progress (line 1133) | def _progress(self): method start (line 1139) | def start(self, spec: spack.spec.Spec, running: bool) -> None: method ok (line 1147) | def ok(self, msg: Optional[str] = None) -> None: method fail (line 1152) | def fail(self) -> None: function _url_push (line 1157) | def _url_push( function _oci_upload_success_msg (line 1249) | def _oci_upload_success_msg(spec: spack.spec.Spec, digest: Digest, size:... function _oci_get_blob_info (line 1257) | def _oci_get_blob_info(image_ref: ImageReference) -> Optional[spack.oci.... function _oci_push_pkg_blob (line 1271) | def _oci_push_pkg_blob( function _oci_retrieve_env_dict_from_config (line 1297) | def _oci_retrieve_env_dict_from_config(config: dict) -> dict: function _oci_archspec_to_gooarch (line 1316) | def _oci_archspec_to_gooarch(spec: spack.spec.Spec) -> str: function _oci_put_manifest (line 1322) | def _oci_put_manifest( function _oci_update_base_images (line 1423) | def _oci_update_base_images( function _oci_default_tag (line 1447) | def _oci_default_tag(spec: spack.spec.Spec) -> str: function tag_is_spec (line 1456) | def tag_is_spec(tag: str) -> bool: function _oci_push (line 1461) | def _oci_push( function _oci_config_from_tag (line 1590) | def _oci_config_from_tag(image_ref_and_tag: Tuple[ImageReference, str]) ... function _oci_update_index (line 1601) | def _oci_update_index( function try_fetch (line 1667) | def try_fetch(url_to_fetch): function download_tarball (line 1689) | def download_tarball( function dedupe_hardlinks_if_necessary (line 1837) | def dedupe_hardlinks_if_necessary(root, buildinfo): function relocate_package (line 1869) | def relocate_package(spec: spack.spec.Spec) -> None: function _tar_strip_component (line 1991) | def _tar_strip_component(tar: tarfile.TarFile, prefix: str): function extract_buildcache_tarball (line 2015) | def extract_buildcache_tarball(tarfile_path: str, destination: str) -> N... function extract_tarball (line 2025) | def extract_tarball(spec, tarball_stage: spack.stage.Stage, force=False,... function _ensure_common_prefix (line 2068) | def _ensure_common_prefix(tar: tarfile.TarFile) -> str: function install_root_node (line 2112) | def install_root_node( function install_single_spec (line 2154) | def install_single_spec(spec, unsigned=False, force=False): function try_direct_fetch (line 2167) | def try_direct_fetch(spec: spack.spec.Spec) -> List[MirrorMetadata]: function get_mirrors_for_spec (line 2199) | def get_mirrors_for_spec(spec: spack.spec.Spec, index_only: bool = False... function update_cache_and_get_specs (line 2227) | def update_cache_and_get_specs(): function get_keys (line 2242) | def get_keys( function _get_keys (line 2272) | def _get_keys( function _get_keys_v2 (line 2328) | def _get_keys_v2(mirror_url, install=False, trust=False, force=False) ->... function _url_push_keys (line 2376) | def _url_push_keys( function needs_rebuild (line 2414) | def needs_rebuild(spec, mirror_url): function check_specs_against_mirrors (line 2434) | def check_specs_against_mirrors(mirrors, specs, output_file=None): function download_single_spec (line 2473) | def download_single_spec( class BinaryCacheQuery (line 2521) | class BinaryCacheQuery: method __init__ (line 2524) | def __init__(self, all_architectures): method __call__ (line 2540) | def __call__(self, spec: spack.spec.Spec, **kwargs): class FetchIndexError (line 2548) | class FetchIndexError(Exception): method __str__ (line 2549) | def __str__(self): class BuildcacheIndexError (line 2556) | class BuildcacheIndexError(spack.error.SpackError): class BuildcacheIndexNotExists (line 2560) | class BuildcacheIndexNotExists(Exception): class IndexFetcher (line 2567) | class IndexFetcher: method conditional_fetch (line 2568) | def conditional_fetch(self) -> FetchIndexResult: method get_index_manifest (line 2571) | def get_index_manifest(self, manifest_response) -> BlobRecord: method fetch_index_blob (line 2588) | def fetch_index_blob( class DefaultIndexFetcherV2 (line 2613) | class DefaultIndexFetcherV2(IndexFetcher): method __init__ (line 2616) | def __init__(self, url, local_hash, urlopen=web_util.urlopen): method get_remote_hash (line 2622) | def get_remote_hash(self): method conditional_fetch (line 2638) | def conditional_fetch(self) -> FetchIndexResult: class EtagIndexFetcherV2 (line 2684) | class EtagIndexFetcherV2(IndexFetcher): method __init__ (line 2687) | def __init__(self, url, etag, urlopen=web_util.urlopen): method conditional_fetch (line 2692) | def conditional_fetch(self) -> FetchIndexResult: class OCIIndexFetcher (line 2727) | class OCIIndexFetcher(IndexFetcher): method __init__ (line 2728) | def __init__(self, mirror_metadata: MirrorMetadata, local_hash, urlope... method conditional_fetch (line 2733) | def conditional_fetch(self) -> FetchIndexResult: class DefaultIndexFetcher (line 2781) | class DefaultIndexFetcher(IndexFetcher): method __init__ (line 2784) | def __init__(self, mirror_metadata: MirrorMetadata, local_hash, urlope... method conditional_fetch (line 2792) | def conditional_fetch(self) -> FetchIndexResult: class EtagIndexFetcher (line 2829) | class EtagIndexFetcher(IndexFetcher): method __init__ (line 2844) | def __init__(self, mirror_metadata: MirrorMetadata, etag, urlopen=web_... method conditional_fetch (line 2851) | def conditional_fetch(self) -> FetchIndexResult: function get_index_fetcher (line 2887) | def get_index_fetcher( class NoOverwriteException (line 2910) | class NoOverwriteException(spack.error.SpackError): method __init__ (line 2913) | def __init__(self, file_path): class NoGpgException (line 2917) | class NoGpgException(spack.error.SpackError): method __init__ (line 2922) | def __init__(self, msg): class NoKeyException (line 2926) | class NoKeyException(spack.error.SpackError): method __init__ (line 2931) | def __init__(self, msg): class PickKeyException (line 2935) | class PickKeyException(spack.error.SpackError): method __init__ (line 2940) | def __init__(self, keys): class NewLayoutException (line 2946) | class NewLayoutException(spack.error.SpackError): method __init__ (line 2951) | def __init__(self, msg): class UnsignedPackageException (line 2955) | class UnsignedPackageException(spack.error.SpackError): class GenerateIndexError (line 2962) | class GenerateIndexError(spack.error.SpackError): class CannotListKeys (line 2966) | class CannotListKeys(GenerateIndexError): class PushToBuildCacheError (line 2970) | class PushToBuildCacheError(spack.error.SpackError): class NoConfiguredBinaryMirrors (line 2974) | class NoConfiguredBinaryMirrors(spack.error.SpackError): method __init__ (line 2977) | def __init__(self): FILE: lib/spack/spack/bootstrap/_common.py class QueryInfo (line 30) | class QueryInfo(TypedDict, total=False): function _python_import (line 35) | def _python_import(module: str) -> bool: function _try_import_from_store (line 43) | def _try_import_from_store( function _fix_ext_suffix (line 117) | def _fix_ext_suffix(candidate_spec: "spack.spec.Spec"): function _executables_in_store (line 185) | def _executables_in_store( function _root_spec (line 227) | def _root_spec(spec_str: str) -> str: FILE: lib/spack/spack/bootstrap/clingo.py function _select_best_version (line 32) | def _select_best_version( function _add_compilers_if_missing (line 45) | def _add_compilers_if_missing() -> None: class ClingoBootstrapConcretizer (line 51) | class ClingoBootstrapConcretizer: method __init__ (line 52) | def __init__(self, configuration): method _valid_compiler_or_raise (line 66) | def _valid_compiler_or_raise(self): method _externals_from_yaml (line 100) | def _externals_from_yaml( method prototype_path (line 123) | def prototype_path(self) -> pathlib.Path: method concretize (line 140) | def concretize(self) -> "spack.spec.Spec": method python_external_spec (line 206) | def python_external_spec(self) -> "spack.spec.Spec": method libc_external_spec (line 211) | def libc_external_spec(self) -> "spack.spec.Spec": method _external_spec (line 216) | def _external_spec(self, initial_spec) -> "spack.spec.Spec": FILE: lib/spack/spack/bootstrap/config.py function is_bootstrapping (line 25) | def is_bootstrapping() -> bool: function spec_for_current_python (line 30) | def spec_for_current_python() -> str: function root_path (line 43) | def root_path() -> str: function store_path (line 50) | def store_path() -> str: function spack_python_interpreter (line 61) | def spack_python_interpreter() -> Generator: function _store_path (line 78) | def _store_path() -> str: function _config_path (line 83) | def _config_path() -> str: function ensure_bootstrap_configuration (line 89) | def ensure_bootstrap_configuration() -> Generator: function _read_and_sanitize_configuration (line 109) | def _read_and_sanitize_configuration() -> Dict[str, Any]: function _bootstrap_config_scopes (line 125) | def _bootstrap_config_scopes() -> Sequence["spack.config.ConfigScope"]: function _ensure_bootstrap_configuration (line 140) | def _ensure_bootstrap_configuration() -> Generator: FILE: lib/spack/spack/bootstrap/core.py function bootstrapper (line 74) | def bootstrapper(bootstrapper_type: str): class Bootstrapper (line 89) | class Bootstrapper: method __init__ (line 94) | def __init__(self, conf: ConfigDictionary) -> None: method mirror_scope (line 107) | def mirror_scope(self) -> spack.config.InternalConfigScope: method try_import (line 115) | def try_import(self, module: str, abstract_spec_str: str) -> bool: method try_search_path (line 128) | def try_search_path(self, executables: Tuple[str], abstract_spec_str: ... class BuildcacheBootstrapper (line 143) | class BuildcacheBootstrapper(Bootstrapper): method __init__ (line 146) | def __init__(self, conf) -> None: method _spec_and_platform (line 152) | def _spec_and_platform( method _read_metadata (line 167) | def _read_metadata(self, package_name: str) -> Any: method _install_by_hash (line 176) | def _install_by_hash( method _install_and_test (line 194) | def _install_and_test( method try_import (line 231) | def try_import(self, module: str, abstract_spec_str: str) -> bool: method try_search_path (line 244) | def try_search_path(self, executables: Tuple[str], abstract_spec_str: ... class SourceBootstrapper (line 258) | class SourceBootstrapper(Bootstrapper): method __init__ (line 261) | def __init__(self, conf) -> None: method try_import (line 266) | def try_import(self, module: str, abstract_spec_str: str) -> bool: method try_search_path (line 306) | def try_search_path(self, executables: Tuple[str], abstract_spec_str: ... function create_bootstrapper (line 329) | def create_bootstrapper(conf: ConfigDictionary): function source_is_enabled (line 335) | def source_is_enabled(conf: ConfigDictionary) -> bool: function ensure_module_importable_or_raise (line 340) | def ensure_module_importable_or_raise(module: str, abstract_spec: Option... function ensure_executables_in_path_or_raise (line 388) | def ensure_executables_in_path_or_raise( function _add_externals_if_missing (line 454) | def _add_externals_if_missing() -> None: function clingo_root_spec (line 475) | def clingo_root_spec() -> str: function ensure_clingo_importable_or_raise (line 480) | def ensure_clingo_importable_or_raise() -> None: function gnupg_root_spec (line 485) | def gnupg_root_spec() -> str: function ensure_gpg_in_path_or_raise (line 491) | def ensure_gpg_in_path_or_raise() -> None: function patchelf_root_spec (line 498) | def patchelf_root_spec() -> str: function verify_patchelf (line 504) | def verify_patchelf(patchelf: "spack.util.executable.Executable") -> bool: function ensure_patchelf_in_path_or_raise (line 525) | def ensure_patchelf_in_path_or_raise() -> spack.util.executable.Executable: function ensure_winsdk_external_or_raise (line 542) | def ensure_winsdk_external_or_raise() -> None: function ensure_core_dependencies (line 578) | def ensure_core_dependencies() -> None: function all_core_root_specs (line 586) | def all_core_root_specs() -> List[str]: function bootstrapping_sources (line 591) | def bootstrapping_sources(scope: Optional[str] = None): FILE: lib/spack/spack/bootstrap/environment.py class BootstrapEnvironment (line 28) | class BootstrapEnvironment(spack.environment.Environment): method __init__ (line 31) | def __init__(self) -> None: method spack_dev_requirements (line 42) | def spack_dev_requirements(cls) -> List[str]: method environment_root (line 47) | def environment_root(cls) -> pathlib.Path: method view_root (line 61) | def view_root(cls) -> pathlib.Path: method bin_dir (line 66) | def bin_dir(cls) -> pathlib.Path: method python_dirs (line 70) | def python_dirs(self) -> Iterable[pathlib.Path]: method spack_yaml (line 75) | def spack_yaml(cls) -> pathlib.Path: method trust_bootstrap_mirror_keys (line 80) | def trust_bootstrap_mirror_keys(self): method update_installations (line 85) | def update_installations(self) -> None: method load (line 109) | def load(self) -> None: method _write_spack_yaml_file (line 117) | def _write_spack_yaml_file(self) -> None: function mypy_root_spec (line 136) | def mypy_root_spec() -> str: function pytest_root_spec (line 141) | def pytest_root_spec() -> str: function ruff_root_spec (line 146) | def ruff_root_spec() -> str: function dev_bootstrap_mirror_names (line 151) | def dev_bootstrap_mirror_names() -> List[str]: function ensure_environment_dependencies (line 161) | def ensure_environment_dependencies() -> None: FILE: lib/spack/spack/bootstrap/status.py function _required_system_executable (line 21) | def _required_system_executable(exes: ExecutablesType, msg: str) -> Requ... function _required_executable (line 30) | def _required_executable( function _required_python_module (line 41) | def _required_python_module(module: str, query_spec: SpecLike, msg: str)... function _missing (line 50) | def _missing(name: str, purpose: str, system_only: bool = True) -> str: function _core_requirements (line 58) | def _core_requirements() -> List[RequiredResponseType]: function _buildcache_requirements (line 81) | def _buildcache_requirements() -> List[RequiredResponseType]: function _optional_requirements (line 105) | def _optional_requirements() -> List[RequiredResponseType]: function _development_requirements (line 116) | def _development_requirements() -> List[RequiredResponseType]: function status_message (line 137) | def status_message(section) -> Tuple[str, bool]: FILE: lib/spack/spack/build_environment.py function shared_library_suffix (line 145) | def shared_library_suffix(spec: spack.spec.Spec) -> str: function static_library_suffix (line 155) | def static_library_suffix(spec: spack.spec.Spec) -> str: function jobserver_enabled (line 163) | def jobserver_enabled(): function get_effective_jobs (line 168) | def get_effective_jobs( class MakeExecutable (line 179) | class MakeExecutable(Executable): method __init__ (line 184) | def __init__(self, name: str, *, jobs: int, supports_jobserver: bool =... method __call__ (line 190) | def __call__( method __call__ (line 209) | def __call__( method __call__ (line 228) | def __call__( method __call__ (line 246) | def __call__( class UndeclaredDependencyError (line 281) | class UndeclaredDependencyError(spack.error.SpackError): class DeprecatedExecutable (line 287) | class DeprecatedExecutable: method __init__ (line 288) | def __init__(self, pkg: str, exe: str, exe_pkg: str) -> None: method __call__ (line 293) | def __call__(self, *args, **kwargs): method add_default_env (line 298) | def add_default_env(self, key: str, value: str): function clean_environment (line 302) | def clean_environment(): function _add_werror_handling (line 395) | def _add_werror_handling(keep_werror, env): function set_wrapper_environment_variables_for_flags (line 412) | def set_wrapper_environment_variables_for_flags(pkg, env): function optimization_flags (line 459) | def optimization_flags(compiler, target): function set_wrapper_variables (line 474) | def set_wrapper_variables(pkg, env): function set_package_py_globals (line 581) | def set_package_py_globals(pkg, context: Context = Context.BUILD): function _static_to_shared_library (line 624) | def _static_to_shared_library(arch, compiler, static_lib, shared_lib=Non... function _get_rpath_deps_from_spec (line 710) | def _get_rpath_deps_from_spec( function get_rpath_deps (line 728) | def get_rpath_deps(pkg: spack.package_base.PackageBase) -> List[spack.sp... function get_cmake_prefix_path (line 734) | def get_cmake_prefix_path(pkg: spack.package_base.PackageBase) -> List[s... function setup_package (line 756) | def setup_package(pkg, dirty, context: Context = Context.BUILD): function _extract_dtags_arg (line 831) | def _extract_dtags_arg(env_by_name: Dict[str, ModificationList], *, var_... class EnvironmentVisitor (line 839) | class EnvironmentVisitor: method __init__ (line 840) | def __init__(self, *roots: spack.spec.Spec, context: Context): method accept (line 856) | def accept(self, item): method neighbors (line 859) | def neighbors(self, item): class UseMode (line 868) | class UseMode(Flag): function effective_deptypes (line 888) | def effective_deptypes( class SetupContext (line 970) | class SetupContext: method __init__ (line 974) | def __init__(self, *specs: spack.spec.Spec, context: Context) -> None: method set_all_package_py_globals (line 1012) | def set_all_package_py_globals(self): method get_env_modifications (line 1039) | def get_env_modifications(self) -> EnvironmentModifications: method _make_buildtime_detectable (line 1088) | def _make_buildtime_detectable(self, dep: spack.spec.Spec, env: Enviro... method _make_runnable (line 1098) | def _make_runnable(self, dep: spack.spec.Spec, env: EnvironmentModific... function load_external_modules (line 1108) | def load_external_modules(context: SetupContext) -> None: function _setup_pkg_and_run (line 1123) | def _setup_pkg_and_run( class BuildProcess (line 1260) | class BuildProcess: method __init__ (line 1272) | def __init__( method start (line 1286) | def start(self) -> None: method poll (line 1289) | def poll(self) -> bool: method complete (line 1293) | def complete(self): method is_alive (line 1301) | def is_alive(self) -> bool: method join (line 1304) | def join(self, *, timeout: Optional[int] = None): method terminate (line 1307) | def terminate(self): method pid (line 1320) | def pid(self): method exitcode (line 1324) | def exitcode(self): function start_build_process (line 1328) | def start_build_process( function complete_build_process (line 1430) | def complete_build_process(process: BuildProcess): function get_package_context (line 1480) | def get_package_context(traceback, context=3): class ChildError (line 1547) | class ChildError(InstallError): method __init__ (line 1585) | def __init__(self, msg, module, classname, traceback_string, log_name,... method long_message (line 1595) | def long_message(self): method __str__ (line 1631) | def __str__(self): method __reduce__ (line 1634) | def __reduce__(self): function _make_child_error (line 1651) | def _make_child_error(msg, module, name, traceback, log, log_type, conte... function write_log_summary (line 1656) | def write_log_summary(out, log_type, log, last=None): class ModuleChangePropagator (line 1679) | class ModuleChangePropagator: method __init__ (line 1690) | def __init__(self, package: spack.package_base.PackageBase) -> None: method _set_self_attributes (line 1709) | def _set_self_attributes(self, key, value): method __getattr__ (line 1712) | def __getattr__(self, item): method __setattr__ (line 1715) | def __setattr__(self, key, value): method propagate_changes_to_mro (line 1723) | def propagate_changes_to_mro(self): FILE: lib/spack/spack/buildcache_migrate.py function v2_tarball_directory_name (line 34) | def v2_tarball_directory_name(spec): function v2_tarball_name (line 42) | def v2_tarball_name(spec, ext): function v2_tarball_path_name (line 53) | def v2_tarball_path_name(spec, ext): class MigrateSpecResult (line 61) | class MigrateSpecResult(NamedTuple): class MigrationException (line 66) | class MigrationException(spack.error.SpackError): method __init__ (line 71) | def __init__(self, msg): function _migrate_spec (line 75) | def _migrate_spec( function migrate (line 245) | def migrate( FILE: lib/spack/spack/buildcache_prune.py function _fetch_manifests (line 33) | def _fetch_manifests( function _delete_manifests_from_cache_aws (line 66) | def _delete_manifests_from_cache_aws( function _delete_entries_from_cache_manual (line 115) | def _delete_entries_from_cache_manual(url: str, urls_to_delete: Set[str]... function _delete_entries_from_cache (line 129) | def _delete_entries_from_cache( function _delete_object (line 155) | def _delete_object(url: str) -> int: function _object_has_prunable_mtime (line 165) | def _object_has_prunable_mtime(url: str, pruning_started_at: float) -> T... function _filter_new_specs (line 179) | def _filter_new_specs(urls: Iterable[str], pruning_started_at: float) ->... function _prune_orphans (line 196) | def _prune_orphans( function prune_direct (line 306) | def prune_direct( function prune_orphan (line 411) | def prune_orphan(mirror: Mirror, pruning_started_at: float, dry_run: boo... function get_buildcache_normalized_time (line 460) | def get_buildcache_normalized_time(mirror: Mirror) -> float: function prune_buildcache (line 488) | def prune_buildcache(mirror: Mirror, keeplist: Optional[str] = None, dry... class BuildcachePruningException (line 513) | class BuildcachePruningException(spack.error.SpackError): class MalformedKeepListException (line 521) | class MalformedKeepListException(BuildcachePruningException): FILE: lib/spack/spack/builder.py function register_builder (line 31) | def register_builder(build_system_name: str): function create (line 54) | def create(pkg: spack.package_base.PackageBase) -> "Builder": class _PhaseAdapter (line 62) | class _PhaseAdapter: method __init__ (line 63) | def __init__(self, builder, phase_fn): method __call__ (line 67) | def __call__(self, spec, prefix): function get_builder_class (line 71) | def get_builder_class(pkg, name: str) -> Optional[Type["Builder"]]: function _create (line 82) | def _create(pkg: spack.package_base.PackageBase) -> "Builder": function buildsystem_name (line 218) | def buildsystem_name(pkg: spack.package_base.PackageBase) -> str: class BuilderMeta (line 234) | class BuilderMeta( class _PackageAdapterMeta (line 242) | class _PackageAdapterMeta(BuilderMeta): method phase_method_adapter (line 251) | def phase_method_adapter(phase_name): method legacy_long_method_adapter (line 259) | def legacy_long_method_adapter(method_name): method legacy_method_adapter (line 267) | def legacy_method_adapter(method_name): method legacy_attribute_adapter (line 275) | def legacy_attribute_adapter(attribute_name): method combine_callbacks (line 282) | def combine_callbacks(pipeline_attribute_name): method __new__ (line 310) | def __new__(mcs, name, bases, attr_dict): class InstallationPhase (line 340) | class InstallationPhase: method __init__ (line 351) | def __init__(self, name, builder): method _make_callbacks (line 358) | def _make_callbacks(self, callbacks_attribute): method __str__ (line 371) | def __str__(self): method execute (line 375) | def execute(self): method _select_phase_fn (line 389) | def _select_phase_fn(self): method _on_phase_start (line 401) | def _on_phase_start(self, instance): method _on_phase_exit (line 407) | def _on_phase_exit(self, instance): method copy (line 413) | def copy(self): class BaseBuilder (line 417) | class BaseBuilder(metaclass=BuilderMeta): method __init__ (line 445) | def __init__(self, pkg: spack.package_base.PackageBase) -> None: method spec (line 449) | def spec(self) -> spack.spec.Spec: method stage (line 453) | def stage(self): method prefix (line 457) | def prefix(self): method setup_build_environment (line 460) | def setup_build_environment( method setup_dependent_build_environment (line 476) | def setup_dependent_build_environment( method __repr__ (line 502) | def __repr__(self): method __str__ (line 506) | def __str__(self): class Builder (line 511) | class Builder(BaseBuilder, collections.abc.Sequence): method archive_files (line 549) | def archive_files(self) -> List[str]: method __init__ (line 552) | def __init__(self, pkg: spack.package_base.PackageBase) -> None: method __getitem__ (line 558) | def __getitem__(self, idx): method __len__ (line 562) | def __len__(self): function package_methods (line 566) | def package_methods(builder: Type[Builder]) -> Tuple[str, ...]: function package_attributes (line 577) | def package_attributes(builder: Type[Builder]) -> Tuple[str, ...]: function package_long_methods (line 588) | def package_long_methods(builder: Type[Builder]) -> Tuple[str, ...]: function sanity_check_prefix (line 599) | def sanity_check_prefix(builder: Builder): class BuilderWithDefaults (line 634) | class BuilderWithDefaults(Builder): function apply_macos_rpath_fixups (line 641) | def apply_macos_rpath_fixups(builder: Builder): function execute_install_time_tests (line 661) | def execute_install_time_tests(builder: Builder): class Package (line 674) | class Package(spack.package_base.PackageBase): class GenericBuilder (line 723) | class GenericBuilder(BuilderWithDefaults): method install (line 765) | def install(self, pkg: Package, spec: spack.spec.Spec, prefix: Prefix)... FILE: lib/spack/spack/caches.py function misc_cache_location (line 19) | def misc_cache_location(): function _misc_cache (line 29) | def _misc_cache(): function fetch_cache_location (line 38) | def fetch_cache_location(): function _fetch_cache (line 51) | def _fetch_cache(): class MirrorCache (line 56) | class MirrorCache: method __init__ (line 57) | def __init__(self, root, skip_unstable_versions): method store (line 61) | def store(self, fetcher, relative_dest): FILE: lib/spack/spack/ci/__init__.py function get_git_root (line 68) | def get_git_root(path: str) -> Optional[str]: function get_change_revisions (line 80) | def get_change_revisions(path: str) -> Tuple[Optional[str], Optional[str]]: function filter_added_checksums (line 94) | def filter_added_checksums( function stack_changed (line 131) | def stack_changed(env_path: str) -> bool: function compute_affected_packages (line 166) | def compute_affected_packages( function get_spec_filter_list (line 174) | def get_spec_filter_list( class RebuildDecision (line 220) | class RebuildDecision: method __init__ (line 221) | def __init__(self, rebuild: bool = True, reason: str = ""): function create_unaffected_pruner (line 229) | def create_unaffected_pruner(affected_specs: Set[spack.spec.Spec]) -> Pr... function create_already_built_pruner (line 241) | def create_already_built_pruner(check_index_only: bool = True) -> Pruner... function create_external_pruner (line 264) | def create_external_pruner() -> PrunerCallback: function _format_pruning_message (line 275) | def _format_pruning_message(spec: spack.spec.Spec, prune: bool, reasons:... function prune_pipeline (line 287) | def prune_pipeline( function check_for_broken_specs (line 325) | def check_for_broken_specs(pipeline_specs: List[spack.spec.Spec], broken... function collect_pipeline_options (line 353) | def collect_pipeline_options(env: ev.Environment, args) -> PipelineOptions: function get_unaffected_pruners (line 422) | def get_unaffected_pruners( function generate_pipeline (line 464) | def generate_pipeline(env: ev.Environment, args) -> None: function import_signing_key (line 555) | def import_signing_key(base64_signing_key: str) -> None: function can_sign_binaries (line 598) | def can_sign_binaries(): function can_verify_binaries (line 605) | def can_verify_binaries(): function push_to_build_cache (line 611) | def push_to_build_cache(spec: spack.spec.Spec, mirror_url: str, sign_bin... function copy_stage_logs_to_artifacts (line 632) | def copy_stage_logs_to_artifacts(job_spec: spack.spec.Spec, job_log_dir:... function copy_test_logs_to_artifacts (line 675) | def copy_test_logs_to_artifacts(test_stage, job_test_dir): function download_and_extract_artifacts (line 693) | def download_and_extract_artifacts(url: str, work_dir: str) -> str: function get_spack_info (line 741) | def get_spack_info(): function setup_spack_repro_version (line 756) | def setup_spack_repro_version( function reproduce_ci_job (line 856) | def reproduce_ci_job(url, work_dir, autostart, gpg_url, runtime, use_loc... function process_command (line 1148) | def process_command(name, commands, repro_dir, run=True, exit_on_failure... function create_buildcache (line 1241) | def create_buildcache( function write_broken_spec (line 1265) | def write_broken_spec(url, pkg_name, stack_name, job_url, pipeline_url, ... function read_broken_spec (line 1296) | def read_broken_spec(broken_spec_url): function display_broken_spec_messages (line 1309) | def display_broken_spec_messages(base_url, hashes): function run_standalone_tests (line 1328) | def run_standalone_tests( FILE: lib/spack/spack/ci/common.py function copy_gzipped (line 46) | def copy_gzipped(glob_or_path: str, dest: str) -> None: function copy_files_to_artifacts (line 83) | def copy_files_to_artifacts( function win_quote (line 108) | def win_quote(quote_str: str) -> str: function _spec_matches (line 114) | def _spec_matches(spec, match_string): function _noop (line 118) | def _noop(x): function unpack_script (line 122) | def unpack_script(script_section, op=_noop): function ensure_expected_target_path (line 134) | def ensure_expected_target_path(path: str) -> str: function write_pipeline_manifest (line 145) | def write_pipeline_manifest(specs, src_prefix, dest_prefix, output_file): class CDashHandler (line 168) | class CDashHandler: method __init__ (line 173) | def __init__(self, ci_cdash): method args (line 190) | def args(self): method build_name (line 202) | def build_name(self, spec: Optional[spack.spec.Spec] = None) -> Option... method build_stamp (line 221) | def build_stamp(self): method project_enc (line 240) | def project_enc(self): method upload_url (line 247) | def upload_url(self): method copy_test_results (line 251) | def copy_test_results(self, source, dest): method create_buildgroup (line 256) | def create_buildgroup(self): method report_skipped (line 285) | def report_skipped(self, spec: spack.spec.Spec, report_dir: str, reaso... class PipelineType (line 307) | class PipelineType(Enum): class PipelineOptions (line 316) | class PipelineOptions: method __init__ (line 320) | def __init__( class PipelineNode (line 379) | class PipelineNode: method __init__ (line 384) | def __init__(self, spec: spack.spec.Spec): method key (line 390) | def key(self): class PipelineDag (line 395) | class PipelineDag: method key (line 400) | def key(cls, spec: spack.spec.Spec) -> str: method __init__ (line 403) | def __init__(self, specs: List[spack.spec.Spec]) -> None: method prune (line 420) | def prune(self, node_key: str): method traverse_nodes (line 431) | def traverse_nodes( method get_dependencies (line 471) | def get_dependencies(self, node: PipelineNode) -> List[PipelineNode]: class SpackCIConfig (line 477) | class SpackCIConfig: method __init__ (line 482) | def __init__(self, ci_config): method __init_job (line 505) | def __init_job(self, release_spec): method __is_named (line 519) | def __is_named(self, section): method __job_name (line 531) | def __job_name(name, suffix=""): method __apply_submapping (line 545) | def __apply_submapping(self, dest, spec, section): method init_pipeline_jobs (line 566) | def init_pipeline_jobs(self, pipeline: PipelineDag): method generate_ir (line 572) | def generate_ir(self): class SpackCIError (line 763) | class SpackCIError(spack.error.SpackError): method __init__ (line 764) | def __init__(self, msg): FILE: lib/spack/spack/ci/generator_registry.py function generator (line 14) | def generator(name): function get_generator (line 27) | def get_generator(name): class UnknownGeneratorException (line 34) | class UnknownGeneratorException(spack.error.SpackError): method __init__ (line 35) | def __init__(self, generator_name): FILE: lib/spack/spack/ci/gitlab.py function _remove_reserved_tags (line 54) | def _remove_reserved_tags(tags): function get_job_name (line 59) | def get_job_name(spec: spack.spec.Spec, build_group: Optional[str] = Non... function maybe_generate_manifest (line 77) | def maybe_generate_manifest(pipeline: PipelineDag, options: PipelineOpti... function generate_gitlab_yaml (line 98) | def generate_gitlab_yaml(pipeline: PipelineDag, spack_ci: SpackCIConfig,... FILE: lib/spack/spack/cmd/__init__.py function python_name (line 49) | def python_name(cmd_name): function require_python_name (line 54) | def require_python_name(pname): function cmd_name (line 62) | def cmd_name(python_name): function require_cmd_name (line 67) | def require_cmd_name(cname): function all_commands (line 80) | def all_commands(): function remove_options (line 103) | def remove_options(parser, *options): function get_module (line 112) | def get_module(cmd_name): function get_command (line 144) | def get_command(cmd_name): function quote_kvp (line 157) | def quote_kvp(string: str) -> str: function parse_specs (line 174) | def parse_specs( function _concretize_spec_pairs (line 194) | def _concretize_spec_pairs( function matching_spec_from_env (line 251) | def matching_spec_from_env(spec): function matching_specs_from_env (line 264) | def matching_specs_from_env(specs): function disambiguate_spec (line 280) | def disambiguate_spec( function disambiguate_spec_from_hashes (line 300) | def disambiguate_spec_from_hashes( function ensure_single_spec_or_die (line 331) | def ensure_single_spec_or_die(spec, matching_specs): function gray_hash (line 348) | def gray_hash(spec, length): function display_specs_as_json (line 356) | def display_specs_as_json(specs, deps=False): function iter_groups (line 378) | def iter_groups(specs, indent, all_headers): function display_specs (line 415) | def display_specs(specs, args=None, **kwargs): function filter_loaded_specs (line 560) | def filter_loaded_specs(specs): function print_how_many_pkgs (line 567) | def print_how_many_pkgs(specs, pkg_type="", suffix=""): function spack_is_git_repo (line 581) | def spack_is_git_repo(): function is_git_repo (line 586) | def is_git_repo(path): class PythonNameError (line 602) | class PythonNameError(spack.error.SpackError): method __init__ (line 605) | def __init__(self, name): class CommandNameError (line 610) | class CommandNameError(spack.error.SpackError): method __init__ (line 613) | def __init__(self, name): class MultipleSpecsMatch (line 618) | class MultipleSpecsMatch(Exception): class NoSpecMatches (line 624) | class NoSpecMatches(Exception): function extant_file (line 633) | def extant_file(f): function require_active_env (line 642) | def require_active_env(cmd_name): function find_environment (line 668) | def find_environment(args: argparse.Namespace) -> Optional[ev.Environment]: function doc_first_line (line 711) | def doc_first_line(function: object) -> Optional[str]: function doc_dedented (line 719) | def doc_dedented(function: object) -> Optional[str]: function doc_dedented (line 725) | def doc_dedented(function: object) -> Optional[str]: function converted_arg_length (line 730) | def converted_arg_length(arg: str): function group_arguments (line 740) | def group_arguments( class CommandNotFoundError (line 803) | class CommandNotFoundError(spack.error.SpackError): method __init__ (line 808) | def __init__(self, cmd_name): FILE: lib/spack/spack/cmd/add.py function setup_parser (line 16) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function add (line 27) | def add(parser, args): FILE: lib/spack/spack/cmd/arch.py function setup_parser (line 21) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function display_targets (line 62) | def display_targets(targets): function arch (line 92) | def arch(parser, args): FILE: lib/spack/spack/cmd/audit.py function setup_parser (line 18) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function configs (line 55) | def configs(parser, args): function packages (line 62) | def packages(parser, args): function packages_https (line 68) | def packages_https(parser, args): function externals (line 78) | def externals(parser, args): function list (line 90) | def list(parser, args): function audit (line 103) | def audit(parser, args): function _process_reports (line 114) | def _process_reports(reports): FILE: lib/spack/spack/cmd/blame.py function setup_parser (line 30) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function print_table (line 70) | def print_table(rows, last_mod, total_lines, emails): function dump_json (line 92) | def dump_json(rows, last_mod, total_lines, emails): function git_prefix (line 119) | def git_prefix(path: Union[str, pathlib.Path]) -> Optional[pathlib.Path]: function package_repo_root (line 139) | def package_repo_root(path: Union[str, pathlib.Path]) -> Optional[pathli... function git_supports_unshallow (line 179) | def git_supports_unshallow() -> bool: function ensure_full_history (line 184) | def ensure_full_history(prefix: str, path: str) -> None: function blame (line 215) | def blame(parser, args): FILE: lib/spack/spack/cmd/bootstrap.py function _add_scope_option (line 70) | def _add_scope_option(parser): function setup_parser (line 76) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _enable_or_disable (line 144) | def _enable_or_disable(args): function _reset (line 162) | def _reset(args): function _root (line 193) | def _root(args): function _list (line 208) | def _list(args): function _write_bootstrapping_source_status (line 260) | def _write_bootstrapping_source_status(name, enabled, scope=None): function _enable_source (line 292) | def _enable_source(args): function _disable_source (line 298) | def _disable_source(args): function _status (line 304) | def _status(args): function _add (line 337) | def _add(args): function _remove (line 367) | def _remove(args): function _mirror (line 394) | def _mirror(args): function _now (line 454) | def _now(args): function bootstrap (line 461) | def bootstrap(parser, args): FILE: lib/spack/spack/cmd/build_env.py function build_env (line 15) | def build_env(parser, args): FILE: lib/spack/spack/cmd/buildcache.py class ViewUpdateMode (line 55) | class ViewUpdateMode(enum.Enum): function setup_parser (line 61) | def setup_parser(subparser: argparse.ArgumentParser): function _matching_specs (line 386) | def _matching_specs(specs: List[Spec]) -> List[Spec]: function _format_spec (line 394) | def _format_spec(spec: Spec) -> str: function _skip_no_redistribute_for_public (line 398) | def _skip_no_redistribute_for_public(specs): class PackagesAreNotInstalledError (line 417) | class PackagesAreNotInstalledError(spack.error.SpackError): method __init__ (line 420) | def __init__(self, specs: List[Spec]): class PackageNotInstalledError (line 427) | class PackageNotInstalledError(spack.error.SpackError): function _specs_to_be_packaged (line 431) | def _specs_to_be_packaged( function push_fn (line 456) | def push_fn(args): function install_fn (line 577) | def install_fn(args): function list_fn (line 590) | def list_fn(args): function keys_fn (line 615) | def keys_fn(args): function check_fn (line 620) | def check_fn(args: argparse.Namespace): function download_fn (line 658) | def download_fn(args): function save_specfile_fn (line 673) | def save_specfile_fn(args): function copy_buildcache_entry (line 695) | def copy_buildcache_entry(cache_entry: URLBuildcacheEntry, destination_u... function sync_fn (line 769) | def sync_fn(args): function manifest_copy (line 818) | def manifest_copy( function update_index (line 850) | def update_index( function mirror_update_keys (line 877) | def mirror_update_keys(mirror: spack.mirrors.mirror.Mirror): function update_view (line 888) | def update_view( function check_index_fn (line 981) | def check_index_fn(args): function update_index_fn (line 1110) | def update_index_fn(args): function migrate_fn (line 1143) | def migrate_fn(args): function prune_fn (line 1191) | def prune_fn(args): function buildcache (line 1205) | def buildcache(parser, args): FILE: lib/spack/spack/cmd/cd.py function setup_parser (line 15) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function cd (line 22) | def cd(parser, args): FILE: lib/spack/spack/cmd/change.py function setup_parser (line 18) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function change (line 54) | def change(parser, args): FILE: lib/spack/spack/cmd/checksum.py function setup_parser (line 33) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function checksum (line 86) | def checksum(parser, args): function print_checksum_status (line 190) | def print_checksum_status(pkg: PackageBase, version_hashes: dict): function _update_version_statements (line 238) | def _update_version_statements(package_src: str, version_lines: str) -> ... function add_versions_to_pkg (line 274) | def add_versions_to_pkg(path: str, version_lines: str) -> int: FILE: lib/spack/spack/cmd/ci.py function deindent (line 49) | def deindent(desc): function unicode_escape (line 53) | def unicode_escape(path: str) -> str: function setup_parser (line 59) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function ci_generate (line 247) | def ci_generate(args): function ci_reindex (line 259) | def ci_reindex(args): function ci_rebuild (line 280) | def ci_rebuild(args): function ci_reproduce (line 667) | def ci_reproduce(args): function _gitlab_artifacts_url (line 692) | def _gitlab_artifacts_url(url: str) -> str: function validate_standard_versions (line 730) | def validate_standard_versions( function validate_git_versions (line 768) | def validate_git_versions( function ci_verify_versions (line 825) | def ci_verify_versions(args): function ci (line 886) | def ci(parser, args): FILE: lib/spack/spack/cmd/clean.py class AllClean (line 25) | class AllClean(argparse.Action): method __call__ (line 28) | def __call__(self, parser, namespace, values, option_string=None): function setup_parser (line 32) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function remove_python_cache (line 69) | def remove_python_cache(): function clean (line 84) | def clean(parser, args): FILE: lib/spack/spack/cmd/commands.py function formatter (line 51) | def formatter(func: Callable[[Namespace, IO], None]) -> Callable[[Namesp... function setup_parser (line 64) | def setup_parser(subparser: ArgumentParser) -> None: class SpackArgparseRstWriter (line 107) | class SpackArgparseRstWriter(ArgparseRstWriter): method __init__ (line 110) | def __init__( method usage (line 130) | def usage(self, usage: str) -> str: class SubcommandWriter (line 148) | class SubcommandWriter(ArgparseWriter): method format (line 151) | def format(self, cmd: Command) -> str: class BashCompletionWriter (line 182) | class BashCompletionWriter(ArgparseWriter): method format (line 185) | def format(self, cmd: Command) -> str: method start_function (line 214) | def start_function(self, prog: str) -> str: method end_function (line 226) | def end_function(self, prog: str) -> str: method body (line 237) | def body( method positionals (line 273) | def positionals(self, positionals: Sequence) -> str: method optionals (line 301) | def optionals(self, optionals: Sequence[str]) -> str: method subcommands (line 312) | def subcommands(self, subcommands: Sequence[str]) -> str: function _fish_dest_get_complete (line 387) | def _fish_dest_get_complete(prog: str, dest: str) -> Optional[str]: class FishCompletionWriter (line 406) | class FishCompletionWriter(ArgparseWriter): method format (line 409) | def format(self, cmd: Command) -> str: method optspecs (line 433) | def optspecs( method complete_head (line 494) | def complete_head( method complete (line 521) | def complete( method positionals (line 552) | def positionals( method prog_comment (line 596) | def prog_comment(self, prog: str) -> str: method optionals (line 600) | def optionals( method subcommands (line 666) | def subcommands(self, prog: str, subcommands: List[Tuple[ArgumentParse... function subcommands (line 692) | def subcommands(args: Namespace, out: IO) -> None: function rst_index (line 704) | def rst_index(out: IO) -> None: function rst (line 737) | def rst(args: Namespace, out: IO) -> None: function names (line 766) | def names(args: Namespace, out: IO) -> None: function get_all_spack_commands (line 783) | def get_all_spack_commands(out: IO) -> SpackArgumentParser: function bash (line 798) | def bash(args: Namespace, out: IO) -> None: function fish (line 816) | def fish(args, out): function prepend_header (line 822) | def prepend_header(args: Namespace, out: IO) -> None: function _commands (line 836) | def _commands(parser: ArgumentParser, args: Namespace) -> None: function update_completion (line 862) | def update_completion(parser: ArgumentParser, args: Namespace) -> None: function commands (line 878) | def commands(parser: ArgumentParser, args: Namespace) -> None: FILE: lib/spack/spack/cmd/common/__init__.py function shell_init_instructions (line 10) | def shell_init_instructions(cmd, equivalent): FILE: lib/spack/spack/cmd/common/arguments.py function arg (line 29) | def arg(fn): function add_common_arguments (line 41) | def add_common_arguments(parser, list_of_arguments): class ConstraintAction (line 57) | class ConstraintAction(argparse.Action): method __call__ (line 67) | def __call__(self, parser, namespace, values, option_string=None): method _specs (line 73) | def _specs(self, **kwargs): class SetParallelJobs (line 97) | class SetParallelJobs(argparse.Action): method __call__ (line 104) | def __call__(self, parser, namespace, jobs, option_string): class SetConcurrentPackages (line 116) | class SetConcurrentPackages(argparse.Action): method __call__ (line 123) | def __call__(self, parser, namespace, concurrent_packages, option_stri... class DeprecatedStoreTrueAction (line 133) | class DeprecatedStoreTrueAction(argparse.Action): method __init__ (line 136) | def __init__( method __call__ (line 158) | def __call__(self, parser, namespace, value, option_string=None): class DeptypeAction (line 167) | class DeptypeAction(argparse.Action): method __call__ (line 170) | def __call__(self, parser, namespace, values, option_string=None): class ConfigScope (line 178) | class ConfigScope(argparse.Action): method __init__ (line 181) | def __init__(self, *args, **kwargs) -> None: method default (line 186) | def default(self): method default (line 190) | def default(self, value): method choices (line 194) | def choices(self): method choices (line 198) | def choices(self, value): method __call__ (line 201) | def __call__(self, parser, namespace, values, option_string=None): function config_scope_readable_validator (line 205) | def config_scope_readable_validator(value): function _cdash_reporter (line 214) | def _cdash_reporter(namespace): class CreateReporter (line 247) | class CreateReporter(argparse.Action): method __call__ (line 250) | def __call__(self, parser, namespace, values, option_string=None): function log_format (line 259) | def log_format(): function constraint (line 271) | def constraint(): function package (line 282) | def package(): function packages (line 287) | def packages(): function spec (line 295) | def spec(): function specs (line 300) | def specs(): function installed_spec (line 305) | def installed_spec(): function installed_specs (line 312) | def installed_specs(): function yes_to_all (line 322) | def yes_to_all(): function recurse_dependencies (line 333) | def recurse_dependencies(): function recurse_dependents (line 344) | def recurse_dependents(): function clean (line 355) | def clean(): function deptype (line 366) | def deptype(): function dirty (line 376) | def dirty(): function long (line 387) | def long(): function very_long (line 394) | def very_long(): function tags (line 404) | def tags(): function namespaces (line 416) | def namespaces(): function jobs (line 427) | def jobs(): function concurrent_packages (line 439) | def concurrent_packages(): function install_status (line 451) | def install_status(): function no_install_status (line 466) | def no_install_status(): function show_non_defaults (line 477) | def show_non_defaults(): function no_checksum (line 487) | def no_checksum(): function deprecated (line 498) | def deprecated(): function add_cdash_args (line 507) | def add_cdash_args(subparser, add_help): function print_cdash_help (line 544) | def print_cdash_help(): function sanitize_reporter_options (line 559) | def sanitize_reporter_options(namespace: argparse.Namespace): class ConfigSetAction (line 578) | class ConfigSetAction(argparse.Action): method __init__ (line 586) | def __init__( method __call__ (line 617) | def __call__(self, parser, namespace, values, option_string): function add_concretizer_args (line 630) | def add_concretizer_args(subparser): function add_connection_args (line 689) | def add_connection_args(subparser, add_help): function use_buildcache (line 734) | def use_buildcache(cli_arg_value): function mirror_name_or_url (line 788) | def mirror_name_or_url(m): function mirror_url (line 804) | def mirror_url(url): function mirror_directory (line 811) | def mirror_directory(path): function mirror_name (line 818) | def mirror_name(name): FILE: lib/spack/spack/cmd/common/confirmation.py function confirm_action (line 15) | def confirm_action(specs: List[spack.spec.Spec], participle: str, noun: ... FILE: lib/spack/spack/cmd/common/env_utility.py function setup_parser (line 19) | def setup_parser(subparser: argparse.ArgumentParser) -> None: class AreDepsInstalledVisitor (line 41) | class AreDepsInstalledVisitor: method __init__ (line 42) | def __init__(self, context: Context = Context.BUILD): method accept (line 53) | def accept(self, item): method neighbors (line 69) | def neighbors(self, item): function emulate_env_utility (line 76) | def emulate_env_utility(cmd_name, context: Context, args): FILE: lib/spack/spack/cmd/common/spec_strings.py class _LegacySpecTokens (line 19) | class _LegacySpecTokens(TokenBase): function _spec_str_reorder_compiler (line 51) | def _spec_str_reorder_compiler(idx: int, blocks: List[List[Token]]) -> N... function _spec_str_format (line 69) | def _spec_str_format(spec_str: str) -> Optional[str]: function _spec_str_default_handler (line 145) | def _spec_str_default_handler(path: str, line: int, col: int, old: str, ... function _spec_str_fix_handler (line 150) | def _spec_str_fix_handler(path: str, line: int, col: int, old: str, new:... function _spec_str_ast (line 164) | def _spec_str_ast(path: str, tree: ast.AST, handler: SpecStrHandler) -> ... function _spec_str_json_and_yaml (line 183) | def _spec_str_json_and_yaml(path: str, data: dict, handler: SpecStrHandl... function _check_spec_strings (line 209) | def _check_spec_strings( FILE: lib/spack/spack/cmd/compiler.py function setup_parser (line 26) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function compiler_find (line 80) | def compiler_find(args): function compiler_remove (line 101) | def compiler_remove(args): function compiler_info (line 127) | def compiler_info(args): function compiler_list (line 180) | def compiler_list(args): function _all_available_compilers (line 225) | def _all_available_compilers(scope: Optional[str], remote: bool) -> List... function compiler (line 242) | def compiler(parser, args): FILE: lib/spack/spack/cmd/compilers.py function setup_parser (line 15) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function compilers (line 27) | def compilers(parser, args): FILE: lib/spack/spack/cmd/concretize.py function setup_parser (line 18) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function concretize (line 33) | def concretize(parser, args): FILE: lib/spack/spack/cmd/config.py function setup_parser (line 32) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _get_scope_and_section (line 166) | def _get_scope_and_section(args): function print_configuration (line 191) | def print_configuration(args, *, blame: bool) -> None: function _print_configuration_helper (line 212) | def _print_configuration_helper(args, *, blame: bool) -> None: function print_flattened_configuration (line 222) | def print_flattened_configuration(*, blame: bool, yaml: bool) -> None: function config_get (line 247) | def config_get(args): function config_blame (line 256) | def config_blame(args): function config_edit (line 261) | def config_edit(args): function config_list (line 294) | def config_list(args): function _config_scope_info (line 302) | def _config_scope_info(args, scope, active, included): function _config_basic_scope_types (line 333) | def _config_basic_scope_types(scope, included): function config_scopes (line 346) | def config_scopes(args): function config_add (line 377) | def config_add(args): function config_remove (line 395) | def config_remove(args): function _can_update_config_file (line 423) | def _can_update_config_file(scope: spack.config.ConfigScope, cfg_file): function _config_change_requires_scope (line 431) | def _config_change_requires_scope(path, spec, scope, match_spec=None): function _config_change (line 478) | def _config_change(config_path, match_spec_str=None): function config_change (line 522) | def config_change(args): function config_update (line 526) | def config_update(args): function _can_revert_update (line 607) | def _can_revert_update(scope_dir, cfg_file, bkp_file): function config_revert (line 614) | def config_revert(args): function config_prefer_upstream (line 669) | def config_prefer_upstream(args): function config (line 736) | def config(parser, args): FILE: lib/spack/spack/cmd/containerize.py function setup_parser (line 16) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function containerize (line 31) | def containerize(parser, args): FILE: lib/spack/spack/cmd/create.py class BundlePackageTemplate (line 84) | class BundlePackageTemplate: method __init__ (line 99) | def __init__(self, name: str, versions, languages: List[str]): method write (line 105) | def write(self, pkg_path): class PackageTemplate (line 129) | class PackageTemplate(BundlePackageTemplate): method __init__ (line 143) | def __init__(self, name, url, versions, languages: List[str]): class AutotoolsPackageTemplate (line 149) | class AutotoolsPackageTemplate(PackageTemplate): class AutoreconfPackageTemplate (line 166) | class AutoreconfPackageTemplate(PackageTemplate): class CargoPackageTemplate (line 197) | class CargoPackageTemplate(PackageTemplate): class CMakePackageTemplate (line 206) | class CMakePackageTemplate(PackageTemplate): class GoPackageTemplate (line 221) | class GoPackageTemplate(PackageTemplate): class LuaPackageTemplate (line 230) | class LuaPackageTemplate(PackageTemplate): method __init__ (line 243) | def __init__(self, name, url, versions, languages: List[str]): class MesonPackageTemplate (line 252) | class MesonPackageTemplate(PackageTemplate): class QMakePackageTemplate (line 265) | class QMakePackageTemplate(PackageTemplate): class MavenPackageTemplate (line 278) | class MavenPackageTemplate(PackageTemplate): class SconsPackageTemplate (line 290) | class SconsPackageTemplate(PackageTemplate): class WafPackageTemplate (line 304) | class WafPackageTemplate(PackageTemplate): class BazelPackageTemplate (line 315) | class BazelPackageTemplate(PackageTemplate): class RacketPackageTemplate (line 329) | class RacketPackageTemplate(PackageTemplate): method __init__ (line 358) | def __init__(self, name, url, versions, languages: List[str]): class PythonPackageTemplate (line 368) | class PythonPackageTemplate(PackageTemplate): method __init__ (line 401) | def __init__(self, name, url, versions, languages: List[str]): class RPackageTemplate (line 458) | class RPackageTemplate(PackageTemplate): method __init__ (line 476) | def __init__(self, name, url, versions, languages: List[str]): class PerlmakePackageTemplate (line 499) | class PerlmakePackageTemplate(PackageTemplate): method __init__ (line 518) | def __init__(self, name, url, versions, languages: List[str]): class PerlbuildPackageTemplate (line 528) | class PerlbuildPackageTemplate(PerlmakePackageTemplate): class OctavePackageTemplate (line 540) | class OctavePackageTemplate(PackageTemplate): method __init__ (line 553) | def __init__(self, name, url, versions, languages: List[str]): class RubyPackageTemplate (line 564) | class RubyPackageTemplate(PackageTemplate): method __init__ (line 583) | def __init__(self, name, url, versions, languages: List[str]): class MakefilePackageTemplate (line 594) | class MakefilePackageTemplate(PackageTemplate): class IntelPackageTemplate (line 609) | class IntelPackageTemplate(PackageTemplate): class SIPPackageTemplate (line 619) | class SIPPackageTemplate(PackageTemplate): method __init__ (line 632) | def __init__(self, name, url, versions, languages: List[str]): function setup_parser (line 670) | def setup_parser(subparser: argparse.ArgumentParser) -> None: class BuildSystemAndLanguageGuesser (line 750) | class BuildSystemAndLanguageGuesser: method __init__ (line 756) | def __init__(self): method __call__ (line 766) | def __call__(self, archive: str, url: str) -> None: method _determine_build_system (line 793) | def _determine_build_system(self, url: str) -> None: method _determine_language (line 848) | def _determine_language(self): method languages (line 863) | def languages(self) -> List[str]: function get_name (line 874) | def get_name(name, url): function get_url (line 922) | def get_url(url: Optional[str]) -> str: function get_versions (line 937) | def get_versions(args: argparse.Namespace, name: str) -> Tuple[str, Buil... function get_build_system (line 1002) | def get_build_system( function get_repository (line 1039) | def get_repository(args: argparse.Namespace, name: str) -> spack.repo.Repo: function create (line 1083) | def create(parser, args): FILE: lib/spack/spack/cmd/debug.py function setup_parser (line 23) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _format_repo_info (line 28) | def _format_repo_info(source, commit): function _get_builtin_repo_info (line 35) | def _get_builtin_repo_info() -> Optional[str]: function _get_spack_repo_info (line 70) | def _get_spack_repo_info() -> str: function report (line 80) | def report(args): function debug (line 91) | def debug(parser, args): FILE: lib/spack/spack/cmd/deconcretize.py function setup_parser (line 24) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function get_deconcretize_list (line 38) | def get_deconcretize_list( function deconcretize_specs (line 76) | def deconcretize_specs(args, specs): function deconcretize (line 93) | def deconcretize(parser, args): FILE: lib/spack/spack/cmd/dependencies.py function setup_parser (line 21) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function dependencies (line 49) | def dependencies(parser, args): FILE: lib/spack/spack/cmd/dependents.py function setup_parser (line 22) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function inverted_dependencies (line 41) | def inverted_dependencies(): function get_dependents (line 64) | def get_dependents(pkg_name, ideps, transitive=False, dependents=None): function dependents (line 87) | def dependents(parser, args): FILE: lib/spack/spack/cmd/deprecate.py function setup_parser (line 38) | def setup_parser(sp: argparse.ArgumentParser) -> None: function deprecate (line 88) | def deprecate(parser, args): FILE: lib/spack/spack/cmd/dev_build.py function setup_parser (line 24) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function dev_build (line 93) | def dev_build(self, args): FILE: lib/spack/spack/cmd/develop.py function setup_parser (line 27) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _retrieve_develop_source (line 78) | def _retrieve_develop_source(spec: spack.spec.Spec, abspath: str) -> None: function assure_concrete_spec (line 99) | def assure_concrete_spec(env: spack.environment.Environment, spec: spack... function setup_src_code (line 125) | def setup_src_code(spec: spack.spec.Spec, src_path: str, clone: bool = T... function _update_config (line 145) | def _update_config(spec, path): function update_env (line 158) | def update_env( function _clone (line 189) | def _clone(spec: spack.spec.Spec, abspath: str, force: bool = False): function _abs_code_path (line 204) | def _abs_code_path( function _dev_spec_generator (line 211) | def _dev_spec_generator(args, env): function develop (line 254) | def develop(parser, args): FILE: lib/spack/spack/cmd/diff.py function setup_parser (line 22) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function shift (line 50) | def shift(asp_function: asp.AspFunction) -> asp.AspFunction: function compare_specs (line 58) | def compare_specs(a, b, to_string=False, color=None, ignore_packages=None): function flatten (line 125) | def flatten(functions): function print_difference (line 138) | def print_difference(c, attributes="all", out=None): function diff (line 208) | def diff(parser, args): FILE: lib/spack/spack/cmd/docs.py function docs (line 12) | def docs(parser, args): FILE: lib/spack/spack/cmd/edit.py function setup_parser (line 22) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function locate_package (line 80) | def locate_package(name: str, repo: Optional[spack.repo.Repo]) -> str: function locate_build_system (line 94) | def locate_build_system(name: str, repo: Optional[spack.repo.Repo]) -> str: function locate_file (line 118) | def locate_file(name: str, path: str) -> str: function edit (line 148) | def edit(parser, args): FILE: lib/spack/spack/cmd/env.py function env_create_setup_parser (line 61) | def env_create_setup_parser(subparser): function env_create (line 101) | def env_create(args): function _env_create (line 134) | def _env_create( function env_activate_setup_parser (line 185) | def env_activate_setup_parser(subparser): function create_temp_env_directory (line 285) | def create_temp_env_directory(): function _tty_info (line 293) | def _tty_info(msg): function env_activate (line 300) | def env_activate(args): function env_deactivate_setup_parser (line 394) | def env_deactivate_setup_parser(subparser): function env_deactivate (line 434) | def env_deactivate(args): function env_track_setup_parser (line 457) | def env_track_setup_parser(subparser): function env_track (line 464) | def env_track(args): function filter_managed_env_names (line 495) | def filter_managed_env_names(env_names: Set[str]) -> Set[str]: function get_valid_envs (line 520) | def get_valid_envs(env_names: Set[str]) -> Set[ev.Environment]: function _env_untrack_or_remove (line 533) | def _env_untrack_or_remove( function env_untrack_setup_parser (line 627) | def env_untrack_setup_parser(subparser): function env_untrack (line 636) | def env_untrack(args): function env_remove_setup_parser (line 645) | def env_remove_setup_parser(subparser): function env_remove (line 666) | def env_remove(args): function env_rename_setup_parser (line 676) | def env_rename_setup_parser(subparser): function env_rename (line 702) | def env_rename(args): function env_list_setup_parser (line 751) | def env_list_setup_parser(subparser): function env_list (line 755) | def env_list(args): class ViewAction (line 774) | class ViewAction: method actions (line 780) | def actions(): function env_view_setup_parser (line 787) | def env_view_setup_parser(subparser): function env_view (line 799) | def env_view(args): function env_status_setup_parser (line 823) | def env_status_setup_parser(subparser): function env_status (line 827) | def env_status(args): function env_loads_setup_parser (line 844) | def env_loads_setup_parser(subparser): function env_loads (line 861) | def env_loads(args): function env_update_setup_parser (line 885) | def env_update_setup_parser(subparser): function env_update (line 901) | def env_update(args): function env_revert_setup_parser (line 931) | def env_revert_setup_parser(subparser): function env_revert (line 947) | def env_revert(args): function env_depfile_setup_parser (line 979) | def env_depfile_setup_parser(subparser): function env_depfile (line 1034) | def env_depfile(args): function setup_parser (line 1080) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function env (line 1104) | def env(parser, args): FILE: lib/spack/spack/cmd/extensions.py function setup_parser (line 21) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function extensions (line 50) | def extensions(parser, args): FILE: lib/spack/spack/cmd/external.py function setup_parser (line 29) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function external_find (line 96) | def external_find(args): function packages_to_search_for (line 161) | def packages_to_search_for( function external_read_cray_manifest (line 183) | def external_read_cray_manifest(args): function _collect_and_consume_cray_manifest_files (line 193) | def _collect_and_consume_cray_manifest_files( function external_list (line 247) | def external_list(args): function external (line 257) | def external(parser, args): class NoManifestFileError (line 267) | class NoManifestFileError(spack.error.SpackError): FILE: lib/spack/spack/cmd/fetch.py function setup_parser (line 19) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function fetch (line 38) | def fetch(parser, args): FILE: lib/spack/spack/cmd/find.py function setup_parser (line 31) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function query_arguments (line 190) | def query_arguments(args): function make_env_decorator (line 236) | def make_env_decorator(env): function display_env (line 254) | def display_env(env, args, decorator, results): function _find_query (line 339) | def _find_query(args, env): function find (line 401) | def find(parser, args): FILE: lib/spack/spack/cmd/gc.py function setup_parser (line 20) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function roots_from_environments (line 47) | def roots_from_environments(args, active_env): function gc (line 75) | def gc(parser, args): FILE: lib/spack/spack/cmd/gpg.py function setup_parser (line 22) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function gpg_create (line 131) | def gpg_create(args): function gpg_export (line 150) | def gpg_export(args): function gpg_list (line 158) | def gpg_list(args): function gpg_sign (line 163) | def gpg_sign(args): function gpg_trust (line 181) | def gpg_trust(args): function gpg_init (line 186) | def gpg_init(args): function gpg_untrust (line 199) | def gpg_untrust(args): function gpg_verify (line 204) | def gpg_verify(args): function gpg_publish (line 213) | def gpg_publish(args): function gpg (line 231) | def gpg(parser, args): FILE: lib/spack/spack/cmd/graph.py function setup_parser (line 19) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function graph (line 57) | def graph(parser, args): FILE: lib/spack/spack/cmd/help.py function setup_parser (line 85) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function help (line 112) | def help(parser, args): FILE: lib/spack/spack/cmd/info.py class Formatter (line 44) | class Formatter: method format_name (line 72) | def format_name(self, element: Any) -> str: method format_values (line 75) | def format_values(self, element: Any) -> str: method format_description (line 78) | def format_description(self, element: Any) -> str: function padder (line 82) | def padder(str_list: Iterable, extra: int = 0) -> Callable: function setup_parser (line 94) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function section_title (line 142) | def section_title(s: str) -> str: function version (line 146) | def version(s: str) -> str: function format_deptype (line 150) | def format_deptype(depflag: int) -> str: class DependencyFormatter (line 159) | class DependencyFormatter(Formatter): method format_name (line 160) | def format_name(self, dep: spack.dependency.Dependency) -> str: method format_values (line 163) | def format_values(self, dep: spack.dependency.Dependency) -> str: function count_bool_variant_conditions (line 167) | def count_bool_variant_conditions( function print_dependencies (line 184) | def print_dependencies(pkg: PackageBase, args: Namespace) -> None: function print_dependency_suggestion (line 189) | def print_dependency_suggestion(pkg: PackageBase) -> None: function print_detectable (line 217) | def print_detectable(pkg: PackageBase, args: Namespace) -> None: function print_maintainers (line 245) | def print_maintainers(pkg: PackageBase, args: Namespace) -> None: function print_namespace (line 254) | def print_namespace(pkg: PackageBase, args: Namespace) -> None: function print_phases (line 263) | def print_phases(pkg: PackageBase, args: Namespace) -> None: function print_tags (line 277) | def print_tags(pkg: PackageBase, args: Namespace) -> None: function print_tests (line 289) | def print_tests(pkg: PackageBase, args: Namespace) -> None: function _fmt_when (line 327) | def _fmt_when(when: "spack.spec.Spec", indent: int) -> str: function _fmt_variant_value (line 333) | def _fmt_variant_value(v: Any) -> str: function _print_definition (line 337) | def _print_definition( function print_header (line 417) | def print_header(header: str, when_indexed_dictionary: Dict, formatter: ... function max_name_length (line 427) | def max_name_length(when_indexed_dictionary: Dict, formatter: Formatter)... function print_grouped_by_when (line 437) | def print_grouped_by_when( function print_by_name (line 478) | def print_by_name( function print_definitions (line 516) | def print_definitions( class VariantFormatter (line 538) | class VariantFormatter(Formatter): method format_name (line 539) | def format_name(self, variant: spack.variant.Variant) -> str: method format_values (line 544) | def format_values(self, variant: spack.variant.Variant) -> str: method format_description (line 556) | def format_description(self, variant: spack.variant.Variant) -> str: function print_variants (line 560) | def print_variants(pkg: PackageBase, args: Namespace) -> None: function print_licenses (line 565) | def print_licenses(pkg: PackageBase, args: Namespace) -> None: function print_versions (line 570) | def print_versions(pkg: PackageBase, args: Namespace) -> None: function print_virtuals (line 625) | def print_virtuals(pkg: PackageBase, args: Namespace) -> None: function info (line 639) | def info(parser: argparse.ArgumentParser, args: Namespace) -> None: FILE: lib/spack/spack/cmd/install.py function cache_opt (line 30) | def cache_opt(use_buildcache: str, default: InstallPolicy) -> InstallPol... function install_kwargs_from_args (line 38) | def install_kwargs_from_args(args): function setup_parser (line 70) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function default_log_file (line 228) | def default_log_file(spec): function report_filename (line 238) | def report_filename(args: argparse.Namespace, specs: List[spack.spec.Spe... function compute_tests_install_kwargs (line 244) | def compute_tests_install_kwargs(specs, cli_test_arg): function require_user_confirmation_for_overwrite (line 253) | def require_user_confirmation_for_overwrite(concrete_specs, args): function _dump_log_on_error (line 279) | def _dump_log_on_error(e: InstallError): function _die_require_env (line 290) | def _die_require_env(): function install (line 307) | def install(parser, args): function _maybe_add_and_concretize (line 342) | def _maybe_add_and_concretize(args, env, specs): function install_with_active_env (line 369) | def install_with_active_env(env: ev.Environment, args, install_kwargs, r... function concrete_specs_from_cli (line 413) | def concrete_specs_from_cli(args, install_kwargs): function install_without_active_env (line 430) | def install_without_active_env(args, install_kwargs, reporter): FILE: lib/spack/spack/cmd/license.py function _licensed_files (line 65) | def _licensed_files(root: str = spack.paths.prefix) -> Generator[str, No... function list_files (line 85) | def list_files(args): class ErrorType (line 93) | class ErrorType(enum.Enum): class LicenseError (line 107) | class LicenseError: method __init__ (line 110) | def __init__(self): method add_error (line 113) | def add_error(self, error): method has_errors (line 116) | def has_errors(self): method error_messages (line 119) | def error_messages(self): function _check_license (line 132) | def _check_license(lines, path): function verify (line 169) | def verify(args): function setup_parser (line 189) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function license (line 202) | def license(parser, args): FILE: lib/spack/spack/cmd/list.py function formatter (line 34) | def formatter(func): function setup_parser (line 40) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function filter_by_name (line 95) | def filter_by_name(pkgs, args): function name_only (line 139) | def name_only(pkgs, out): function github_url (line 146) | def github_url(pkg: Type[spack.package_base.PackageBase]) -> Optional[str]: function rows_for_ncols (line 202) | def rows_for_ncols(elts, ncols): function get_dependencies (line 213) | def get_dependencies(pkg): function version_json (line 223) | def version_json(pkg_names, out): function html (line 257) | def html(pkg_names, out): function list (line 370) | def list(parser, args): FILE: lib/spack/spack/cmd/load.py function setup_parser (line 20) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function load (line 78) | def load(parser, args): FILE: lib/spack/spack/cmd/location.py function setup_parser (line 22) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function location (line 94) | def location(parser, args): FILE: lib/spack/spack/cmd/log_parse.py function setup_parser (line 20) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function log_parse (line 51) | def log_parse(parser, args): FILE: lib/spack/spack/cmd/logs.py function setup_parser (line 24) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _dump_byte_stream_to_stdout (line 28) | def _dump_byte_stream_to_stdout(instream: io.BufferedIOBase) -> None: function _logs (line 34) | def _logs(cmdline_spec: spack.spec.Spec, concrete_spec: spack.spec.Spec): function logs (line 60) | def logs(parser, args): FILE: lib/spack/spack/cmd/maintainers.py function setup_parser (line 18) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function packages_to_maintainers (line 53) | def packages_to_maintainers(package_names=None): function maintainers_to_packages (line 66) | def maintainers_to_packages(users=None): function maintained_packages (line 78) | def maintained_packages(): function union_values (line 91) | def union_values(dictionary): function maintainers (line 104) | def maintainers(parser, args): FILE: lib/spack/spack/cmd/make_installer.py function txt_to_rtf (line 19) | def txt_to_rtf(file_path): function setup_parser (line 39) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function make_installer (line 62) | def make_installer(parser, args): FILE: lib/spack/spack/cmd/mark.py function setup_parser (line 30) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function find_matching_specs (line 56) | def find_matching_specs( function do_mark (line 93) | def do_mark(specs, explicit): function mark_specs (line 105) | def mark_specs(args, specs): function mark (line 112) | def mark(parser, args): FILE: lib/spack/spack/cmd/mirror.py function setup_parser (line 32) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _configure_access_pair (line 252) | def _configure_access_pair(args, id_tok, id_variable_tok, secret_variabl... function mirror_add (line 307) | def mirror_add(args): function mirror_remove (line 364) | def mirror_remove(args): function _configure_mirror (line 383) | def _configure_mirror(args): function mirror_set (line 441) | def mirror_set(args): function mirror_set_url (line 446) | def mirror_set_url(args): function mirror_list (line 451) | def mirror_list(args): function specs_from_text_file (line 462) | def specs_from_text_file(filename, concretize=False): function concrete_specs_from_user (line 478) | def concrete_specs_from_user(args): function extend_with_additional_versions (line 492) | def extend_with_additional_versions(specs, num_versions): function filter_externals (line 501) | def filter_externals(specs): function extend_with_dependencies (line 509) | def extend_with_dependencies(specs): function concrete_specs_from_cli_or_file (line 518) | def concrete_specs_from_cli_or_file(args): class IncludeFilter (line 533) | class IncludeFilter: method __init__ (line 534) | def __init__(self, args): method __call__ (line 542) | def __call__(self, x): method _not_license_excluded (line 545) | def _not_license_excluded(self, x): method _not_cmdline_excluded (line 560) | def _not_cmdline_excluded(self, x): function concrete_specs_from_environment (line 565) | def concrete_specs_from_environment(): function all_specs_with_all_versions (line 573) | def all_specs_with_all_versions(): function versions_per_spec (line 580) | def versions_per_spec(args): function process_mirror_stats (line 598) | def process_mirror_stats(present, mirrored, error): function mirror_create (line 612) | def mirror_create(args): function _specs_to_mirror (line 656) | def _specs_to_mirror(args): function create_mirror_for_one_spec (line 670) | def create_mirror_for_one_spec(candidate, mirror_cache): function create_mirror_for_all_specs (line 679) | def create_mirror_for_all_specs(mirror_specs, path, skip_unstable_versio... function create (line 698) | def create(path, specs, skip_unstable_versions=False): function mirror_destroy (line 723) | def mirror_destroy(args): function mirror (line 736) | def mirror(parser, args): FILE: lib/spack/spack/cmd/module.py function setup_parser (line 19) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function module (line 25) | def module(parser, args): FILE: lib/spack/spack/cmd/modules/__init__.py function setup_parser (line 28) | def setup_parser(subparser): function add_loads_arguments (line 68) | def add_loads_arguments(subparser): function one_spec_or_raise (line 93) | def one_spec_or_raise(specs): function check_module_set_name (line 107) | def check_module_set_name(name): function loads (line 136) | def loads(module_type, specs, args, out=None): function find (line 197) | def find(module_type, specs, args): function rm (line 240) | def rm(module_type, specs, args): function refresh (line 271) | def refresh(module_type, specs, args): function modules_cmd (line 365) | def modules_cmd(parser, args, module_type, callbacks=callbacks): FILE: lib/spack/spack/cmd/modules/lmod.py function add_command (line 14) | def add_command(parser, command_dict): function setdefault (line 32) | def setdefault(module_type, specs, args): FILE: lib/spack/spack/cmd/modules/tcl.py function add_command (line 13) | def add_command(parser, command_dict): function setdefault (line 31) | def setdefault(module_type, specs, args): FILE: lib/spack/spack/cmd/patch.py function setup_parser (line 20) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function patch (line 25) | def patch(parser, args): function _patch_env (line 41) | def _patch_env(env: ev.Environment): function _patch (line 47) | def _patch(pkg: spack.package_base.PackageBase): FILE: lib/spack/spack/cmd/pkg.py function setup_parser (line 22) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function pkg_add (line 88) | def pkg_add(args): function pkg_list (line 93) | def pkg_list(args): function pkg_diff (line 98) | def pkg_diff(args): function pkg_removed (line 113) | def pkg_removed(args): function pkg_added (line 120) | def pkg_added(args): function pkg_changed (line 127) | def pkg_changed(args): function pkg_source (line 137) | def pkg_source(args): function pkg_hash (line 160) | def pkg_hash(args): function get_grep (line 168) | def get_grep(required=False): function pkg_grep (line 176) | def pkg_grep(args, unknown_args): function pkg (line 236) | def pkg(parser, args, unknown_args): FILE: lib/spack/spack/cmd/providers.py function setup_parser (line 18) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function providers (line 25) | def providers(parser, args): FILE: lib/spack/spack/cmd/pydoc.py function setup_parser (line 13) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function pydoc (line 17) | def pydoc(parser, args): FILE: lib/spack/spack/cmd/python.py function setup_parser (line 23) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function python (line 59) | def python(parser, args, unknown_args): function ipython_interpreter (line 89) | def ipython_interpreter(args): function python_interpreter (line 121) | def python_interpreter(args): function propagate_exceptions_from (line 159) | def propagate_exceptions_from(console): FILE: lib/spack/spack/cmd/reindex.py function reindex (line 16) | def reindex(parser, args): FILE: lib/spack/spack/cmd/remove.py function setup_parser (line 16) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function remove (line 33) | def remove(parser, args): FILE: lib/spack/spack/cmd/repo.py function setup_parser (line 37) | def setup_parser(subparser: argparse.ArgumentParser): function repo_create (line 220) | def repo_create(args): function _add_repo (line 227) | def _add_repo( function repo_add (line 296) | def repo_add(args): function repo_remove (line 308) | def repo_remove(args): function _remove_repo (line 320) | def _remove_repo(namespace_or_path, scope): function repo_list (line 353) | def repo_list(args): function _get_repo (line 437) | def _get_repo(name_or_path: str) -> Optional[spack.repo.Repo]: function repo_migrate (line 457) | def repo_migrate(args: Any) -> int: function repo_set (line 526) | def repo_set(args): function _iter_repos_from_descriptors (line 560) | def _iter_repos_from_descriptors( function repo_update (line 582) | def repo_update(args): function repo_show_version_updates (line 658) | def repo_show_version_updates(args): function repo (line 735) | def repo(parser, args): FILE: lib/spack/spack/cmd/resource.py function setup_parser (line 17) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _show_patch (line 29) | def _show_patch(sha256): function resource_list (line 60) | def resource_list(args): function resource_show (line 70) | def resource_show(args): function resource (line 75) | def resource(parser, args): FILE: lib/spack/spack/cmd/restage.py function setup_parser (line 16) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function restage (line 20) | def restage(parser, args): FILE: lib/spack/spack/cmd/solve.py function setup_parser (line 29) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _process_result (line 55) | def _process_result(result, show, required_format, kwargs): function solve (line 107) | def solve(parser, args): FILE: lib/spack/spack/cmd/spec.py function setup_parser (line 25) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function spec (line 80) | def spec(parser, args): FILE: lib/spack/spack/cmd/stage.py class StageFilter (line 21) | class StageFilter: method __init__ (line 26) | def __init__(self, exclusions, skip_installed): method __call__ (line 34) | def __call__(self, spec): function setup_parser (line 48) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function stage (line 66) | def stage(parser, args): function _stage_env (line 104) | def _stage_env(env: ev.Environment, filter): function _stage (line 113) | def _stage(pkg: spack.package_base.PackageBase): FILE: lib/spack/spack/cmd/style.py class tool (line 46) | class tool: method __init__ (line 47) | def __init__( method __call__ (line 55) | def __call__(self, fun): method installed (line 61) | def installed(self) -> bool: method executable (line 65) | def executable(self) -> Optional[Executable]: function changed_files (line 73) | def changed_files(base="develop", untracked=True, all_files=False, root=... function setup_parser (line 137) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function cwd_relative (line 202) | def cwd_relative(path: Path, root: Union[Path, str], initial_working_dir... function rewrite_and_print_output (line 209) | def rewrite_and_print_output( function print_tool_result (line 237) | def print_tool_result(tool, returncode): function ruff_check (line 245) | def ruff_check(file_list, args): function ruff_format (line 258) | def ruff_format(file_list, args): function run_ruff (line 268) | def run_ruff( function run_mypy (line 298) | def run_mypy(file_list, args): function _module_part (line 326) | def _module_part(root: Path, expr: str): function _run_import_check (line 346) | def _run_import_check( function run_import_check (line 460) | def run_import_check(file_list, args): function print_style_header (line 474) | def print_style_header(file_list: List[Path], args, tools_to_run): function validate_toolset (line 487) | def validate_toolset(arg_value): function missing_tools (line 496) | def missing_tools(tools_to_run: List[str]) -> List[str]: function _bootstrap_dev_dependencies (line 500) | def _bootstrap_dev_dependencies(): function style (line 507) | def style(parser, args): FILE: lib/spack/spack/cmd/tags.py function report_tags (line 20) | def report_tags(category, tags): function setup_parser (line 36) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function tags (line 60) | def tags(parser, args): function packages_with_tags (line 110) | def packages_with_tags( FILE: lib/spack/spack/cmd/test.py function setup_parser (line 30) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function test_run (line 149) | def test_run(args): function report_filename (line 218) | def report_filename(args, test_suite): function test_list (line 222) | def test_list(args): function test_find (line 256) | def test_find(args): # TODO: merge with status (noargs) function test_status (line 296) | def test_status(args): function _report_suite_results (line 317) | def _report_suite_results(test_suite, args, constraints): function test_results (line 381) | def test_results(args): function test_remove (line 408) | def test_remove(args): function test (line 445) | def test(parser, args): FILE: lib/spack/spack/cmd/test_env.py function test_env (line 17) | def test_env(parser, args): FILE: lib/spack/spack/cmd/tutorial.py function setup_parser (line 40) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function tutorial (line 44) | def tutorial(parser, args): FILE: lib/spack/spack/cmd/undevelop.py function setup_parser (line 18) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function _update_config (line 36) | def _update_config(specs_to_remove): function undevelop (line 49) | def undevelop(parser, args): FILE: lib/spack/spack/cmd/uninstall.py function setup_parser (line 36) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function find_matching_specs (line 80) | def find_matching_specs( function installed_dependents (line 133) | def installed_dependents(specs: List[spack.spec.Spec]) -> List[spack.spe... function dependent_environments (line 157) | def dependent_environments( function all_specs_in_env (line 176) | def all_specs_in_env(env: ev.Environment, specs: List[spack.spec.Spec]) ... function _remove_from_env (line 182) | def _remove_from_env(spec, env): function do_uninstall (line 192) | def do_uninstall(specs: List[spack.spec.Spec], force: bool = False): function get_uninstall_list (line 204) | def get_uninstall_list(args, specs: List[spack.spec.Spec], env: Optional... function uninstall_specs (line 272) | def uninstall_specs(args, specs): function uninstall (line 296) | def uninstall(parser, args): FILE: lib/spack/spack/cmd/unit_test.py function setup_parser (line 30) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function do_list (line 112) | def do_list(args, extra_args): function add_back_pytest_args (line 200) | def add_back_pytest_args(args, unknown_args): function unit_test (line 214) | def unit_test(parser, args, unknown_args): FILE: lib/spack/spack/cmd/unload.py function setup_parser (line 21) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function unload (line 68) | def unload(parser, args): FILE: lib/spack/spack/cmd/url.py function setup_parser (line 35) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function url (line 105) | def url(parser, args): function url_parse (line 111) | def url_parse(args): function url_list (line 153) | def url_list(args): function url_summary (line 176) | def url_summary(args): function url_stats (line 286) | def url_stats(args): function print_name_and_version (line 415) | def print_name_and_version(url): function url_list_parsing (line 433) | def url_list_parsing(args, urls, url, pkg): function name_parsed_correctly (line 481) | def name_parsed_correctly(pkg, name): function version_parsed_correctly (line 498) | def version_parsed_correctly(pkg, version): function remove_prefix (line 519) | def remove_prefix(pkg_name): function remove_separators (line 552) | def remove_separators(version): FILE: lib/spack/spack/cmd/verify.py function setup_parser (line 26) | def setup_parser(subparser: argparse.ArgumentParser): function verify (line 76) | def verify(parser, args): function verify_versions (line 87) | def verify_versions(args): function _verify_version (line 103) | def _verify_version(specs): function verify_libraries (line 145) | def verify_libraries(args): function _verify_libraries (line 167) | def _verify_libraries(spec: spack.spec.Spec, unresolved_libraries: List[... function verify_manifest (line 183) | def verify_manifest(args): FILE: lib/spack/spack/cmd/versions.py function setup_parser (line 20) | def setup_parser(subparser: argparse.ArgumentParser) -> None: function versions (line 37) | def versions(parser, args): FILE: lib/spack/spack/cmd/view.py function disambiguate_in_view (line 58) | def disambiguate_in_view(specs, view): function setup_parser (line 78) | def setup_parser(sp: argparse.ArgumentParser) -> None: function view (line 190) | def view(parser, args): FILE: lib/spack/spack/compilers/adaptor.py class Languages (line 13) | class Languages(enum.Enum): class CompilerAdaptor (line 19) | class CompilerAdaptor: method __init__ (line 24) | def __init__( method _lang_exists_or_raise (line 33) | def _lang_exists_or_raise(self, name: str, *, lang: Languages) -> None: method _maybe_return_attribute (line 40) | def _maybe_return_attribute(self, name: str, *, lang: Languages) -> str: method cc_rpath_arg (line 45) | def cc_rpath_arg(self) -> str: method cxx_rpath_arg (line 50) | def cxx_rpath_arg(self) -> str: method fc_rpath_arg (line 55) | def fc_rpath_arg(self) -> str: method f77_rpath_arg (line 60) | def f77_rpath_arg(self) -> str: method linker_arg (line 65) | def linker_arg(self) -> str: method name (line 69) | def name(self): method version (line 73) | def version(self): method implicit_rpaths (line 76) | def implicit_rpaths(self) -> List[str]: method opt_flags (line 86) | def opt_flags(self) -> List[str]: method debug_flags (line 90) | def debug_flags(self) -> List[str]: method openmp_flag (line 94) | def openmp_flag(self) -> str: method cxx98_flag (line 98) | def cxx98_flag(self) -> str: method cxx11_flag (line 104) | def cxx11_flag(self) -> str: method cxx14_flag (line 110) | def cxx14_flag(self) -> str: method cxx17_flag (line 116) | def cxx17_flag(self) -> str: method cxx20_flag (line 122) | def cxx20_flag(self) -> str: method cxx23_flag (line 128) | def cxx23_flag(self) -> str: method c99_flag (line 134) | def c99_flag(self) -> str: method c11_flag (line 140) | def c11_flag(self) -> str: method c17_flag (line 146) | def c17_flag(self) -> str: method c23_flag (line 152) | def c23_flag(self) -> str: method cc_pic_flag (line 158) | def cc_pic_flag(self) -> str: method cxx_pic_flag (line 163) | def cxx_pic_flag(self) -> str: method fc_pic_flag (line 168) | def fc_pic_flag(self) -> str: method f77_pic_flag (line 173) | def f77_pic_flag(self) -> str: method prefix (line 178) | def prefix(self) -> str: method extra_rpaths (line 182) | def extra_rpaths(self) -> List[str]: method cc (line 187) | def cc(self): method cxx (line 191) | def cxx(self): method fc (line 195) | def fc(self): method f77 (line 200) | def f77(self): method stdcxx_libs (line 205) | def stdcxx_libs(self): class DeprecatedCompiler (line 209) | class DeprecatedCompiler(lang.DeprecatedProperty): method __init__ (line 210) | def __init__(self) -> None: method factory (line 213) | def factory(self, instance, owner) -> CompilerAdaptor: FILE: lib/spack/spack/compilers/config.py function compiler_config_files (line 32) | def compiler_config_files(): function add_compiler_to_config (line 45) | def add_compiler_to_config(new_compilers, *, scope=None) -> None: function find_compilers (line 54) | def find_compilers( function select_new_compilers (line 86) | def select_new_compilers( function supported_compilers (line 96) | def supported_compilers() -> List[str]: function all_compilers (line 101) | def all_compilers(scope: Optional[str] = None, init_config: bool = True)... function _init_packages_yaml (line 118) | def _init_packages_yaml( function all_compilers_from (line 144) | def all_compilers_from( class CompilerRemover (line 158) | class CompilerRemover: method __init__ (line 161) | def __init__(self, configuration: spack.config.Configuration) -> None: method mark_compilers (line 165) | def mark_compilers(self, *, match: str, scope: Optional[str] = None) -... method _mark_in_packages_yaml (line 180) | def _mark_in_packages_yaml(self, match, candidate_scopes): method flush (line 216) | def flush(self): function compilers_for_arch (line 224) | def compilers_for_arch( function name_os_target (line 236) | def name_os_target(spec: spack.spec.Spec) -> Tuple[str, str, str]: class CompilerFactory (line 255) | class CompilerFactory: method from_packages_yaml (line 259) | def from_packages_yaml( method from_legacy_yaml (line 286) | def from_legacy_yaml(compiler_dict: Dict[str, Any]) -> List[spack.spec... method from_compilers_yaml (line 322) | def from_compilers_yaml( class UnknownCompilerError (line 332) | class UnknownCompilerError(spack.error.SpackError): method __init__ (line 333) | def __init__(self, compiler_name): class NoAvailableCompilerError (line 337) | class NoAvailableCompilerError(spack.error.SpackError): FILE: lib/spack/spack/compilers/error.py class CompilerAccessError (line 9) | class CompilerAccessError(SpackError): method __init__ (line 10) | def __init__(self, compiler, paths): class UnsupportedCompilerFlag (line 17) | class UnsupportedCompilerFlag(SpackError): method __init__ (line 22) | def __init__(self, message, long_message=None): FILE: lib/spack/spack/compilers/flags.py function tokenize_flags (line 7) | def tokenize_flags(flags_values: str, propagate: bool = False) -> List[T... FILE: lib/spack/spack/compilers/libraries.py function parse_non_system_link_dirs (line 42) | def parse_non_system_link_dirs(compiler_debug_output: str) -> List[str]: function filter_non_existing_dirs (line 65) | def filter_non_existing_dirs(dirs): function in_system_subdirectory (line 69) | def in_system_subdirectory(path): function _parse_link_paths (line 81) | def _parse_link_paths(string): class CompilerPropertyDetector (line 139) | class CompilerPropertyDetector: method __init__ (line 142) | def __init__(self, compiler_spec: spack.spec.Spec): method compiler_environment (line 148) | def compiler_environment(self): method _compile_dummy_c_source (line 180) | def _compile_dummy_c_source(self) -> Optional[str]: method compiler_verbose_output (line 222) | def compiler_verbose_output(self) -> Optional[str]: method default_dynamic_linker (line 226) | def default_dynamic_linker(self) -> Optional[str]: method default_libc (line 235) | def default_libc(self) -> Optional[spack.spec.Spec]: method implicit_rpaths (line 249) | def implicit_rpaths(self) -> List[str]: class DefaultDynamicLinkerFilter (line 269) | class DefaultDynamicLinkerFilter: method __init__ (line 274) | def __init__(self, dynamic_linker: Optional[str]) -> None: method is_dynamic_loader_default_path (line 293) | def is_dynamic_loader_default_path(self, p: str) -> bool: method __call__ (line 302) | def __call__(self, dirs: List[str]) -> List[str]: function dynamic_linker_filter_for (line 308) | def dynamic_linker_filter_for(node: spack.spec.Spec) -> Optional[Default... function compiler_spec (line 319) | def compiler_spec(node: spack.spec.Spec) -> Optional[spack.spec.Spec]: class CompilerCacheEntry (line 341) | class CompilerCacheEntry: method __init__ (line 346) | def __init__(self, c_compiler_output: Optional[str]): method empty (line 350) | def empty(self) -> bool: method from_dict (line 356) | def from_dict(cls, data: Dict[str, Optional[str]]): class CompilerCache (line 365) | class CompilerCache: method value (line 368) | def value(self, compiler: spack.spec.Spec) -> Dict[str, Optional[str]]: method get (line 371) | def get(self, compiler: spack.spec.Spec) -> CompilerCacheEntry: class FileCompilerCache (line 375) | class FileCompilerCache(CompilerCache): method __init__ (line 381) | def __init__(self, cache: "FileCache") -> None: method _get_entry (line 385) | def _get_entry(self, key: str, *, allow_empty: bool) -> Optional[Compi... method get (line 395) | def get(self, compiler: spack.spec.Spec) -> CompilerCacheEntry: method _key (line 437) | def _key(self, compiler: spack.spec.Spec) -> str: function _make_compiler_cache (line 442) | def _make_compiler_cache(): FILE: lib/spack/spack/concretize.py function _concretize_specs_together (line 28) | def _concretize_specs_together( function concretize_together (line 51) | def concretize_together( function concretize_together_when_possible (line 72) | def concretize_together_when_possible( function concretize_separately (line 125) | def concretize_separately( function _concretize_task (line 213) | def _concretize_task( function concretize_one (line 223) | def concretize_one( class UnavailableCompilerVersionError (line 272) | class UnavailableCompilerVersionError(spack.error.SpackError): method __init__ (line 276) | def __init__(self, compiler_spec: CompilerSpec, arch: Optional[ArchSpe... FILE: lib/spack/spack/config.py class ConfigScope (line 141) | class ConfigScope: method __init__ (line 142) | def __init__(self, name: str, included: bool = False) -> None: method included_scopes (line 153) | def included_scopes(self) -> List["ConfigScope"]: method exists (line 175) | def exists(self) -> bool: method override_include (line 179) | def override_include(self): method transitive_includes (line 189) | def transitive_includes(self, _names: Optional[Set[str]] = None) -> Se... method get_section_filename (line 198) | def get_section_filename(self, section: str) -> str: method get_section (line 201) | def get_section(self, section: str) -> Optional[YamlConfigDict]: method _write_section (line 204) | def _write_section(self, section: str) -> None: method clear (line 207) | def clear(self) -> None: method __repr__ (line 211) | def __repr__(self) -> str: class DirectoryConfigScope (line 215) | class DirectoryConfigScope(ConfigScope): method __init__ (line 218) | def __init__( method exists (line 233) | def exists(self) -> bool: method get_section_filename (line 236) | def get_section_filename(self, section: str) -> str: method get_section (line 241) | def get_section(self, section: str) -> Optional[YamlConfigDict]: method _get_section (line 248) | def _get_section(self, section: str) -> Optional[YamlConfigDict]: method _write_section (line 257) | def _write_section(self, section: str) -> None: class SingleFileScope (line 282) | class SingleFileScope(ConfigScope): method __init__ (line 285) | def __init__( method exists (line 322) | def exists(self) -> bool: method get_section_filename (line 325) | def get_section_filename(self, section) -> str: method get_section (line 328) | def get_section(self, section: str) -> Optional[YamlConfigDict]: method _write_section (line 381) | def _write_section(self, section: str) -> None: method __repr__ (line 426) | def __repr__(self) -> str: class InternalConfigScope (line 430) | class InternalConfigScope(ConfigScope): method __init__ (line 438) | def __init__(self, name: str, data: Optional[YamlConfigDict] = None) -... method get_section (line 449) | def get_section(self, section: str) -> Optional[YamlConfigDict]: method _write_section (line 455) | def _write_section(self, section: str) -> None: method __repr__ (line 462) | def __repr__(self) -> str: method clear (line 465) | def clear(self) -> None: method _process_dict_keyname_overrides (line 470) | def _process_dict_keyname_overrides(data: YamlConfigDict) -> YamlConfi... function _config_mutator (line 496) | def _config_mutator(method): class Configuration (line 514) | class Configuration: method __init__ (line 520) | def __init__(self) -> None: method ensure_unwrapped (line 524) | def ensure_unwrapped(self) -> "Configuration": method highest (line 528) | def highest(self) -> ConfigScope: method push_scope_incremental (line 533) | def push_scope_incremental( method push_scope (line 573) | def push_scope( method remove_scope (line 593) | def remove_scope(self, scope_name: str) -> Optional[ConfigScope]: method writable_scopes (line 613) | def writable_scopes(self) -> Generator[ConfigScope, None, None]: method existing_scopes (line 618) | def existing_scopes(self) -> Generator[ConfigScope, None, None]: method highest_precedence_scope (line 623) | def highest_precedence_scope(self) -> ConfigScope: method matching_scopes (line 636) | def matching_scopes(self, reg_expr) -> List[ConfigScope]: method _validate_scope (line 645) | def _validate_scope(self, scope: Optional[str]) -> ConfigScope: method get_config_filename (line 671) | def get_config_filename(self, scope: str, section: str) -> str: method clear_caches (line 677) | def clear_caches(self) -> None: method update_config (line 685) | def update_config( method get_config (line 733) | def get_config( method deepcopy_as_builtin (line 762) | def deepcopy_as_builtin( method _filter_overridden (line 770) | def _filter_overridden(self, scopes: List[ConfigScope], includes: bool... method active_include_section_scopes (line 799) | def active_include_section_scopes(self) -> List[ConfigScope]: method active_scopes (line 808) | def active_scopes(self) -> List[ConfigScope]: method _get_config_memoized (line 813) | def _get_config_memoized( method get (line 878) | def get(self, path: str, default: Optional[Any] = None, scope: Optiona... method set (line 908) | def set(self, path: str, value: Any, scope: Optional[str] = None) -> N... method __iter__ (line 948) | def __iter__(self): method print_section (line 952) | def print_section( function override (line 977) | def override( class OptionalInclude (line 1020) | class OptionalInclude: method __init__ (line 1030) | def __init__(self, entry: dict): method _parent_scope_directory (line 1039) | def _parent_scope_directory(parent_scope: Optional[ConfigScope]) -> Op... method base_directory (line 1049) | def base_directory( method _scope (line 1107) | def _scope( method _validate_parent_scope (line 1191) | def _validate_parent_scope(self, parent_scope: ConfigScope): method evaluate_condition (line 1200) | def evaluate_condition(self) -> bool: method scopes (line 1210) | def scopes(self, parent_scope: ConfigScope) -> List[ConfigScope]: method paths (line 1225) | def paths(self) -> List[str]: class IncludePath (line 1231) | class IncludePath(OptionalInclude): method __init__ (line 1236) | def __init__(self, entry: dict): method __repr__ (line 1252) | def __repr__(self): method scopes (line 1258) | def scopes(self, parent_scope: ConfigScope) -> List[ConfigScope]: method paths (line 1302) | def paths(self) -> List[str]: class GitIncludePaths (line 1308) | class GitIncludePaths(OptionalInclude): method __init__ (line 1316) | def __init__(self, entry: dict): method __repr__ (line 1342) | def __repr__(self): method _clone (line 1353) | def _clone(self, parent_scope: ConfigScope) -> Optional[str]: method fetched (line 1410) | def fetched(self) -> bool: method scopes (line 1415) | def scopes(self, parent_scope: ConfigScope) -> List[ConfigScope]: method paths (line 1454) | def paths(self) -> List[str]: function included_path (line 1460) | def included_path(entry: Union[str, pathlib.Path, dict]) -> Union[Includ... function paths_from_includes (line 1477) | def paths_from_includes(includes: List[Union[str, dict]]) -> List[str]: function config_paths_from_entry_points (line 1493) | def config_paths_from_entry_points() -> List[Tuple[str, str]]: function create_incremental (line 1518) | def create_incremental() -> Generator[Configuration, None, None]: function create (line 1557) | def create() -> Configuration: function add_from_file (line 1566) | def add_from_file(filename: str, scope: Optional[str] = None) -> None: function add (line 1599) | def add(fullpath: str, scope: Optional[str] = None) -> None: function get (line 1649) | def get(path: str, default: Optional[Any] = None, scope: Optional[str] =... function set (line 1657) | def set(path: str, value: Any, scope: Optional[str] = None) -> None: function scopes (line 1666) | def scopes() -> lang.PriorityOrderedMapping[str, ConfigScope]: function writable_scopes (line 1671) | def writable_scopes() -> List[ConfigScope]: function existing_scopes (line 1678) | def existing_scopes() -> List[ConfigScope]: function writable_scope_names (line 1688) | def writable_scope_names() -> List[str]: function existing_scope_names (line 1692) | def existing_scope_names() -> List[str]: function matched_config (line 1696) | def matched_config(cfg_path: str) -> List[Tuple[str, Any]]: function change_or_add (line 1700) | def change_or_add( function update_all (line 1745) | def update_all(section_name: str, change_fn: Callable[[str], bool]) -> N... function _validate_section_name (line 1757) | def _validate_section_name(section: str) -> None: function validate (line 1765) | def validate( function read_config_file (line 1790) | def read_config_file( function _mark_internal (line 1829) | def _mark_internal(data, name): function get_valid_type (line 1850) | def get_valid_type(path): function remove_yaml (line 1891) | def remove_yaml(dest, source): class ConfigPath (line 1941) | class ConfigPath: method _split_front (line 1948) | def _split_front(string, extract): method _validate (line 1956) | def _validate(path): method process (line 2003) | def process(path): function process_config_path (line 2048) | def process_config_path(path: str) -> List[str]: function default_modify_scope (line 2083) | def default_modify_scope(section: str = "config") -> str: function _update_in_memory (line 2095) | def _update_in_memory(data: YamlConfigDict, section: str) -> bool: function ensure_latest_format_fn (line 2111) | def ensure_latest_format_fn(section: str) -> Callable[[YamlConfigDict], ... function use_configuration (line 2124) | def use_configuration( function _normalize_input (line 2151) | def _normalize_input(entry: Union[ScopeWithOptionalPriority, str]) -> Sc... function create_from (line 2167) | def create_from(*scopes_or_paths: Union[ScopeWithOptionalPriority, str])... function determine_number_of_jobs (line 2191) | def determine_number_of_jobs( class ConfigSectionError (line 2224) | class ConfigSectionError(spack.error.ConfigError): class ConfigFileError (line 2228) | class ConfigFileError(spack.error.ConfigError): class ConfigFormatError (line 2232) | class ConfigFormatError(spack.error.ConfigError): method __init__ (line 2235) | def __init__( method _get_mark (line 2262) | def _get_mark(self, validation_error, data): class RecursiveIncludeError (line 2297) | class RecursiveIncludeError(spack.error.SpackError): FILE: lib/spack/spack/container/__init__.py function validate (line 21) | def validate(configuration_file): FILE: lib/spack/spack/container/images.py function data (line 19) | def data(): function build_info (line 34) | def build_info(image, spack_version): function os_package_manager_for (line 55) | def os_package_manager_for(image): function all_bootstrap_os (line 70) | def all_bootstrap_os(): function commands_for (line 75) | def commands_for(package_manager): function bootstrap_template_for (line 89) | def bootstrap_template_for(image): function _verify_ref (line 93) | def _verify_ref(url, ref, enforce_sha): function checkout_command (line 113) | def checkout_command(url, ref, enforce_sha, verify): FILE: lib/spack/spack/container/writers.py function writer (line 34) | def writer(name): function create (line 49) | def create(configuration, last_phase=None): function recipe (line 60) | def recipe(configuration, last_phase=None): function _stage_base_images (line 70) | def _stage_base_images(images_config): function _spack_checkout_config (line 115) | def _spack_checkout_config(images_config): class PathContext (line 134) | class PathContext(tengine.Context): method __init__ (line 143) | def __init__(self, config, last_phase): method depfile (line 159) | def depfile(self): method run (line 163) | def run(self): method build (line 169) | def build(self): method strip (line 175) | def strip(self): method paths (line 180) | def paths(self): method manifest (line 192) | def manifest(self): method os_packages_final (line 210) | def os_packages_final(self): method os_packages_build (line 219) | def os_packages_build(self): method os_package_update (line 228) | def os_package_update(self): method _os_packages_for_stage (line 233) | def _os_packages_for_stage(self, stage): method _package_info_from (line 238) | def _package_info_from(self, package_list): method _os_pkg_manager (line 265) | def _os_pkg_manager(self): method labels (line 277) | def labels(self): method bootstrap (line 281) | def bootstrap(self): method render_phase (line 297) | def render_phase(self): method __call__ (line 304) | def __call__(self): class DockerContext (line 313) | class DockerContext(PathContext): method manifest (line 320) | def manifest(self): class SingularityContext (line 338) | class SingularityContext(PathContext): method singularity_config (line 345) | def singularity_config(self): method runscript (line 349) | def runscript(self): method startscript (line 353) | def startscript(self): method test (line 357) | def test(self): method help (line 361) | def help(self): FILE: lib/spack/spack/context.py class Context (line 9) | class Context(Enum): method __str__ (line 17) | def __str__(self): method from_string (line 21) | def from_string(cls, s: str): FILE: lib/spack/spack/cray_manifest.py function translated_compiler_name (line 34) | def translated_compiler_name(manifest_compiler_name): function compiler_from_entry (line 54) | def compiler_from_entry(entry: dict, *, manifest_path: str) -> Optional[... function compiler_spec_from_paths (line 86) | def compiler_spec_from_paths(*, pkg_name: str, compiler_paths: Iterable[... function extract_compiler_paths (line 101) | def extract_compiler_paths(entry: Dict[str, Any]) -> List[str]: function spec_from_entry (line 109) | def spec_from_entry(entry): function entries_to_specs (line 191) | def entries_to_specs(entries): function read (line 223) | def read(path, apply_updates): class ManifestValidationError (line 266) | class ManifestValidationError(spack.error.SpackError): method __init__ (line 267) | def __init__(self, msg, long_msg=None): class CrayCompilerDetectionError (line 271) | class CrayCompilerDetectionError(spack.error.SpackError): FILE: lib/spack/spack/database.py function reader (line 140) | def reader(version: vn.StandardVersion) -> Type["spack.spec.SpecfileRead... function _now (line 150) | def _now() -> float: function _autospec (line 155) | def _autospec(function): function normalize_query (line 167) | def normalize_query(installed: Union[bool, InstallRecordStatus]) -> Inst... class InstallRecord (line 175) | class InstallRecord: method __init__ (line 200) | def __init__( method install_type_matches (line 222) | def install_type_matches(self, installed: InstallRecordStatus) -> bool: method to_dict (line 229) | def to_dict(self, include_fields=DEFAULT_INSTALL_RECORD_FIELDS): method from_dict (line 246) | def from_dict(cls, spec, dictionary): class ForbiddenLockError (line 260) | class ForbiddenLockError(SpackError): class ForbiddenLock (line 264) | class ForbiddenLock: method __getattr__ (line 265) | def __getattr__(self, name): method __reduce__ (line 268) | def __reduce__(self): class LockConfiguration (line 272) | class LockConfiguration(NamedTuple): function lock_configuration (line 305) | def lock_configuration(configuration): function prefix_lock_path (line 314) | def prefix_lock_path(root_dir: Union[str, pathlib.Path]) -> pathlib.Path: function failures_lock_path (line 323) | def failures_lock_path(root_dir: Union[str, pathlib.Path]) -> pathlib.Path: class SpecLocker (line 332) | class SpecLocker: method __init__ (line 335) | def __init__(self, lock_path: Union[str, pathlib.Path], default_timeou... method lock (line 342) | def lock(self, spec: "spack.spec.Spec", timeout: Optional[float] = Non... method raw_lock (line 364) | def raw_lock(self, spec: "spack.spec.Spec", timeout: Optional[float] =... method has_lock (line 374) | def has_lock(self, spec: "spack.spec.Spec") -> bool: method _lock_key (line 378) | def _lock_key(self, spec: "spack.spec.Spec") -> Tuple[str, str]: method write_lock (line 382) | def write_lock(self, spec: "spack.spec.Spec") -> Generator["SpecLocker... method clear (line 398) | def clear(self, spec: "spack.spec.Spec") -> Tuple[bool, Optional[lk.Lo... method clear_all (line 403) | def clear_all(self, clear_fn: Optional[Callable[[lk.Lock], Any]] = Non... class FailureTracker (line 410) | class FailureTracker: method __init__ (line 431) | def __init__(self, root_dir: Union[str, pathlib.Path], default_timeout... method _ensure_parent_directories (line 437) | def _ensure_parent_directories(self) -> None: method clear (line 444) | def clear(self, spec: "spack.spec.Spec", force: bool = False) -> None: method clear_all (line 477) | def clear_all(self) -> None: method mark (line 499) | def mark(self, spec: "spack.spec.Spec") -> lk.Lock: method has_failed (line 525) | def has_failed(self, spec: "spack.spec.Spec") -> bool: method lock_taken (line 540) | def lock_taken(self, spec: "spack.spec.Spec") -> bool: method persistent_mark (line 545) | def persistent_mark(self, spec: "spack.spec.Spec") -> bool: method _path (line 549) | def _path(self, spec: "spack.spec.Spec") -> pathlib.Path: class Database (line 558) | class Database: method __init__ (line 562) | def __init__( method db_version (line 638) | def db_version(self) -> vn.ConcreteVersion: method db_version (line 644) | def db_version(self, value: vn.ConcreteVersion): method _ensure_parent_directories (line 647) | def _ensure_parent_directories(self): method write_transaction (line 652) | def write_transaction(self): method read_transaction (line 656) | def read_transaction(self): method _write_to_file (line 660) | def _write_to_file(self, stream): method _read_spec_from_dict (line 694) | def _read_spec_from_dict(self, spec_reader, hash_key, installs, hash=h... method db_for_spec_hash (line 714) | def db_for_spec_hash(self, hash_key): method query_by_spec_hash (line 723) | def query_by_spec_hash( method query_local_by_spec_hash (line 748) | def query_local_by_spec_hash(self, hash_key: str) -> Optional[InstallR... method _assign_build_spec (line 756) | def _assign_build_spec( method _assign_dependencies (line 777) | def _assign_dependencies( method _read_from_file (line 816) | def _read_from_file(self, filename: pathlib.Path, *, reindex: bool = F... method _read_from_stream (line 824) | def _read_from_stream(self, stream: IO[str], *, reindex: bool = False)... method _handle_current_version_read (line 916) | def _handle_current_version_read(self, check, db): method _handle_old_db_versions_read (line 921) | def _handle_old_db_versions_read(self, check, db, *, reindex: bool): method is_readable (line 932) | def is_readable(self) -> bool: method raise_explicit_database_upgrade_error (line 936) | def raise_explicit_database_upgrade_error(self): method reindex (line 960) | def reindex(self): method _reindex (line 993) | def _reindex(self, old_data: Dict[str, InstallRecord]): method _check_ref_counts (line 1089) | def _check_ref_counts(self): method _write (line 1118) | def _write(self, type=None, value=None, traceback=None): method _read (line 1159) | def _read(self): method _add (line 1184) | def _add( method add (line 1293) | def add(self, spec: "spack.spec.Spec", *, explicit: bool = False, allo... method _get_matching_spec_key (line 1304) | def _get_matching_spec_key(self, spec: "spack.spec.Spec", **kwargs) ->... method get_record (line 1316) | def get_record(self, spec: "spack.spec.Spec", **kwargs) -> Optional[In... method _decrement_ref_count (line 1321) | def _decrement_ref_count(self, spec: "spack.spec.Spec") -> None: method _increment_ref_count (line 1338) | def _increment_ref_count(self, spec: "spack.spec.Spec") -> None: method _remove (line 1347) | def _remove(self, spec: "spack.spec.Spec") -> "spack.spec.Spec": method remove (line 1378) | def remove(self, spec: "spack.spec.Spec") -> "spack.spec.Spec": method deprecator (line 1393) | def deprecator(self, spec: "spack.spec.Spec") -> Optional["spack.spec.... method specs_deprecated_by (line 1404) | def specs_deprecated_by(self, spec: "spack.spec.Spec") -> List["spack.... method _deprecate (line 1411) | def _deprecate(self, spec: "spack.spec.Spec", deprecator: "spack.spec.... method mark (line 1429) | def mark(self, spec: "spack.spec.Spec", key: str, value: Any) -> None: method _mark (line 1434) | def _mark(self, spec: "spack.spec.Spec", key, value) -> None: method deprecate (line 1439) | def deprecate(self, spec: "spack.spec.Spec", deprecator: "spack.spec.S... method installed_relatives (line 1445) | def installed_relatives( method installed_extensions_for (line 1483) | def installed_extensions_for(self, extendee_spec: "spack.spec.Spec"): method _get_by_hash_local (line 1489) | def _get_by_hash_local( method get_by_hash_local (line 1516) | def get_by_hash_local( method get_by_hash (line 1537) | def get_by_hash( method _query (line 1567) | def _query( method query_local (line 1650) | def query_local( method query (line 1710) | def query( method query_one (line 1807) | def query_one( method missing (line 1824) | def missing(self, spec): method is_occupied_install_prefix (line 1829) | def is_occupied_install_prefix(self, path): method all_hashes (line 1833) | def all_hashes(self): method unused_specs (line 1838) | def unused_specs( class NoUpstreamVisitor (line 1868) | class NoUpstreamVisitor: method __init__ (line 1871) | def __init__( method accept (line 1879) | def accept(self, item: tr.EdgeAndDepth) -> bool: method is_upstream (line 1883) | def is_upstream(self, item: tr.EdgeAndDepth) -> bool: method neighbors (line 1886) | def neighbors(self, item: tr.EdgeAndDepth): class UpstreamDatabaseLockingError (line 1895) | class UpstreamDatabaseLockingError(SpackError): class CorruptDatabaseError (line 1899) | class CorruptDatabaseError(SpackError): class NonConcreteSpecAddError (line 1903) | class NonConcreteSpecAddError(SpackError): class MissingDependenciesError (line 1907) | class MissingDependenciesError(SpackError): class InvalidDatabaseVersionError (line 1911) | class InvalidDatabaseVersionError(SpackError): method __init__ (line 1914) | def __init__(self, database, expected, found): method database_version_message (line 1924) | def database_version_message(self): class ExplicitDatabaseUpgradeError (line 1928) | class ExplicitDatabaseUpgradeError(SpackError): class DatabaseNotReadableError (line 1932) | class DatabaseNotReadableError(SpackError): class NoSuchSpecError (line 1936) | class NoSuchSpecError(KeyError): method __init__ (line 1939) | def __init__(self, spec): method __str__ (line 1943) | def __str__(self): FILE: lib/spack/spack/dependency.py class Dependency (line 16) | class Dependency: method __init__ (line 45) | def __init__( method name (line 67) | def name(self) -> str: method __repr__ (line 71) | def __repr__(self) -> str: FILE: lib/spack/spack/deptypes.py function compatible (line 47) | def compatible(flag1: DepFlag, flag2: DepFlag) -> bool: function flag_from_string (line 75) | def flag_from_string(s: str) -> DepFlag: function flag_from_strings (line 88) | def flag_from_strings(deptype: Iterable[str]) -> DepFlag: function canonicalize (line 96) | def canonicalize(deptype: DepTypes) -> DepFlag: function flag_to_tuple (line 116) | def flag_to_tuple(x: DepFlag) -> Tuple[DepType, ...]: function flag_to_string (line 129) | def flag_to_string(x: DepFlag) -> DepType: function flag_to_chars (line 142) | def flag_to_chars(depflag: DepFlag) -> str: FILE: lib/spack/spack/detection/common.py function _externals_in_packages_yaml (line 35) | def _externals_in_packages_yaml() -> Set[spack.spec.Spec]: function _pkg_config_dict (line 48) | def _pkg_config_dict( function _spec_is_valid (line 90) | def _spec_is_valid(spec: spack.spec.Spec) -> bool: function path_to_dict (line 111) | def path_to_dict(search_paths: List[str]) -> Dict[str, str]: function is_executable (line 133) | def is_executable(file_path: str) -> bool: function _convert_to_iterable (line 138) | def _convert_to_iterable(single_val_or_multiple): function executable_prefix (line 155) | def executable_prefix(executable_dir: str) -> str: function library_prefix (line 176) | def library_prefix(library_dir: str) -> str: function update_configuration (line 204) | def update_configuration( function set_virtuals_nonbuildable (line 238) | def set_virtuals_nonbuildable(virtuals: Set[str], scope: Optional[str] =... function _windows_drive (line 259) | def _windows_drive() -> str: class WindowsCompilerExternalPaths (line 269) | class WindowsCompilerExternalPaths: method find_windows_compiler_root_paths (line 271) | def find_windows_compiler_root_paths() -> List[str]: method find_windows_compiler_cmake_paths (line 279) | def find_windows_compiler_cmake_paths() -> List[str]: method find_windows_compiler_ninja_paths (line 289) | def find_windows_compiler_ninja_paths() -> List[str]: method find_windows_compiler_bundled_packages (line 297) | def find_windows_compiler_bundled_packages() -> List[str]: class WindowsKitExternalPaths (line 305) | class WindowsKitExternalPaths: method find_windows_kit_roots (line 307) | def find_windows_kit_roots() -> List[str]: method find_windows_kit_bin_paths (line 316) | def find_windows_kit_bin_paths( method find_windows_kit_lib_paths (line 331) | def find_windows_kit_lib_paths( method find_windows_driver_development_kit_paths (line 346) | def find_windows_driver_development_kit_paths() -> List[str]: method find_windows_kit_reg_installed_roots_paths (line 354) | def find_windows_kit_reg_installed_roots_paths() -> List[str]: method find_windows_kit_reg_sdk_paths (line 371) | def find_windows_kit_reg_sdk_paths() -> List[str]: function find_win32_additional_install_paths (line 388) | def find_win32_additional_install_paths() -> List[str]: function compute_windows_program_path_for_package (line 415) | def compute_windows_program_path_for_package(pkg: "spack.package_base.Pa... function compute_windows_user_path_for_package (line 435) | def compute_windows_user_path_for_package(pkg: "spack.package_base.Packa... FILE: lib/spack/spack/detection/path.py function common_windows_package_paths (line 47) | def common_windows_package_paths(pkg_cls=None) -> List[str]: function file_identifier (line 65) | def file_identifier(path): function dedupe_paths (line 70) | def dedupe_paths(paths: List[str]) -> List[str]: function executables_in_path (line 93) | def executables_in_path(path_hints: List[str]) -> Dict[str, str]: function accept_elf (line 112) | def accept_elf(path, host_compat): function libraries_in_ld_and_system_library_path (line 125) | def libraries_in_ld_and_system_library_path( function libraries_in_windows_paths (line 189) | def libraries_in_windows_paths(path_hints: Optional[List[str]] = None) -... function _group_by_prefix (line 216) | def _group_by_prefix(paths: List[str]) -> Dict[str, Set[str]]: class Finder (line 223) | class Finder: method default_path_hints (line 226) | def default_path_hints(self) -> List[str]: method search_patterns (line 229) | def search_patterns(self, *, pkg: Type["spack.package_base.PackageBase... method candidate_files (line 237) | def candidate_files(self, *, patterns: List[str], paths: List[str]) ->... method prefix_from_path (line 246) | def prefix_from_path(self, *, path: str) -> str: method detect_specs (line 254) | def detect_specs( method find (line 335) | def find( class ExecutablesFinder (line 357) | class ExecutablesFinder(Finder): method default_path_hints (line 358) | def default_path_hints(self) -> List[str]: method search_patterns (line 361) | def search_patterns(self, *, pkg: Type["spack.package_base.PackageBase... method candidate_files (line 367) | def candidate_files(self, *, patterns: List[str], paths: List[str]) ->... method prefix_from_path (line 374) | def prefix_from_path(self, *, path: str) -> str: class LibrariesFinder (line 382) | class LibrariesFinder(Finder): method search_patterns (line 387) | def search_patterns(self, *, pkg: Type["spack.package_base.PackageBase... method candidate_files (line 393) | def candidate_files(self, *, patterns: List[str], paths: List[str]) ->... method prefix_from_path (line 407) | def prefix_from_path(self, *, path: str) -> str: function by_path (line 415) | def by_path( FILE: lib/spack/spack/detection/test.py class MockExecutables (line 21) | class MockExecutables(NamedTuple): class ExpectedTestResult (line 30) | class ExpectedTestResult(NamedTuple): class DetectionTest (line 39) | class DetectionTest(NamedTuple): class Runner (line 52) | class Runner: method __init__ (line 55) | def __init__(self, *, test: DetectionTest, repository: spack.repo.Repo... method execute (line 60) | def execute(self) -> List[spack.spec.Spec]: method _mock_layout (line 74) | def _mock_layout(self) -> Generator[List[str], None, None]: method _create_executable_scripts (line 87) | def _create_executable_scripts(self, mock_executables: MockExecutables... method expected_specs (line 104) | def expected_specs(self) -> List[spack.spec.Spec]: function detection_tests (line 113) | def detection_tests(pkg_name: str, repository: spack.repo.RepoPath) -> L... function read_detection_tests (line 155) | def read_detection_tests(pkg_name: str, repository: spack.repo.RepoPath)... function _detection_tests_yaml (line 195) | def _detection_tests_yaml( FILE: lib/spack/spack/directives.py function _make_when_spec (line 96) | def _make_when_spec(value: Union[WhenType, Tuple[str, ...]]) -> Optional... function version (line 158) | def version( function _execute_version (line 244) | def _execute_version(pkg: PackageType, ver: Union[str, int], kwargs: dict): function conflicts (line 266) | def conflicts(conflict_spec: SpecType, when: WhenType = None, msg: Optio... function _execute_conflicts (line 286) | def _execute_conflicts(pkg: PackageType, conflict_spec, when, msg): function depends_on (line 299) | def depends_on( function _execute_depends_on (line 323) | def _execute_depends_on( function redistribute (line 397) | def redistribute( function _execute_redistribute (line 408) | def _execute_redistribute( function extends (line 444) | def extends( function _execute_extends (line 462) | def _execute_extends( function provides (line 482) | def provides(*specs: SpecType, when: WhenType = None): function _execute_provides (line 496) | def _execute_provides(pkg: PackageType, specs: Tuple[SpecType, ...], whe... function can_splice (line 514) | def can_splice( function _execute_can_splice (line 536) | def _execute_can_splice( function patch (line 552) | def patch( function _execute_patch (line 592) | def _execute_patch( function conditional (line 644) | def conditional(*values: Union[str, bool], when: Optional[WhenType] = No... function variant (line 654) | def variant( function _format_error (line 698) | def _format_error(msg, pkg, name): function _execute_variant (line 703) | def _execute_variant( function resource (line 808) | def resource( function _execute_resource (line 841) | def _execute_resource( function build_system (line 877) | def build_system(*values, **kwargs): function maintainers (line 895) | def maintainers(*names: str): function _execute_maintainer (line 904) | def _execute_maintainer(pkg: PackageType, names: Tuple[str, ...]): function license (line 911) | def license( function _execute_license (line 929) | def _execute_license(pkg: PackageType, license_identifier: str, when: Op... function requires (line 954) | def requires( function _execute_requires (line 985) | def _execute_requires( class DependencyError (line 1010) | class DependencyError(DirectiveError): class CircularReferenceError (line 1014) | class CircularReferenceError(DependencyError): class DependencyPatchError (line 1018) | class DependencyPatchError(DirectiveError): class UnsupportedPackageDirective (line 1022) | class UnsupportedPackageDirective(DirectiveError): class OverlappingLicenseError (line 1026) | class OverlappingLicenseError(DirectiveError): FILE: lib/spack/spack/directives_meta.py function get_spec (line 26) | def get_spec(spec_str: str) -> spack.spec.Spec: class DirectiveMeta (line 33) | class DirectiveMeta(type): method __new__ (line 60) | def __new__( method __init__ (line 93) | def __init__(cls: "DirectiveMeta", name: str, bases: tuple, attr_dict:... method register_directive (line 103) | def register_directive(name: str, dicts: Tuple[str, ...]) -> None: method _get_descriptor (line 110) | def _get_descriptor(name: str) -> "DirectiveDictDescriptor": method push_when_constraint (line 117) | def push_when_constraint(when_spec: str) -> None: method pop_when_constraint (line 122) | def pop_when_constraint() -> str: method push_default_args (line 127) | def push_default_args(default_args: Dict[str, Any]) -> None: method pop_default_args (line 132) | def pop_default_args() -> dict: method _remove_kwarg_value_directives_from_queue (line 137) | def _remove_kwarg_value_directives_from_queue(value) -> None: method _get_execution_plan (line 155) | def _get_execution_plan(target_dict: str) -> Tuple[List[str], List[str]]: class DirectiveDictDescriptor (line 178) | class DirectiveDictDescriptor: method __init__ (line 181) | def __init__(self, name: str): method __get__ (line 186) | def __get__(self, obj, objtype=None): class directive (line 206) | class directive: method __init__ (line 207) | def __init__( method __call__ (line 259) | def __call__(self, decorated_function: Callable[P, R]) -> Callable[P, R]: class DirectiveError (line 302) | class DirectiveError(spack.error.SpackError): FILE: lib/spack/spack/directory_layout.py function _check_concrete (line 27) | def _check_concrete(spec: "spack.spec.Spec") -> None: function _get_spec (line 33) | def _get_spec(prefix: str) -> Optional["spack.spec.Spec"]: function specs_from_metadata_dirs (line 43) | def specs_from_metadata_dirs(root: str) -> List["spack.spec.Spec"]: class DirectoryLayout (line 69) | class DirectoryLayout: method __init__ (line 84) | def __init__( method hidden_file_regexes (line 122) | def hidden_file_regexes(self) -> Tuple[str]: method relative_path_for_spec (line 125) | def relative_path_for_spec(self, spec: "spack.spec.Spec") -> str: method write_spec (line 132) | def write_spec(self, spec: "spack.spec.Spec", path: str) -> None: method write_host_environment (line 140) | def write_host_environment(self, spec: "spack.spec.Spec") -> None: method read_spec (line 150) | def read_spec(self, path: str) -> "spack.spec.Spec": method spec_file_path (line 171) | def spec_file_path(self, spec: "spack.spec.Spec") -> str: method deprecated_file_path (line 178) | def deprecated_file_path( method metadata_path (line 216) | def metadata_path(self, spec: "spack.spec.Spec") -> str: method env_metadata_path (line 219) | def env_metadata_path(self, spec: "spack.spec.Spec") -> str: method build_packages_path (line 222) | def build_packages_path(self, spec: "spack.spec.Spec") -> str: method create_install_directory (line 225) | def create_install_directory(self, spec: "spack.spec.Spec") -> None: method ensure_installed (line 243) | def ensure_installed(self, spec: "spack.spec.Spec") -> None: method path_for_spec (line 270) | def path_for_spec(self, spec: "spack.spec.Spec") -> str: method remove_install_directory (line 281) | def remove_install_directory(self, spec: "spack.spec.Spec", deprecated... method all_specs (line 329) | def all_specs(self) -> List["spack.spec.Spec"]: method deprecated_for (line 336) | def deprecated_for( class DirectoryLayoutError (line 359) | class DirectoryLayoutError(SpackError): method __init__ (line 362) | def __init__(self, message, long_msg=None): class RemoveFailedError (line 366) | class RemoveFailedError(DirectoryLayoutError): method __init__ (line 369) | def __init__(self, installed_spec, prefix, error): class InconsistentInstallDirectoryError (line 376) | class InconsistentInstallDirectoryError(DirectoryLayoutError): method __init__ (line 379) | def __init__(self, message, long_msg=None): class SpecReadError (line 383) | class SpecReadError(DirectoryLayoutError): class InvalidDirectoryLayoutParametersError (line 387) | class InvalidDirectoryLayoutParametersError(DirectoryLayoutError): method __init__ (line 390) | def __init__(self, message, long_msg=None): class InvalidExtensionSpecError (line 394) | class InvalidExtensionSpecError(DirectoryLayoutError): class ExtensionAlreadyInstalledError (line 398) | class ExtensionAlreadyInstalledError(DirectoryLayoutError): method __init__ (line 401) | def __init__(self, spec, ext_spec): class ExtensionConflictError (line 405) | class ExtensionConflictError(DirectoryLayoutError): method __init__ (line 408) | def __init__(self, spec, ext_spec, conflict): FILE: lib/spack/spack/enums.py class InstallRecordStatus (line 9) | class InstallRecordStatus(enum.Flag): class ConfigScopePriority (line 18) | class ConfigScopePriority(enum.IntEnum): class PropagationPolicy (line 30) | class PropagationPolicy(enum.Enum): FILE: lib/spack/spack/environment/depfile.py class UseBuildCache (line 22) | class UseBuildCache(Enum): method from_string (line 28) | def from_string(s: str) -> "UseBuildCache": function _deptypes (line 38) | def _deptypes(use_buildcache: UseBuildCache): class DepfileNode (line 46) | class DepfileNode: method __init__ (line 50) | def __init__( class DepfileSpecVisitor (line 63) | class DepfileSpecVisitor: method __init__ (line 72) | def __init__(self, pkg_buildcache: UseBuildCache, deps_buildcache: Use... method neighbors (line 79) | def neighbors(self, node): method accept (line 84) | def accept(self, node): class MakefileSpec (line 97) | class MakefileSpec(object): method __init__ (line 104) | def __init__(self, spec): method safe_name (line 107) | def safe_name(self): method spec_hash (line 110) | def spec_hash(self): method safe_format (line 113) | def safe_format(self, format_str): method unsafe_format (line 119) | def unsafe_format(self, format_str): class MakefileModel (line 123) | class MakefileModel: method __init__ (line 126) | def __init__( method _target (line 203) | def _target(self, name: str) -> str: method _install_target (line 213) | def _install_target(self, name: str) -> str: method _install_deps_target (line 216) | def _install_deps_target(self, name: str) -> str: method to_dict (line 219) | def to_dict(self): method empty (line 240) | def empty(self): method from_env (line 244) | def from_env( FILE: lib/spack/spack/environment/environment.py function env_root_path (line 100) | def env_root_path() -> str: function environment_name (line 107) | def environment_name(path: Union[str, pathlib.Path]) -> str: function ensure_no_disallowed_env_config_mods (line 129) | def ensure_no_disallowed_env_config_mods(scope: spack.config.ConfigScope... function default_manifest_yaml (line 140) | def default_manifest_yaml(): function installed_specs (line 192) | def installed_specs(): function valid_env_name (line 202) | def valid_env_name(name): function validate_env_name (line 206) | def validate_env_name(name): function activate (line 214) | def activate(env, use_env_repo=False): function deactivate (line 261) | def deactivate(): function active_environment (line 287) | def active_environment() -> Optional["Environment"]: function _root (line 292) | def _root(name): function root (line 297) | def root(name): function exists (line 303) | def exists(name): function active (line 308) | def active(name): function is_env_dir (line 313) | def is_env_dir(path): function as_env_dir (line 318) | def as_env_dir(name_or_dir): function environment_from_name_or_dir (line 329) | def environment_from_name_or_dir(name_or_dir): function read (line 334) | def read(name): function create (line 342) | def create( function create_in_dir (line 376) | def create_in_dir( function _rewrite_relative_dev_paths_on_relocation (line 447) | def _rewrite_relative_dev_paths_on_relocation(env, init_file_dir, copied... function _rewrite_relative_repos_paths_on_relocation (line 479) | def _rewrite_relative_repos_paths_on_relocation(env, init_file_dir, copi... function environment_dir_from_name (line 514) | def environment_dir_from_name(name: str, exists_ok: bool = True) -> str: function ensure_env_root_path_exists (line 532) | def ensure_env_root_path_exists(): function set_included_envs_to_env_paths (line 537) | def set_included_envs_to_env_paths(include_concrete: List[str]) -> None: function validate_included_envs_exists (line 551) | def validate_included_envs_exists(include_concrete: List[str]) -> None: function validate_included_envs_concrete (line 572) | def validate_included_envs_concrete(include_concrete: List[str]) -> None: function all_environment_names (line 598) | def all_environment_names(): function all_environments (line 625) | def all_environments(): function _read_yaml (line 631) | def _read_yaml(str_or_file): function _write_yaml (line 645) | def _write_yaml(data, str_or_file): function _is_dev_spec_and_has_changed (line 652) | def _is_dev_spec_and_has_changed(spec): function _error_on_nonempty_view_dir (line 671) | def _error_on_nonempty_view_dir(new_root): class ViewDescriptor (line 695) | class ViewDescriptor: method __init__ (line 696) | def __init__( method select_fn (line 720) | def select_fn(self, spec: Spec) -> bool: method exclude_fn (line 723) | def exclude_fn(self, spec: Spec) -> bool: method update_root (line 726) | def update_root(self, new_path: str) -> None: method __eq__ (line 730) | def __eq__(self, other: object) -> bool: method to_dict (line 742) | def to_dict(self): method from_dict (line 757) | def from_dict(base_path: str, d) -> "ViewDescriptor": method _current_root (line 770) | def _current_root(self) -> Optional[str]: method _next_root (line 781) | def _next_root(self, specs): method content_hash (line 787) | def content_hash(self, specs): method get_projection_for_spec (line 797) | def get_projection_for_spec(self, spec): method view (line 802) | def view(self, new: Optional[str] = None) -> fsv.SimpleFilesystemView: method _view (line 822) | def _view(self, root: str) -> fsv.SimpleFilesystemView: method __contains__ (line 832) | def __contains__(self, spec): method specs_for_view (line 849) | def specs_for_view(self, concrete_roots: List[Spec]) -> List[Spec]: method regenerate (line 869) | def regenerate(self, env: "Environment") -> None: method _exclude_duplicate_runtimes (line 976) | def _exclude_duplicate_runtimes(self, specs: List[Spec]) -> List[Spec]: function env_subdir_path (line 989) | def env_subdir_path(manifest_dir: Union[str, pathlib.Path]) -> str: class ConcretizedRootInfo (line 1000) | class ConcretizedRootInfo: method __init__ (line 1005) | def __init__( method __str__ (line 1013) | def __str__(self): method __eq__ (line 1016) | def __eq__(self, other: object) -> bool: method __hash__ (line 1025) | def __hash__(self) -> int: method from_info_dict (line 1029) | def from_info_dict(info_dict: Dict[str, str]) -> "ConcretizedRootInfo": class Environment (line 1039) | class Environment: method __init__ (line 1042) | def __init__(self, manifest_dir: Union[str, pathlib.Path]) -> None: method _load_manifest_file (line 1085) | def _load_manifest_file(self): method config_override_for_group (line 1093) | def config_override_for_group(self, *, group: str): method __getstate__ (line 1117) | def __getstate__(self): method __setstate__ (line 1125) | def __setstate__(self, state): method _re_read (line 1130) | def _re_read(self): method _read (line 1135) | def _read(self): method write_transaction (line 1146) | def write_transaction(self): method _process_view (line 1150) | def _process_view(self, env_view: Optional[Union[bool, str, Dict]]): method _load_concrete_include_data (line 1195) | def _load_concrete_include_data(self): method _process_included_lockfiles (line 1207) | def _process_included_lockfiles(self): method _construct_state_from_manifest (line 1251) | def _construct_state_from_manifest(self): method _sync_speclists (line 1258) | def _sync_speclists(self): method _user_specs_key (line 1275) | def _user_specs_key(self, *, group: Optional[str] = None) -> str: method user_specs (line 1281) | def user_specs(self) -> SpecList: method user_specs_by (line 1284) | def user_specs_by(self, *, group: Optional[str]) -> SpecList: method explicit_roots (line 1289) | def explicit_roots(self): method dev_specs (line 1295) | def dev_specs(self): method included_user_specs (line 1309) | def included_user_specs(self) -> SpecList: method clear (line 1328) | def clear(self): method active (line 1345) | def active(self): method manifest_path (line 1350) | def manifest_path(self): method _transaction_lock_path (line 1355) | def _transaction_lock_path(self): method lock_path (line 1362) | def lock_path(self): method _lock_backup_v1_path (line 1367) | def _lock_backup_v1_path(self): method repos_path (line 1372) | def repos_path(self): method view_path_default (line 1376) | def view_path_default(self) -> str: method repo (line 1381) | def repo(self): method scope_name (line 1387) | def scope_name(self): method include_concrete_envs (line 1391) | def include_concrete_envs(self): method destroy (line 1428) | def destroy(self): method add (line 1432) | def add(self, user_spec, list_name=USER_SPECS_KEY) -> bool: method change_existing_spec (line 1465) | def change_existing_spec( method remove (line 1517) | def remove(self, query_spec, list_name=USER_SPECS_KEY, force=False): method is_develop (line 1572) | def is_develop(self, spec): method apply_develop (line 1576) | def apply_develop(self, spec: spack.spec.Spec, path: Optional[str] = N... method mutate (line 1598) | def mutate( method concretize (line 1656) | def concretize( method sync_concretized_specs (line 1678) | def sync_concretized_specs(self) -> None: method _all_user_specs_with_group (line 1690) | def _all_user_specs_with_group(self) -> Set[Tuple[str, Spec]]: method clear_concretized_specs (line 1696) | def clear_concretized_specs(self) -> None: method deconcretize_by_hash (line 1701) | def deconcretize_by_hash(self, dag_hash: str) -> None: method deconcretize_by_user_spec (line 1706) | def deconcretize_by_user_spec( method _maybe_remove_dag_hash (line 1727) | def _maybe_remove_dag_hash(self, dag_hash: str): method user_spec_with_hash (line 1733) | def user_spec_with_hash(self, dag_hash: str) -> bool: method unify_specs (line 1737) | def unify_specs(self) -> None: method default_view (line 1744) | def default_view(self): method has_view (line 1750) | def has_view(self, view_name: str) -> bool: method update_default_view (line 1753) | def update_default_view(self, path_or_bool: Union[str, bool]) -> None: method delete_default_view (line 1800) | def delete_default_view(self) -> None: method regenerate_views (line 1813) | def regenerate_views(self): method check_views (line 1821) | def check_views(self): method _env_modifications_for_view (line 1839) | def _env_modifications_for_view( method add_view_to_env (line 1855) | def add_view_to_env( method rm_view_from_env (line 1877) | def rm_view_from_env( method add_concrete_spec (line 1895) | def add_concrete_spec( method _dev_specs_that_need_overwrite (line 1920) | def _dev_specs_that_need_overwrite(self): method _partition_roots_by_install_status (line 1946) | def _partition_roots_by_install_status(self): method uninstalled_specs (line 1955) | def uninstalled_specs(self): method install_all (line 1960) | def install_all(self, **install_args): method install_specs (line 1971) | def install_specs(self, specs: Optional[List[Spec]] = None, **install_... method all_specs_generator (line 2006) | def all_specs_generator(self) -> Iterable[Spec]: method all_specs (line 2010) | def all_specs(self) -> List[Spec]: method all_hashes (line 2014) | def all_hashes(self): method roots (line 2018) | def roots(self): method added_specs (line 2029) | def added_specs(self): method concretized_specs (line 2046) | def concretized_specs(self): method concretized_specs_from_all_included_environments (line 2053) | def concretized_specs_from_all_included_environments(self): method concretized_specs_from_included_environment (line 2058) | def concretized_specs_from_included_environment( method concrete_roots (line 2068) | def concrete_roots(self): method concretized_specs_by (line 2073) | def concretized_specs_by(self, *, group: str) -> Iterable[Tuple[Spec, ... method get_by_hash (line 2080) | def get_by_hash(self, dag_hash: str) -> List[Spec]: method get_one_by_hash (line 2093) | def get_one_by_hash(self, dag_hash): method all_matching_specs (line 2101) | def all_matching_specs(self, *specs: spack.spec.Spec) -> List[Spec]: method matching_spec (line 2110) | def matching_spec(self, spec): method removed_specs (line 2182) | def removed_specs(self): method _concrete_specs_dict (line 2196) | def _concrete_specs_dict(self): method _concrete_roots_dict (line 2212) | def _concrete_roots_dict(self): method has_groups (line 2220) | def has_groups(self) -> bool: method _to_lockfile_dict (line 2225) | def _to_lockfile_dict(self): method _read_lockfile (line 2260) | def _read_lockfile(self, file_or_json): method _set_included_env_roots (line 2266) | def _set_included_env_roots( method _read_lockfile_dict (line 2303) | def _read_lockfile_dict(self, d): method _filter_specs (line 2356) | def _filter_specs(self, reader, json_specs_by_hash, order_concretized): method write (line 2411) | def write(self, regenerate: bool = True) -> None: method update_lockfile (line 2442) | def update_lockfile(self) -> None: method ensure_env_directory_exists (line 2446) | def ensure_env_directory_exists(self, dot_env: bool = False) -> None: method update_environment_repository (line 2456) | def update_environment_repository(self) -> None: method _add_to_environment_repository (line 2465) | def _add_to_environment_repository(self, spec_node: Spec) -> None: method manifest_uptodate_or_warn (line 2477) | def manifest_uptodate_or_warn(self): method _default_view_as_yaml (line 2490) | def _default_view_as_yaml(self): method invalidate_repository_cache (line 2504) | def invalidate_repository_cache(self): method __enter__ (line 2507) | def __enter__(self): method __exit__ (line 2514) | def __exit__(self, exc_type, exc_val, exc_tb): function _is_uninstalled (line 2520) | def _is_uninstalled(spec): class ReusableSpecsFactory (line 2524) | class ReusableSpecsFactory: method __init__ (line 2527) | def __init__(self, *, env: Environment, group: str): method _const (line 2532) | def _const(specs: List[Spec]) -> Callable[[], List[Spec]]: method __call__ (line 2536) | def __call__( class EnvironmentConcretizer (line 2617) | class EnvironmentConcretizer: method __init__ (line 2618) | def __init__(self, env: Environment): method concretize (line 2621) | def concretize( method _concretize_single_group (line 2640) | def _concretize_single_group( method _prepare_environment_for_concretization (line 2672) | def _prepare_environment_for_concretization(self, *, force: bool): method _partition_user_specs (line 2683) | def _partition_user_specs( method _order_groups (line 2696) | def _order_groups(self) -> List[str]: method _user_spec_pairs (line 2730) | def _user_spec_pairs( method _concretize_together_where_possible (line 2740) | def _concretize_together_where_possible( method _concretize_together (line 2761) | def _concretize_together( method _concretize_separately (line 2799) | def _concretize_separately( function yaml_equivalent (line 2822) | def yaml_equivalent(first, second) -> bool: function _equiv_list (line 2839) | def _equiv_list(first, second): function _equiv_dict (line 2846) | def _equiv_dict(first, second): function display_specs (line 2858) | def display_specs(specs: List[spack.spec.Spec], *, highlight_non_default... function make_repo_path (line 2883) | def make_repo_path(root): function manifest_file (line 2892) | def manifest_file(env_name_or_dir): function update_yaml (line 2913) | def update_yaml(manifest, backup_file): function _top_level_key (line 2950) | def _top_level_key(data): function is_latest_format (line 2966) | def is_latest_format(manifest): function no_active_environment (line 2983) | def no_active_environment(): function initialize_environment_dir (line 2996) | def initialize_environment_dir( class EnvironmentManifestFile (line 3100) | class EnvironmentManifestFile(collections.abc.Mapping): method from_lockfile (line 3106) | def from_lockfile(manifest_dir: Union[pathlib.Path, str]) -> "Environm... method __init__ (line 3140) | def __init__(self, manifest_dir: Union[pathlib.Path, str], name: Optio... method _init_user_specs (line 3170) | def _init_user_specs(self): method _clear_user_specs (line 3197) | def _clear_user_specs(self) -> None: method _all_matches (line 3203) | def _all_matches(self, user_spec: str) -> List[str]: method user_specs (line 3223) | def user_specs(self, *, group: Optional[str] = None) -> List: method config_override (line 3227) | def config_override( method groups (line 3236) | def groups(self) -> KeysView: method needs (line 3240) | def needs(self, *, group: Optional[str] = None) -> Tuple[str, ...]: method is_explicit (line 3245) | def is_explicit(self, *, group: Optional[str] = None) -> bool: method _ensure_group_exists (line 3254) | def _ensure_group_exists(self, group: Optional[str]) -> str: method add_user_spec (line 3260) | def add_user_spec(self, user_spec: str, *, group: Optional[str] = None... method _get_group (line 3281) | def _get_group(self, group: str) -> Dict: method remove_user_spec (line 3300) | def remove_user_spec(self, user_spec: str) -> None: method clear (line 3318) | def clear(self) -> None: method override_user_spec (line 3324) | def override_user_spec(self, user_spec: str, idx: int) -> None: method set_include_concrete (line 3343) | def set_include_concrete(self, include_concrete: List[str]) -> None: method add_definition (line 3352) | def add_definition(self, user_spec: str, list_name: str) -> None: method remove_definition (line 3373) | def remove_definition(self, user_spec: str, list_name: str) -> None: method override_definition (line 3398) | def override_definition(self, user_spec: str, *, override: str, list_n... method _iterate_on_definitions (line 3425) | def _iterate_on_definitions(self, definitions, *, list_name, err_msg): method set_default_view (line 3446) | def set_default_view(self, view: Union[bool, str, pathlib.Path, Dict[s... method remove_default_view (line 3464) | def remove_default_view(self) -> None: method flush (line 3474) | def flush(self) -> None: method configuration (line 3484) | def configuration(self): method __len__ (line 3488) | def __len__(self): method __getitem__ (line 3491) | def __getitem__(self, key): method __iter__ (line 3494) | def __iter__(self): method __str__ (line 3497) | def __str__(self): method env_config_scope (line 3501) | def env_config_scope(self) -> spack.config.ConfigScope: method prepare_config_scope (line 3513) | def prepare_config_scope(self) -> None: method deactivate_config_scope (line 3519) | def deactivate_config_scope(self) -> None: method use_config (line 3524) | def use_config(self): function environment_path_scope (line 3532) | def environment_path_scope(name: str, path: str) -> Optional[spack.confi... class SpackEnvironmentError (line 3553) | class SpackEnvironmentError(spack.error.SpackError): class SpackEnvironmentViewError (line 3557) | class SpackEnvironmentViewError(SpackEnvironmentError): class SpackEnvironmentConfigError (line 3561) | class SpackEnvironmentConfigError(SpackEnvironmentError): method __init__ (line 3564) | def __init__(self, msg, filename): class SpackEnvironmentDevelopError (line 3568) | class SpackEnvironmentDevelopError(SpackEnvironmentError): FILE: lib/spack/spack/environment/list.py class SpecList (line 15) | class SpecList: method __init__ (line 16) | def __init__( method is_matrix (line 29) | def is_matrix(self): method specs_as_constraints (line 36) | def specs_as_constraints(self): method specs (line 49) | def specs(self) -> List[Spec]: method add (line 65) | def add(self, spec: Spec): method remove (line 77) | def remove(self, spec): method extend (line 99) | def extend(self, other: "SpecList", copy_reference=True) -> None: method __len__ (line 105) | def __len__(self): method __getitem__ (line 108) | def __getitem__(self, key): method __iter__ (line 111) | def __iter__(self): function _expand_matrix_constraints (line 115) | def _expand_matrix_constraints(matrix_config): function _sigilify (line 169) | def _sigilify(item, sigil): class Definition (line 178) | class Definition(NamedTuple): class SpecListParser (line 184) | class SpecListParser: method __init__ (line 187) | def __init__(self, *, toolchains=None): method parse_definitions (line 191) | def parse_definitions(self, *, data: List[Dict[str, Any]]) -> Dict[str... method parse_user_specs (line 201) | def parse_user_specs(self, *, name, yaml_list) -> SpecList: method _parse_yaml_definition (line 205) | def _parse_yaml_definition(self, yaml_entry) -> Definition: method _build_definitions (line 224) | def _build_definitions(self, definitions_from_yaml: Dict[str, List[Def... method _speclist_from_definitions (line 228) | def _speclist_from_definitions(self, name, definitions) -> SpecList: method _expand_yaml_list (line 242) | def _expand_yaml_list(self, raw_yaml_list): method _expand_reference (line 255) | def _expand_reference(self, item: str): method _expand_yaml_matrix (line 270) | def _expand_yaml_matrix(self, matrix_yaml): class SpecListError (line 289) | class SpecListError(SpackError): class UndefinedReferenceError (line 293) | class UndefinedReferenceError(SpecListError): class InvalidSpecConstraintError (line 297) | class InvalidSpecConstraintError(SpecListError): FILE: lib/spack/spack/environment/shell.py function activate_header (line 18) | def activate_header(env, shell, prompt=None, view: Optional[str] = None): function deactivate_header (line 101) | def deactivate_header(shell): function activate (line 155) | def activate( function deactivate (line 204) | def deactivate() -> EnvironmentModifications: FILE: lib/spack/spack/error.py class SpackAPIWarning (line 18) | class SpackAPIWarning(UserWarning): class SpackError (line 22) | class SpackError(Exception): method __init__ (line 27) | def __init__(self, message: str, long_message: Optional[str] = None) -... method long_message (line 43) | def long_message(self): method print_context (line 46) | def print_context(self): method die (line 76) | def die(self): method __str__ (line 80) | def __str__(self): method __repr__ (line 85) | def __repr__(self): method __reduce__ (line 89) | def __reduce__(self): class UnsupportedPlatformError (line 93) | class UnsupportedPlatformError(SpackError): method __init__ (line 96) | def __init__(self, message): class NoLibrariesError (line 100) | class NoLibrariesError(SpackError): method __init__ (line 103) | def __init__(self, message_or_name, prefix=None): class NoHeadersError (line 111) | class NoHeadersError(SpackError): class SpecError (line 115) | class SpecError(SpackError): class UnsatisfiableSpecError (line 119) | class UnsatisfiableSpecError(SpecError): method __init__ (line 127) | def __init__(self, provided, required, constraint_type): class FetchError (line 136) | class FetchError(SpackError): class NoSuchPatchError (line 140) | class NoSuchPatchError(SpackError): class PatchDirectiveError (line 144) | class PatchDirectiveError(SpackError): class PatchLookupError (line 148) | class PatchLookupError(NoSuchPatchError): class SpecSyntaxError (line 152) | class SpecSyntaxError(Exception): class PackageError (line 156) | class PackageError(SpackError): method __init__ (line 159) | def __init__(self, message, long_msg=None): class NoURLError (line 163) | class NoURLError(PackageError): method __init__ (line 166) | def __init__(self, cls): class InstallError (line 170) | class InstallError(SpackError): method __init__ (line 177) | def __init__(self, message, long_msg=None, pkg=None): class ConfigError (line 182) | class ConfigError(SpackError): class StopPhase (line 186) | class StopPhase(SpackError): method __reduce__ (line 189) | def __reduce__(self): function _make_stop_phase (line 193) | def _make_stop_phase(msg, long_msg): class MirrorError (line 197) | class MirrorError(SpackError): method __init__ (line 200) | def __init__(self, msg, long_msg=None): class NoChecksumException (line 204) | class NoChecksumException(SpackError): method __init__ (line 209) | def __init__(self, path, size, contents, algorithm, expected, computed): class CompilerError (line 217) | class CompilerError(SpackError): class SpecFilenameError (line 221) | class SpecFilenameError(SpecError): class NoSuchSpecFileError (line 225) | class NoSuchSpecFileError(SpecFilenameError): FILE: lib/spack/spack/extensions.py function _python_name (line 25) | def _python_name(cmd_name): function extension_name (line 29) | def extension_name(path): function load_command_extension (line 48) | def load_command_extension(command, path): function ensure_extension_loaded (line 84) | def ensure_extension_loaded(extension, *, path): function load_extension (line 111) | def load_extension(name: str) -> str: function get_extension_paths (line 128) | def get_extension_paths(): function extension_paths_from_entry_points (line 137) | def extension_paths_from_entry_points() -> List[str]: function get_command_paths (line 166) | def get_command_paths(): function path_for_extension (line 178) | def path_for_extension(target_name: str, *, paths: List[str]) -> str: function get_module (line 196) | def get_module(cmd_name): function get_template_dirs (line 214) | def get_template_dirs(): class ExtensionNamingError (line 223) | class ExtensionNamingError(spack.error.SpackError): method __init__ (line 228) | def __init__(self, path): FILE: lib/spack/spack/externals.py class DependencyDict (line 33) | class DependencyDict(TypedDict, total=False): class ExternalDict (line 40) | class ExternalDict(TypedDict, total=False): function node_from_dict (line 57) | def node_from_dict(external_dict: ExternalDict) -> spack.spec.Spec: function complete_architecture (line 77) | def complete_architecture(node: spack.spec.Spec) -> None: function complete_variants_and_architecture (line 96) | def complete_variants_and_architecture(node: spack.spec.Spec) -> None: function extract_dicts_from_configuration (line 131) | def extract_dicts_from_configuration(packages_yaml) -> List[ExternalDict]: function _line_info (line 152) | def _line_info(config_dict: Any) -> str: function _required_target (line 160) | def _required_target(entry) -> str: class ExternalSpecAndConfig (line 186) | class ExternalSpecAndConfig(NamedTuple): class ExternalSpecsParser (line 191) | class ExternalSpecsParser: method __init__ (line 194) | def __init__( method _parse (line 222) | def _parse(self) -> None: method _create_edges (line 233) | def _create_edges(self): method _ensure_dependencies_have_single_id (line 288) | def _ensure_dependencies_have_single_id(self): method _parse_all_nodes (line 347) | def _parse_all_nodes(self) -> None: method get_specs_for_package (line 404) | def get_specs_for_package(self, package_name: str) -> List[spack.spec.... method all_specs (line 409) | def all_specs(self) -> List[spack.spec.Spec]: method query (line 413) | def query(self, query: Union[str, spack.spec.Spec]) -> List[spack.spec... function external_spec (line 422) | def external_spec(config: ExternalDict) -> spack.spec.Spec: class DuplicateExternalError (line 427) | class DuplicateExternalError(SpackError): class ExternalDependencyError (line 431) | class ExternalDependencyError(SpackError): class ExternalSpecError (line 435) | class ExternalSpecError(SpackError): FILE: lib/spack/spack/fetch_strategy.py function _needs_stage (line 65) | def _needs_stage(fun): function _ensure_one_stage_entry (line 78) | def _ensure_one_stage_entry(stage_path): function fetcher (line 85) | def fetcher(cls): class FetchStrategy (line 91) | class FetchStrategy: method __init__ (line 104) | def __init__(self, **kwargs): method set_package (line 115) | def set_package(self, package): method fetch (line 119) | def fetch(self): method check (line 126) | def check(self): method expand (line 129) | def expand(self): method reset (line 132) | def reset(self): method archive (line 138) | def archive(self, destination): method cachable (line 147) | def cachable(self): method source_id (line 157) | def source_id(self): method mirror_id (line 168) | def mirror_id(self): method __str__ (line 177) | def __str__(self): # Should be human readable URL. method matches (line 181) | def matches(cls, args): class BundleFetchStrategy (line 192) | class BundleFetchStrategy(FetchStrategy): method fetch (line 209) | def fetch(self): method cachable (line 214) | def cachable(self): method source_id (line 218) | def source_id(self): method mirror_id (line 222) | def mirror_id(self): function _format_speed (line 226) | def _format_speed(total_bytes: int, elapsed: float) -> str: function _format_bytes (line 239) | def _format_bytes(total_bytes: int) -> str: class FetchProgress (line 250) | class FetchProgress: method __init__ (line 254) | def __init__( method from_headers (line 283) | def from_headers( method advance (line 298) | def advance(self, num_bytes: int, out=sys.stdout) -> None: method print (line 304) | def print(self, final: bool = False, out=sys.stdout) -> None: class URLFetchStrategy (line 335) | class URLFetchStrategy(FetchStrategy): method __init__ (line 348) | def __init__(self, *, url: str, checksum: Optional[str] = None, **kwar... method curl (line 368) | def curl(self) -> Executable: method source_id (line 373) | def source_id(self): method mirror_id (line 376) | def mirror_id(self): method candidate_urls (line 385) | def candidate_urls(self): method fetch (line 389) | def fetch(self): method _fetch_from_url (line 409) | def _fetch_from_url(self, url): method _check_headers (line 416) | def _check_headers(self, headers): method _fetch_urllib (line 431) | def _fetch_urllib(self, url, chunk_size=65536, retries=5): method _fetch_curl (line 480) | def _fetch_curl(self, url, config_args=[]): method archive_file (line 536) | def archive_file(self): method cachable (line 541) | def cachable(self): method expand (line 545) | def expand(self): method archive (line 580) | def archive(self, destination): method check (line 590) | def check(self): method reset (line 599) | def reset(self): method __repr__ (line 618) | def __repr__(self): method __str__ (line 621) | def __str__(self): class CacheURLFetchStrategy (line 626) | class CacheURLFetchStrategy(URLFetchStrategy): method fetch (line 630) | def fetch(self): class OCIRegistryFetchStrategy (line 658) | class OCIRegistryFetchStrategy(URLFetchStrategy): method __init__ (line 659) | def __init__(self, *, url: str, checksum: Optional[str] = None, **kwar... method fetch (line 665) | def fetch(self): class VCSFetchStrategy (line 685) | class VCSFetchStrategy(FetchStrategy): method __init__ (line 698) | def __init__(self, **kwargs): method check (line 710) | def check(self): method expand (line 714) | def expand(self): method archive (line 718) | def archive(self, destination, *, exclude: Optional[str] = None): method __str__ (line 734) | def __str__(self): method __repr__ (line 737) | def __repr__(self): class GoFetchStrategy (line 742) | class GoFetchStrategy(VCSFetchStrategy): method __init__ (line 757) | def __init__(self, **kwargs): method go_version (line 767) | def go_version(self): method go (line 772) | def go(self): method fetch (line 778) | def fetch(self): method archive (line 790) | def archive(self, destination): method expand (line 794) | def expand(self): method reset (line 802) | def reset(self): method __str__ (line 806) | def __str__(self): class GitFetchStrategy (line 811) | class GitFetchStrategy(VCSFetchStrategy): method __init__ (line 843) | def __init__(self, **kwargs): method git_version (line 865) | def git_version(self): method version_from_git (line 869) | def version_from_git(git_exe): method git (line 877) | def git(self): method cachable (line 898) | def cachable(self): method source_id (line 901) | def source_id(self): method mirror_id (line 906) | def mirror_id(self): method _repo_info (line 922) | def _repo_info(self): method fetch (line 934) | def fetch(self): method bare_clone (line 942) | def bare_clone(self, dest: str) -> None: method _clone_src (line 962) | def _clone_src(self) -> None: method submodule_operations (line 1000) | def submodule_operations(self): method reset (line 1035) | def reset(self): method __str__ (line 1046) | def __str__(self): class CvsFetchStrategy (line 1051) | class CvsFetchStrategy(VCSFetchStrategy): method __init__ (line 1071) | def __init__(self, **kwargs): method cvs (line 1085) | def cvs(self): method cachable (line 1091) | def cachable(self): method source_id (line 1094) | def source_id(self): method mirror_id (line 1105) | def mirror_id(self): method fetch (line 1123) | def fetch(self): method _remove_untracked_files (line 1145) | def _remove_untracked_files(self): method archive (line 1155) | def archive(self, destination): method reset (line 1159) | def reset(self): method __str__ (line 1164) | def __str__(self): class SvnFetchStrategy (line 1169) | class SvnFetchStrategy(VCSFetchStrategy): method __init__ (line 1185) | def __init__(self, **kwargs): method svn (line 1197) | def svn(self): method cachable (line 1203) | def cachable(self): method source_id (line 1206) | def source_id(self): method mirror_id (line 1209) | def mirror_id(self): method fetch (line 1216) | def fetch(self): method _remove_untracked_files (line 1234) | def _remove_untracked_files(self): method archive (line 1248) | def archive(self, destination): method reset (line 1252) | def reset(self): method __str__ (line 1257) | def __str__(self): class HgFetchStrategy (line 1262) | class HgFetchStrategy(VCSFetchStrategy): method __init__ (line 1286) | def __init__(self, **kwargs): method hg (line 1296) | def hg(self): method cachable (line 1312) | def cachable(self): method source_id (line 1315) | def source_id(self): method mirror_id (line 1318) | def mirror_id(self): method fetch (line 1325) | def fetch(self): method archive (line 1351) | def archive(self, destination): method reset (line 1355) | def reset(self): method __str__ (line 1369) | def __str__(self): class S3FetchStrategy (line 1374) | class S3FetchStrategy(URLFetchStrategy): method fetch (line 1380) | def fetch(self): class GCSFetchStrategy (line 1396) | class GCSFetchStrategy(URLFetchStrategy): method fetch (line 1402) | def fetch(self): class FetchAndVerifyExpandedFile (line 1420) | class FetchAndVerifyExpandedFile(URLFetchStrategy): method __init__ (line 1424) | def __init__(self, url, archive_sha256: str, expanded_sha256: str): method expand (line 1428) | def expand(self): function verify_checksum (line 1446) | def verify_checksum(file: str, digest: str, url: str, effective_url: Opt... function stable_target (line 1463) | def stable_target(fetcher): function from_url (line 1472) | def from_url(url: str) -> URLFetchStrategy: function from_kwargs (line 1481) | def from_kwargs(**kwargs) -> FetchStrategy: function check_pkg_attributes (line 1502) | def check_pkg_attributes(pkg): function _check_version_attributes (line 1522) | def _check_version_attributes(fetcher, pkg, version): function _extrapolate (line 1544) | def _extrapolate(pkg, version): function _from_merged_attrs (line 1555) | def _from_merged_attrs(fetcher, pkg, version): function for_package_version (line 1578) | def for_package_version(pkg, version=None): function _for_package_version (line 1590) | def _for_package_version(pkg, version=None): function from_url_scheme (line 1704) | def from_url_scheme(url: str, **kwargs) -> FetchStrategy: function from_list_url (line 1728) | def from_list_url(pkg): class FsCache (line 1763) | class FsCache: method __init__ (line 1764) | def __init__(self, root): method store (line 1767) | def store(self, fetcher, relative_dest): method fetcher (line 1780) | def fetcher(self, target_path: str, digest: Optional[str], **kwargs) -... method destroy (line 1785) | def destroy(self): class NoCacheError (line 1789) | class NoCacheError(spack.error.FetchError): class FailedDownloadError (line 1793) | class FailedDownloadError(spack.error.FetchError): method __init__ (line 1796) | def __init__(self, *exceptions: Exception): class NoArchiveFileError (line 1801) | class NoArchiveFileError(spack.error.FetchError): class NoDigestError (line 1805) | class NoDigestError(spack.error.FetchError): class ExtrapolationError (line 1809) | class ExtrapolationError(spack.error.FetchError): class FetcherConflict (line 1813) | class FetcherConflict(spack.error.FetchError): class InvalidArgsError (line 1817) | class InvalidArgsError(spack.error.FetchError): method __init__ (line 1820) | def __init__(self, pkg=None, version=None, **args): class ChecksumError (line 1830) | class ChecksumError(spack.error.FetchError): class NoStageError (line 1834) | class NoStageError(spack.error.FetchError): method __init__ (line 1837) | def __init__(self, method): FILE: lib/spack/spack/filesystem_view.py function view_symlink (line 56) | def view_symlink(src: str, dst: str, *args, **kwargs) -> None: function view_hardlink (line 60) | def view_hardlink(src: str, dst: str, *args, **kwargs) -> None: function view_copy (line 64) | def view_copy( function canonicalize_link_type (line 124) | def canonicalize_link_type(link_type: LinkType) -> CanonicalLinkType: function function_for_link_type (line 134) | def function_for_link_type(link_type: LinkType) -> LinkCallbackType: class FilesystemView (line 146) | class FilesystemView: method __init__ (line 159) | def __init__( method link (line 186) | def link(self, src: str, dst: str, spec: Optional[spack.spec.Spec] = N... method add_specs (line 189) | def add_specs(self, *specs: spack.spec.Spec, **kwargs) -> None: method add_standalone (line 204) | def add_standalone(self, spec: spack.spec.Spec) -> bool: method check_added (line 210) | def check_added(self, spec: spack.spec.Spec) -> bool: method remove_specs (line 216) | def remove_specs(self, *specs: spack.spec.Spec, **kwargs) -> None: method remove_standalone (line 235) | def remove_standalone(self, spec: spack.spec.Spec) -> None: method get_projection_for_spec (line 241) | def get_projection_for_spec(self, spec: spack.spec.Spec) -> str: method get_all_specs (line 247) | def get_all_specs(self) -> List[spack.spec.Spec]: method get_spec (line 253) | def get_spec(self, spec: spack.spec.Spec) -> Optional[spack.spec.Spec]: method print_status (line 267) | def print_status(self, *specs: spack.spec.Spec, **kwargs) -> None: class YamlFilesystemView (line 281) | class YamlFilesystemView(FilesystemView): method __init__ (line 286) | def __init__( method write_projections (line 325) | def write_projections(self): method read_projections (line 331) | def read_projections(self): method add_specs (line 340) | def add_specs(self, *specs, **kwargs): method add_standalone (line 360) | def add_standalone(self, spec): method merge (line 377) | def merge(self, spec, ignore=None): method unmerge (line 402) | def unmerge(self, spec, ignore=None): method remove_files (line 418) | def remove_files(self, files): method check_added (line 456) | def check_added(self, spec): method remove_specs (line 460) | def remove_specs(self, *specs, **kwargs): method remove_standalone (line 521) | def remove_standalone(self, spec): method get_projection_for_spec (line 535) | def get_projection_for_spec(self, spec): method get_all_specs (line 552) | def get_all_specs(self): method get_conflicts (line 570) | def get_conflicts(self, *specs): method get_path_meta_folder (line 578) | def get_path_meta_folder(self, spec): method get_spec (line 586) | def get_spec(self, spec): method link_meta_folder (line 592) | def link_meta_folder(self, spec): method print_conflict (line 600) | def print_conflict(self, spec_active, spec_specified, level="error"): method print_status (line 612) | def print_status(self, *specs, **kwargs): method _purge_empty_directories (line 665) | def _purge_empty_directories(self): method _purge_broken_links (line 668) | def _purge_broken_links(self): method clean (line 671) | def clean(self): method unlink_meta_folder (line 675) | def unlink_meta_folder(self, spec): class SimpleFilesystemView (line 681) | class SimpleFilesystemView(FilesystemView): method _sanity_check_view_projection (line 685) | def _sanity_check_view_projection(self, specs): method add_specs (line 699) | def add_specs(self, *specs, **kwargs) -> None: method _source_merge_visitor_to_merge_map (line 757) | def _source_merge_visitor_to_merge_map(self, visitor: SourceMergeVisit... method relative_metadata_dir_for_spec (line 773) | def relative_metadata_dir_for_spec(self, spec): method link_metadata (line 780) | def link_metadata(self, specs): method get_relative_projection_for_spec (line 808) | def get_relative_projection_for_spec(self, spec): method get_projection_for_spec (line 816) | def get_projection_for_spec(self, spec): function get_spec_from_file (line 836) | def get_spec_from_file(filename) -> Optional[spack.spec.Spec]: function colorize_root (line 844) | def colorize_root(root): function colorize_spec (line 850) | def colorize_spec(spec): function find_dependents (line 858) | def find_dependents(all_specs, providers, deptype="run"): function filter_exclude (line 871) | def filter_exclude(specs, exclude): function get_dependencies (line 884) | def get_dependencies(specs): class ConflictingProjectionsError (line 891) | class ConflictingProjectionsError(SpackError): function is_folder_on_case_insensitive_filesystem (line 895) | def is_folder_on_case_insensitive_filesystem(path: str) -> bool: FILE: lib/spack/spack/graph.py function find (line 53) | def find(seq, predicate): class _GraphLineState (line 67) | class _GraphLineState(enum.Enum): class AsciiGraph (line 77) | class AsciiGraph: method __init__ (line 78) | def __init__(self): method _indent (line 98) | def _indent(self): method _write_edge (line 101) | def _write_edge(self, string, index, sub=0): method _connect_deps (line 110) | def _connect_deps(self, i, deps, label=None): method _set_state (line 166) | def _set_state(self, state, index, label=None): method _back_edge_line (line 176) | def _back_edge_line(self, prev_ends, end, start, collapse, label=None): method _node_label (line 250) | def _node_label(self, node): method _node_line (line 253) | def _node_line(self, index, node): method _collapse_line (line 268) | def _collapse_line(self, index): method _merge_right_line (line 279) | def _merge_right_line(self, index): method _expand_right_line (line 292) | def _expand_right_line(self, index): method write (line 306) | def write(self, spec, color=None, out=None): function graph_ascii (line 430) | def graph_ascii( class DotGraphBuilder (line 442) | class DotGraphBuilder: method __init__ (line 445) | def __init__(self): method visit (line 449) | def visit(self, edge: spack.spec.DependencySpec): method node_entry (line 459) | def node_entry(self, node: spack.spec.Spec) -> Tuple[str, str]: method edge_entry (line 463) | def edge_entry(self, edge: spack.spec.DependencySpec) -> Tuple[str, st... method context (line 467) | def context(self): method render (line 472) | def render(self) -> str: class SimpleDAG (line 479) | class SimpleDAG(DotGraphBuilder): method node_entry (line 482) | def node_entry(self, node): method edge_entry (line 486) | def edge_entry(self, edge): class StaticDag (line 490) | class StaticDag(DotGraphBuilder): method node_entry (line 493) | def node_entry(self, node): method edge_entry (line 496) | def edge_entry(self, edge): class DAGWithDependencyTypes (line 500) | class DAGWithDependencyTypes(DotGraphBuilder): method __init__ (line 505) | def __init__(self): method visit (line 509) | def visit(self, edge): method node_entry (line 515) | def node_entry(self, node): method edge_entry (line 522) | def edge_entry(self, edge): function _static_edges (line 536) | def _static_edges(specs, depflag): function static_graph_dot (line 552) | def static_graph_dot( function graph_dot (line 569) | def graph_dot( FILE: lib/spack/spack/hash_types.py class SpecHashDescriptor (line 15) | class SpecHashDescriptor: method __init__ (line 27) | def __init__( method __call__ (line 41) | def __call__(self, spec: "spack.spec.Spec") -> str: method __repr__ (line 45) | def __repr__(self) -> str: function _content_hash_override (line 58) | def _content_hash_override(spec: "spack.spec.Spec") -> str: FILE: lib/spack/spack/hooks/__init__.py class _HookRunner (line 28) | class _HookRunner: method __init__ (line 48) | def __init__(self, hook_name): method hooks (line 52) | def hooks(self) -> List[types.ModuleType]: method __call__ (line 57) | def __call__(self, *args, **kwargs): FILE: lib/spack/spack/hooks/absolutify_elf_sonames.py function is_shared_library_elf (line 16) | def is_shared_library_elf(filepath): class SharedLibrariesVisitor (line 32) | class SharedLibrariesVisitor(BaseDirectoryVisitor): method __init__ (line 36) | def __init__(self, exclude_list): method visit_file (line 47) | def visit_file(self, root, rel_path, depth): method visit_symlinked_file (line 65) | def visit_symlinked_file(self, root, rel_path, depth): method before_visit_dir (line 83) | def before_visit_dir(self, root, rel_path, depth): method before_visit_symlinked_dir (line 88) | def before_visit_symlinked_dir(self, root, rel_path, depth): method get_shared_libraries_relative_paths (line 94) | def get_shared_libraries_relative_paths(self): function patch_sonames (line 103) | def patch_sonames(patchelf, root, rel_paths): function find_and_patch_sonames (line 120) | def find_and_patch_sonames(prefix, exclude_list, patchelf): function post_install (line 131) | def post_install(spec, explicit=None): FILE: lib/spack/spack/hooks/autopush.py function post_install (line 10) | def post_install(spec, explicit): FILE: lib/spack/spack/hooks/drop_redundant_rpaths.py function should_keep (line 13) | def should_keep(path: bytes) -> bool: function _drop_redundant_rpaths (line 19) | def _drop_redundant_rpaths(f: BinaryIO) -> Optional[Tuple[bytes, bytes]]: function drop_redundant_rpaths (line 60) | def drop_redundant_rpaths(path: str) -> Optional[Tuple[bytes, bytes]]: class ElfFilesWithRPathVisitor (line 76) | class ElfFilesWithRPathVisitor(BaseDirectoryVisitor): method __init__ (line 79) | def __init__(self): method visit_file (line 83) | def visit_file(self, root, rel_path, depth): method visit_symlinked_file (line 100) | def visit_symlinked_file(self, root, rel_path, depth): method before_visit_dir (line 103) | def before_visit_dir(self, root, rel_path, depth): method before_visit_symlinked_dir (line 107) | def before_visit_symlinked_dir(self, root, rel_path, depth): function post_install (line 112) | def post_install(spec, explicit=None): FILE: lib/spack/spack/hooks/licensing.py function pre_install (line 12) | def pre_install(spec): function set_up_license (line 19) | def set_up_license(pkg): function write_license_file (line 64) | def write_license_file(pkg, license_path): function post_install (line 140) | def post_install(spec, explicit=None): function symlink_license (line 149) | def symlink_license(pkg): FILE: lib/spack/spack/hooks/module_file_generation.py function _for_each_enabled (line 13) | def _for_each_enabled( function post_install (line 34) | def post_install(spec, explicit: bool): function post_uninstall (line 38) | def post_uninstall(spec): FILE: lib/spack/spack/hooks/permissions_setters.py function post_install (line 10) | def post_install(spec, explicit=None): FILE: lib/spack/spack/hooks/resolve_shared_libraries.py function post_install (line 14) | def post_install(spec, explicit): class CannotLocateSharedLibraries (line 40) | class CannotLocateSharedLibraries(spack.error.SpackError): FILE: lib/spack/spack/hooks/sbang.py function sbang_install_path (line 53) | def sbang_install_path(): function sbang_shebang_line (line 68) | def sbang_shebang_line(): function get_interpreter (line 80) | def get_interpreter(binary_string): function filter_shebang (line 87) | def filter_shebang(path): function filter_shebangs_in_directory (line 169) | def filter_shebangs_in_directory(directory, filenames=None): function install_sbang (line 192) | def install_sbang(): function post_install (line 236) | def post_install(spec, explicit=None): class SbangPathError (line 253) | class SbangPathError(spack.error.SpackError): FILE: lib/spack/spack/hooks/windows_runtime_linkage.py function post_install (line 6) | def post_install(spec, explicit=None): FILE: lib/spack/spack/hooks/write_install_manifest.py function post_install (line 8) | def post_install(spec, explicit=None): FILE: lib/spack/spack/install_test.py class TestStatus (line 60) | class TestStatus(enum.Enum): method __str__ (line 68) | def __str__(self): method lower (line 71) | def lower(self): function get_escaped_text_output (line 76) | def get_escaped_text_output(filename: str) -> List[str]: function get_test_stage_dir (line 94) | def get_test_stage_dir() -> str: function cache_extra_test_sources (line 106) | def cache_extra_test_sources(pkg: "spack.package_base.PackageBase", srcs... function check_outputs (line 147) | def check_outputs(expected: Union[list, set, str], actual: str): function find_required_file (line 166) | def find_required_file( function install_test_root (line 201) | def install_test_root(pkg: "spack.package_base.PackageBase") -> str: function print_message (line 206) | def print_message(logger: LogType, msg: str, verbose: bool = False): function overall_status (line 222) | def overall_status(current_status: "TestStatus", substatuses: List["Test... class PackageTest (line 247) | class PackageTest: method __init__ (line 250) | def __init__(self, pkg: "spack.package_base.PackageBase") -> None: method logger (line 284) | def logger(self) -> Optional[LogType]: method test_logger (line 292) | def test_logger(self, verbose: bool = False, externals: bool = False): method archived_install_test_log (line 321) | def archived_install_test_log(self) -> str: method archive_install_test_log (line 324) | def archive_install_test_log(self, dest_dir: str): method add_failure (line 328) | def add_failure(self, exception: Exception, msg: str): method status (line 332) | def status(self, name: str, status: "TestStatus", msg: Optional[str] =... method phase_tests (line 353) | def phase_tests(self, builder, phase_name: str, method_names: List[str]): method stand_alone_tests (line 394) | def stand_alone_tests(self, kwargs, timeout: Optional[int] = None) -> ... method parts (line 407) | def parts(self) -> int: method print_log_path (line 417) | def print_log_path(self): method ran_tests (line 428) | def ran_tests(self) -> bool: method summarize (line 432) | def summarize(self): method write_tested_status (line 445) | def write_tested_status(self): function test_part (line 467) | def test_part( function copy_test_files (line 532) | def copy_test_files(pkg: "spack.package_base.PackageBase", test_spec: sp... function test_function_names (line 573) | def test_function_names(pkg: "PackageObjectOrClass", add_virtuals: bool ... function test_functions (line 591) | def test_functions( function process_test_parts (line 628) | def process_test_parts( function test_process (line 706) | def test_process(pkg: "spack.package_base.PackageBase", kwargs): function virtuals (line 731) | def virtuals(pkg): function get_all_test_suites (line 752) | def get_all_test_suites(): function get_named_test_suites (line 776) | def get_named_test_suites(name): function get_test_suite (line 792) | def get_test_suite(name: str) -> Optional["TestSuite"]: function write_test_suite_file (line 810) | def write_test_suite_file(suite): function write_test_summary (line 816) | def write_test_summary(counts: "Counter"): class TestSuite (line 834) | class TestSuite: method __init__ (line 837) | def __init__(self, specs: Iterable[Spec], alias: Optional[str] = None)... method name (line 853) | def name(self) -> str: method content_hash (line 858) | def content_hash(self) -> str: method __call__ (line 869) | def __call__( method test_status (line 961) | def test_status(self, spec: spack.spec.Spec, externals: bool) -> TestS... method ensure_stage (line 983) | def ensure_stage(self) -> None: method stage (line 989) | def stage(self) -> Prefix: method stage (line 996) | def stage(self, value: Union[Prefix, str]) -> None: method results_file (line 1001) | def results_file(self) -> Prefix: method test_pkg_id (line 1006) | def test_pkg_id(cls, spec: Spec) -> str: method test_log_name (line 1015) | def test_log_name(cls, spec: Spec) -> str: method log_file_for_spec (line 1023) | def log_file_for_spec(self, spec: Spec) -> Prefix: method test_dir_for_spec (line 1031) | def test_dir_for_spec(self, spec: Spec) -> Prefix: method tested_file_name (line 1040) | def tested_file_name(cls, spec: Spec) -> str: method tested_file_for_spec (line 1048) | def tested_file_for_spec(self, spec: Spec) -> str: method current_test_cache_dir (line 1057) | def current_test_cache_dir(self) -> str: method current_test_data_dir (line 1072) | def current_test_data_dir(self) -> str: method write_test_result (line 1086) | def write_test_result(self, spec: Spec, result: TestStatus) -> None: method write_reproducibility_data (line 1096) | def write_reproducibility_data(self) -> None: method to_dict (line 1110) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 1126) | def from_dict(d): method from_file (line 1141) | def from_file(filename: str) -> "TestSuite": function _add_msg_to_file (line 1163) | def _add_msg_to_file(filename, msg): class SkipTest (line 1174) | class SkipTest(Exception): class TestFailure (line 1178) | class TestFailure(spack.error.SpackError): method __init__ (line 1181) | def __init__(self, failures: List[TestFailureType]): class TestSuiteError (line 1192) | class TestSuiteError(spack.error.SpackError): class TestSuiteFailure (line 1196) | class TestSuiteFailure(spack.error.SpackError): method __init__ (line 1199) | def __init__(self, num_failures): class TestSuiteSpecError (line 1205) | class TestSuiteSpecError(spack.error.SpackError): class TestSuiteNameError (line 1209) | class TestSuiteNameError(spack.error.SpackError): FILE: lib/spack/spack/installer.py class BuildStatus (line 86) | class BuildStatus(enum.Enum): method __str__ (line 109) | def __str__(self): function _write_timer_json (line 113) | def _write_timer_json(pkg, timer, cache): class ExecuteResult (line 123) | class ExecuteResult(enum.Enum): class InstallAction (line 135) | class InstallAction(enum.Enum): class InstallStatus (line 144) | class InstallStatus: method __init__ (line 145) | def __init__(self, pkg_count: int): method next_pkg (line 151) | def next_pkg(self, pkg: "spack.package_base.PackageBase"): method set_term_title (line 158) | def set_term_title(self, text: str): method get_progress (line 169) | def get_progress(self) -> str: class TermStatusLine (line 173) | class TermStatusLine: method __init__ (line 179) | def __init__(self, enabled: bool): method add (line 184) | def add(self, pkg_id: str): method clear (line 194) | def clear(self): function _check_last_phase (line 213) | def _check_last_phase(pkg: "spack.package_base.PackageBase") -> None: function _handle_external_and_upstream (line 235) | def _handle_external_and_upstream(pkg: "spack.package_base.PackageBase",... function _do_fake_install (line 268) | def _do_fake_install(pkg: "spack.package_base.PackageBase") -> None: function _hms (line 303) | def _hms(seconds: int) -> str: function _log_prefix (line 325) | def _log_prefix(pkg_name) -> str: function _print_installed_pkg (line 332) | def _print_installed_pkg(message: str) -> None: function print_install_test_log (line 343) | def print_install_test_log(pkg: "spack.package_base.PackageBase") -> None: function _print_timer (line 356) | def _print_timer(pre: str, pkg_id: str, timer: timer.BaseTimer) -> None: function _install_from_cache (line 362) | def _install_from_cache( function _process_external_package (line 394) | def _process_external_package(pkg: "spack.package_base.PackageBase", exp... function _process_binary_cache_tarball (line 435) | def _process_binary_cache_tarball( function _try_install_from_binary_cache (line 483) | def _try_install_from_binary_cache( function combine_phase_logs (line 512) | def combine_phase_logs(phase_log_files: List[str], log_path: str) -> None: function dump_packages (line 530) | def dump_packages(spec: "spack.spec.Spec", path: str) -> None: function get_dependent_ids (line 589) | def get_dependent_ids(spec: "spack.spec.Spec") -> List[str]: function install_msg (line 601) | def install_msg(name: str, pid: int, install_status: InstallStatus) -> str: function archive_install_logs (line 620) | def archive_install_logs(pkg: "spack.package_base.PackageBase", phase_lo... function log (line 638) | def log(pkg: "spack.package_base.PackageBase") -> None: function package_id (line 708) | def package_id(spec: "spack.spec.Spec") -> str: class BuildRequest (line 726) | class BuildRequest: method __init__ (line 729) | def __init__(self, pkg: "spack.package_base.PackageBase", install_args... method __repr__ (line 769) | def __repr__(self) -> str: method __str__ (line 776) | def __str__(self) -> str: method _add_default_args (line 780) | def _add_default_args(self) -> None: method get_depflags (line 802) | def get_depflags(self, pkg: "spack.package_base.PackageBase") -> int: method has_dependency (line 831) | def has_dependency(self, dep_id) -> bool: method run_tests (line 836) | def run_tests(self, pkg: "spack.package_base.PackageBase") -> bool: method spec (line 849) | def spec(self) -> "spack.spec.Spec": method traverse_dependencies (line 853) | def traverse_dependencies(self, spec=None, visited=None) -> Iterator["... class Task (line 874) | class Task: method __init__ (line 881) | def __init__( method start (line 988) | def start(self): method poll (line 992) | def poll(self) -> bool: method complete (line 996) | def complete(self) -> ExecuteResult: method __eq__ (line 1000) | def __eq__(self, other): method __ge__ (line 1003) | def __ge__(self, other): method __gt__ (line 1006) | def __gt__(self, other): method __le__ (line 1009) | def __le__(self, other): method __lt__ (line 1012) | def __lt__(self, other): method __ne__ (line 1015) | def __ne__(self, other): method __repr__ (line 1018) | def __repr__(self) -> str: method __str__ (line 1025) | def __str__(self) -> str: method _update (line 1032) | def _update(self) -> None: method add_dependent (line 1041) | def add_dependent(self, pkg_id: str) -> None: method add_dependency (line 1052) | def add_dependency(self, pkg_id, installed=False): method flag_installed (line 1066) | def flag_installed(self, installed: List[str]) -> None: method _setup_install_dir (line 1082) | def _setup_install_dir(self, pkg: "spack.package_base.PackageBase") ->... method install_action (line 1116) | def install_action(self): method get_install_action (line 1121) | def get_install_action(self: "Task") -> InstallAction: method explicit (line 1159) | def explicit(self) -> bool: method is_build_request (line 1163) | def is_build_request(self) -> bool: method install_policy (line 1168) | def install_policy(self) -> InstallPolicy: method key (line 1175) | def key(self) -> Tuple[int, int]: method next_attempt (line 1179) | def next_attempt(self, installed) -> "Task": method priority (line 1188) | def priority(self): method terminate (line 1192) | def terminate(self) -> None: function check_db (line 1199) | def check_db(spec: "spack.spec.Spec") -> Tuple[Optional[spack.database.I... class BuildTask (line 1220) | class BuildTask(Task): method start (line 1229) | def start(self): method _start_build_process (line 1281) | def _start_build_process(self): method poll (line 1289) | def poll(self): method succeed (line 1297) | def succeed(self): method fail (line 1305) | def fail(self, inner_exception): method complete (line 1322) | def complete(self): method terminate (line 1377) | def terminate(self) -> None: class MockBuildProcess (line 1383) | class MockBuildProcess: method complete (line 1384) | def complete(self) -> bool: method terminate (line 1387) | def terminate(self) -> None: class FakeBuildTask (line 1391) | class FakeBuildTask(BuildTask): method _start_build_process (line 1396) | def _start_build_process(self): method poll (line 1399) | def poll(self): class RewireTask (line 1403) | class RewireTask(Task): method start (line 1406) | def start(self): method poll (line 1409) | def poll(self): method complete (line 1412) | def complete(self): class PackageInstaller (line 1456) | class PackageInstaller: method __init__ (line 1464) | def __init__( method __repr__ (line 1609) | def __repr__(self) -> str: method __str__ (line 1616) | def __str__(self) -> str: method _add_init_task (line 1624) | def _add_init_task( method _check_deps_status (line 1650) | def _check_deps_status(self, request: BuildRequest) -> None: method _prepare_for_install (line 1696) | def _prepare_for_install(self, task: Task) -> None: method _cleanup_all_tasks (line 1755) | def _cleanup_all_tasks(self) -> None: method _cleanup_failed (line 1770) | def _cleanup_failed(self, pkg_id: str) -> None: method _cleanup_task (line 1786) | def _cleanup_task(self, pkg: "spack.package_base.PackageBase") -> None: method _ensure_install_ready (line 1799) | def _ensure_install_ready(self, pkg: "spack.package_base.PackageBase")... method _ensure_locked (line 1822) | def _ensure_locked( method _requeue_with_build_spec_tasks (line 1911) | def _requeue_with_build_spec_tasks(self, task): method _add_tasks (line 1938) | def _add_tasks(self, request: BuildRequest, all_deps): method _complete_task (line 1991) | def _complete_task(self, task: Task, install_status: InstallStatus) ->... method _next_is_pri0 (line 2013) | def _next_is_pri0(self) -> bool: method _clear_removed_tasks (line 2025) | def _clear_removed_tasks(self): method _peek_ready_task (line 2030) | def _peek_ready_task(self) -> Optional[Task]: method _tasks_installing_in_other_spack (line 2041) | def _tasks_installing_in_other_spack(self) -> bool: method _pop_task (line 2045) | def _pop_task(self) -> Task: method _pop_ready_task (line 2057) | def _pop_ready_task(self) -> Optional[Task]: method _push_task (line 2067) | def _push_task(self, task: Task) -> None: method _release_lock (line 2104) | def _release_lock(self, pkg_id: str) -> None: method _remove_task (line 2125) | def _remove_task(self, pkg_id: str) -> Optional[Task]: method _requeue_task (line 2143) | def _requeue_task(self, task: Task, install_status: InstallStatus) -> ... method _update_failed (line 2160) | def _update_failed( method _update_installed (line 2193) | def _update_installed(self, task: Task) -> None: method _flag_installed (line 2203) | def _flag_installed( method _init_queue (line 2237) | def _init_queue(self) -> None: method start_task (line 2256) | def start_task( method complete_task (line 2365) | def complete_task(self, task: Task, install_status: InstallStatus) -> ... method install (line 2450) | def install(self) -> None: method _install (line 2456) | def _install(self) -> None: class BuildProcessInstaller (line 2577) | class BuildProcessInstaller: method __init__ (line 2580) | def __init__(self, pkg: "spack.package_base.PackageBase", install_args... method run (line 2635) | def run(self) -> bool: method _install_source (line 2691) | def _install_source(self) -> None: method _real_install (line 2702) | def _real_install(self) -> None: function build_process (line 2773) | def build_process(pkg: "spack.package_base.PackageBase", install_args: d... function deprecate (line 2796) | def deprecate(spec: "spack.spec.Spec", deprecator: "spack.spec.Spec", li... class BadInstallPhase (line 2832) | class BadInstallPhase(spack.error.InstallError): method __init__ (line 2833) | def __init__(self, pkg_name, phase): class ExternalPackageError (line 2837) | class ExternalPackageError(spack.error.InstallError): class InstallLockError (line 2841) | class InstallLockError(spack.error.InstallError): class UpstreamPackageError (line 2845) | class UpstreamPackageError(spack.error.InstallError): FILE: lib/spack/spack/installer_dispatch.py function create_installer (line 19) | def create_installer( FILE: lib/spack/spack/llnl/path.py class Path (line 12) | class Path: function format_os_path (line 20) | def format_os_path(path: str, mode: int = Path.unix) -> str: function convert_to_posix_path (line 40) | def convert_to_posix_path(path: str) -> str: function convert_to_platform_path (line 45) | def convert_to_platform_path(path: str) -> str: function path_to_os_path (line 50) | def path_to_os_path(*parameters: str) -> List[str]: function _system_path_filter (line 69) | def _system_path_filter(_func=None, arg_slice: Optional[slice] = None): function _noop_decorator (line 103) | def _noop_decorator(_func=None, arg_slice: Optional[slice] = None): function sanitize_win_longpath (line 113) | def sanitize_win_longpath(path: str) -> str: FILE: lib/spack/spack/llnl/string.py function comma_list (line 11) | def comma_list(sequence: Sequence[str], article: str = "") -> str: function comma_or (line 30) | def comma_or(sequence: Sequence[str]) -> str: function comma_and (line 37) | def comma_and(sequence: List[str]) -> str: function ordinal (line 44) | def ordinal(number: int) -> str: function quote (line 58) | def quote(sequence: List[str], q: str = "'") -> List[str]: function plural (line 63) | def plural(n: int, singular: str, plural: Optional[str] = None, show_n: ... FILE: lib/spack/spack/llnl/url.py function find_list_urls (line 27) | def find_list_urls(url: str) -> Set[str]: function strip_query_and_fragment (line 110) | def strip_query_and_fragment(url: str) -> Tuple[str, str]: function split_url_on_sourceforge_suffix (line 135) | def split_url_on_sourceforge_suffix(url: str) -> Tuple[str, ...]: function has_extension (line 145) | def has_extension(path_or_url: str, ext: str) -> bool: function extension_from_path (line 156) | def extension_from_path(path_or_url: Optional[str]) -> Optional[str]: function remove_extension (line 172) | def remove_extension(path_or_url: str, *, extension: str) -> str: function check_and_remove_ext (line 178) | def check_and_remove_ext(path: str, *, extension: str) -> str: function strip_extension (line 188) | def strip_extension(path_or_url: str, *, extension: Optional[str] = None... function split_url_extension (line 205) | def split_url_extension(url: str) -> Tuple[str, ...]: function strip_version_suffixes (line 251) | def strip_version_suffixes(path_or_url: str) -> str: function expand_contracted_extension (line 370) | def expand_contracted_extension(extension: str) -> str: function expand_contracted_extension_in_path (line 380) | def expand_contracted_extension_in_path( function compression_ext_from_compressed_archive (line 399) | def compression_ext_from_compressed_archive(extension: str) -> Optional[... function strip_compression_extension (line 408) | def strip_compression_extension(path_or_url: str, ext: Optional[str] = N... function allowed_archive (line 430) | def allowed_archive(path_or_url: str) -> bool: function determine_url_file_extension (line 437) | def determine_url_file_extension(path: str) -> str: FILE: lib/spack/spack/llnl/util/argparsewriter.py class Command (line 14) | class Command: method __init__ (line 22) | def __init__( class ArgparseWriter (line 51) | class ArgparseWriter(argparse.HelpFormatter, abc.ABC): method __init__ (line 54) | def __init__(self, prog: str, out: IO = sys.stdout, aliases: bool = Fa... method parse (line 68) | def parse(self, parser: ArgumentParser, prog: str) -> Command: method format (line 150) | def format(self, cmd: Command) -> str: method _write (line 162) | def _write(self, parser: ArgumentParser, prog: str, level: int = 0) ->... method write (line 178) | def write(self, parser: ArgumentParser) -> None: class ArgparseRstWriter (line 194) | class ArgparseRstWriter(ArgparseWriter): method __init__ (line 197) | def __init__( method format (line 215) | def format(self, cmd: Command) -> str: method begin_command (line 249) | def begin_command(self, prog: str) -> str: method description (line 268) | def description(self, description: str) -> str: method usage (line 279) | def usage(self, usage: str) -> str: method begin_positionals (line 295) | def begin_positionals(self) -> str: method positional (line 303) | def positional(self, name: str, help: str) -> str: method end_positionals (line 319) | def end_positionals(self) -> str: method begin_optionals (line 327) | def begin_optionals(self) -> str: method optional (line 335) | def optional(self, opts: str, help: str) -> str: method end_optionals (line 351) | def end_optionals(self) -> str: method begin_subcommands (line 359) | def begin_subcommands(self, subcommands: List[Tuple[ArgumentParser, st... FILE: lib/spack/spack/llnl/util/filesystem.py function copystat (line 106) | def copystat(src, dst, follow_symlinks=True): function polite_path (line 171) | def polite_path(components: Iterable[str]): function _polite_antipattern (line 184) | def _polite_antipattern(): function polite_filename (line 189) | def polite_filename(filename: str) -> str: function _getuid_win32 (line 204) | def _getuid_win32() -> Union[str, int]: function _win_rename (line 223) | def _win_rename(src, dst): function msdos_escape_parens (line 244) | def msdos_escape_parens(path): function path_contains_subdirectory (line 253) | def path_contains_subdirectory(path: str, root: str) -> bool: function possible_library_filenames (line 265) | def possible_library_filenames(library_names): function paths_containing_libs (line 276) | def paths_containing_libs(paths, library_names): function filter_file (line 292) | def filter_file( class FileFilter (line 394) | class FileFilter: method __init__ (line 409) | def __init__(self, *filenames): method filter (line 412) | def filter( function change_sed_delimiter (line 434) | def change_sed_delimiter(old_delim: str, new_delim: str, *filenames: str... function exploding_archive_catch (line 477) | def exploding_archive_catch(stage): function exploding_archive_handler (line 508) | def exploding_archive_handler(tarball_container, stage): function get_owner_uid (line 538) | def get_owner_uid(path, err_msg=None) -> Union[str, int]: function set_install_permissions (line 571) | def set_install_permissions(path): function group_ids (line 584) | def group_ids(uid: Optional[int] = None) -> List[int]: function chgrp (line 610) | def chgrp(path, group, follow_symlinks=True): function chmod_x (line 628) | def chmod_x(entry, perms): function copy_mode (line 642) | def copy_mode(src, dest): function unset_executable_mode (line 658) | def unset_executable_mode(path): function copy (line 667) | def copy(src: str, dest: str, _permissions: bool = False) -> None: function install (line 709) | def install(src: str, dest: str) -> None: function copy_tree (line 727) | def copy_tree( function install_tree (line 839) | def install_tree( function is_exe (line 861) | def is_exe(path) -> bool: function has_shebang (line 867) | def has_shebang(path) -> bool: function is_nonsymlink_exe_with_shebang (line 877) | def is_nonsymlink_exe_with_shebang(path): function chgrp_if_not_world_writable (line 897) | def chgrp_if_not_world_writable(path, group): function mkdirp (line 904) | def mkdirp( function longest_existing_parent (line 975) | def longest_existing_parent(path: str) -> Tuple[str, List[str]]: function force_remove (line 997) | def force_remove(*paths: str) -> None: function working_dir (line 1009) | def working_dir(dirname: str, *, create: bool = False): class CouldNotRestoreDirectoryBackup (line 1033) | class CouldNotRestoreDirectoryBackup(RuntimeError): method __init__ (line 1034) | def __init__(self, inner_exception, outer_exception): function replace_directory_transaction (line 1041) | def replace_directory_transaction(directory_name): function hash_directory (line 1090) | def hash_directory(directory, ignore=[]): function write_tmp_and_move (line 1119) | def write_tmp_and_move(filename: str, *, encoding: Optional[str] = None): function touch (line 1130) | def touch(path): function touchp (line 1146) | def touchp(path): function force_symlink (line 1153) | def force_symlink(src: str, dest: str) -> None: function join_path (line 1163) | def join_path(prefix, *args) -> str: function ancestor (line 1172) | def ancestor(dir, n=1): function get_single_file (line 1181) | def get_single_file(directory): function windows_sfn (line 1189) | def windows_sfn(path: os.PathLike): function temp_cwd (line 1232) | def temp_cwd(ignore_cleanup_errors=False): function can_access (line 1246) | def can_access(file_name): function traverse_tree (line 1252) | def traverse_tree( class BaseDirectoryVisitor (line 1361) | class BaseDirectoryVisitor: method visit_file (line 1364) | def visit_file(self, root: str, rel_path: str, depth: int) -> None: method visit_symlinked_file (line 1373) | def visit_symlinked_file(self, root: str, rel_path: str, depth) -> None: method before_visit_dir (line 1383) | def before_visit_dir(self, root: str, rel_path: str, depth: int) -> bool: method before_visit_symlinked_dir (line 1397) | def before_visit_symlinked_dir(self, root: str, rel_path: str, depth: ... method after_visit_dir (line 1412) | def after_visit_dir(self, root: str, rel_path: str, depth: int) -> None: method after_visit_symlinked_dir (line 1422) | def after_visit_symlinked_dir(self, root: str, rel_path: str, depth: i... function visit_directory_tree (line 1433) | def visit_directory_tree( function set_executable (line 1484) | def set_executable(path): function recursive_mtime_greater_than (line 1497) | def recursive_mtime_greater_than(path: str, time: float) -> bool: function remove_empty_directories (line 1530) | def remove_empty_directories(root): function remove_dead_links (line 1547) | def remove_dead_links(root): function remove_if_dead_link (line 1560) | def remove_if_dead_link(path): function readonly_file_handler (line 1570) | def readonly_file_handler(ignore_errors=False): function remove_linked_tree (line 1605) | def remove_linked_tree(path: str) -> None: function safe_remove (line 1640) | def safe_remove(*files_or_dirs): function find_first (line 1684) | def find_first(root: str, files: Union[Iterable[str], str], bfs_depth: i... function find (line 1716) | def find( function _log_file_access_issue (line 1787) | def _log_file_access_issue(e: OSError, path: str) -> None: function _file_id (line 1791) | def _file_id(s: os.stat_result) -> Tuple[int, int]: function _dedupe_files (line 1797) | def _dedupe_files(paths: List[str]) -> List[str]: function _find_max_depth (line 1815) | def _find_max_depth( class FileList (line 1916) | class FileList(collections.abc.Sequence): method __init__ (line 1922) | def __init__(self, files: Union[str, Iterable[str]]) -> None: method directories (line 1929) | def directories(self) -> List[str]: method basenames (line 1945) | def basenames(self) -> List[str]: method __getitem__ (line 1960) | def __getitem__(self, item): method __add__ (line 1966) | def __add__(self, other): method __radd__ (line 1969) | def __radd__(self, other): method __eq__ (line 1972) | def __eq__(self, other): method __len__ (line 1975) | def __len__(self): method joined (line 1978) | def joined(self, separator: str = " ") -> str: method __repr__ (line 1981) | def __repr__(self): method __str__ (line 1984) | def __str__(self): class HeaderList (line 1988) | class HeaderList(FileList): method __init__ (line 2001) | def __init__(self, files): method directories (line 2008) | def directories(self) -> List[str]: method directories (line 2016) | def directories(self, value): method _default_directories (line 2024) | def _default_directories(self): method headers (line 2039) | def headers(self) -> List[str]: method names (line 2048) | def names(self) -> List[str]: method include_flags (line 2076) | def include_flags(self) -> str: method macro_definitions (line 2089) | def macro_definitions(self) -> str: method cpp_flags (line 2104) | def cpp_flags(self) -> str: method add_macro (line 2122) | def add_macro(self, macro: str) -> None: function find_headers (line 2131) | def find_headers(headers: Union[str, List[str]], root: str, recursive: b... function find_all_headers (line 2187) | def find_all_headers(root: str) -> HeaderList: class LibraryList (line 2200) | class LibraryList(FileList): method libraries (line 2208) | def libraries(self) -> List[str]: method names (line 2217) | def names(self) -> List[str]: method search_flags (line 2251) | def search_flags(self) -> str: method link_flags (line 2264) | def link_flags(self) -> str: method ld_flags (line 2277) | def ld_flags(self) -> str: function find_system_libraries (line 2290) | def find_system_libraries(libraries: Union[str, List[str]], shared: bool... function find_libraries (line 2349) | def find_libraries( function find_all_shared_libraries (line 2446) | def find_all_shared_libraries( function find_all_static_libraries (line 2457) | def find_all_static_libraries(root: str, recursive: bool = False) -> Lib... function find_all_libraries (line 2466) | def find_all_libraries(root: str, recursive: bool = False) -> LibraryList: function can_access_dir (line 2480) | def can_access_dir(path): function can_write_to_dir (line 2494) | def can_write_to_dir(path): function files_in (line 2508) | def files_in(*search_paths): function is_readable_file (line 2529) | def is_readable_file(file_path): function search_paths_for_executables (line 2535) | def search_paths_for_executables(*path_hints): function search_paths_for_libraries (line 2563) | def search_paths_for_libraries(*path_hints): function partition_path (line 2595) | def partition_path(path, entry=None): function prefixes (line 2627) | def prefixes(path): function remove_directory_contents (line 2674) | def remove_directory_contents(dir): function keep_modification_time (line 2686) | def keep_modification_time(*filenames: str) -> Generator[None, None, None]: function temporary_file_position (line 2712) | def temporary_file_position(stream): function current_file_position (line 2719) | def current_file_position(stream: IO, loc: int, relative_to=io.SEEK_CUR): function temporary_dir (line 2726) | def temporary_dir( function edit_in_place_through_temporary_file (line 2743) | def edit_in_place_through_temporary_file(file_path: str) -> Generator[st... function filesummary (line 2761) | def filesummary(path, print_bytes=16) -> Tuple[int, bytes]: class FindFirstFile (line 2786) | class FindFirstFile: method __init__ (line 2793) | def __init__(self, root: str, *file_patterns: str, bfs_depth: int = 2): method find (line 2816) | def find(self) -> Optional[str]: method _find_at_depth (line 2832) | def _find_at_depth(self, path, max_depth, depth=0) -> bool: method _is_dir (line 2872) | def _is_dir(self, f: os.DirEntry) -> bool: method _find_dfs (line 2879) | def _find_dfs(self) -> Optional[str]: function _windows_symlink (line 2888) | def _windows_symlink( function _windows_islink (line 2946) | def _windows_islink(path: str) -> bool: function _windows_is_hardlink (line 2964) | def _windows_is_hardlink(path: str) -> bool: function _windows_is_junction (line 2983) | def _windows_is_junction(path: str) -> bool: function _windows_can_symlink (line 3014) | def _windows_can_symlink() -> bool: function _windows_create_link (line 3052) | def _windows_create_link(source: str, link: str): function _windows_create_junction (line 3070) | def _windows_create_junction(source: str, link: str): function _windows_create_hard_link (line 3095) | def _windows_create_hard_link(path: str, link: str): function _windows_readlink (line 3112) | def _windows_readlink(path: str, *, dir_fd=None): function _windows_read_hard_link (line 3122) | def _windows_read_hard_link(link: str) -> str: function _windows_read_junction (line 3146) | def _windows_read_junction(link: str): function resolve_link_target_relative_to_the_link (line 3167) | def resolve_link_target_relative_to_the_link(link): class SymlinkError (line 3193) | class SymlinkError(OSError): class AlreadyExistsError (line 3199) | class AlreadyExistsError(SymlinkError): FILE: lib/spack/spack/llnl/util/lang.py function index_by (line 37) | def index_by(objects, *funcs): function attr_setdefault (line 103) | def attr_setdefault(obj, name, value): function memoized (line 110) | def memoized(func): function list_modules (line 124) | def list_modules(directory, **kwargs): function decorator_with_or_without_args (line 148) | def decorator_with_or_without_args(decorator): function key_ordering (line 174) | def key_ordering(cls): function tuplify (line 212) | def tuplify(seq): function lazy_eq (line 217) | def lazy_eq(lseq, rseq): function lazy_lt (line 240) | def lazy_lt(lseq, rseq): function lazy_lexicographic_ordering (line 270) | def lazy_lexicographic_ordering(cls, set_hash=True): class HashableMap (line 434) | class HashableMap(typing.MutableMapping[K, V]): method __init__ (line 440) | def __init__(self): method __getitem__ (line 443) | def __getitem__(self, key: K) -> V: method __setitem__ (line 446) | def __setitem__(self, key: K, value: V) -> None: method __iter__ (line 449) | def __iter__(self) -> Iterator[K]: method __len__ (line 452) | def __len__(self) -> int: method __delitem__ (line 455) | def __delitem__(self, key: K) -> None: method _cmp_iter (line 458) | def _cmp_iter(self): function match_predicate (line 463) | def match_predicate(*args): function dedupe (line 497) | def dedupe(sequence, key=None): function pretty_date (line 524) | def pretty_date(time: Union[datetime, int], now: Optional[datetime] = No... function pretty_string_to_date (line 590) | def pretty_string_to_date(date_str: str, now: Optional[datetime] = None)... function pretty_seconds_formatter (line 649) | def pretty_seconds_formatter(seconds): function pretty_seconds (line 661) | def pretty_seconds(seconds): function pretty_duration (line 673) | def pretty_duration(seconds: float) -> str: class ObjectWrapper (line 686) | class ObjectWrapper: method __init__ (line 694) | def __init__(self, wrapped_object): class Singleton (line 713) | class Singleton: method __init__ (line 716) | def __init__(self, factory: Callable[[], object]): method instance (line 737) | def instance(self): method __getattr__ (line 758) | def __getattr__(self, name): method __getitem__ (line 767) | def __getitem__(self, name): method __contains__ (line 770) | def __contains__(self, element): method __call__ (line 773) | def __call__(self, *args, **kwargs): method __iter__ (line 776) | def __iter__(self): method __str__ (line 779) | def __str__(self): method __repr__ (line 782) | def __repr__(self): class SingletonInstantiationError (line 786) | class SingletonInstantiationError(Exception): function get_entry_points (line 790) | def get_entry_points(*, group: str): function load_module_from_file (line 814) | def load_module_from_file(module_name, module_path): function uniq (line 857) | def uniq(sequence): function elide_list (line 882) | def elide_list(line_list: List[str], max_num: int = 10) -> List[str]: function fnmatch_translate_multiple (line 905) | def fnmatch_translate_multiple(named_patterns: Dict[str, str]) -> str: function nullcontext (line 913) | def nullcontext(*args, **kwargs): class UnhashableArguments (line 920) | class UnhashableArguments(TypeError): function stable_partition (line 927) | def stable_partition( function ensure_last (line 951) | def ensure_last(lst, *elements): class Const (line 959) | class Const: method __init__ (line 964) | def __init__(self, value): method __get__ (line 967) | def __get__(self, instance, owner): method __set__ (line 970) | def __set__(self, instance, value): class TypedMutableSequence (line 974) | class TypedMutableSequence(collections.abc.MutableSequence): method __init__ (line 988) | def __init__(self, iterable): method __getitem__ (line 991) | def __getitem__(self, item): method __setitem__ (line 994) | def __setitem__(self, key, value): method __delitem__ (line 997) | def __delitem__(self, key): method __len__ (line 1000) | def __len__(self): method insert (line 1003) | def insert(self, index, item): method __repr__ (line 1006) | def __repr__(self): method __str__ (line 1009) | def __str__(self): class GroupedExceptionHandler (line 1013) | class GroupedExceptionHandler: method __init__ (line 1016) | def __init__(self): method __bool__ (line 1019) | def __bool__(self): method forward (line 1023) | def forward(self, context: str, base: type = BaseException) -> "Groupe... method _receive_forwarded (line 1027) | def _receive_forwarded(self, context: str, exc: Exception, tb: List[st... method grouped_message (line 1030) | def grouped_message(self, with_tracebacks: bool = True) -> str: class GroupedExceptionForwarder (line 1041) | class GroupedExceptionForwarder: method __init__ (line 1045) | def __init__(self, context: str, handler: GroupedExceptionHandler, bas... method __enter__ (line 1050) | def __enter__(self): method __exit__ (line 1053) | def __exit__(self, exc_type, exc_value, tb): class classproperty (line 1067) | class classproperty(Generic[ClassPropertyType]): method __init__ (line 1073) | def __init__(self, callback: Callable[[Any], ClassPropertyType]) -> None: method __get__ (line 1077) | def __get__(self, instance, owner) -> ClassPropertyType: class DeprecatedProperty (line 1087) | class DeprecatedProperty: method __init__ (line 1101) | def __init__(self, name: str) -> None: method __get__ (line 1104) | def __get__(self, instance, owner): method __set__ (line 1117) | def __set__(self, instance, value): method factory (line 1122) | def factory(self, instance, owner): class PriorityOrderedMapping (line 1130) | class PriorityOrderedMapping(Mapping[KT, VT]): method __init__ (line 1141) | def __init__(self) -> None: method __getitem__ (line 1146) | def __getitem__(self, key: KT) -> VT: method __len__ (line 1149) | def __len__(self) -> int: method __iter__ (line 1152) | def __iter__(self): method __reversed__ (line 1155) | def __reversed__(self): method reversed_keys (line 1158) | def reversed_keys(self): method reversed_values (line 1162) | def reversed_values(self): method priority_values (line 1166) | def priority_values(self, priority: int): method _highest_priority (line 1172) | def _highest_priority(self) -> int: method add (line 1178) | def add(self, key: KT, *, value: VT, priority: Optional[int] = None) -... method remove (line 1199) | def remove(self, key: KT) -> VT: FILE: lib/spack/spack/llnl/util/link_tree.py function remove_link (line 20) | def remove_link(src, dest): class MergeConflict (line 30) | class MergeConflict: method __init__ (line 38) | def __init__(self, dst, src_a=None, src_b=None): method __repr__ (line 43) | def __repr__(self) -> str: function _samefile (line 47) | def _samefile(a: str, b: str): class SourceMergeVisitor (line 54) | class SourceMergeVisitor(fs.BaseDirectoryVisitor): method __init__ (line 62) | def __init__( method _in_directories (line 100) | def _in_directories(self, proj_rel_path: str) -> bool: method _directory (line 109) | def _directory(self, proj_rel_path: str) -> Tuple[str, str, str]: method _del_directory (line 118) | def _del_directory(self, proj_rel_path: str): method _add_directory (line 126) | def _add_directory(self, proj_rel_path: str, root: str, rel_path: str): method _in_files (line 135) | def _in_files(self, proj_rel_path: str) -> bool: method _file (line 144) | def _file(self, proj_rel_path: str) -> Tuple[str, str, str]: method _del_file (line 153) | def _del_file(self, proj_rel_path: str): method _add_file (line 161) | def _add_file(self, proj_rel_path: str, root: str, rel_path: str): method before_visit_dir (line 170) | def before_visit_dir(self, root: str, rel_path: str, depth: int) -> bool: method before_visit_symlinked_dir (line 203) | def before_visit_symlinked_dir(self, root: str, rel_path: str, depth: ... method visit_file (line 235) | def visit_file(self, root: str, rel_path: str, depth: int, *, symlink:... method visit_symlinked_file (line 273) | def visit_symlinked_file(self, root: str, rel_path: str, depth: int) -... method set_projection (line 277) | def set_projection(self, projection: str) -> None: class DestinationMergeVisitor (line 304) | class DestinationMergeVisitor(fs.BaseDirectoryVisitor): method __init__ (line 314) | def __init__(self, source_merge_visitor: SourceMergeVisitor): method before_visit_dir (line 317) | def before_visit_dir(self, root: str, rel_path: str, depth: int) -> bool: method before_visit_symlinked_dir (line 340) | def before_visit_symlinked_dir(self, root: str, rel_path: str, depth: ... method visit_file (line 352) | def visit_file(self, root: str, rel_path: str, depth: int) -> None: method visit_symlinked_file (line 370) | def visit_symlinked_file(self, root: str, rel_path: str, depth: int) -... class LinkTree (line 375) | class LinkTree: method __init__ (line 386) | def __init__(self, source_root): method find_conflict (line 392) | def find_conflict(self, dest_root, ignore=None, ignore_file_conflicts=... method find_dir_conflicts (line 407) | def find_dir_conflicts(self, dest_root, ignore): method get_file_map (line 418) | def get_file_map(self, dest_root, ignore): method merge_directories (line 426) | def merge_directories(self, dest_root, ignore): method unmerge_directories (line 441) | def unmerge_directories(self, dest_root, ignore): method merge (line 458) | def merge( method unmerge (line 506) | def unmerge(self, dest_root, ignore=None, remove_file=remove_link): class MergeConflictError (line 519) | class MergeConflictError(Exception): class ConflictingSpecsError (line 523) | class ConflictingSpecsError(MergeConflictError): method __init__ (line 524) | def __init__(self, spec_1, spec_2): class SingleMergeConflictError (line 528) | class SingleMergeConflictError(MergeConflictError): method __init__ (line 529) | def __init__(self, path): class MergeConflictSummary (line 533) | class MergeConflictSummary(MergeConflictError): method __init__ (line 534) | def __init__(self, conflicts): FILE: lib/spack/spack/llnl/util/lock.py function true_fn (line 45) | def true_fn() -> bool: class OpenFile (line 50) | class OpenFile: method __init__ (line 55) | def __init__(self, fh: IO[bytes], key: DevIno): class OpenFileTracker (line 61) | class OpenFileTracker: method __init__ (line 78) | def __init__(self): method get_ref_for_inode (line 81) | def get_ref_for_inode(self, key: DevIno) -> Optional[OpenFile]: method create_and_track (line 85) | def create_and_track(self, path: str) -> OpenFile: method release (line 124) | def release(self, open_file: OpenFile): method purge (line 132) | def purge(self): function _attempts_str (line 144) | def _attempts_str(wait_time, nattempts): class LockType (line 153) | class LockType: method to_str (line 158) | def to_str(tid): method to_module (line 165) | def to_module(tid): method is_valid (line 172) | def is_valid(op: int) -> bool: class Lock (line 176) | class Lock: method __init__ (line 189) | def __init__( method _ensure_valid_handle (line 246) | def _ensure_valid_handle(self) -> IO[bytes]: method _poll_interval_generator (line 296) | def _poll_interval_generator( method __repr__ (line 320) | def __repr__(self) -> str: method __str__ (line 327) | def __str__(self) -> str: method __getstate__ (line 334) | def __getstate__(self): method __setstate__ (line 342) | def __setstate__(self, state): method _lock (line 348) | def _lock(self, op: int, timeout: Optional[float] = None) -> Tuple[flo... method _poll_lock (line 390) | def _poll_lock(self, op: int) -> bool: method _read_log_debug_data (line 424) | def _read_log_debug_data(self) -> None: method _write_log_debug_data (line 438) | def _write_log_debug_data(self) -> None: method _unlock (line 454) | def _unlock(self) -> None: method acquire_read (line 467) | def acquire_read(self, timeout: Optional[float] = None) -> bool: method acquire_write (line 491) | def acquire_write(self, timeout: Optional[float] = None) -> bool: method _reaffirm_lock (line 520) | def _reaffirm_lock(self) -> None: method try_acquire_read (line 535) | def try_acquire_read(self) -> bool: method try_acquire_write (line 552) | def try_acquire_write(self) -> bool: method is_write_locked (line 571) | def is_write_locked(self) -> bool: method downgrade_write_to_read (line 584) | def downgrade_write_to_read(self, timeout: Optional[float] = None) -> ... method upgrade_read_to_write (line 602) | def upgrade_read_to_write(self, timeout: Optional[float] = None) -> None: method release_read (line 620) | def release_read(self, release_fn: ReleaseFnType = None) -> bool: method release_write (line 654) | def release_write(self, release_fn: ReleaseFnType = None) -> bool: method cleanup (line 690) | def cleanup(self) -> None: method _get_counts_desc (line 696) | def _get_counts_desc(self) -> str: method _log_acquired (line 701) | def _log_acquired(self, locktype, wait_time, nattempts) -> None: method _log_acquiring (line 707) | def _log_acquiring(self, locktype) -> None: method _log_debug (line 710) | def _log_debug(self, *args, **kwargs) -> None: method _log_downgraded (line 715) | def _log_downgraded(self, wait_time, nattempts) -> None: method _log_downgrading (line 721) | def _log_downgrading(self) -> None: method _log_released (line 724) | def _log_released(self, locktype) -> None: method _log_releasing (line 729) | def _log_releasing(self, locktype) -> None: method _log_upgraded (line 732) | def _log_upgraded(self, wait_time, nattempts) -> None: method _log_upgrading (line 738) | def _log_upgrading(self) -> None: method _status_msg (line 741) | def _status_msg(self, locktype: str, status: str) -> str: class LockTransaction (line 748) | class LockTransaction: method __init__ (line 759) | def __init__( method __enter__ (line 771) | def __enter__(self): method __exit__ (line 775) | def __exit__( method _enter (line 787) | def _enter(self) -> bool: method _exit (line 790) | def _exit(self, release_fn: ReleaseFnType) -> bool: class ReadTransaction (line 794) | class ReadTransaction(LockTransaction): method _enter (line 797) | def _enter(self): method _exit (line 800) | def _exit(self, release_fn): class WriteTransaction (line 804) | class WriteTransaction(LockTransaction): method _enter (line 807) | def _enter(self): method _exit (line 810) | def _exit(self, release_fn): class LockError (line 814) | class LockError(Exception): class LockDowngradeError (line 818) | class LockDowngradeError(LockError): method __init__ (line 821) | def __init__(self, path: str) -> None: class LockTimeoutError (line 826) | class LockTimeoutError(LockError): method __init__ (line 829) | def __init__(self, lock_type: int, path: str, time: float, attempts: i... class LockUpgradeError (line 843) | class LockUpgradeError(LockError): method __init__ (line 846) | def __init__(self, path: str) -> None: class LockPermissionError (line 851) | class LockPermissionError(LockError): class LockROFileError (line 855) | class LockROFileError(LockPermissionError): method __init__ (line 858) | def __init__(self, path: str) -> None: class CantCreateLockError (line 863) | class CantCreateLockError(LockPermissionError): method __init__ (line 866) | def __init__(self, path: str) -> None: FILE: lib/spack/spack/llnl/util/tty/__init__.py function debug_level (line 30) | def debug_level() -> int: function is_verbose (line 34) | def is_verbose() -> bool: function is_debug (line 38) | def is_debug(level: int = 1) -> bool: function set_debug (line 42) | def set_debug(level: int = 0) -> None: function set_verbose (line 48) | def set_verbose(flag: bool) -> None: function set_timestamp (line 53) | def set_timestamp(flag: bool) -> None: function set_msg_enabled (line 58) | def set_msg_enabled(flag: bool) -> None: function set_warn_enabled (line 63) | def set_warn_enabled(flag: bool) -> None: function set_error_enabled (line 68) | def set_error_enabled(flag: bool) -> None: function msg_enabled (line 73) | def msg_enabled() -> bool: function warn_enabled (line 77) | def warn_enabled() -> bool: function error_enabled (line 81) | def error_enabled() -> bool: function output_filter (line 86) | def output_filter(filter_fn: Callable[[str], str]) -> Iterator[None]: class SuppressOutput (line 97) | class SuppressOutput: method __init__ (line 100) | def __init__( method __enter__ (line 111) | def __enter__(self) -> None: method __exit__ (line 116) | def __exit__( function set_stacktrace (line 127) | def set_stacktrace(flag: bool) -> None: function process_stacktrace (line 132) | def process_stacktrace(countback: int) -> str: function show_pid (line 149) | def show_pid() -> bool: function get_timestamp (line 153) | def get_timestamp(force: bool = False) -> str: function msg (line 163) | def msg(message: Union[Exception, str], *args: str, newline: bool = True... function info (line 184) | def info( function verbose (line 221) | def verbose(message, *args, format: str = "c", **kwargs) -> None: function debug (line 227) | def debug( function error (line 236) | def error(message, *args, format: str = "*r", stream: Optional[IO[str]] ... function warn (line 245) | def warn(message, *args, format: str = "*Y", stream: Optional[IO[str]] =... function die (line 254) | def die(message, *args, countback: int = 4, **kwargs) -> NoReturn: function get_yes_or_no (line 259) | def get_yes_or_no(prompt: str, default: Optional[bool] = None) -> Option... function hline (line 285) | def hline(label: Optional[str] = None, *, char: str = "-", max_width: in... FILE: lib/spack/spack/llnl/util/tty/colify.py class ColumnConfig (line 18) | class ColumnConfig: method __init__ (line 19) | def __init__(self, cols: int) -> None: method __repr__ (line 25) | def __repr__(self) -> str: function config_variable_cols (line 30) | def config_variable_cols( function config_uniform_cols (line 91) | def config_uniform_cols( function colify (line 115) | def colify( function colify_table (line 210) | def colify_table( function colified (line 254) | def colified( FILE: lib/spack/spack/llnl/util/tty/color.py class ColorParseError (line 71) | class ColorParseError(Exception): method __init__ (line 74) | def __init__(self, message: str) -> None: function _color_when_value (line 108) | def _color_when_value(when: Union[str, bool, None]) -> Optional[bool]: function _color_from_environ (line 123) | def _color_from_environ() -> Optional[bool]: function try_enable_terminal_color_on_windows (line 134) | def try_enable_terminal_color_on_windows() -> None: function get_color_when (line 189) | def get_color_when(stdout=None) -> bool: function set_color_when (line 198) | def set_color_when(when: Union[str, bool, None]) -> None: function color_when (line 210) | def color_when(value: Union[str, bool, None]) -> Iterator[None]: function _escape (line 221) | def _escape(s: _ConvertibleToStr, color: bool, enclose: bool, zsh: bool)... function colorize (line 236) | def colorize( function csub (line 285) | def csub(string: str) -> str: class ColorMapping (line 290) | class ColorMapping(NamedTuple): method plain_to_color (line 295) | def plain_to_color(self, index: int) -> int: function cmapping (line 305) | def cmapping(string: str) -> ColorMapping: function cwrap (line 326) | def cwrap( function clen (line 368) | def clen(string: str) -> int: function cextra (line 373) | def cextra(string: str) -> int: function cwrite (line 378) | def cwrite(string: str, stream: Optional[IO[str]] = None, color: Optiona... function cprint (line 391) | def cprint(string: str, stream: Optional[IO[str]] = None, color: Optiona... function cescape (line 396) | def cescape(string: str) -> str: class ColorStream (line 415) | class ColorStream: method __init__ (line 416) | def __init__(self, stream: io.IOBase, color: Optional[bool] = None) ->... method write (line 420) | def write(self, string: str, *, raw: bool = False) -> None: FILE: lib/spack/spack/llnl/util/tty/log.py function ignore_signal (line 60) | def ignore_signal(signum): function _is_background_tty (line 69) | def _is_background_tty(stdin: IO[str]) -> bool: function _strip (line 74) | def _strip(line: str) -> str: class preserve_terminal_settings (line 79) | class preserve_terminal_settings: method __init__ (line 87) | def __init__(self, stdin: Optional[IO[str]]) -> None: method _restore_default_terminal_settings (line 95) | def _restore_default_terminal_settings(self) -> None: method __enter__ (line 103) | def __enter__(self) -> "preserve_terminal_settings": method __exit__ (line 119) | def __exit__(self, exc_type, exception, traceback): class keyboard_input (line 126) | class keyboard_input(preserve_terminal_settings): method __init__ (line 202) | def __init__(self, stdin: Optional[IO[str]]) -> None: method _is_background (line 212) | def _is_background(self) -> bool: method _get_canon_echo_flags (line 217) | def _get_canon_echo_flags(self) -> Tuple[bool, bool]: method _enable_keyboard_input (line 223) | def _enable_keyboard_input(self) -> None: method _tstp_handler (line 235) | def _tstp_handler(self, signum, frame): method check_fg_bg (line 239) | def check_fg_bg(self) -> None: method __enter__ (line 255) | def __enter__(self) -> "keyboard_input": method __exit__ (line 279) | def __exit__(self, exc_type, exception, traceback): class Unbuffered (line 289) | class Unbuffered: method __init__ (line 295) | def __init__(self, stream): method write (line 298) | def write(self, data): method writelines (line 302) | def writelines(self, datas): method __getattr__ (line 306) | def __getattr__(self, attr): function log_output (line 310) | def log_output(*args, **kwargs): class nixlog (line 347) | class nixlog: method __init__ (line 359) | def __init__( method __enter__ (line 401) | def __enter__(self): method __exit__ (line 497) | def __exit__(self, exc_type, exc_val, exc_tb): method force_echo (line 527) | def force_echo(self): class StreamWrapper (line 545) | class StreamWrapper: method __init__ (line 548) | def __init__(self, sys_attr): method redirect_stream (line 578) | def redirect_stream(self, to_fd): method flush (line 597) | def flush(self): method close (line 604) | def close(self): class winlog (line 614) | class winlog: method __init__ (line 622) | def __init__( method __enter__ (line 635) | def __enter__(self): method __exit__ (line 679) | def __exit__(self, exc_type, exc_val, exc_tb): method force_echo (line 691) | def force_echo(self): function _writer_daemon (line 698) | def _writer_daemon( function _input_available (line 866) | def _input_available(f): FILE: lib/spack/spack/main.py function add_all_commands (line 98) | def add_all_commands(parser): function index_commands (line 104) | def index_commands(): class SpackHelpFormatter (line 127) | class SpackHelpFormatter(argparse.RawTextHelpFormatter): method _format_actions_usage (line 128) | def _format_actions_usage(self, actions, groups): method start_section (line 143) | def start_section(self, heading): method _format_usage (line 146) | def _format_usage(self, usage, actions, groups, prefix=None): method add_argument (line 157) | def add_argument(self, action): method _format_action (line 174) | def _format_action(self, action): method add_arguments (line 191) | def add_arguments(self, actions): class SpackArgumentParser (line 196) | class SpackArgumentParser(argparse.ArgumentParser): method format_help_sections (line 197) | def format_help_sections(self, level): method add_subparsers (line 322) | def add_subparsers(self, **kwargs): method add_command (line 346) | def add_command(self, cmd_name): method format_help (line 377) | def format_help(self, level="short"): method _check_value (line 386) | def _check_value(self, action, value): function make_argument_parser (line 394) | def make_argument_parser(**kwargs): function showwarning (line 550) | def showwarning(message, category, filename, lineno, file=None, line=None): function setup_main_options (line 558) | def setup_main_options(args): function allows_unknown_args (line 612) | def allows_unknown_args(command): function _invoke_command (line 625) | def _invoke_command(command, parser, args, unknown_args): class SpackCommand (line 638) | class SpackCommand: method __init__ (line 648) | def __init__(self, command_name: str) -> None: method __call__ (line 665) | def __call__(self, *argv: str, capture: bool = True, fail_on_error: bo... method capture_output (line 706) | def capture_output(self, enable: bool = True): function _profile_wrapper (line 733) | def _profile_wrapper(command, main_args, parser, args, unknown_args): function _compatible_sys_types (line 770) | def _compatible_sys_types(): function print_setup_info (line 786) | def print_setup_info(*info): function restore_macos_dyld_vars (line 834) | def restore_macos_dyld_vars(): function resolve_alias (line 851) | def resolve_alias(cmd_name: str, cmd: List[str]) -> Tuple[str, List[str]]: function add_command_line_scopes (line 894) | def add_command_line_scopes( function _main (line 922) | def _main(argv=None): function finish_parse_and_run (line 1049) | def finish_parse_and_run(parser, cmd_name, main_args, env_format_error): function main (line 1111) | def main(argv=None): function _handle_solver_bug (line 1159) | def _handle_solver_bug( class SpackCommandError (line 1200) | class SpackCommandError(Exception): method __init__ (line 1203) | def __init__(self, code, output): FILE: lib/spack/spack/mirrors/layout.py class MirrorLayout (line 18) | class MirrorLayout: method __init__ (line 21) | def __init__(self, path: str) -> None: method __iter__ (line 24) | def __iter__(self): method make_alias (line 28) | def make_alias(self, root: str) -> None: class DefaultLayout (line 33) | class DefaultLayout(MirrorLayout): method __init__ (line 34) | def __init__(self, alias_path: str, digest_path: Optional[str] = None)... method make_alias (line 42) | def make_alias(self, root: str) -> None: method __iter__ (line 67) | def __iter__(self): class OCILayout (line 73) | class OCILayout(MirrorLayout): method __init__ (line 77) | def __init__(self, digest: spack.oci.image.Digest) -> None: function _determine_extension (line 81) | def _determine_extension(fetcher): function default_mirror_layout (line 116) | def default_mirror_layout( FILE: lib/spack/spack/mirrors/mirror.py function _url_or_path_to_url (line 25) | def _url_or_path_to_url(url_or_path: str) -> str: class Mirror (line 38) | class Mirror: method __init__ (line 47) | def __init__(self, data: Union[str, dict], name: Optional[str] = None): method from_yaml (line 52) | def from_yaml(stream, name=None): method from_json (line 56) | def from_json(stream, name=None): method from_local_path (line 63) | def from_local_path(path: str): method from_url (line 67) | def from_url(url: str): method __eq__ (line 76) | def __eq__(self, other): method __str__ (line 81) | def __str__(self): method __repr__ (line 84) | def __repr__(self): method to_json (line 87) | def to_json(self, stream=None): method to_yaml (line 90) | def to_yaml(self, stream=None): method to_dict (line 93) | def to_dict(self): method display (line 96) | def display(self, max_len=0): method name (line 105) | def name(self): method binary (line 109) | def binary(self): method source (line 113) | def source(self): method signed (line 117) | def signed(self) -> bool: method autopush (line 126) | def autopush(self) -> bool: method fetch_url (line 132) | def fetch_url(self): method push_url (line 137) | def push_url(self): method fetch_view (line 142) | def fetch_view(self): method push_view (line 147) | def push_view(self): method ensure_mirror_usable (line 151) | def ensure_mirror_usable(self, direction: str = "push"): method supported_layout_versions (line 181) | def supported_layout_versions(self) -> List[int]: method _update_connection_dict (line 199) | def _update_connection_dict(self, current_data: dict, new_data: dict, ... method update (line 239) | def update(self, data: dict, direction: Optional[str] = None) -> bool: method _get_value (line 303) | def _get_value(self, attribute: str, direction: str): method get_url (line 320) | def get_url(self, direction: str) -> str: method get_view (line 345) | def get_view(self, direction: str): method get_credentials (line 348) | def get_credentials(self, direction: str) -> Dict[str, Any]: method get_access_token (line 378) | def get_access_token(self, direction: str) -> Optional[str]: method get_access_pair (line 386) | def get_access_pair(self, direction: str) -> Optional[Tuple[str, str]]: method get_profile (line 397) | def get_profile(self, direction: str) -> Optional[str]: method get_endpoint_url (line 400) | def get_endpoint_url(self, direction: str) -> Optional[str]: class MirrorCollection (line 404) | class MirrorCollection(Mapping[str, Mirror]): method __init__ (line 407) | def __init__( method __eq__ (line 447) | def __eq__(self, other): method to_json (line 450) | def to_json(self, stream=None): method to_yaml (line 453) | def to_yaml(self, stream=None): method from_yaml (line 458) | def from_yaml(stream, name=None): method from_json (line 463) | def from_json(stream, name=None): method to_dict (line 470) | def to_dict(self, recursive=False): method from_dict (line 479) | def from_dict(d): method __getitem__ (line 482) | def __getitem__(self, item): method display (line 485) | def display(self): method lookup (line 490) | def lookup(self, name_or_url): method __iter__ (line 505) | def __iter__(self): method __len__ (line 508) | def __len__(self): FILE: lib/spack/spack/mirrors/utils.py function get_all_versions (line 21) | def get_all_versions(specs): function get_matching_versions (line 45) | def get_matching_versions(specs, num_versions=1): function get_mirror_cache (line 93) | def get_mirror_cache(path, skip_unstable_versions=False): function add (line 115) | def add(mirror: Mirror, scope=None): function remove (line 130) | def remove(name, scope): class MirrorStatsForOneSpec (line 141) | class MirrorStatsForOneSpec: method __init__ (line 142) | def __init__(self, spec): method finalize (line 150) | def finalize(self): method already_existed (line 159) | def already_existed(self, resource): method added (line 165) | def added(self, resource): method error (line 168) | def error(self): class MirrorStatsForAllSpecs (line 173) | class MirrorStatsForAllSpecs: method __init__ (line 174) | def __init__(self): method merge (line 180) | def merge(self, ext_mirror_stat: MirrorStatsForOneSpec): method stats (line 187) | def stats(self): function create_mirror_from_package_object (line 196) | def create_mirror_from_package_object( function require_mirror_name (line 239) | def require_mirror_name(mirror_name): FILE: lib/spack/spack/mixins.py function filter_compiler_wrappers (line 14) | def filter_compiler_wrappers( FILE: lib/spack/spack/modules/__init__.py function get_module (line 30) | def get_module( FILE: lib/spack/spack/modules/common.py function configuration (line 63) | def configuration(module_set_name): function _format_env_var_name (line 86) | def _format_env_var_name(spec, var_name_fmt): function _check_tokens_are_valid (line 94) | def _check_tokens_are_valid(format_string, message): function update_dictionary_extending_lists (line 115) | def update_dictionary_extending_lists(target, update): function dependencies (line 132) | def dependencies(spec: spack.spec.Spec, request: str = "all") -> List[sp... function merge_config_rules (line 154) | def merge_config_rules(configuration, spec): function root_path (line 203) | def root_path(name, module_set_name): function generate_module_index (line 224) | def generate_module_index(root, modules, overwrite=False): function _generate_upstream_module_index (line 242) | def _generate_upstream_module_index(): function read_module_index (line 254) | def read_module_index(root): function _read_module_index (line 262) | def _read_module_index(str_or_file): function read_module_indices (line 276) | def read_module_indices(): class UpstreamModuleIndex (line 291) | class UpstreamModuleIndex: method __init__ (line 296) | def __init__(self, local_db, module_indices): method upstream_module (line 301) | def upstream_module(self, spec, module_type): class BaseConfiguration (line 324) | class BaseConfiguration: method __init__ (line 331) | def __init__(self, spec: spack.spec.Spec, module_set_name: str, explic... method module (line 340) | def module(self): method projections (line 344) | def projections(self): method template (line 363) | def template(self): method defaults (line 370) | def defaults(self): method env (line 375) | def env(self): method suffixes (line 382) | def suffixes(self): method hash (line 400) | def hash(self): method conflicts (line 408) | def conflicts(self): method excluded (line 413) | def excluded(self): method hidden (line 440) | def hidden(self): method context (line 453) | def context(self): method specs_to_load (line 457) | def specs_to_load(self): method literals_to_load (line 462) | def literals_to_load(self): method specs_to_prereq (line 467) | def specs_to_prereq(self): method exclude_env_vars (line 472) | def exclude_env_vars(self): method _create_list_for (line 477) | def _create_list_for(self, what): method verbose (line 485) | def verbose(self): class BaseFileLayout (line 492) | class BaseFileLayout: method __init__ (line 500) | def __init__(self, configuration): method spec (line 504) | def spec(self): method dirname (line 508) | def dirname(self): method use_name (line 514) | def use_name(self): method filename (line 533) | def filename(self): class BaseContext (line 549) | class BaseContext(tengine.Context): method __init__ (line 559) | def __init__(self, configuration): method spec (line 563) | def spec(self): method tags (line 567) | def tags(self): method timestamp (line 573) | def timestamp(self): method category (line 577) | def category(self): method short_description (line 581) | def short_description(self): method long_description (line 596) | def long_description(self): method configure_options (line 603) | def configure_options(self): method modification_needs_formatting (line 619) | def modification_needs_formatting(self, modification): method environment_modifications (line 627) | def environment_modifications(self): method has_manpath_modifications (line 710) | def has_manpath_modifications(self): method conflicts (line 723) | def conflicts(self): method _verify_conflict_naming_consistency_or_raise (line 733) | def _verify_conflict_naming_consistency_or_raise(self, item, projection): method autoload (line 753) | def autoload(self): method _create_module_list_of (line 761) | def _create_module_list_of(self, what): method verbose (line 767) | def verbose(self): class BaseModuleFileWriter (line 772) | class BaseModuleFileWriter: method __init__ (line 777) | def __init__( method module (line 820) | def module(self): method _get_template (line 823) | def _get_template(self): method write (line 841) | def write(self, overwrite=False): method update_module_defaults (line 919) | def update_module_defaults(self): method update_module_hiddenness (line 929) | def update_module_hiddenness(self, remove=False): method remove (line 983) | def remove(self): method remove_module_defaults (line 998) | def remove_module_defaults(self): function disable_modules (line 1012) | def disable_modules(): class ModulesError (line 1020) | class ModulesError(spack.error.SpackError): class ModuleNotFoundError (line 1024) | class ModuleNotFoundError(ModulesError): class DefaultTemplateNotDefined (line 1028) | class DefaultTemplateNotDefined(AttributeError, ModulesError): class HideCmdFormatNotDefined (line 1034) | class HideCmdFormatNotDefined(AttributeError, ModulesError): class ModulercHeaderNotDefined (line 1040) | class ModulercHeaderNotDefined(AttributeError, ModulesError): class ModulesTemplateNotFoundError (line 1046) | class ModulesTemplateNotFoundError(ModulesError, RuntimeError): FILE: lib/spack/spack/modules/lmod.py function configuration (line 26) | def configuration(module_set_name: str) -> dict: function make_configuration (line 34) | def make_configuration( function make_layout (line 48) | def make_layout( function make_context (line 55) | def make_context( function guess_core_compilers (line 62) | def guess_core_compilers(name, store=False) -> List[spack.spec.Spec]: class LmodConfiguration (line 95) | class LmodConfiguration(BaseConfiguration): method __init__ (line 102) | def __init__(self, spec: spack.spec.Spec, module_set_name: str, explic... method core_compilers (line 125) | def core_compilers(self) -> List[spack.spec.Spec]: method core_specs (line 146) | def core_specs(self): method filter_hierarchy_specs (line 151) | def filter_hierarchy_specs(self): method hierarchy_tokens (line 157) | def hierarchy_tokens(self): method requires (line 173) | def requires(self): method provides (line 205) | def provides(self): method available (line 229) | def available(self): method missing (line 242) | def missing(self): method hidden (line 247) | def hidden(self): class LmodFileLayout (line 256) | class LmodFileLayout(BaseFileLayout): method arch_dirname (line 263) | def arch_dirname(self): method filename (line 276) | def filename(self): method modulerc (line 297) | def modulerc(self): method token_to_path (line 301) | def token_to_path(self, name, value): method available_path_parts (line 333) | def available_path_parts(self): method unlocked_paths (line 346) | def unlocked_paths(self): class LmodContext (line 415) | class LmodContext(BaseContext): method has_modulepath_modifications (line 419) | def has_modulepath_modifications(self): method has_conditional_modifications (line 424) | def has_conditional_modifications(self): method name_part (line 436) | def name_part(self): method version_part (line 441) | def version_part(self): method provides (line 447) | def provides(self): method missing (line 452) | def missing(self): method unlocked_paths (line 458) | def unlocked_paths(self): method conditionally_unlocked_paths (line 464) | def conditionally_unlocked_paths(self): class LmodModulefileWriter (line 487) | class LmodModulefileWriter(BaseModuleFileWriter): class CoreCompilersNotFoundError (line 497) | class CoreCompilersNotFoundError(spack.error.SpackError, KeyError): FILE: lib/spack/spack/modules/tcl.py function configuration (line 20) | def configuration(module_set_name: str) -> dict: function make_configuration (line 28) | def make_configuration( function make_layout (line 42) | def make_layout( function make_context (line 49) | def make_context( class TclConfiguration (line 56) | class TclConfiguration(BaseConfiguration): class TclFileLayout (line 60) | class TclFileLayout(BaseFileLayout): method modulerc (line 64) | def modulerc(self): class TclContext (line 69) | class TclContext(BaseContext): method prerequisites (line 73) | def prerequisites(self): class TclModulefileWriter (line 78) | class TclModulefileWriter(BaseModuleFileWriter): FILE: lib/spack/spack/multimethod.py class MultiMethodMeta (line 36) | class MultiMethodMeta(type): method __prepare__ (line 43) | def __prepare__(cls, name, bases, **kwargs): method __init__ (line 48) | def __init__(cls, name, bases, attr_dict): class SpecMultiMethod (line 54) | class SpecMultiMethod: method __init__ (line 86) | def __init__(self, default=None): method register (line 92) | def register(self, spec, method): method __get__ (line 101) | def __get__(self, obj, objtype): method _get_method_by_spec (line 114) | def _get_method_by_spec(self, spec): method __call__ (line 123) | def __call__(self, package_or_builder_self, *args, **kwargs): class when (line 156) | class when: method __init__ (line 243) | def __init__(self, condition: Union[str, bool]): method __call__ (line 253) | def __call__(self, method): method __enter__ (line 270) | def __enter__(self): method __exit__ (line 275) | def __exit__(self, exc_type, exc_val, exc_tb): function default_args (line 281) | def default_args(**kwargs): class MultiMethodError (line 308) | class MultiMethodError(spack.error.SpackError): method __init__ (line 311) | def __init__(self, message): class NoSuchMethodError (line 315) | class NoSuchMethodError(spack.error.SpackError): method __init__ (line 318) | def __init__(self, cls, method_name, spec, possible_specs): FILE: lib/spack/spack/new_installer.py class DatabaseAction (line 119) | class DatabaseAction: method save_to_db (line 127) | def save_to_db(self, db: spack.database.Database) -> None: ... method release_lock (line 129) | def release_lock(self) -> None: class MarkExplicitAction (line 138) | class MarkExplicitAction(DatabaseAction): method __init__ (line 144) | def __init__(self, spec: "spack.spec.Spec") -> None: method save_to_db (line 148) | def save_to_db(self, db: spack.database.Database) -> None: class ChildInfo (line 152) | class ChildInfo(DatabaseAction): method __init__ (line 157) | def __init__( method save_to_db (line 176) | def save_to_db(self, db: spack.database.Database) -> None: method cleanup (line 179) | def cleanup(self, selector: selectors.BaseSelector) -> None: function send_state (line 199) | def send_state(state: str, state_pipe: io.TextIOWrapper) -> None: function send_progress (line 205) | def send_progress(current: int, total: int, state_pipe: io.TextIOWrapper... function send_installed_from_binary_cache (line 211) | def send_installed_from_binary_cache(state_pipe: io.TextIOWrapper) -> None: function tee (line 217) | def tee(control_r: int, log_r: int, log_path: str, parent_w: int) -> None: class Tee (line 251) | class Tee: method __init__ (line 255) | def __init__(self, control: Connection, parent: Connection, log_path: ... method close (line 275) | def close(self) -> None: function install_from_buildcache (line 291) | def install_from_buildcache( class GlobalState (line 326) | class GlobalState: method __init__ (line 333) | def __init__(self): method restore (line 341) | def restore(self): class PrefixPivoter (line 358) | class PrefixPivoter: method __init__ (line 361) | def __init__(self, prefix: str, keep_prefix: bool = False) -> None: method __enter__ (line 375) | def __enter__(self) -> "PrefixPivoter": method __exit__ (line 386) | def __exit__( method _lexists (line 418) | def _lexists(self, path: str) -> bool: method _rename (line 421) | def _rename(self, src: str, dst: str) -> None: method _mkdtemp (line 424) | def _mkdtemp(self, dir: str, prefix: str, suffix: str) -> str: method _rmtree_ignore_errors (line 427) | def _rmtree_ignore_errors(self, path: str) -> None: function worker_function (line 431) | def worker_function( function _archive_build_metadata (line 594) | def _archive_build_metadata(pkg: "spack.package_base.PackageBase") -> None: function _install (line 663) | def _install( class JobServer (line 783) | class JobServer: method __init__ (line 786) | def __init__(self, num_jobs: int) -> None: method _setup (line 808) | def _setup(self) -> None: method makeflags (line 830) | def makeflags(self, gmake: Optional[spack.spec.Spec]) -> str: method has_target_parallelism (line 839) | def has_target_parallelism(self) -> bool: method increase_parallelism (line 842) | def increase_parallelism(self) -> None: method decrease_parallelism (line 850) | def decrease_parallelism(self) -> None: method maybe_discard_tokens (line 857) | def maybe_discard_tokens(self) -> None: method acquire (line 868) | def acquire(self, jobs: int) -> int: method release (line 878) | def release(self) -> None: method close (line 890) | def close(self) -> None: function start_build (line 923) | def start_build( function get_jobserver_config (line 1006) | def get_jobserver_config(makeflags: Optional[str] = None) -> Optional[Un... function create_jobserver_fifo (line 1035) | def create_jobserver_fifo(num_jobs: int) -> Tuple[int, int, str]: function open_existing_jobserver_fifo (line 1061) | def open_existing_jobserver_fifo(fifo_path: str) -> Optional[Tuple[int, ... class FdInfo (line 1071) | class FdInfo: method __init__ (line 1076) | def __init__(self, pid: int, name: str) -> None: class BuildInfo (line 1081) | class BuildInfo: method __init__ (line 1101) | def __init__( class BuildStatus (line 1125) | class BuildStatus: method __init__ (line 1128) | def __init__( method on_resize (line 1176) | def on_resize(self) -> None: method add_build (line 1181) | def add_build( method toggle (line 1201) | def toggle(self) -> None: method search_input (line 1222) | def search_input(self, input: str) -> None: method enter_search (line 1238) | def enter_search(self) -> None: method _is_displayed (line 1242) | def _is_displayed(self, build: BuildInfo) -> bool: method _get_next (line 1247) | def _get_next(self, direction: int) -> Optional[str]: method next (line 1265) | def next(self, direction: int = 1) -> None: method set_jobs (line 1318) | def set_jobs(self, actual: int, target: int) -> None: method update_state (line 1326) | def update_state(self, build_id: str, state: str) -> None: method parse_log_summary (line 1355) | def parse_log_summary(self, build_id: str) -> None: method update_progress (line 1368) | def update_progress(self, build_id: str, current: int, total: int) -> ... method update (line 1376) | def update(self, finalize: bool = False) -> None: method _println (line 1501) | def _println(self, buffer: io.StringIO, line: str = "", force_newline:... method print_logs (line 1511) | def print_logs(self, build_id: str, data: bytes) -> None: method _render_build (line 1525) | def _render_build( method _generate_line_components (line 1538) | def _generate_line_components( class BuildGraph (line 1619) | class BuildGraph: method __init__ (line 1622) | def __init__( method enqueue_parents (line 1733) | def enqueue_parents(self, dag_hash: str, pending_builds: List[str]) ->... class ScheduleResult (line 1757) | class ScheduleResult(NamedTuple): function schedule_builds (line 1772) | def schedule_builds( function _node_to_roots (line 1916) | def _node_to_roots(roots: List[spack.spec.Spec]) -> Dict[str, FrozenSet[... class ReportData (line 1944) | class ReportData: method __init__ (line 1947) | def __init__(self, roots: List[spack.spec.Spec]): method start_record (line 1951) | def start_record(self, spec: spack.spec.Spec) -> None: method finish_record (line 1959) | def finish_record(self, spec: spack.spec.Spec, exitcode: int) -> None: method finalize (line 1973) | def finalize( class NullReportData (line 2008) | class NullReportData(ReportData): method __init__ (line 2013) | def __init__(self) -> None: method start_record (line 2016) | def start_record(self, spec: spack.spec.Spec) -> None: method finish_record (line 2019) | def finish_record(self, spec: spack.spec.Spec, exitcode: int) -> None: method finalize (line 2022) | def finalize( class TerminalState (line 2028) | class TerminalState: method __init__ (line 2038) | def __init__( method setup (line 2053) | def setup(self) -> None: method teardown (line 2073) | def teardown(self) -> None: method _handle_sigtstp (line 2098) | def _handle_sigtstp(self, signum: int, frame: object) -> None: method _handle_sigwinch (line 2126) | def _handle_sigwinch(self, signum: int, frame: object) -> None: method enter_foreground (line 2132) | def enter_foreground(self) -> None: method enter_background (line 2151) | def enter_background(self) -> None: method handle_continue (line 2157) | def handle_continue(self) -> None: function _signal_children (line 2165) | def _signal_children(running_builds: Dict[int, ChildInfo], sig: signal.S... class StdinReader (line 2176) | class StdinReader: method __init__ (line 2183) | def __init__(self, fd: int) -> None: method read (line 2190) | def read(self) -> str: class PackageInstaller (line 2198) | class PackageInstaller: method __init__ (line 2201) | def __init__( method install (line 2326) | def install(self) -> None: method _installer (line 2329) | def _installer(self) -> None: method _handle_finished_builds (line 2545) | def _handle_finished_builds( method _save_to_db (line 2585) | def _save_to_db( method _schedule_builds (line 2614) | def _schedule_builds( method _start (line 2658) | def _start( method _handle_child_logs (line 2711) | def _handle_child_logs( method _drain_child_output (line 2733) | def _drain_child_output(self, child_info: ChildInfo, selector: selecto... method _drain_child_state (line 2739) | def _drain_child_state(self, child_info: ChildInfo, selector: selector... method _handle_child_state (line 2745) | def _handle_child_state( FILE: lib/spack/spack/oci/image.py function ensure_sha256_checksum (line 38) | def ensure_sha256_checksum(oci_blob: str): function is_oci_url (line 51) | def is_oci_url(url: str) -> bool: class Digest (line 56) | class Digest: method __init__ (line 62) | def __init__(self, *, algorithm: str, digest: str) -> None: method __eq__ (line 66) | def __eq__(self, __value: object) -> bool: method from_string (line 72) | def from_string(cls, string: str) -> "Digest": method from_sha256 (line 76) | def from_sha256(cls, digest: str) -> "Digest": method __str__ (line 79) | def __str__(self) -> str: class ImageReference (line 83) | class ImageReference: method __init__ (line 90) | def __init__( method from_string (line 106) | def from_string(cls, string: str, *, scheme: str = "https") -> "ImageR... method from_url (line 160) | def from_url(cls, url: str) -> "ImageReference": method manifest_url (line 172) | def manifest_url(self) -> str: method blob_url (line 176) | def blob_url(self, digest: Union[str, Digest]) -> str: method with_digest (line 181) | def with_digest(self, digest: Union[str, Digest]) -> "ImageReference": method with_tag (line 188) | def with_tag(self, tag: str) -> "ImageReference": method uploads_url (line 193) | def uploads_url(self, digest: Optional[Digest] = None) -> str: method tags_url (line 199) | def tags_url(self) -> str: method endpoint (line 202) | def endpoint(self, path: str = "") -> str: method __str__ (line 205) | def __str__(self) -> str: method __eq__ (line 213) | def __eq__(self, __value: object) -> bool: function ensure_valid_tag (line 225) | def ensure_valid_tag(tag: str) -> str: function default_config (line 233) | def default_config(architecture: str, os: str): function default_manifest (line 242) | def default_manifest(): FILE: lib/spack/spack/oci/oci.py class Blob (line 24) | class Blob(NamedTuple): function with_query_param (line 30) | def with_query_param(url: str, param: str, value: str) -> str: function list_tags (line 52) | def list_tags(ref: ImageReference, _urlopen: spack.oci.opener.MaybeOpen ... function upload_blob (line 88) | def upload_blob( function upload_manifest (line 172) | def upload_manifest( function image_from_mirror (line 211) | def image_from_mirror(mirror: spack.mirrors.mirror.Mirror) -> ImageRefer... function blob_exists (line 216) | def blob_exists( function copy_missing_layers (line 230) | def copy_missing_layers( function get_manifest_and_config (line 294) | def get_manifest_and_config( function make_stage (line 367) | def make_stage( FILE: lib/spack/spack/oci/opener.py function _urlopen (line 27) | def _urlopen(): class WwwAuthenticateTokens (line 57) | class WwwAuthenticateTokens(spack.tokenize.TokenBase): class State (line 71) | class State(Enum): class Challenge (line 79) | class Challenge: method __init__ (line 82) | def __init__( method __repr__ (line 88) | def __repr__(self) -> str: method __eq__ (line 91) | def __eq__(self, other: object) -> bool: method matches_scheme (line 98) | def matches_scheme(self, scheme: str) -> bool: method get_param (line 102) | def get_param(self, key: str) -> Optional[str]: function parse_www_authenticate (line 107) | def parse_www_authenticate(input: str): class RealmServiceScope (line 195) | class RealmServiceScope(NamedTuple): class UsernamePassword (line 201) | class UsernamePassword(NamedTuple): method basic_auth_header (line 206) | def basic_auth_header(self) -> str: function _get_bearer_challenge (line 213) | def _get_bearer_challenge(challenges: List[Challenge]) -> Optional[Realm... function _get_basic_challenge (line 231) | def _get_basic_challenge(challenges: List[Challenge]) -> Optional[str]: class OCIAuthHandler (line 241) | class OCIAuthHandler(urllib.request.BaseHandler): method __init__ (line 242) | def __init__(self, credentials_provider: Callable[[str], Optional[User... method https_request (line 252) | def https_request(self, req: Request): method _try_bearer_challenge (line 271) | def _try_bearer_challenge( method _try_basic_challenge (line 311) | def _try_basic_challenge( method http_error_401 (line 322) | def http_error_401(self, req: Request, fp, code, msg, headers): function credentials_from_mirrors (line 382) | def credentials_from_mirrors( function create_opener (line 407) | def create_opener(): function ensure_status (line 424) | def ensure_status(request: urllib.request.Request, response: HTTPRespons... FILE: lib/spack/spack/operating_systems/_operating_system.py class OperatingSystem (line 8) | class OperatingSystem: method __init__ (line 28) | def __init__(self, name, version): method __str__ (line 32) | def __str__(self): method __repr__ (line 35) | def __repr__(self): method _cmp_iter (line 38) | def _cmp_iter(self): method to_dict (line 42) | def to_dict(self): FILE: lib/spack/spack/operating_systems/freebsd.py class FreeBSDOs (line 11) | class FreeBSDOs(OperatingSystem): method __init__ (line 12) | def __init__(self): FILE: lib/spack/spack/operating_systems/linux_distro.py function kernel_version (line 13) | def kernel_version() -> StandardVersion: class LinuxDistro (line 20) | class LinuxDistro(OperatingSystem): method __init__ (line 28) | def __init__(self): FILE: lib/spack/spack/operating_systems/mac_os.py function macos_version (line 17) | def macos_version() -> StandardVersion: function macos_cltools_version (line 64) | def macos_cltools_version(): function macos_sdk_path (line 88) | def macos_sdk_path(): function macos_sdk_version (line 94) | def macos_sdk_version(): class MacOs (line 109) | class MacOs(OperatingSystem): method __init__ (line 116) | def __init__(self): method __str__ (line 158) | def __str__(self): FILE: lib/spack/spack/operating_systems/windows_os.py function windows_version (line 19) | def windows_version(): class WindowsOs (line 28) | class WindowsOs(OperatingSystem): method __init__ (line 36) | def __init__(self): method __str__ (line 42) | def __str__(self): method vs_install_paths (line 46) | def vs_install_paths(self): method msvc_paths (line 71) | def msvc_paths(self): method oneapi_root (line 75) | def oneapi_root(self): method compiler_search_paths (line 83) | def compiler_search_paths(self): FILE: lib/spack/spack/package.py class tty (line 200) | class tty: function is_system_path (line 208) | def is_system_path(path: str) -> bool: function filter_system_paths (line 219) | def filter_system_paths(paths: Iterable[str]) -> List[str]: FILE: lib/spack/spack/package_base.py class WindowsRPath (line 91) | class WindowsRPath: method win_add_library_dependent (line 100) | def win_add_library_dependent(self): method win_add_rpath (line 114) | def win_add_rpath(self): method windows_establish_runtime_linkage (line 125) | def windows_establish_runtime_linkage(self): class DetectablePackageMeta (line 146) | class DetectablePackageMeta(type): method __init__ (line 153) | def __init__(cls, name, bases, attr_dict): class PackageMeta (line 280) | class PackageMeta( method __new__ (line 290) | def __new__(cls, name, bases, attr_dict): function on_package_attributes (line 305) | def on_package_attributes(**attr_dict): class PackageViewMixin (line 333) | class PackageViewMixin: method view_source (line 341) | def view_source(self): method view_destination (line 348) | def view_destination(self, view): method view_file_conflicts (line 354) | def view_file_conflicts(self, view, merge_map): method add_files_to_view (line 362) | def add_files_to_view(self, view, merge_map, skip_if_exists=True): method remove_files_from_view (line 384) | def remove_files_from_view(self, view, merge_map): function _by_subkey (line 407) | def _by_subkey( function _subkeys (line 431) | def _subkeys(when_indexed_dictionary: Dict[spack.spec.Spec, Dict[K, V]])... function _has_subkey (line 441) | def _has_subkey(when_indexed_dictionary: Dict[spack.spec.Spec, Dict[K, V... function _num_definitions (line 445) | def _num_definitions(when_indexed_dictionary: Dict[spack.spec.Spec, Dict... function _remove_overridden_defs (line 449) | def _remove_overridden_defs(defs: List[Tuple[spack.spec.Spec, Any]]) -> ... function _definitions (line 484) | def _definitions( class DisableRedistribute (line 504) | class DisableRedistribute: method __init__ (line 505) | def __init__(self, source, binary): class PackageBase (line 510) | class PackageBase(WindowsRPath, PackageViewMixin, metaclass=PackageMeta): method __init__ (line 696) | def __init__(self, spec: spack.spec.Spec) -> None: method __getitem__ (line 725) | def __getitem__(self, key: str) -> "PackageBase": method dependency_names (line 729) | def dependency_names(cls): method dependencies_by_name (line 733) | def dependencies_by_name(cls, when: bool = False): method variant_names (line 740) | def variant_names(cls) -> List[str]: method has_variant (line 744) | def has_variant(cls, name) -> bool: method num_variant_definitions (line 748) | def num_variant_definitions(cls) -> int: method variant_definitions (line 753) | def variant_definitions(cls, name: str) -> List[Tuple[spack.spec.Spec,... method variant_items (line 758) | def variant_items(cls) -> Iterable[Tuple[spack.spec.Spec, Dict[str, sp... method get_variant (line 776) | def get_variant(self, name: str) -> spack.variant.Variant: method validate_variant_names (line 789) | def validate_variant_names(self, spec: spack.spec.Spec): method package_dir (line 802) | def package_dir(cls): method module (line 807) | def module(cls): method namespace (line 816) | def namespace(cls): method fullname (line 821) | def fullname(cls): method fullnames (line 826) | def fullnames(cls): method name (line 836) | def name(cls): method global_license_dir (line 862) | def global_license_dir(cls): method global_license_file (line 867) | def global_license_file(self): method redistribute_source (line 879) | def redistribute_source(cls, spec): method redistribute_binary (line 888) | def redistribute_binary(self): method keep_werror (line 897) | def keep_werror(self) -> Optional[Literal["all", "specific", "none"]]: method version (line 922) | def version(self): method version_urls (line 931) | def version_urls(cls) -> Dict[StandardVersion, str]: method nearest_url (line 942) | def nearest_url(self, version): method url_for_version (line 965) | def url_for_version(self, version: Union[str, StandardVersion]) -> str: method _update_external_dependencies (line 972) | def _update_external_dependencies( method detect_dev_src_change (line 980) | def detect_dev_src_change(self) -> bool: method version_or_package_attr (line 990) | def version_or_package_attr(cls, attr, version, default=NO_DEFAULT): method needs_commit (line 1002) | def needs_commit(cls, version) -> bool: method _resolve_git_provenance (line 1016) | def _resolve_git_provenance(cls, spec) -> None: method resolve_binary_provenance (line 1066) | def resolve_binary_provenance(self): method all_urls_for_version (line 1074) | def all_urls_for_version(self, version: StandardVersion) -> List[str]: method _implement_all_urls_for_version (line 1086) | def _implement_all_urls_for_version( method find_valid_url_for_version (line 1138) | def find_valid_url_for_version(self, version: StandardVersion) -> Opti... method _make_resource_stage (line 1154) | def _make_resource_stage(self, root_stage, resource): method _download_search (line 1168) | def _download_search(self): method _make_root_stage (line 1172) | def _make_root_stage(self, fetcher): method _make_stages (line 1192) | def _make_stages(self) -> Tuple[stg.StageComposite, List[stg.Stage]]: method stage (line 1268) | def stage(self): method stage (line 1282) | def stage(self, stage: stg.StageComposite): method env_path (line 1287) | def env_path(self): method env_mods_path (line 1292) | def env_mods_path(self): method metadata_dir (line 1300) | def metadata_dir(self): method install_env_path (line 1305) | def install_env_path(self): method log_path (line 1318) | def log_path(self): method phase_log_files (line 1323) | def phase_log_files(self): method install_log_path (line 1331) | def install_log_path(self): method configure_args_path (line 1343) | def configure_args_path(self): method times_log_path (line 1348) | def times_log_path(self): method install_configure_args_path (line 1353) | def install_configure_args_path(self): method archive_install_test_log (line 1357) | def archive_install_test_log(self): method tester (line 1363) | def tester(self): method fetcher (line 1374) | def fetcher(self): method fetcher (line 1383) | def fetcher(self, f): method dependencies_of_type (line 1388) | def dependencies_of_type(cls, deptypes: dt.DepFlag): method extendee_spec (line 1405) | def extendee_spec(self) -> Optional[spack.spec.Spec]: method is_extension (line 1433) | def is_extension(self): method extends (line 1442) | def extends(self, spec: spack.spec.Spec) -> bool: method provides (line 1457) | def provides(self, vpkg_name: str) -> bool: method intersects (line 1467) | def intersects(self, spec: spack.spec.Spec) -> bool: method virtuals_provided (line 1527) | def virtuals_provided(self): method provided_virtual_names (line 1539) | def provided_virtual_names(cls): method prefix (line 1546) | def prefix(self): method home (line 1551) | def home(self): method command (line 1555) | def command(self) -> spack.util.executable.Executable: method url_version (line 1562) | def url_version(self, version): method remove_prefix (line 1573) | def remove_prefix(self): method download_instr (line 1581) | def download_instr(self) -> str: method do_fetch (line 1594) | def do_fetch(self, mirror_only=False): method do_stage (line 1667) | def do_stage(self, mirror_only=False): method do_patch (line 1685) | def do_patch(self): method all_patches (line 1812) | def all_patches(cls): method content_hash (line 1831) | def content_hash(self, content: Optional[bytes] = None) -> str: method cmake_prefix_paths (line 1894) | def cmake_prefix_paths(self) -> List[str]: method _has_make_target (line 1898) | def _has_make_target(self, target): method _if_make_target_execute (line 1959) | def _if_make_target_execute(self, target, *args, **kwargs): method _has_ninja_target (line 1969) | def _has_ninja_target(self, target): method _if_ninja_target_execute (line 1998) | def _if_ninja_target_execute(self, target, *args, **kwargs): method _get_needed_resources (line 2009) | def _get_needed_resources(self): method _resource_stage (line 2021) | def _resource_stage(self, resource): method do_test (line 2026) | def do_test(self, *, dirty=False, externals=False, timeout: Optional[i... method _unit_test_check (line 2046) | def _unit_test_check(self) -> bool: method inject_flags (line 2064) | def inject_flags(cls: Type[Pb], name: str, flags: Iterable[str]) -> FL... method env_flags (line 2069) | def env_flags(cls: Type[Pb], name: str, flags: Iterable[str]) -> FLAG_... method build_system_flags (line 2074) | def build_system_flags( method setup_run_environment (line 2080) | def setup_run_environment(self, env: spack.util.environment.Environmen... method setup_dependent_run_environment (line 2089) | def setup_dependent_run_environment( method setup_dependent_package (line 2110) | def setup_dependent_package(self, module, dependent_spec: spack.spec.S... method flag_handler (line 2138) | def flag_handler(self) -> FLAG_HANDLER_TYPE: method flag_handler (line 2144) | def flag_handler(self, var: FLAG_HANDLER_TYPE) -> None: method flags_to_build_system_args (line 2158) | def flags_to_build_system_args(self, flags: Dict[str, List[str]]) -> N... method uninstall_by_spec (line 2166) | def uninstall_by_spec(spec, force=False, deprecator=None): method do_uninstall (line 2253) | def do_uninstall(self, force=False): method view (line 2258) | def view(self): method do_restage (line 2265) | def do_restage(self): method do_clean (line 2269) | def do_clean(self): method format_doc (line 2274) | def format_doc(cls, **kwargs): method all_urls (line 2289) | def all_urls(self) -> List[str]: method fetch_remote_versions (line 2309) | def fetch_remote_versions( method rpath (line 2330) | def rpath(self): method rpath_args (line 2355) | def rpath_args(self): class WindowsSimulatedRPath (line 2362) | class WindowsSimulatedRPath: method __init__ (line 2372) | def __init__( method library_dependents (line 2426) | def library_dependents(self): method add_library_dependent (line 2436) | def add_library_dependent(self, *dest: Union[str, pathlib.Path]): method rpaths (line 2459) | def rpaths(self): method add_rpath (line 2471) | def add_rpath(self, *paths: str): method _link (line 2485) | def _link(self, path: pathlib.Path, dest_dir: pathlib.Path): method establish_link (line 2523) | def establish_link(self): function make_package_test_rpath (line 2544) | def make_package_test_rpath(pkg: PackageBase, test_dir: Union[str, pathl... function deprecated_version (line 2570) | def deprecated_version(pkg: PackageBase, version: Union[str, StandardVer... function preferred_version (line 2584) | def preferred_version( function non_preferred_version (line 2605) | def non_preferred_version(node: spack.spec.Spec) -> bool: function non_default_variant (line 2616) | def non_default_variant(node: spack.spec.Spec, variant_name: str) -> bool: function sort_by_pkg_preference (line 2626) | def sort_by_pkg_preference( function concretization_version_order (line 2638) | def concretization_version_order( class PackageStillNeededError (line 2657) | class PackageStillNeededError(InstallError): method __init__ (line 2660) | def __init__(self, spec, dependents): class InvalidPackageOpError (line 2671) | class InvalidPackageOpError(PackageError): class ExtensionError (line 2675) | class ExtensionError(PackageError): class ActivationError (line 2679) | class ActivationError(ExtensionError): method __init__ (line 2682) | def __init__(self, msg, long_msg=None): class DependencyConflictError (line 2686) | class DependencyConflictError(spack.error.SpackError): method __init__ (line 2689) | def __init__(self, conflict): class ManualDownloadRequiredError (line 2693) | class ManualDownloadRequiredError(InvalidPackageOpError): FILE: lib/spack/spack/package_completions.py function bash_completion_path (line 11) | def bash_completion_path(root: Union[str, Path]) -> Path: function zsh_completion_path (line 24) | def zsh_completion_path(root: Union[str, Path]) -> Path: function fish_completion_path (line 37) | def fish_completion_path(root: Union[str, Path]) -> Path: FILE: lib/spack/spack/package_prefs.py function _spec_type (line 17) | def _spec_type(component): class PackagePrefs (line 22) | class PackagePrefs: method __init__ (line 52) | def __init__(self, pkgname, component, vpkg=None, all=True): method __call__ (line 60) | def __call__(self, spec): method order_for_package (line 88) | def order_for_package(cls, pkgname, component, vpkg=None, all=True): method _specs_for_pkg (line 120) | def _specs_for_pkg(cls, pkgname, component, vpkg=None, all=True): method has_preferred_providers (line 130) | def has_preferred_providers(cls, pkgname, vpkg): method has_preferred_targets (line 135) | def has_preferred_targets(cls, pkg_name): method preferred_variants (line 140) | def preferred_variants(cls, pkg_name): function is_spec_buildable (line 162) | def is_spec_buildable(spec): function get_package_dir_permissions (line 183) | def get_package_dir_permissions(spec): function get_package_permissions (line 201) | def get_package_permissions(spec): function get_package_group (line 250) | def get_package_group(spec): class VirtualInPackagesYAMLError (line 264) | class VirtualInPackagesYAMLError(spack.error.SpackError): FILE: lib/spack/spack/package_test.py function compile_c_and_execute (line 11) | def compile_c_and_execute( function compare_output (line 27) | def compare_output(current_output: str, blessed_output: str) -> None: function compare_output_file (line 42) | def compare_output_file(current_output: str, blessed_output_file: str) -... FILE: lib/spack/spack/patch.py function apply_patch (line 25) | def apply_patch( class Patch (line 71) | class Patch: method __init__ (line 81) | def __init__( method to_dict (line 120) | def to_dict(self) -> Dict[str, Any]: method __eq__ (line 134) | def __eq__(self, other: object) -> bool: method __hash__ (line 147) | def __hash__(self) -> int: class FilePatch (line 156) | class FilePatch(Patch): method __init__ (line 161) | def __init__( method sha256 (line 209) | def sha256(self) -> str: method sha256 (line 221) | def sha256(self, value: str) -> None: method to_dict (line 229) | def to_dict(self) -> Dict[str, Any]: class UrlPatch (line 240) | class UrlPatch(Patch): method __init__ (line 243) | def __init__( method fetcher (line 283) | def fetcher(self) -> spack.fetch_strategy.FetchStrategy: method to_dict (line 295) | def to_dict(self) -> Dict[str, Any]: function from_dict (line 308) | def from_dict(dictionary: Dict[str, Any], repository: "spack.repo.RepoPa... class PatchCache (line 365) | class PatchCache: method __init__ (line 384) | def __init__( method from_json (line 403) | def from_json(cls, stream: Any, repository: "spack.repo.RepoPath") -> ... method to_json (line 415) | def to_json(self, stream: Any) -> None: method patch_for_package (line 423) | def patch_for_package( method update_packages (line 482) | def update_packages(self, pkgs_fullname: Set[str]) -> None: method update (line 515) | def update(self, other: "PatchCache") -> None: method _index_patches (line 526) | def _index_patches( FILE: lib/spack/spack/paths.py function _get_user_cache_path (line 93) | def _get_user_cache_path(): function _get_user_config_path (line 130) | def _get_user_config_path(): function _get_system_config_path (line 135) | def _get_system_config_path(): function set_working_dir (line 151) | def set_working_dir(): FILE: lib/spack/spack/phase_callbacks.py class PhaseCallbacksMeta (line 27) | class PhaseCallbacksMeta(type): method __new__ (line 37) | def __new__(mcs, name, bases, attr_dict): method run_after (line 69) | def run_after(phase: str, when: Optional[str] = None): method run_before (line 93) | def run_before(phase: str, when: Optional[str] = None): FILE: lib/spack/spack/platforms/__init__.py class _PickleableCallable (line 37) | class _PickleableCallable: method __init__ (line 43) | def __init__(self, return_value): method __call__ (line 46) | def __call__(self): function use_platform (line 51) | def use_platform(new_platform): FILE: lib/spack/spack/platforms/_functions.py function _host (line 17) | def _host(): function reset (line 25) | def reset(): function cls_by_name (line 33) | def cls_by_name(name): function by_name (line 46) | def by_name(name): FILE: lib/spack/spack/platforms/_platform.py class Platform (line 13) | class Platform: method __init__ (line 35) | def __init__(self, name): method add_target (line 41) | def add_target(self, name: str, target: spack.vendor.archspec.cpu.Micr... method _init_targets (line 47) | def _init_targets(self): method target (line 52) | def target(self, name): method add_operating_system (line 62) | def add_operating_system(self, name, os_class): method default_target (line 68) | def default_target(self): method default_operating_system (line 71) | def default_operating_system(self): method operating_system (line 74) | def operating_system(self, name): method setup_platform_environment (line 83) | def setup_platform_environment(self, pkg, env): method detect (line 91) | def detect(cls): method __repr__ (line 99) | def __repr__(self): method __str__ (line 102) | def __str__(self): method _cmp_iter (line 105) | def _cmp_iter(self): FILE: lib/spack/spack/platforms/cray.py function slingshot_network (line 7) | def slingshot_network(): FILE: lib/spack/spack/platforms/darwin.py class Darwin (line 13) | class Darwin(Platform): method __init__ (line 18) | def __init__(self): method detect (line 25) | def detect(cls): method setup_platform_environment (line 28) | def setup_platform_environment(self, pkg, env): FILE: lib/spack/spack/platforms/freebsd.py class FreeBSD (line 11) | class FreeBSD(Platform): method __init__ (line 14) | def __init__(self): method detect (line 21) | def detect(cls): FILE: lib/spack/spack/platforms/linux.py class Linux (line 11) | class Linux(Platform): method __init__ (line 14) | def __init__(self): method detect (line 21) | def detect(cls): FILE: lib/spack/spack/platforms/test.py class Test (line 13) | class Test(Platform): method __init__ (line 22) | def __init__(self, name=None): method _init_targets (line 28) | def _init_targets(self): method detect (line 34) | def detect(cls): FILE: lib/spack/spack/platforms/windows.py class Windows (line 12) | class Windows(Platform): method __init__ (line 15) | def __init__(self): method detect (line 22) | def detect(cls): FILE: lib/spack/spack/projections.py function get_projection (line 8) | def get_projection(projections, spec): FILE: lib/spack/spack/provider_index.py class ProviderIndex (line 16) | class ProviderIndex: method __init__ (line 35) | def __init__( method providers_for (line 60) | def providers_for(self, virtual: Union[str, "spack.spec.Spec"]) -> Lis... method __contains__ (line 90) | def __contains__(self, name): method __eq__ (line 93) | def __eq__(self, other): method _transform (line 96) | def _transform(self, transform_fun, out_mapping_type=dict): method __str__ (line 110) | def __str__(self): method __repr__ (line 113) | def __repr__(self): method update_packages (line 116) | def update_packages(self, specs: Iterable[Union[str, "spack.spec.Spec"... method to_json (line 166) | def to_json(self, stream=None): method merge (line 178) | def merge(self, other): method remove_providers (line 199) | def remove_providers(self, pkg_names: Set[str]): method copy (line 220) | def copy(self): method from_json (line 227) | def from_json(stream, repository): function _transform (line 255) | def _transform(providers, transform_fun, out_mapping_type=dict): class ProviderIndexError (line 281) | class ProviderIndexError(spack.error.SpackError): FILE: lib/spack/spack/relocate.py function _patchelf (line 27) | def _patchelf() -> Optional[executable.Executable]: function _decode_macho_data (line 38) | def _decode_macho_data(bytestring): function _macho_find_paths (line 42) | def _macho_find_paths(orig_rpaths, deps, idpath, prefix_to_prefix): function _modify_macho_object (line 87) | def _modify_macho_object(cur_path, rpaths, deps, idpath, paths_to_paths): function _macholib_get_paths (line 130) | def _macholib_get_paths(cur_path): function _set_elf_rpaths_and_interpreter (line 168) | def _set_elf_rpaths_and_interpreter( function relocate_macho_binaries (line 198) | def relocate_macho_binaries(path_names, prefix_to_prefix): function relocate_elf_binaries (line 219) | def relocate_elf_binaries(binaries: Iterable[str], prefix_to_prefix: Dic... function relocate_links (line 238) | def relocate_links(links: Iterable[str], prefix_to_prefix: Dict[str, str... function relocate_text (line 254) | def relocate_text(files: Iterable[str], prefix_to_prefix: PrefixToPrefix... function relocate_text_bin (line 267) | def relocate_text_bin(binaries: Iterable[str], prefix_to_prefix: PrefixT... function is_macho_magic (line 282) | def is_macho_magic(magic: bytes) -> bool: function is_elf_magic (line 298) | def is_elf_magic(magic: bytes) -> bool: function is_binary (line 302) | def is_binary(filename: str) -> bool: function _exists_dir (line 312) | def _exists_dir(dirname): function is_macho_binary (line 316) | def is_macho_binary(path: str) -> bool: function fixup_macos_rpath (line 324) | def fixup_macos_rpath(root, filename): function fixup_macos_rpaths (line 399) | def fixup_macos_rpaths(spec): FILE: lib/spack/spack/relocate_text.py function encode_path (line 18) | def encode_path(p: Prefix) -> bytes: function _prefix_to_prefix_as_bytes (line 22) | def _prefix_to_prefix_as_bytes(prefix_to_prefix: PrefixToPrefix) -> Dict... function utf8_path_to_binary_regex (line 26) | def utf8_path_to_binary_regex(prefix: str) -> PatternBytes: function _byte_strings_to_single_binary_regex (line 32) | def _byte_strings_to_single_binary_regex(prefixes: Iterable[bytes]) -> P... function utf8_paths_to_single_binary_regex (line 37) | def utf8_paths_to_single_binary_regex(prefixes: Iterable[str]) -> Patter... function filter_identity_mappings (line 42) | def filter_identity_mappings(prefix_to_prefix: Dict[bytes, bytes]) -> Di... class PrefixReplacer (line 51) | class PrefixReplacer: method __init__ (line 56) | def __init__(self, prefix_to_prefix: Dict[bytes, bytes]) -> None: method is_noop (line 67) | def is_noop(self) -> bool: method apply (line 73) | def apply(self, filenames: Iterable[str]) -> List[str]: method apply_to_filename (line 83) | def apply_to_filename(self, filename: str) -> bool: method apply_to_file (line 89) | def apply_to_file(self, f: IO[bytes]) -> bool: method _apply_to_file (line 94) | def _apply_to_file(self, f: IO) -> bool: class TextFilePrefixReplacer (line 98) | class TextFilePrefixReplacer(PrefixReplacer): method __init__ (line 104) | def __init__(self, prefix_to_prefix: Dict[bytes, bytes]): method from_strings_or_bytes (line 114) | def from_strings_or_bytes(cls, prefix_to_prefix: PrefixToPrefix) -> "T... method _apply_to_file (line 118) | def _apply_to_file(self, f: IO) -> bool: class BinaryFilePrefixReplacer (line 132) | class BinaryFilePrefixReplacer(PrefixReplacer): method __init__ (line 133) | def __init__(self, prefix_to_prefix: Dict[bytes, bytes], suffix_safety... method binary_text_regex (line 146) | def binary_text_regex( method from_strings_or_bytes (line 165) | def from_strings_or_bytes( method _apply_to_file (line 177) | def _apply_to_file(self, f: IO[bytes]) -> bool: class BinaryTextReplaceError (line 254) | class BinaryTextReplaceError(spack.error.SpackError): method __init__ (line 255) | def __init__(self, msg): class CannotGrowString (line 263) | class CannotGrowString(BinaryTextReplaceError): method __init__ (line 264) | def __init__(self, old, new): class CannotShrinkCString (line 270) | class CannotShrinkCString(BinaryTextReplaceError): method __init__ (line 271) | def __init__(self, old, new, full_old_string): FILE: lib/spack/spack/repo.py function package_repository_lock (line 75) | def package_repository_lock() -> spack.util.lock.Lock: function is_package_module (line 82) | def is_package_module(fullname: str) -> bool: function namespace_from_fullname (line 89) | def namespace_from_fullname(fullname: str) -> str: function name_from_fullname (line 108) | def name_from_fullname(fullname: str) -> str: class _PrependFileLoader (line 127) | class _PrependFileLoader(importlib.machinery.SourceFileLoader): method __init__ (line 128) | def __init__(self, fullname: str, repo: "Repo", package_name: str) -> ... method path_stats (line 136) | def path_stats(self, path): method get_data (line 141) | def get_data(self, path): class SpackNamespaceLoader (line 146) | class SpackNamespaceLoader: method create_module (line 147) | def create_module(self, spec): method exec_module (line 150) | def exec_module(self, module): class ReposFinder (line 154) | class ReposFinder: method find_spec (line 163) | def find_spec(self, fullname, python_path, target=None): method compute_loader (line 177) | def compute_loader(self, fullname: str): function builtin_repo (line 218) | def builtin_repo() -> "Repo": class GitExe (line 226) | class GitExe: method __init__ (line 231) | def __init__(self, packages_path: str): method __call__ (line 235) | def __call__(self, *args, **kwargs) -> str: function list_packages (line 240) | def list_packages(rev: str, repo: "Repo") -> List[str]: function diff_packages (line 266) | def diff_packages(rev1: str, rev2: str, repo: "Repo") -> Tuple[Set[str],... function get_all_package_diffs (line 275) | def get_all_package_diffs(type: str, repo: "Repo", rev1="HEAD^1", rev2="... function add_package_to_git_stage (line 317) | def add_package_to_git_stage(packages: List[str], repo: "Repo") -> None: function autospec (line 329) | def autospec(function): class SpackNamespace (line 345) | class SpackNamespace(types.ModuleType): method __init__ (line 348) | def __init__(self, namespace): method __getattr__ (line 356) | def __getattr__(self, name): function _directory_fd (line 368) | def _directory_fd(path: str) -> Generator[Optional[int], None, None]: class FastPackageChecker (line 380) | class FastPackageChecker(Mapping[str, float]): method __init__ (line 389) | def __init__(self, packages_path: str, package_api: Tuple[int, int]) -... method invalidate (line 401) | def invalidate(self) -> None: method _create_new_cache (line 406) | def _create_new_cache(self) -> Dict[str, float]: method last_mtime (line 459) | def last_mtime(self) -> float: method modified_since (line 462) | def modified_since(self, since: float) -> List[str]: method __getitem__ (line 465) | def __getitem__(self, item: str) -> float: method __iter__ (line 468) | def __iter__(self) -> Iterator[str]: method __len__ (line 471) | def __len__(self) -> int: class Indexer (line 475) | class Indexer(metaclass=abc.ABCMeta): method __init__ (line 478) | def __init__(self, repository): method create (line 482) | def create(self): method _create (line 486) | def _create(self): method needs_update (line 489) | def needs_update(self, pkg) -> bool: method read (line 505) | def read(self, stream): method update (line 509) | def update(self, pkgs_fullname: Set[str]): method write (line 513) | def write(self, stream): class TagIndexer (line 517) | class TagIndexer(Indexer): method _create (line 520) | def _create(self) -> spack.tag.TagIndex: method read (line 523) | def read(self, stream): method update (line 526) | def update(self, pkgs_fullname: Set[str]): method write (line 529) | def write(self, stream): class ProviderIndexer (line 533) | class ProviderIndexer(Indexer): method _create (line 536) | def _create(self) -> "spack.provider_index.ProviderIndex": method read (line 539) | def read(self, stream): method update (line 542) | def update(self, pkgs_fullname: Set[str]): method write (line 551) | def write(self, stream): class PatchIndexer (line 555) | class PatchIndexer(Indexer): method _create (line 558) | def _create(self) -> spack.patch.PatchCache: method needs_update (line 561) | def needs_update(self): method read (line 568) | def read(self, stream): method write (line 571) | def write(self, stream): method update (line 574) | def update(self, pkgs_fullname: Set[str]): class RepoIndex (line 578) | class RepoIndex: method __init__ (line 592) | def __init__( method checker (line 614) | def checker(self) -> FastPackageChecker: method add_indexer (line 619) | def add_indexer(self, name: str, indexer: Indexer): method __getitem__ (line 627) | def __getitem__(self, name): method get_index (line 631) | def get_index(self, name, allow_stale: bool = False): method _build_all_indexes (line 643) | def _build_all_indexes(self, allow_stale: bool = False) -> None: method _update_index (line 656) | def _update_index(self, name: str, indexer: Indexer, allow_stale: bool... class RepoPath (line 697) | class RepoPath: method __init__ (line 705) | def __init__(self, *repos: "Repo") -> None: method from_descriptors (line 717) | def from_descriptors( method from_config (line 732) | def from_config(config: spack.config.Configuration) -> "RepoPath": method enable (line 746) | def enable(self) -> None: method disable (line 753) | def disable(self) -> None: method ensure_unwrapped (line 761) | def ensure_unwrapped(self) -> "RepoPath": method put_first (line 765) | def put_first(self, repo: Union["Repo", "RepoPath"]) -> None: method put_last (line 775) | def put_last(self, repo): method remove (line 788) | def remove(self, repo): method get_repo (line 793) | def get_repo(self, namespace: str) -> "Repo": method first_repo (line 799) | def first_repo(self) -> Optional["Repo"]: method _all_package_names_set (line 804) | def _all_package_names_set(self, include_virtuals) -> Set[str]: method _all_package_names (line 808) | def _all_package_names(self, include_virtuals: bool) -> List[str]: method all_package_names (line 812) | def all_package_names(self, include_virtuals: bool = False) -> List[str]: method package_path (line 815) | def package_path(self, name: str) -> str: method all_package_paths (line 819) | def all_package_paths(self) -> Generator[str, None, None]: method packages_with_tags (line 823) | def packages_with_tags(self, *tags: str, full: bool = False) -> Set[str]: method all_package_classes (line 835) | def all_package_classes(self) -> Generator[Type["spack.package_base.Pa... method provider_index (line 840) | def provider_index(self) -> spack.provider_index.ProviderIndex: method tag_index (line 849) | def tag_index(self) -> spack.tag.TagIndex: method get_patch_index (line 857) | def get_patch_index(self, allow_stale: bool = False) -> spack.patch.Pa... method get_patches_for_package (line 874) | def get_patches_for_package( method providers_for (line 900) | def providers_for(self, virtual: Union[str, "spack.spec.Spec"]) -> Lis... method extensions_for (line 912) | def extensions_for( method last_mtime (line 923) | def last_mtime(self): method repo_for_pkg (line 927) | def repo_for_pkg(self, spec: Union[str, "spack.spec.Spec"]) -> "Repo": method get (line 960) | def get(self, spec: "spack.spec.Spec") -> "spack.package_base.PackageB... method python_paths (line 968) | def python_paths(self) -> List[str]: method get_pkg_class (line 972) | def get_pkg_class(self, pkg_name: str) -> Type["spack.package_base.Pac... method dump_provenance (line 977) | def dump_provenance(self, spec, path): method dirname_for_package_name (line 985) | def dirname_for_package_name(self, pkg_name: str) -> str: method filename_for_package_name (line 988) | def filename_for_package_name(self, pkg_name: str) -> str: method exists (line 991) | def exists(self, pkg_name: str) -> bool: method is_virtual (line 998) | def is_virtual(self, pkg_name: str) -> bool: method is_virtual_safe (line 1010) | def is_virtual_safe(self, pkg_name: str) -> bool: method __contains__ (line 1021) | def __contains__(self, pkg_name): method marshal (line 1024) | def marshal(self): method unmarshal (line 1028) | def unmarshal(repos): method __reduce__ (line 1031) | def __reduce__(self): function _parse_package_api_version (line 1035) | def _parse_package_api_version( function _validate_and_normalize_subdir (line 1064) | def _validate_and_normalize_subdir(subdir: Any, root: str, package_api: ... class Repo (line 1088) | class Repo: method __init__ (line 1110) | def __init__( method package_api_str (line 1223) | def package_api_str(self) -> str: method real_name (line 1226) | def real_name(self, import_name: str) -> Optional[str]: method is_prefix (line 1260) | def is_prefix(self, fullname: str) -> bool: method _read_config (line 1265) | def _read_config(self) -> Dict[str, Any]: method get (line 1283) | def get(self, spec: "spack.spec.Spec") -> "spack.package_base.PackageB... method dump_provenance (line 1312) | def dump_provenance(self, spec: "spack.spec.Spec", path: str) -> None: method index (line 1343) | def index(self) -> RepoIndex: method provider_index (line 1355) | def provider_index(self) -> spack.provider_index.ProviderIndex: method tag_index (line 1360) | def tag_index(self) -> spack.tag.TagIndex: method get_patch_index (line 1364) | def get_patch_index(self, allow_stale: bool = False) -> spack.patch.Pa... method providers_for (line 1369) | def providers_for(self, virtual: Union[str, "spack.spec.Spec"]) -> Lis... method extensions_for (line 1376) | def extensions_for( method dirname_for_package_name (line 1384) | def dirname_for_package_name(self, pkg_name: str) -> str: method filename_for_package_name (line 1391) | def filename_for_package_name(self, pkg_name: str) -> str: method _pkg_checker (line 1404) | def _pkg_checker(self) -> FastPackageChecker: method all_package_names (line 1409) | def all_package_names(self, include_virtuals: bool = False) -> List[str]: method package_path (line 1416) | def package_path(self, name: str) -> str: method all_package_paths (line 1422) | def all_package_paths(self) -> Generator[str, None, None]: method packages_with_tags (line 1426) | def packages_with_tags(self, *tags: str) -> Set[str]: method all_package_classes (line 1432) | def all_package_classes(self) -> Generator[Type["spack.package_base.Pa... method exists (line 1440) | def exists(self, pkg_name: str) -> bool: method last_mtime (line 1453) | def last_mtime(self): method is_virtual (line 1457) | def is_virtual(self, pkg_name: str) -> bool: method is_virtual_safe (line 1465) | def is_virtual_safe(self, pkg_name: str) -> bool: method get_pkg_class (line 1472) | def get_pkg_class(self, pkg_name: str) -> Type["spack.package_base.Pac... method partition_package_name (line 1549) | def partition_package_name(self, pkg_name: str) -> Tuple[str, str]: method __str__ (line 1558) | def __str__(self) -> str: method __repr__ (line 1561) | def __repr__(self) -> str: method __contains__ (line 1564) | def __contains__(self, pkg_name: str) -> bool: method unmarshal (line 1568) | def unmarshal(root, cache, overrides): method marshal (line 1572) | def marshal(self): method __reduce__ (line 1578) | def __reduce__(self): function partition_package_name (line 1585) | def partition_package_name(pkg_name: str) -> Tuple[str, str]: function get_repo_yaml_dir (line 1599) | def get_repo_yaml_dir( function create_repo (line 1623) | def create_repo( function from_path (line 1681) | def from_path(path: str) -> Repo: class RepoDescriptor (line 1689) | class RepoDescriptor: method __init__ (line 1692) | def __init__(self, name: Optional[str]) -> None: method _maybe_name (line 1696) | def _maybe_name(self) -> str: method initialize (line 1700) | def initialize(self, fetch: bool = True, git: MaybeExecutable = None) ... method update (line 1703) | def update(self, git: MaybeExecutable = None, remote: str = "origin") ... method construct (line 1706) | def construct( class LocalRepoDescriptor (line 1713) | class LocalRepoDescriptor(RepoDescriptor): method __init__ (line 1714) | def __init__(self, name: Optional[str], path: str) -> None: method __repr__ (line 1718) | def __repr__(self) -> str: method construct (line 1721) | def construct( class RemoteRepoDescriptor (line 1730) | class RemoteRepoDescriptor(RepoDescriptor): method __init__ (line 1731) | def __init__( method _fetched (line 1754) | def _fetched(self) -> bool: method fetched (line 1759) | def fetched(self) -> bool: method get_commit (line 1764) | def get_commit(self, git: MaybeExecutable = None): method _clone_or_pull (line 1773) | def _clone_or_pull( method update (line 1861) | def update(self, git: MaybeExecutable = None, remote: str = "origin") ... method initialize (line 1870) | def initialize(self, fetch: bool = True, git: MaybeExecutable = None) ... method read_index_file (line 1886) | def read_index_file(self) -> None: method __repr__ (line 1911) | def __repr__(self): method construct (line 1919) | def construct( class BrokenRepoDescriptor (line 1940) | class BrokenRepoDescriptor(RepoDescriptor): method __init__ (line 1944) | def __init__(self, name: Optional[str], error: str) -> None: method initialize (line 1948) | def initialize( method construct (line 1953) | def construct( class RepoDescriptors (line 1959) | class RepoDescriptors(Mapping[str, RepoDescriptor]): method __init__ (line 1962) | def __init__(self, descriptors: Dict[str, RepoDescriptor]) -> None: method __getitem__ (line 1965) | def __getitem__(self, name: str) -> RepoDescriptor: method __iter__ (line 1968) | def __iter__(self): method __len__ (line 1971) | def __len__(self): method __contains__ (line 1974) | def __contains__(self, name) -> bool: method __repr__ (line 1977) | def __repr__(self): method from_config (line 1981) | def from_config( method construct (line 1991) | def construct( function parse_config_descriptor (line 2026) | def parse_config_descriptor( function create_or_construct (line 2083) | def create_or_construct( function create_and_enable (line 2096) | def create_and_enable(config: spack.config.Configuration) -> RepoPath: function all_package_names (line 2112) | def all_package_names(include_virtuals=False): function use_repositories (line 2118) | def use_repositories( function enable_repo (line 2148) | def enable_repo(repo_path: RepoPath) -> None: class RepoError (line 2155) | class RepoError(spack.error.SpackError): class NoRepoConfiguredError (line 2159) | class NoRepoConfiguredError(RepoError): class InvalidNamespaceError (line 2163) | class InvalidNamespaceError(RepoError): class BadRepoError (line 2167) | class BadRepoError(RepoError): class BadRepoVersionError (line 2171) | class BadRepoVersionError(BadRepoError): method __init__ (line 2174) | def __init__(self, api, *args, **kwargs): class UnknownEntityError (line 2179) | class UnknownEntityError(RepoError): class UnknownPackageError (line 2183) | class UnknownPackageError(UnknownEntityError): method __init__ (line 2186) | def __init__( class UnknownNamespaceError (line 2232) | class UnknownNamespaceError(UnknownEntityError): method __init__ (line 2235) | def __init__(self, namespace, name=None): class FailedConstructorError (line 2242) | class FailedConstructorError(RepoError): method __init__ (line 2245) | def __init__(self, name, exc_type, exc_obj, exc_tb): FILE: lib/spack/spack/repo_migrate.py function _same_contents (line 18) | def _same_contents(f: str, g: str) -> bool: function migrate_v1_to_v2 (line 34) | def migrate_v1_to_v2( function _pkg_module_update (line 234) | def _pkg_module_update(pkg_module: str) -> str: function _spack_pkg_to_spack_repo (line 238) | def _spack_pkg_to_spack_repo(modulename: str) -> str: function migrate_v2_imports (line 249) | def migrate_v2_imports( FILE: lib/spack/spack/report.py class Record (line 20) | class Record(dict): method __getattr__ (line 25) | def __getattr__(self, name): method __setattr__ (line 31) | def __setattr__(self, name, value): class RequestRecord (line 38) | class RequestRecord(Record): method __init__ (line 49) | def __init__(self, spec): method skip_installed (line 64) | def skip_installed(self): method append_record (line 71) | def append_record(self, record): method summarize (line 74) | def summarize(self): class SpecRecord (line 82) | class SpecRecord(Record): method __init__ (line 85) | def __init__(self, spec): method start (line 94) | def start(self): method skip (line 97) | def skip(self, msg): method fail (line 102) | def fail(self, exc): method succeed (line 120) | def succeed(self): class InstallRecord (line 128) | class InstallRecord(SpecRecord): method __init__ (line 131) | def __init__(self, spec): method fetch_log (line 135) | def fetch_log(self): method succeed (line 149) | def succeed(self): class NullInstallRecord (line 154) | class NullInstallRecord(InstallRecord): method start (line 159) | def start(self) -> None: method succeed (line 162) | def succeed(self) -> None: method fail (line 165) | def fail(self, exc) -> None: method skip (line 168) | def skip(self, msg: str = "") -> None: class NullRequestRecord (line 172) | class NullRequestRecord(RequestRecord): method __init__ (line 177) | def __init__(self) -> None: method skip_installed (line 180) | def skip_installed(self) -> None: method append_record (line 183) | def append_record(self, record) -> None: method summarize (line 186) | def summarize(self) -> None: class TestRecord (line 190) | class TestRecord(SpecRecord): method __init__ (line 193) | def __init__(self, spec, directory): method fetch_log (line 197) | def fetch_log(self): method succeed (line 206) | def succeed(self, externals): FILE: lib/spack/spack/reporters/base.py class Reporter (line 7) | class Reporter: method build_report (line 10) | def build_report(self, filename: str, specs: List[Dict[str, Any]]): method test_report (line 13) | def test_report(self, filename: str, specs: List[Dict[str, Any]]): method concretization_report (line 16) | def concretization_report(self, filename: str, msg: str): FILE: lib/spack/spack/reporters/cdash.py function build_stamp (line 69) | def build_stamp(track, timestamp): class CDash (line 74) | class CDash(Reporter): method __init__ (line 87) | def __init__(self, configuration: CDashConfiguration): method report_build_name (line 125) | def report_build_name(self, pkg_name): method build_report_for_package (line 136) | def build_report_for_package(self, report_dir, package, duration): method build_report (line 273) | def build_report(self, report_dir, specs): method extract_standalone_test_data (line 307) | def extract_standalone_test_data(self, package, phases, report_data): method report_test_data (line 317) | def report_test_data(self, report_dir, package, phases, report_data): method test_report_for_package (line 341) | def test_report_for_package(self, report_dir, package, duration): method test_report (line 362) | def test_report(self, report_dir, specs): method test_skipped_report (line 376) | def test_skipped_report( method concretization_report (line 396) | def concretization_report(self, report_dir, msg): method initialize_report (line 418) | def initialize_report(self, report_dir): method upload (line 432) | def upload(self, filename): method finalize_report (line 465) | def finalize_report(self): FILE: lib/spack/spack/reporters/extract.py function add_part_output (line 28) | def add_part_output(part, line): function elapsed (line 33) | def elapsed(current, previous): function new_part (line 42) | def new_part(): function process_part_end (line 55) | def process_part_end(part, curr_time, last_time): function timestamp (line 69) | def timestamp(time_string): function skip (line 73) | def skip(line): function status (line 80) | def status(line): function extract_test_parts (line 89) | def extract_test_parts(default_name, outputs): FILE: lib/spack/spack/reporters/junit.py class JUnit (line 11) | class JUnit(Reporter): method concretization_report (line 16) | def concretization_report(self, filename, msg): method build_report (line 19) | def build_report(self, filename, specs): method test_report (line 35) | def test_report(self, filename, specs): FILE: lib/spack/spack/resource.py class Resource (line 13) | class Resource: method __init__ (line 22) | def __init__(self, name, fetcher, destination, placement): FILE: lib/spack/spack/rewiring.py function rewire (line 14) | def rewire(spliced_spec): function rewire_node (line 29) | def rewire_node(spec, explicit): class RewireError (line 48) | class RewireError(spack.error.SpackError): method __init__ (line 51) | def __init__(self, message, long_msg=None): class PackageNotInstalledError (line 55) | class PackageNotInstalledError(RewireError): method __init__ (line 58) | def __init__(self, spliced_spec, build_spec, dep): FILE: lib/spack/spack/schema/__init__.py class DeprecationMessage (line 16) | class DeprecationMessage(typing.NamedTuple): function _validate_spec (line 21) | def _validate_spec(validator, is_spec, instance, schema): function _deprecated_properties (line 39) | def _deprecated_properties(validator, deprecated, instance, schema): function _append (line 76) | def _append(string: str) -> bool: function _prepend (line 90) | def _prepend(string: str) -> bool: function override (line 103) | def override(string: str) -> bool: function merge_yaml (line 114) | def merge_yaml(dest, source, prepend=False, append=False): FILE: lib/spack/spack/schema/ci.py function job_schema (line 102) | def job_schema(name: str): FILE: lib/spack/spack/schema/config.py function update (line 252) | def update(data: dict) -> bool: FILE: lib/spack/spack/schema/env.py function update (line 111) | def update(data: Dict[str, Any]) -> bool: FILE: lib/spack/spack/schema/environment.py function parse (line 53) | def parse(config_obj): FILE: lib/spack/spack/schema/packages.py function update (line 368) | def update(data): FILE: lib/spack/spack/schema/repos.py function update (line 97) | def update(data: Dict[str, Any]) -> bool: FILE: lib/spack/spack/solver/asp.py class OutputConfiguration (line 92) | class OutputConfiguration(NamedTuple): function default_clingo_control (line 111) | def default_clingo_control(): class OptimizationKind (line 145) | class OptimizationKind: class OptimizationCriteria (line 156) | class OptimizationCriteria(NamedTuple): function build_criteria_names (line 165) | def build_criteria_names(costs, arg_tuples): function specify (line 199) | def specify(spec): function remove_facts (line 207) | def remove_facts(*to_be_removed: str) -> TransformFunction: function identity_for_facts (line 216) | def identity_for_facts( function dependency_holds (line 224) | def dependency_holds( function dag_closure_by_deptype (line 242) | def dag_closure_by_deptype( function libc_is_compatible (line 255) | def libc_is_compatible(lhs: spack.spec.Spec, rhs: spack.spec.Spec) -> bool: function c_compiler_runs (line 263) | def c_compiler_runs(compiler) -> bool: function extend_flag_list (line 267) | def extend_flag_list(flag_list, new_flags): function _reorder_flags (line 281) | def _reorder_flags(flag_list: List[spack.spec.CompilerFlag]) -> List[spa... function check_packages_exist (line 307) | def check_packages_exist(specs): class Result (line 323) | class Result: method __init__ (line 326) | def __init__(self, specs): method raise_if_unsat (line 349) | def raise_if_unsat(self): method specs (line 361) | def specs(self): method unsolved_specs (line 370) | def unsolved_specs(self): method specs_by_input (line 380) | def specs_by_input(self) -> Dict[spack.spec.Spec, spack.spec.Spec]: method _compute_specs_from_answer_set (line 385) | def _compute_specs_from_answer_set(self): method format_unsolved (line 421) | def format_unsolved(unsolved_specs): method to_dict (line 435) | def to_dict(self) -> dict: method from_dict (line 467) | def from_dict(obj: dict): method __eq__ (line 516) | def __eq__(self, other): class ConcretizationCache (line 536) | class ConcretizationCache: method __init__ (line 544) | def __init__(self, root: Union[str, None] = None): method cleanup (line 552) | def cleanup(self): method cache_entries (line 593) | def cache_entries(self): method _results_from_cache (line 601) | def _results_from_cache(self, cache_entry_file: str) -> Union[Result, ... method _stats_from_cache (line 612) | def _stats_from_cache(self, cache_entry_file: str) -> Union[Dict, None]: method _prefix_digest (line 622) | def _prefix_digest(self, problem: str) -> str: method _cache_path_from_problem (line 626) | def _cache_path_from_problem(self, problem: str) -> pathlib.Path: method _safe_remove (line 632) | def _safe_remove(self, cache_dir: pathlib.Path) -> bool: method _lock (line 649) | def _lock(self, path: pathlib.Path) -> lk.Lock: method read_transaction (line 666) | def read_transaction( method write_transaction (line 677) | def write_transaction( method store (line 688) | def store(self, problem: str, result: Result, statistics: List) -> None: method fetch (line 707) | def fetch(self, problem: str) -> Union[Tuple[Result, Dict], Tuple[None... function _is_checksummed_git_version (line 750) | def _is_checksummed_git_version(v): function _is_checksummed_version (line 754) | def _is_checksummed_version(version_info: Tuple[GitOrStandardVersion, di... function _spec_with_default_name (line 764) | def _spec_with_default_name(spec_str, name): class ErrorHandler (line 772) | class ErrorHandler: method __init__ (line 773) | def __init__(self, model, input_specs: List[spack.spec.Spec]): method multiple_values_error (line 778) | def multiple_values_error(self, attribute, pkg): method no_value_error (line 781) | def no_value_error(self, attribute, pkg): method _get_cause_tree (line 784) | def _get_cause_tree( method get_cause_tree (line 809) | def get_cause_tree(self, cause: Tuple[str, str]) -> List[str]: method handle_error (line 826) | def handle_error(self, msg, *args): method message (line 861) | def message(self, errors) -> str: method raise_if_errors (line 870) | def raise_if_errors(self): class PyclingoDriver (line 908) | class PyclingoDriver: method __init__ (line 909) | def __init__(self, conc_cache: Optional[ConcretizationCache] = None) -... method _control_file_paths (line 919) | def _control_file_paths(self, control_files: List[str]) -> List[str]: method _make_cache_key (line 927) | def _make_cache_key(self, asp_problem: List[str], control_file_paths: ... method _run_clingo (line 948) | def _run_clingo( method solve (line 1049) | def solve( class ConcreteSpecsByHash (line 1160) | class ConcreteSpecsByHash(collections.abc.Mapping): method __init__ (line 1167) | def __init__(self) -> None: method __getitem__ (line 1171) | def __getitem__(self, dag_hash: str) -> spack.spec.Spec: method explicit_items (line 1174) | def explicit_items(self) -> Iterator[Tuple[str, spack.spec.Spec]]: method add (line 1183) | def add(self, spec: spack.spec.Spec) -> bool: method __len__ (line 1230) | def __len__(self) -> int: method __iter__ (line 1233) | def __iter__(self): class ConstraintOrigin (line 1243) | class ConstraintOrigin(enum.Enum): method _SUFFIXES (line 1255) | def _SUFFIXES() -> Dict["ConstraintOrigin", str]: method append_type_suffix (line 1263) | def append_type_suffix(pkg_id: str, kind: "ConstraintOrigin") -> str: method strip_type_suffix (line 1269) | def strip_type_suffix(source: str) -> Tuple[int, Optional[str]]: class ConditionIdContext (line 1282) | class ConditionIdContext(SourceContext): method __init__ (line 1293) | def __init__(self): class ConditionContext (line 1298) | class ConditionContext(SourceContext): method __init__ (line 1306) | def __init__(self): method requirement_context (line 1320) | def requirement_context(self) -> ConditionIdContext: method impose_context (line 1327) | def impose_context(self) -> ConditionIdContext: class SpackSolverSetup (line 1335) | class SpackSolverSetup: method __init__ (line 1341) | def __init__(self, tests: spack.concretize.TestsType = False): method pkg_version_rules (line 1392) | def pkg_version_rules(self, pkg: Type[spack.package_base.PackageBase])... method spec_versions (line 1428) | def spec_versions( method target_ranges (line 1445) | def target_ranges( method conflict_rules (line 1459) | def conflict_rules(self, pkg): method config_compatible_os (line 1491) | def config_compatible_os(self): method package_requirement_rules (line 1500) | def package_requirement_rules(self, pkg): method pkg_rules (line 1503) | def pkg_rules(self, pkg, tests): method trigger_rules (line 1531) | def trigger_rules(self): method effect_rules (line 1547) | def effect_rules(self): method define_variant (line 1563) | def define_variant( method define_auto_variant (line 1670) | def define_auto_variant(self, name: str, multi: bool): method variant_rules (line 1680) | def variant_rules(self, pkg: Type[spack.package_base.PackageBase]): method _get_condition_id (line 1686) | def _get_condition_id( method _condition_clauses (line 1720) | def _condition_clauses( method condition (line 1773) | def condition( method package_provider_rules (line 1811) | def package_provider_rules(self, pkg: Type[spack.package_base.PackageB... method package_dependencies_rules (line 1840) | def package_dependencies_rules(self, pkg): method _gen_match_variant_splice_constraints (line 1869) | def _gen_match_variant_splice_constraints( method package_splice_rules (line 1896) | def package_splice_rules(self, pkg): method virtual_requirements_and_weights (line 1954) | def virtual_requirements_and_weights(self): method emit_facts_from_requirement_rules (line 1995) | def emit_facts_from_requirement_rules(self, rules: List[RequirementRul... method external_packages (line 2092) | def external_packages(self, packages_with_externals): method preferred_variants (line 2107) | def preferred_variants(self, pkg_name): method target_preferences (line 2135) | def target_preferences(self): method spec_clauses (line 2149) | def spec_clauses( method _spec_clauses (line 2187) | def _spec_clauses( method define_package_versions_and_validate_preferences (line 2447) | def define_package_versions_and_validate_preferences( method define_ad_hoc_versions_from_specs (line 2502) | def define_ad_hoc_versions_from_specs( method _supported_targets (line 2524) | def _supported_targets(self, compiler_name, compiler_version, targets): method platform_defaults (line 2546) | def platform_defaults(self): method os_defaults (line 2552) | def os_defaults(self, specs): method target_defaults (line 2584) | def target_defaults(self, specs): method define_version_constraints (line 2669) | def define_version_constraints(self): method collect_virtual_constraints (line 2711) | def collect_virtual_constraints(self): method define_target_constraints (line 2742) | def define_target_constraints(self): method define_variant_values (line 2775) | def define_variant_values(self): method register_concrete_spec (line 2798) | def register_concrete_spec(self, spec, possible: set): method concrete_specs (line 2813) | def concrete_specs(self): method define_concrete_input_specs (line 2834) | def define_concrete_input_specs(self, specs: tuple, possible: set): method impossible_dependencies_check (line 2841) | def impossible_dependencies_check(self, specs) -> None: method input_spec_version_check (line 2851) | def input_spec_version_check(self, specs, allow_deprecated: bool) -> N... method setup (line 2889) | def setup( method compiler_mixing (line 3078) | def compiler_mixing(self): method define_runtime_constraints (line 3090) | def define_runtime_constraints(self) -> List[spack.spec.Spec]: method literal_specs (line 3148) | def literal_specs(self, specs): method generate_conditional_dep_conditions (line 3201) | def generate_conditional_dep_conditions(self, spec: spack.spec.Spec, c... method validate_and_define_versions_from_requirements (line 3247) | def validate_and_define_versions_from_requirements( method _specs_from_requires (line 3290) | def _specs_from_requires(self, pkg_name, section): method pkg_class (line 3312) | def pkg_class(self, pkg_name: str) -> Type[spack.package_base.PackageB... class _Head (line 3320) | class _Head: class _Body (line 3334) | class _Body: function strip_asp_problem (line 3348) | def strip_asp_problem(asp_problem: Iterable[str]) -> List[str]: class ProblemInstanceBuilder (line 3361) | class ProblemInstanceBuilder: method __init__ (line 3374) | def __init__(self) -> None: method fact (line 3377) | def fact(self, atom: AspFunction) -> None: method append (line 3380) | def append(self, rule: str) -> None: method title (line 3383) | def title(self, header: str, char: str) -> None: method h1 (line 3390) | def h1(self, header: str) -> None: method h2 (line 3393) | def h2(self, header: str) -> None: method h3 (line 3396) | def h3(self, header: str): method newline (line 3399) | def newline(self): function possible_compilers (line 3403) | def possible_compilers(*, configuration) -> Tuple[Set["spack.spec.Spec"]... class SpecBuilder (line 3446) | class SpecBuilder: method make_node (line 3470) | def make_node(*, pkg: str) -> NodeId: method __init__ (line 3479) | def __init__(self, specs, hash_lookup=None): method hash (line 3494) | def hash(self, node, h): method node (line 3498) | def node(self, node): method _arch (line 3504) | def _arch(self, node): method namespace (line 3511) | def namespace(self, node, namespace): method node_platform (line 3514) | def node_platform(self, node, platform): method node_os (line 3517) | def node_os(self, node, os): method node_target (line 3520) | def node_target(self, node, target): method variant_selected (line 3523) | def variant_selected(self, node, name: str, value: str, variant_type: ... method version (line 3535) | def version(self, node, version): method node_flag (line 3538) | def node_flag(self, node, node_flag): method depends_on (line 3543) | def depends_on(self, parent_node, dependency_node, type): method virtual_on_edge (line 3548) | def virtual_on_edge(self, parent_node, provider_node, virtual): method reorder_flags (line 3555) | def reorder_flags(self): method deprecated (line 3665) | def deprecated(self, node: NodeId, version: str) -> None: method splice_at_hash (line 3668) | def splice_at_hash( method build_specs (line 3678) | def build_specs(self, function_tuples: List[FunctionTupleT]) -> List[s... method execute_explicit_splices (line 3794) | def execute_explicit_splices(self): function _specs_with_commits (line 3831) | def _specs_with_commits(spec): function _ensure_external_path_if_external (line 3858) | def _ensure_external_path_if_external(spec: spack.spec.Spec) -> None: function _develop_specs_from_env (line 3871) | def _develop_specs_from_env(spec, env): class Solver (line 3892) | class Solver: method __init__ (line 3899) | def __init__(self, *, specs_factory: Optional[SpecFiltersFactory] = No... method _check_input_and_extract_concrete_specs (line 3917) | def _check_input_and_extract_concrete_specs( method solve_with_stats (line 3956) | def solve_with_stats( method solve (line 3997) | def solve(self, specs: Sequence[spack.spec.Spec], **kwargs) -> Result: method solve_in_rounds (line 4006) | def solve_in_rounds( class UnsatisfiableSpecError (line 4068) | class UnsatisfiableSpecError(spack.error.UnsatisfiableSpecError): method __init__ (line 4071) | def __init__(self, msg): class InternalConcretizerError (line 4078) | class InternalConcretizerError(spack.error.UnsatisfiableSpecError): method __init__ (line 4081) | def __init__(self, msg): class OutputDoesNotSatisfyInputError (line 4088) | class OutputDoesNotSatisfyInputError(InternalConcretizerError): method __init__ (line 4089) | def __init__( class SolverError (line 4100) | class SolverError(InternalConcretizerError): method __init__ (line 4108) | def __init__(self, provided): class InvalidSpliceError (line 4124) | class InvalidSpliceError(spack.error.SpackError): class NoCompilerFoundError (line 4128) | class NoCompilerFoundError(spack.error.SpackError): class InvalidExternalError (line 4132) | class InvalidExternalError(spack.error.SpackError): class DeprecatedVersionError (line 4136) | class DeprecatedVersionError(spack.error.SpackError): class InvalidVersionError (line 4140) | class InvalidVersionError(spack.error.SpackError): class InvalidDependencyError (line 4144) | class InvalidDependencyError(spack.error.SpackError): FILE: lib/spack/spack/solver/core.py function _ast_getter (line 15) | def _ast_getter(*names: str) -> Callable[[Any], Any]: class AspVar (line 32) | class AspVar: method __init__ (line 38) | def __init__(self, name: str) -> None: method __str__ (line 41) | def __str__(self) -> str: class AspFunction (line 46) | class AspFunction: method __init__ (line 51) | def __init__(self, name: str, args: Tuple[Any, ...] = ()) -> None: method _cmp_key (line 55) | def _cmp_key(self) -> Tuple[str, Tuple[Any, ...]]: method __call__ (line 58) | def __call__(self, *args: Any) -> "AspFunction": method __str__ (line 81) | def __str__(self) -> str: method __repr__ (line 93) | def __repr__(self) -> str: class _AspFunctionBuilder (line 97) | class _AspFunctionBuilder: method __getattr__ (line 98) | def __getattr__(self, name: str) -> AspFunction: function clingo (line 108) | def clingo() -> ModuleType: function _set_clingo_module_cache (line 127) | def _set_clingo_module_cache(clingo_mod: ModuleType) -> ModuleType: function _ensure_clingo_or_raise (line 135) | def _ensure_clingo_or_raise(clingo_mod: ModuleType) -> None: function clingo_cffi (line 179) | def clingo_cffi() -> bool: function _bootstrap_clingo (line 184) | def _bootstrap_clingo() -> ModuleType: function parse_files (line 195) | def parse_files(*args, **kwargs): function parse_term (line 206) | def parse_term(*args, **kwargs): class NodeId (line 217) | class NodeId(NamedTuple): class NodeFlag (line 224) | class NodeFlag(NamedTuple): function intermediate_repr (line 231) | def intermediate_repr(sym): function extract_args (line 271) | def extract_args(model, predicate_name): class SourceContext (line 280) | class SourceContext: method __init__ (line 287) | def __init__(self, *, source: Optional[str] = None): function using_libc_compatibility (line 297) | def using_libc_compatibility() -> bool: FILE: lib/spack/spack/solver/input_analysis.py class PossibleGraph (line 24) | class PossibleGraph(NamedTuple): class PossibleDependencyGraph (line 30) | class PossibleDependencyGraph: method unreachable (line 33) | def unreachable(self, *, pkg_name: str, when_spec: spack.spec.Spec) ->... method candidate_targets (line 39) | def candidate_targets(self) -> List[spack.vendor.archspec.cpu.Microarc... method possible_dependencies (line 43) | def possible_dependencies( class NoStaticAnalysis (line 66) | class NoStaticAnalysis(PossibleDependencyGraph): method __init__ (line 71) | def __init__(self, *, configuration: spack.config.Configuration, repo:... method is_virtual (line 83) | def is_virtual(self, name: str) -> bool: method is_allowed_on_this_platform (line 87) | def is_allowed_on_this_platform(self, *, pkg_name: str) -> bool: method providers_for (line 100) | def providers_for(self, virtual_str: str) -> List[spack.spec.Spec]: method can_be_installed (line 104) | def can_be_installed(self, *, pkg_name) -> bool: method unreachable (line 108) | def unreachable(self, *, pkg_name: str, when_spec: spack.spec.Spec) ->... method candidate_targets (line 114) | def candidate_targets(self) -> List[spack.vendor.archspec.cpu.Microarc... method possible_dependencies (line 143) | def possible_dependencies( method _package_list (line 227) | def _package_list(self, specs: Tuple[Union[spack.spec.Spec, str], ...]... method _has_deptypes (line 240) | def _has_deptypes(self, dependencies, *, allowed_deps: dt.DepFlag, str... method _is_possible (line 249) | def _is_possible(self, *, pkg_name): class StaticAnalysis (line 258) | class StaticAnalysis(NoStaticAnalysis): method __init__ (line 266) | def __init__( method providers_for (line 279) | def providers_for(self, virtual_str: str) -> List[spack.spec.Spec]: method buildcache_specs (line 289) | def buildcache_specs(self) -> List[spack.spec.Spec]: method can_be_installed (line 294) | def can_be_installed(self, *, pkg_name) -> bool: method _is_provider_candidate (line 312) | def _is_provider_candidate(self, *, pkg_name: str, virtual: str) -> bool: method unreachable (line 327) | def unreachable(self, *, pkg_name: str, when_spec: spack.spec.Spec) ->... function create_graph_analyzer (line 357) | def create_graph_analyzer() -> PossibleDependencyGraph: class Counter (line 369) | class Counter: method __init__ (line 378) | def __init__( method possible_dependencies (line 397) | def possible_dependencies(self) -> Set[str]: method possible_virtuals (line 402) | def possible_virtuals(self) -> Set[str]: method ensure_cache_values (line 407) | def ensure_cache_values(self) -> None: method possible_packages_facts (line 413) | def possible_packages_facts(self, gen: "spack.solver.asp.ProblemInstan... method _compute_cache_values (line 417) | def _compute_cache_values(self) -> None: class NoDuplicatesCounter (line 421) | class NoDuplicatesCounter(Counter): method _compute_cache_values (line 422) | def _compute_cache_values(self) -> None: method possible_packages_facts (line 428) | def possible_packages_facts(self, gen: "spack.solver.asp.ProblemInstan... class MinimalDuplicatesCounter (line 443) | class MinimalDuplicatesCounter(NoDuplicatesCounter): method __init__ (line 444) | def __init__( method _compute_cache_values (line 456) | def _compute_cache_values(self) -> None: method possible_packages_facts (line 475) | def possible_packages_facts(self, gen, fn): class FullDuplicatesCounter (line 507) | class FullDuplicatesCounter(MinimalDuplicatesCounter): method possible_packages_facts (line 508) | def possible_packages_facts(self, gen, fn): function create_counter (line 541) | def create_counter( FILE: lib/spack/spack/solver/requirements.py function _mark_str (line 23) | def _mark_str(raw) -> str: function _check_unknown_targets (line 29) | def _check_unknown_targets( class RequirementKind (line 64) | class RequirementKind(enum.Enum): class RequirementOrigin (line 75) | class RequirementOrigin(enum.Enum): class RequirementRule (line 85) | class RequirementRule(NamedTuple): function preference (line 97) | def preference( function conflict (line 121) | def conflict( class RequirementParser (line 145) | class RequirementParser: method __init__ (line 148) | def __init__(self, configuration: spack.config.Configuration): method _parse_and_expand (line 156) | def _parse_and_expand(self, string: str, *, named: bool = False) -> sp... method rules (line 162) | def rules(self, pkg: spack.package_base.PackageBase) -> List[Requireme... method parse_rules_from_input_specs (line 171) | def parse_rules_from_input_specs(self, specs: Sequence[spack.spec.Spec]): method rules_from_input_specs (line 179) | def rules_from_input_specs(self, pkg: spack.package_base.PackageBase) ... method rules_from_package_py (line 190) | def rules_from_package_py(self, pkg: spack.package_base.PackageBase) -... method rules_from_virtual (line 207) | def rules_from_virtual(self, virtual_str: str) -> List[RequirementRule]: method rules_from_require (line 219) | def rules_from_require(self, pkg: spack.package_base.PackageBase) -> L... method rules_from_prefer (line 223) | def rules_from_prefer(self, pkg: spack.package_base.PackageBase) -> Li... method _rules_from_preferences (line 227) | def _rules_from_preferences( method rules_from_conflict (line 241) | def rules_from_conflict(self, pkg: spack.package_base.PackageBase) -> ... method _rules_from_conflicts (line 245) | def _rules_from_conflicts( method _parse_prefer_conflict_item (line 256) | def _parse_prefer_conflict_item(self, item): method _raw_yaml_data (line 270) | def _raw_yaml_data(self, pkg_name: str, *, section: str, virtual: bool... method _rules_from_requirements (line 283) | def _rules_from_requirements( method reject_requirement_constraint (line 343) | def reject_requirement_constraint( method _maybe_warn_compiler_in_all (line 374) | def _maybe_warn_compiler_in_all(self, items: Union[str, list, dict], s... function _split_edge_on_virtuals (line 428) | def _split_edge_on_virtuals(edge: spack.spec.DependencySpec) -> List[spa... function parse_spec_from_yaml_string (line 444) | def parse_spec_from_yaml_string(string: str, *, named: bool = False) -> ... FILE: lib/spack/spack/solver/reuse.py function spec_filter_from_store (line 30) | def spec_filter_from_store( function spec_filter_from_buildcache (line 41) | def spec_filter_from_buildcache(*, packages_with_externals, include, exc... function spec_filter_from_environment (line 51) | def spec_filter_from_environment(*, packages_with_externals, include, ex... function spec_filter_from_packages_yaml (line 59) | def spec_filter_from_packages_yaml( function _has_runtime_dependencies (line 70) | def _has_runtime_dependencies(spec: spack.spec.Spec) -> bool: function _is_reusable (line 75) | def _is_reusable(spec: spack.spec.Spec, packages_with_externals, local: ... function _specs_from_store (line 124) | def _specs_from_store(configuration): function _specs_from_mirror (line 130) | def _specs_from_mirror(): function _specs_from_environment (line 140) | def _specs_from_environment(env): class ReuseStrategy (line 148) | class ReuseStrategy(enum.Enum): function create_external_parser (line 154) | def create_external_parser( class ReusableSpecsSelector (line 175) | class ReusableSpecsSelector: method __init__ (line 178) | def __init__( method reusable_specs (line 298) | def reusable_specs(self, specs: List[spack.spec.Spec]) -> List[spack.s... FILE: lib/spack/spack/solver/runtimes.py class RuntimePropertyRecorder (line 19) | class RuntimePropertyRecorder: method __init__ (line 41) | def __init__(self, setup): method __call__ (line 50) | def __call__(self, package_name: str) -> "RuntimePropertyRecorder": method reset (line 56) | def reset(self): method depends_on (line 60) | def depends_on(self, dependency_str: str, *, when: str, type: str, des... method node_for (line 124) | def node_for(name: str) -> str: method rule_body_from (line 127) | def rule_body_from(self, when_spec: "spack.spec.Spec") -> Tuple[str, s... method requires (line 157) | def requires(self, impose: str, *, when: str): method propagate (line 181) | def propagate(self, constraint_str: str, *, when: str): method default_flags (line 206) | def default_flags(self, spec: "spack.spec.Spec"): method consume_facts (line 233) | def consume_facts(self): function _normalize_packages_yaml (line 260) | def _normalize_packages_yaml(packages_yaml: Dict[str, Any]) -> None: function external_config_with_implicit_externals (line 284) | def external_config_with_implicit_externals( function all_libcs (line 306) | def all_libcs() -> Set[spack.spec.Spec]: FILE: lib/spack/spack/solver/splicing.py class Splice (line 12) | class Splice(NamedTuple): function _resolve_collected_splices (line 21) | def _resolve_collected_splices( FILE: lib/spack/spack/solver/versions.py class Provenance (line 7) | class Provenance(enum.IntEnum): method __str__ (line 31) | def __str__(self): FILE: lib/spack/spack/spec.py class InstallStatus (line 197) | class InstallStatus(enum.Enum): function ensure_modern_format_string (line 214) | def ensure_modern_format_string(fmt: str) -> None: function _make_microarchitecture (line 224) | def _make_microarchitecture(name: str) -> spack.vendor.archspec.cpu.Micr... class ArchSpec (line 233) | class ArchSpec: method default_arch (line 239) | def default_arch(): method __init__ (line 249) | def __init__(self, spec_or_platform_tuple=(None, None, None)): method override (line 290) | def override(init_spec, change_spec): method _autospec (line 305) | def _autospec(self, spec_like): method _cmp_iter (line 310) | def _cmp_iter(self): method platform (line 319) | def platform(self): method platform (line 324) | def platform(self, value): method os (line 332) | def os(self): method os (line 337) | def os(self, value): method target (line 362) | def target(self): method target (line 367) | def target(self, value): method satisfies (line 399) | def satisfies(self, other: "ArchSpec") -> bool: method intersects (line 421) | def intersects(self, other: "ArchSpec") -> bool: method _target_satisfies (line 442) | def _target_satisfies(self, other: "ArchSpec", strict: bool) -> bool: method _target_constrain (line 461) | def _target_constrain(self, other: "ArchSpec") -> bool: method _target_intersection (line 486) | def _target_intersection(self, other): method constrain (line 565) | def constrain(self, other: "ArchSpec") -> bool: method copy (line 594) | def copy(self): method concrete (line 599) | def concrete(self): method target_concrete (line 604) | def target_concrete(self): method to_dict (line 610) | def to_dict(self): method from_dict (line 622) | def from_dict(d): method __str__ (line 631) | def __str__(self): method __repr__ (line 634) | def __repr__(self): method __contains__ (line 638) | def __contains__(self, string): method complete_with_defaults (line 641) | def complete_with_defaults(self) -> None: class CompilerSpec (line 653) | class CompilerSpec: method __init__ (line 656) | def __init__(self, spec): method name (line 660) | def name(self): method version (line 664) | def version(self): method versions (line 668) | def versions(self): method display_str (line 672) | def display_str(self): method __lt__ (line 679) | def __lt__(self, other): method __eq__ (line 684) | def __eq__(self, other): method __hash__ (line 689) | def __hash__(self): method __str__ (line 692) | def __str__(self): method _cmp_iter (line 695) | def _cmp_iter(self): method __bool__ (line 698) | def __bool__(self): class DeprecatedCompilerSpec (line 704) | class DeprecatedCompilerSpec(lang.DeprecatedProperty): method __init__ (line 705) | def __init__(self): method factory (line 708) | def factory(self, instance, owner): class DependencySpec (line 723) | class DependencySpec: method __init__ (line 742) | def __init__( method update_deptypes (line 764) | def update_deptypes(self, depflag: dt.DepFlag) -> bool: method update_virtuals (line 773) | def update_virtuals(self, virtuals: Union[str, Iterable[str]]) -> bool: method copy (line 785) | def copy(self, *, keep_virtuals: bool = True, keep_parent: bool = True... method _constrain (line 799) | def _constrain(self, other: "DependencySpec") -> bool: method _cmp_iter (line 819) | def _cmp_iter(self): method __str__ (line 828) | def __str__(self) -> str: method __repr__ (line 831) | def __repr__(self) -> str: method format (line 845) | def format(self, *, unconditional: bool = False) -> str: method flip (line 869) | def flip(self) -> "DependencySpec": class CompilerFlag (line 876) | class CompilerFlag(str): method __new__ (line 897) | def __new__(cls, value, **kwargs): function _shared_subset_pair_iterate (line 908) | def _shared_subset_pair_iterate(container1, container2): class FlagMap (line 931) | class FlagMap(lang.HashableMap[str, List[CompilerFlag]]): method satisfies (line 932) | def satisfies(self, other): method intersects (line 935) | def intersects(self, other): method constrain (line 938) | def constrain(self, other): method valid_compiler_flags (line 969) | def valid_compiler_flags(): method copy (line 972) | def copy(self): method add_flag (line 978) | def add_flag(self, flag_type, value, propagation, flag_group=None, sou... method yaml_entry (line 997) | def yaml_entry(self, flag_type): method _cmp_iter (line 1009) | def _cmp_iter(self): method __str__ (line 1020) | def __str__(self): function _sort_by_dep_types (line 1045) | def _sort_by_dep_types(dspec: DependencySpec): function _add_edge_to_map (line 1052) | def _add_edge_to_map(edge_map: EdgeMap, key: str, edge: DependencySpec) ... function _select_edges (line 1061) | def _select_edges( function _headers_default_handler (line 1114) | def _headers_default_handler(spec: "Spec"): function _libs_default_handler (line 1137) | def _libs_default_handler(spec: "Spec"): class ForwardQueryToPackage (line 1189) | class ForwardQueryToPackage: method __init__ (line 1192) | def __init__( method __get__ (line 1210) | def __get__(self, instance: "SpecBuildInterface", cls): method __set__ (line 1302) | def __set__(self, instance, value): function tree (line 1312) | def tree( class SpecAnnotations (line 1429) | class SpecAnnotations: method __init__ (line 1430) | def __init__(self) -> None: method with_spec_format (line 1434) | def with_spec_format(self, spec_format: int) -> "SpecAnnotations": method with_compiler (line 1438) | def with_compiler(self, compiler: "Spec") -> "SpecAnnotations": method __repr__ (line 1442) | def __repr__(self) -> str: function _anonymous_star (line 1449) | def _anonymous_star(dep: DependencySpec, dep_format: str) -> str: function _get_satisfying_edge (line 1480) | def _get_satisfying_edge( function _satisfies_edge (line 1523) | def _satisfies_edge(lhs: "DependencySpec", rhs: "DependencySpec", resolv... class Spec (line 1558) | class Spec: method default_arch (line 1562) | def default_arch(): method __init__ (line 1568) | def __init__(self, spec_like=None, *, external_path=None, external_mod... method _format_module_list (line 1633) | def _format_module_list(modules): method external_path (line 1651) | def external_path(self): method external_path (line 1655) | def external_path(self, ext_path): method external (line 1659) | def external(self): method is_develop (line 1663) | def is_develop(self): method clear_dependencies (line 1669) | def clear_dependencies(self): method clear_edges (line 1673) | def clear_edges(self): method detach (line 1678) | def detach(self, deptype="all"): method _get_dependency (line 1697) | def _get_dependency(self, name): method edges_from_dependents (line 1710) | def edges_from_dependents( method edges_to_dependencies (line 1727) | def edges_to_dependencies( method edge_attributes (line 1744) | def edge_attributes(self) -> str: method dependencies (line 1773) | def dependencies( method dependents (line 1793) | def dependents( method _dependencies_dict (line 1806) | def _dependencies_dict(self, depflag: dt.DepFlag = dt.ALL): method _add_flag (line 1823) | def _add_flag( method _set_architecture (line 1859) | def _set_architecture(self, **kwargs): method _add_dependency (line 1876) | def _add_dependency( method add_dependency_edge (line 1946) | def add_dependency_edge( method fullname (line 2025) | def fullname(self): method anonymous (line 2031) | def anonymous(self): method root (line 2035) | def root(self): method package (line 2048) | def package(self): method concrete (line 2057) | def concrete(self): method spliced (line 2071) | def spliced(self): method installed (line 2078) | def installed(self): method installed_upstream (line 2099) | def installed_upstream(self): method traverse (line 2114) | def traverse( method traverse (line 2128) | def traverse( method traverse (line 2141) | def traverse( method traverse_edges (line 2167) | def traverse_edges( method traverse_edges (line 2181) | def traverse_edges( method traverse_edges (line 2194) | def traverse_edges( method prefix (line 2220) | def prefix(self) -> spack.util.prefix.Prefix: method set_prefix (line 2235) | def set_prefix(self, value: str) -> None: method spec_hash (line 2238) | def spec_hash(self, hash: ht.SpecHashDescriptor) -> str: method _cached_hash (line 2259) | def _cached_hash( method package_hash (line 2283) | def package_hash(self): method dag_hash (line 2294) | def dag_hash(self, length=None): method dag_hash_bit_prefix (line 2303) | def dag_hash_bit_prefix(self, bits): method _lookup_hash (line 2307) | def _lookup_hash(self): method lookup_hash (line 2333) | def lookup_hash(self): method replace_hash (line 2364) | def replace_hash(self): method to_node_dict (line 2374) | def to_node_dict(self, hash: ht.SpecHashDescriptor = ht.dag_hash) -> D... method to_dict (line 2531) | def to_dict(self, hash: ht.SpecHashDescriptor = ht.dag_hash) -> Dict[s... method node_dict_with_hashes (line 2611) | def node_dict_with_hashes(self, hash: ht.SpecHashDescriptor = ht.dag_h... method to_yaml (line 2627) | def to_yaml(self, stream=None, hash=ht.dag_hash): method to_json (line 2630) | def to_json(self, stream=None, *, hash=ht.dag_hash, pretty=False): method from_specfile (line 2634) | def from_specfile(path): method override (line 2643) | def override(init_spec, change_spec): method from_literal (line 2670) | def from_literal(spec_dict: dict, normal: bool = True) -> "Spec": method from_dict (line 2809) | def from_dict(data) -> "Spec": method from_yaml (line 2834) | def from_yaml(stream) -> "Spec": method from_json (line 2844) | def from_json(stream) -> "Spec": method extract_json_from_clearsig (line 2857) | def extract_json_from_clearsig(data): method from_signed_json (line 2864) | def from_signed_json(stream): method from_detection (line 2878) | def from_detection( method _patches_assigned (line 2902) | def _patches_assigned(self): method ensure_no_deprecated (line 2919) | def ensure_no_deprecated(root: "Spec") -> None: method _mark_root_concrete (line 2942) | def _mark_root_concrete(self, value=True): method _validate_version (line 2951) | def _validate_version(self): method _mark_concrete (line 2970) | def _mark_concrete(self, value=True): method _finalize_concretization (line 2985) | def _finalize_concretization(self): method index (line 3031) | def index(self, deptype="all"): method validate_or_raise (line 3040) | def validate_or_raise(self): method ensure_valid_variants (line 3067) | def ensure_valid_variants(spec: "Spec") -> None: method constrain (line 3091) | def constrain(self, other, deps=True) -> bool: method _constrain_symbolically (line 3103) | def _constrain_symbolically(self, other, deps=True) -> bool: method _constrain (line 3132) | def _constrain(self, other, deps=True, *, resolve_virtuals: bool): method _constrain_dependencies (line 3208) | def _constrain_dependencies(self, other: "Spec", resolve_virtuals: boo... method constrained (line 3242) | def constrained(self, other, deps=True): method _autospec (line 3248) | def _autospec(self, spec_like): method intersects (line 3258) | def intersects(self, other: Union[str, "Spec"], deps: bool = True) -> ... method _intersects (line 3271) | def _intersects( method _intersects_dependencies (line 3359) | def _intersects_dependencies(self, other, resolve_virtuals: bool = True): method satisfies (line 3405) | def satisfies(self, other: Union[str, "Spec"], deps: bool = True) -> b... method _provides_virtual (line 3414) | def _provides_virtual(self, virtual_spec: "Spec") -> bool: method _satisfies (line 3450) | def _satisfies( method _satisfies_node (line 3496) | def _satisfies_node(self, other: "Spec", resolve_virtuals: bool) -> bool: method _satisfies_variants (line 3542) | def _satisfies_variants(self, other: "Spec") -> bool: method _satisfies_variants_when_self_concrete (line 3547) | def _satisfies_variants_when_self_concrete(self, other: "Spec") -> bool: method _satisfies_variants_when_self_abstract (line 3565) | def _satisfies_variants_when_self_abstract(self, other: "Spec") -> bool: method _intersects_variants (line 3603) | def _intersects_variants(self, other: "Spec") -> bool: method _constrain_variants (line 3608) | def _constrain_variants(self, other: "Spec") -> bool: method patches (line 3631) | def patches(self): method _dup (line 3658) | def _dup( method _dup_deps (line 3745) | def _dup_deps( method copy (line 3772) | def copy(self, deps: Union[bool, dt.DepTypes, dt.DepFlag] = True, **kw... method version (line 3804) | def version(self): method __getitem__ (line 3809) | def __getitem__(self, name: str): method __contains__ (line 3847) | def __contains__(self, spec): method eq_dag (line 3867) | def eq_dag(self, other, deptypes=True, vs=None, vo=None): method _cmp_node (line 3909) | def _cmp_node(self): method eq_node (line 3922) | def eq_node(self, other): method _cmp_fast_eq (line 3926) | def _cmp_fast_eq(self, other) -> Optional[bool]: method _cmp_iter (line 3941) | def _cmp_iter(self): method namespace_if_anonymous (line 4076) | def namespace_if_anonymous(self): method spack_root (line 4080) | def spack_root(self): method spack_install (line 4085) | def spack_install(self): method _format_default (line 4091) | def _format_default(self) -> str: method format (line 4131) | def format( method cformat (line 4372) | def cformat(self, format_string: str = DEFAULT_FORMAT) -> str: method format_path (line 4376) | def format_path( method _format_edge_attributes (line 4418) | def _format_edge_attributes(self, dep: DependencySpec, deptypes=True, ... method _format_dependencies (line 4433) | def _format_dependencies( method _long_spec (line 4522) | def _long_spec(self, color: Optional[bool] = False) -> str: method _short_spec (line 4528) | def _short_spec(self, color: Optional[bool] = False) -> str: method compilers (line 4538) | def compilers(self): method long_spec (line 4552) | def long_spec(self): method clong_spec (line 4557) | def clong_spec(self): method short_spec (line 4562) | def short_spec(self): method cshort_spec (line 4567) | def cshort_spec(self): method colored_str (line 4572) | def colored_str(self) -> str: method _str (line 4576) | def _str(self, color: Optional[bool] = False) -> str: method __str__ (line 4589) | def __str__(self) -> str: method install_status (line 4593) | def install_status(self) -> InstallStatus: method _installed_explicitly (line 4613) | def _installed_explicitly(self): method tree (line 4625) | def tree( method __repr__ (line 4692) | def __repr__(self): method platform (line 4696) | def platform(self): method os (line 4700) | def os(self): method target (line 4704) | def target(self): method build_spec (line 4708) | def build_spec(self): method build_spec (line 4712) | def build_spec(self, value): method trim (line 4715) | def trim(self, dep_name): method _virtuals_provided (line 4729) | def _virtuals_provided(self, root): method _splice_match (line 4741) | def _splice_match(self, other, self_root, other_root): method _splice_detach_and_add_dependents (line 4760) | def _splice_detach_and_add_dependents(self, replacement, context): method _splice_helper (line 4793) | def _splice_helper(self, replacement): method splice (line 4862) | def splice(self, other: "Spec", transitive: bool = True) -> "Spec": method mutate (line 4975) | def mutate(self, mutator, rehash=True) -> bool: method clear_caches (line 5058) | def clear_caches(self, ignore: Tuple[str, ...] = ()) -> None: method __hash__ (line 5070) | def __hash__(self): method __getstate__ (line 5093) | def __getstate__(self): method __setstate__ (line 5116) | def __setstate__(self, state): method attach_git_version_lookup (line 5140) | def attach_git_version_lookup(self): method original_spec_format (line 5148) | def original_spec_format(self) -> int: method has_virtual_dependency (line 5152) | def has_virtual_dependency(self, virtual: str) -> bool: class VariantMap (line 5156) | class VariantMap(lang.HashableMap[str, vt.VariantValue]): method __setitem__ (line 5160) | def __setitem__(self, name, vspec): method substitute (line 5182) | def substitute(self, vspec): method partition_variants (line 5194) | def partition_variants(self): method copy (line 5201) | def copy(self) -> "VariantMap": method __str__ (line 5207) | def __str__(self): method partition_keys (line 5228) | def partition_keys(self) -> Tuple[List[str], List[str]]: class SpecBuildInterface (line 5236) | class SpecBuildInterface(lang.ObjectWrapper, Spec): method __init__ (line 5243) | def __init__( method __reduce__ (line 5270) | def __reduce__(self): method copy (line 5273) | def copy(self, *args, **kwargs): function substitute_abstract_variants (line 5277) | def substitute_abstract_variants(spec: Spec): function parse_with_version_concrete (line 5332) | def parse_with_version_concrete(spec_like: Union[str, Spec]): function reconstruct_virtuals_on_edges (line 5341) | def reconstruct_virtuals_on_edges(spec: Spec) -> None: class SpecfileReaderBase (line 5388) | class SpecfileReaderBase: method from_node_dict (line 5392) | def from_node_dict(cls, node): method legacy_compiler (line 5467) | def legacy_compiler(cls, node): method _load (line 5472) | def _load(cls, data): method extract_build_spec_info_from_node_dict (line 5533) | def extract_build_spec_info_from_node_dict(cls, node, hash_type=ht.dag... method read_specfile_dep_specs (line 5537) | def read_specfile_dep_specs(cls, deps, hash_type=ht.dag_hash.name): class SpecfileV1 (line 5541) | class SpecfileV1(SpecfileReaderBase): method load (line 5545) | def load(cls, data): method name_and_data (line 5578) | def name_and_data(cls, node): method dependencies_from_node_dict (line 5584) | def dependencies_from_node_dict(cls, node): method read_specfile_dep_specs (line 5592) | def read_specfile_dep_specs(cls, deps, hash_type=ht.dag_hash.name): class SpecfileV2 (line 5612) | class SpecfileV2(SpecfileReaderBase): method load (line 5616) | def load(cls, data): method name_and_data (line 5622) | def name_and_data(cls, node): method dependencies_from_node_dict (line 5626) | def dependencies_from_node_dict(cls, node): method read_specfile_dep_specs (line 5630) | def read_specfile_dep_specs(cls, deps, hash_type=ht.dag_hash.name): method extract_info_from_dep (line 5658) | def extract_info_from_dep(cls, elt, hash): method extract_build_spec_info_from_node_dict (line 5666) | def extract_build_spec_info_from_node_dict(cls, node, hash_type=ht.dag... class SpecfileV3 (line 5671) | class SpecfileV3(SpecfileV2): class SpecfileV4 (line 5675) | class SpecfileV4(SpecfileV2): method extract_info_from_dep (line 5679) | def extract_info_from_dep(cls, elt, hash): method load (line 5688) | def load(cls, data): class SpecfileV5 (line 5692) | class SpecfileV5(SpecfileV4): method legacy_compiler (line 5696) | def legacy_compiler(cls, node): method extract_info_from_dep (line 5700) | def extract_info_from_dep(cls, elt, hash): class LazySpecCache (line 5713) | class LazySpecCache(collections.defaultdict): method __init__ (line 5718) | def __init__(self): method __missing__ (line 5721) | def __missing__(self, key): function save_dependency_specfiles (line 5727) | def save_dependency_specfiles(root: Spec, output_directory: str, depende... function get_host_environment_metadata (line 5747) | def get_host_environment_metadata() -> Dict[str, str]: function get_host_environment (line 5763) | def get_host_environment() -> Dict[str, Any]: function eval_conditional (line 5781) | def eval_conditional(string): function _inject_patches_variant (line 5788) | def _inject_patches_variant(root: Spec) -> None: class InvalidVariantForSpecError (line 5855) | class InvalidVariantForSpecError(spack.error.SpecError): method __init__ (line 5858) | def __init__(self, variant, when, spec): class UnsupportedPropagationError (line 5864) | class UnsupportedPropagationError(spack.error.SpecError): class DuplicateDependencyError (line 5868) | class DuplicateDependencyError(spack.error.SpecError): class UnsupportedCompilerError (line 5872) | class UnsupportedCompilerError(spack.error.SpecError): class DuplicateArchitectureError (line 5876) | class DuplicateArchitectureError(spack.error.SpecError): class InvalidDependencyError (line 5880) | class InvalidDependencyError(spack.error.SpecError): method __init__ (line 5884) | def __init__(self, pkg, deps): class UnsatisfiableSpecNameError (line 5891) | class UnsatisfiableSpecNameError(spack.error.UnsatisfiableSpecError): method __init__ (line 5894) | def __init__(self, provided, required): class UnsatisfiableVersionSpecError (line 5898) | class UnsatisfiableVersionSpecError(spack.error.UnsatisfiableSpecError): method __init__ (line 5901) | def __init__(self, provided, required): class UnsatisfiableArchitectureSpecError (line 5905) | class UnsatisfiableArchitectureSpecError(spack.error.UnsatisfiableSpecEr... method __init__ (line 5908) | def __init__(self, provided, required): class UnsatisfiableDependencySpecError (line 5914) | class UnsatisfiableDependencySpecError(spack.error.UnsatisfiableSpecError): method __init__ (line 5917) | def __init__(self, provided, required): class UnconstrainableDependencySpecError (line 5921) | class UnconstrainableDependencySpecError(spack.error.SpecError): method __init__ (line 5924) | def __init__(self, spec): class AmbiguousHashError (line 5930) | class AmbiguousHashError(spack.error.SpecError): method __init__ (line 5931) | def __init__(self, msg, *specs): class InvalidHashError (line 5941) | class InvalidHashError(spack.error.SpecError): method __init__ (line 5942) | def __init__(self, spec, hash): class SpecFormatStringError (line 5948) | class SpecFormatStringError(spack.error.SpecError): class SpecFormatPathError (line 5952) | class SpecFormatPathError(spack.error.SpecError): class SpecFormatSigilError (line 5956) | class SpecFormatSigilError(SpecFormatStringError): method __init__ (line 5959) | def __init__(self, sigil, requirement, used): class ConflictsInSpecError (line 5965) | class ConflictsInSpecError(spack.error.SpecError, RuntimeError): method __init__ (line 5966) | def __init__(self, spec, matches): class SpecDeprecatedError (line 5990) | class SpecDeprecatedError(spack.error.SpecError): class InvalidSpecDetected (line 5994) | class InvalidSpecDetected(spack.error.SpecError): class SpliceError (line 5998) | class SpliceError(spack.error.SpecError): class InvalidEdgeError (line 6003) | class InvalidEdgeError(spack.error.SpecError): class SpecMutationError (line 6007) | class SpecMutationError(spack.error.SpecError): class _ImmutableSpec (line 6011) | class _ImmutableSpec(Spec): method __init__ (line 6016) | def __init__(self, spec_like: Optional[str] = None) -> None: method __setstate__ (line 6021) | def __setstate__(self, state) -> None: method constrain (line 6026) | def constrain(self, *args, **kwargs) -> bool: method add_dependency_edge (line 6030) | def add_dependency_edge(self, *args, **kwargs): method __setattr__ (line 6034) | def __setattr__(self, name, value) -> None: method __delattr__ (line 6038) | def __delattr__(self, name) -> None: FILE: lib/spack/spack/spec_filter.py class SpecFilter (line 9) | class SpecFilter: method __init__ (line 14) | def __init__( method is_selected (line 35) | def is_selected(self, s: spack.spec.Spec) -> bool: method selected_specs (line 47) | def selected_specs(self) -> List[spack.spec.Spec]: FILE: lib/spack/spack/spec_parser.py class SpecTokens (line 127) | class SpecTokens(TokenBase): function tokenize (line 171) | def tokenize(text: str) -> Iterator[Token]: function parseable_tokens (line 183) | def parseable_tokens(text: str) -> Iterator[Token]: class TokenContext (line 192) | class TokenContext: method __init__ (line 197) | def __init__(self, token_stream: Iterator[Token]): method advance (line 207) | def advance(self): method accept (line 215) | def accept(self, kind: SpecTokens): method push_front (line 224) | def push_front(self, token=Token): method expect (line 229) | def expect(self, *kinds: SpecTokens): class SpecTokenizationError (line 233) | class SpecTokenizationError(spack.error.SpecSyntaxError): method __init__ (line 236) | def __init__(self, tokens: List[Token], text: str): function parse_virtual_assignment (line 248) | def parse_virtual_assignment(context: TokenContext) -> Tuple[str]: class SpecParser (line 290) | class SpecParser: method __init__ (line 295) | def __init__(self, literal_str: str): method tokens (line 299) | def tokens(self) -> List[Token]: method next_spec (line 305) | def next_spec( method _parse_node (line 371) | def _parse_node(self, root_spec: "spack.spec.Spec", root: bool = True): method all_specs (line 383) | def all_specs(self) -> List["spack.spec.Spec"]: class SpecNodeParser (line 388) | class SpecNodeParser: method __init__ (line 393) | def __init__(self, ctx, literal_str): method parse (line 398) | def parse( class FileParser (line 500) | class FileParser: method __init__ (line 505) | def __init__(self, ctx): method parse (line 508) | def parse(self, initial_spec: "spack.spec.Spec") -> "spack.spec.Spec": class EdgeAttributeParser (line 533) | class EdgeAttributeParser: method __init__ (line 536) | def __init__(self, ctx, literal_str): method parse (line 540) | def parse(self): function parse (line 577) | def parse(text: str, *, toolchains: Optional[Dict] = None) -> List["spac... function parse_one_or_raise (line 595) | def parse_one_or_raise( function _parse_toolchain_config (line 627) | def _parse_toolchain_config(toolchain_config: Union[str, List[Dict]]) ->... function _ensure_all_direct_edges (line 652) | def _ensure_all_direct_edges(constraint: "spack.spec.Spec") -> None: function expand_toolchains (line 662) | def expand_toolchains( class SpecParsingError (line 705) | class SpecParsingError(spack.error.SpecSyntaxError): method __init__ (line 708) | def __init__(self, message, token, text): function strip_quotes_and_unescape (line 716) | def strip_quotes_and_unescape(string: str) -> str: function quote_if_needed (line 727) | def quote_if_needed(value: str) -> str: FILE: lib/spack/spack/stage.py function compute_stage_name (line 62) | def compute_stage_name(spec): function create_stage_root (line 75) | def create_stage_root(path: str) -> None: function _first_accessible_path (line 137) | def _first_accessible_path(paths): function _resolve_paths (line 156) | def _resolve_paths(candidates): function get_stage_root (line 191) | def get_stage_root(): function _mirror_roots (line 209) | def _mirror_roots(): class AbstractStage (line 221) | class AbstractStage(abc.ABC): method __init__ (line 235) | def __init__(self, name, path, keep, lock): method _get_lock (line 262) | def _get_lock(self): method __enter__ (line 272) | def __enter__(self): method __exit__ (line 284) | def __exit__(self, exc_type, exc_val, exc_tb): method create (line 305) | def create(self): method destroy (line 321) | def destroy(self): method fetch (line 326) | def fetch(self, mirror_only: bool = False, err_msg: Optional[str] = No... method check (line 331) | def check(self): method expand_archive (line 336) | def expand_archive(self): method restage (line 341) | def restage(self): method cache_local (line 346) | def cache_local(self): method source_path (line 352) | def source_path(self) -> str: method expanded (line 358) | def expanded(self) -> bool: method archive_file (line 364) | def archive_file(self) -> Optional[str]: method cache_mirror (line 368) | def cache_mirror( method steal_source (line 376) | def steal_source(self, dest: str) -> None: class Stage (line 381) | class Stage(AbstractStage): method __init__ (line 425) | def __init__( method expected_archive_files (line 495) | def expected_archive_files(self) -> List[str]: method save_filename (line 515) | def save_filename(self): method archive_file (line 524) | def archive_file(self) -> Optional[str]: method expanded (line 533) | def expanded(self): method source_path (line 538) | def source_path(self): method single_file (line 543) | def single_file(self): method _generate_fetchers (line 549) | def _generate_fetchers(self, mirror_only=False) -> Generator["fs.Fetch... method fetch (line 596) | def fetch(self, mirror_only: bool = False, err_msg: Optional[str] = No... method steal_source (line 628) | def steal_source(self, dest): method check (line 663) | def check(self): method cache_local (line 681) | def cache_local(self): method cache_mirror (line 684) | def cache_mirror( method expand_archive (line 721) | def expand_archive(self): method restage (line 731) | def restage(self): method destroy (line 737) | def destroy(self): class ResourceStage (line 752) | class ResourceStage(Stage): method __init__ (line 753) | def __init__( method restage (line 780) | def restage(self): method expand_archive (line 784) | def expand_archive(self): method _add_to_root_stage (line 788) | def _add_to_root_stage(self): class StageComposite (line 836) | class StageComposite: method __init__ (line 841) | def __init__(self): method from_iterable (line 845) | def from_iterable(cls, iterable: Iterable[AbstractStage]) -> "StageCom... method append (line 851) | def append(self, stage: AbstractStage) -> None: method extend (line 855) | def extend(self, stages: Iterable[AbstractStage]) -> None: method __iter__ (line 859) | def __iter__(self): method __len__ (line 863) | def __len__(self): method __getitem__ (line 867) | def __getitem__(self, index): method __enter__ (line 872) | def __enter__(self): method __exit__ (line 877) | def __exit__(self, exc_type, exc_val, exc_tb): method fetch (line 882) | def fetch(self, mirror_only: bool = False, err_msg: Optional[str] = No... method create (line 887) | def create(self) -> None: method check (line 892) | def check(self) -> None: method expand_archive (line 897) | def expand_archive(self) -> None: method restage (line 902) | def restage(self) -> None: method destroy (line 907) | def destroy(self) -> None: method cache_local (line 912) | def cache_local(self) -> None: method cache_mirror (line 917) | def cache_mirror( method steal_source (line 926) | def steal_source(self, dest: str) -> None: method disable_mirrors (line 931) | def disable_mirrors(self) -> None: method source_path (line 939) | def source_path(self): method expanded (line 943) | def expanded(self): method path (line 947) | def path(self): method archive_file (line 951) | def archive_file(self): method requires_patch_success (line 955) | def requires_patch_success(self): method keep (line 959) | def keep(self): method keep (line 963) | def keep(self, value): class DevelopStage (line 968) | class DevelopStage(AbstractStage): method __init__ (line 971) | def __init__(self, name, dev_path, reference_link): method source_path (line 989) | def source_path(self): method archive_file (line 994) | def archive_file(self): method fetch (line 997) | def fetch(self, mirror_only: bool = False, err_msg: Optional[str] = No... method check (line 1000) | def check(self): method expand_archive (line 1003) | def expand_archive(self): method expanded (line 1007) | def expanded(self): method create (line 1011) | def create(self): method destroy (line 1019) | def destroy(self): method restage (line 1032) | def restage(self): method cache_local (line 1036) | def cache_local(self): function ensure_access (line 1040) | def ensure_access(file): function purge (line 1046) | def purge(): function interactive_version_filter (line 1059) | def interactive_version_filter( function get_checksums_for_versions (line 1250) | def get_checksums_for_versions( function _fetch_and_checksum (line 1327) | def _fetch_and_checksum( class StageError (line 1351) | class StageError(spack.error.SpackError): class StagePathError (line 1355) | class StagePathError(StageError): class RestageError (line 1359) | class RestageError(StageError): class VersionFetchError (line 1363) | class VersionFetchError(StageError): FILE: lib/spack/spack/store.py function parse_install_tree (line 40) | def parse_install_tree(config_dict: dict) -> Tuple[str, str, Dict[str, s... class Store (line 129) | class Store: method __init__ (line 155) | def __init__( method has_padding (line 189) | def has_padding(self) -> bool: method reindex (line 193) | def reindex(self) -> None: method __reduce__ (line 197) | def __reduce__(self): function create (line 208) | def create(configuration: spack.config.Configuration) -> Store: function _create_global (line 235) | def _create_global() -> Store: function reinitialize (line 244) | def reinitialize(): function restore (line 256) | def restore(token): function _construct_upstream_dbs_from_install_roots (line 262) | def _construct_upstream_dbs_from_install_roots( function find (line 279) | def find( function specfile_matches (line 333) | def specfile_matches(filename: str, **kwargs) -> List["spack.spec.Spec"]: function ensure_singleton_created (line 344) | def ensure_singleton_created() -> None: function use_store (line 350) | def use_store( class MatchError (line 386) | class MatchError(spack.error.SpackError): FILE: lib/spack/spack/subprocess_context.py function serialize (line 36) | def serialize(pkg: "spack.package_base.PackageBase") -> io.BytesIO: function deserialize (line 43) | def deserialize(serialized_pkg: io.BytesIO) -> "spack.package_base.Packa... class SpackTestProcess (line 51) | class SpackTestProcess: method __init__ (line 52) | def __init__(self, fn): method _restore_and_run (line 55) | def _restore_and_run(self, fn, test_state): method create (line 59) | def create(self): class PackageInstallContext (line 64) | class PackageInstallContext: method __init__ (line 68) | def __init__( method restore (line 79) | def restore(self) -> "spack.package_base.PackageBase": class GlobalStateMarshaler (line 85) | class GlobalStateMarshaler: method __init__ (line 92) | def __init__( method restore (line 108) | def restore(self): class TestPatches (line 122) | class TestPatches: method __init__ (line 123) | def __init__(self, module_patches, class_patches): method restore (line 127) | def restore(self): method create (line 143) | def create(): FILE: lib/spack/spack/tag.py class TagIndex (line 15) | class TagIndex: method __init__ (line 18) | def __init__(self) -> None: method to_json (line 21) | def to_json(self, stream) -> None: method from_json (line 25) | def from_json(stream) -> "TagIndex": method get_packages (line 39) | def get_packages(self, tag: str) -> List[str]: method merge (line 43) | def merge(self, other: "TagIndex") -> None: method update_packages (line 55) | def update_packages(self, pkg_names: Set[str], repo: "spack.repo.Repo"... class TagIndexError (line 79) | class TagIndexError(spack.error.SpackError): FILE: lib/spack/spack/tengine.py class ContextMeta (line 17) | class ContextMeta(type): method __new__ (line 24) | def __new__(cls, name, bases, attr_dict): method context_property (line 44) | def context_property(cls, func): class Context (line 57) | class Context(metaclass=ContextMeta): method to_dict (line 62) | def to_dict(self) -> Dict[str, Any]: function make_environment (line 67) | def make_environment(dirs: Optional[Tuple[str, ...]] = None) -> "spack.v... function make_environment_from_dirs (line 77) | def make_environment_from_dirs(dirs: Tuple[str, ...]) -> "spack.vendor.j... function default_template_dirs (line 90) | def default_template_dirs(configuration: spack.config.Configuration) -> ... function prepend_to_line (line 100) | def prepend_to_line(text, token): function quote (line 105) | def quote(text): function curly_quote (line 110) | def curly_quote(text): function _set_filters (line 115) | def _set_filters(env): FILE: lib/spack/spack/test/architecture.py function current_host_platform (line 17) | def current_host_platform(): function target_str (line 40) | def target_str(request): function os_str (line 48) | def os_str(request): function test_platform (line 53) | def test_platform(current_host_platform): function test_user_input_combination (line 59) | def test_user_input_combination(config, target_str, os_str): function test_default_os_and_target (line 68) | def test_default_os_and_target(default_mock_concretization): function test_operating_system_conversion_to_dict (line 77) | def test_operating_system_conversion_to_dict(): function test_arch_spec_container_semantic (line 93) | def test_arch_spec_container_semantic(item, architecture_str): function test_satisfy_strict_constraint_when_not_concrete (line 106) | def test_satisfy_strict_constraint_when_not_concrete(architecture_tuple,... function test_concretize_target_ranges (line 131) | def test_concretize_target_ranges(root_target_range, dep_target_range, r... FILE: lib/spack/spack/test/audit.py function test_package_audits (line 42) | def test_package_audits(packages, expected_errors, mock_packages): function test_config_audits (line 114) | def test_config_audits(config_section, data, failing_check, mock_packages): FILE: lib/spack/spack/test/binary_distribution.py function dummy_prefix (line 63) | def dummy_prefix(tmp_path: pathlib.Path): function test_buildcache_cmd_smoke_test (line 94) | def test_buildcache_cmd_smoke_test(tmp_path: pathlib.Path, install_mocke... function test_push_and_fetch_keys (line 135) | def test_push_and_fetch_keys(mock_gnupghome, tmp_path: pathlib.Path): function test_built_spec_cache (line 172) | def test_built_spec_cache(install_mockery, tmp_path: pathlib.Path): function fake_dag_hash (line 192) | def fake_dag_hash(spec, length=None): function test_spec_needs_rebuild (line 200) | def test_spec_needs_rebuild(monkeypatch, tmp_path: pathlib.Path): function test_generate_index_missing (line 229) | def test_generate_index_missing(monkeypatch, tmp_path: pathlib.Path, mut... function test_use_bin_index (line 272) | def test_use_bin_index(monkeypatch, tmp_path: pathlib.Path, mutable_conf... function test_use_bin_index_active_env_with_view (line 303) | def test_use_bin_index_active_env_with_view( function test_use_bin_index_with_view (line 340) | def test_use_bin_index_with_view( function test_generate_key_index_failure (line 377) | def test_generate_key_index_failure(monkeypatch, tmp_path: pathlib.Path): function test_generate_package_index_failure (line 400) | def test_generate_package_index_failure(monkeypatch, tmp_path: pathlib.P... function test_generate_indices_exception (line 417) | def test_generate_indices_exception(monkeypatch, tmp_path: pathlib.Path,... function test_update_sbang (line 434) | def test_update_sbang(tmp_path: pathlib.Path, temporary_mirror, mock_fet... function test_FetchCacheError_only_accepts_lists_of_errors (line 472) | def test_FetchCacheError_only_accepts_lists_of_errors(): function test_FetchCacheError_pretty_printing_multiple (line 477) | def test_FetchCacheError_pretty_printing_multiple(): function test_FetchCacheError_pretty_printing_single (line 486) | def test_FetchCacheError_pretty_printing_single(): function test_text_relocate_if_needed (line 494) | def test_text_relocate_if_needed( function test_compression_writer (line 513) | def test_compression_writer(tmp_path: pathlib.Path): function test_v2_etag_fetching_304 (line 566) | def test_v2_etag_fetching_304(): function test_v2_etag_fetching_200 (line 594) | def test_v2_etag_fetching_200(): function test_v2_etag_fetching_404 (line 622) | def test_v2_etag_fetching_404(): function test_v2_default_index_fetch_200 (line 643) | def test_v2_default_index_fetch_200(): function test_v2_default_index_dont_fetch_index_json_hash_if_no_local_hash (line 680) | def test_v2_default_index_dont_fetch_index_json_hash_if_no_local_hash(): function test_v2_default_index_not_modified (line 711) | def test_v2_default_index_not_modified(): function test_v2_default_index_invalid_hash_file (line 736) | def test_v2_default_index_invalid_hash_file(index_json): function test_v2_default_index_json_404 (line 755) | def test_v2_default_index_json_404(): function _all_parents (line 789) | def _all_parents(prefix): function test_tarball_doesnt_include_buildinfo_twice (line 794) | def test_tarball_doesnt_include_buildinfo_twice(tmp_path: Path): function test_reproducible_tarball_is_reproducible (line 829) | def test_reproducible_tarball_is_reproducible(tmp_path: Path): function test_tarball_normalized_permissions (line 875) | def test_tarball_normalized_permissions(tmp_path: pathlib.Path): function test_tarball_common_prefix (line 921) | def test_tarball_common_prefix(dummy_prefix, tmp_path: pathlib.Path): function test_tarfile_missing_binary_distribution_file (line 969) | def test_tarfile_missing_binary_distribution_file(tmp_path: pathlib.Path): function test_tarfile_without_common_directory_prefix_fails (line 983) | def test_tarfile_without_common_directory_prefix_fails(tmp_path: pathlib... function test_tarfile_with_files_outside_common_prefix (line 998) | def test_tarfile_with_files_outside_common_prefix(tmp_path: pathlib.Path... function test_tarfile_of_spec_prefix (line 1011) | def test_tarfile_of_spec_prefix(tmp_path: pathlib.Path): function test_get_valid_spec_file (line 1067) | def test_get_valid_spec_file(tmp_path: pathlib.Path, layout, expect_succ... function test_get_valid_spec_file_doesnt_exist (line 1090) | def test_get_valid_spec_file_doesnt_exist(tmp_path: pathlib.Path): function test_get_valid_spec_file_no_json (line 1096) | def test_get_valid_spec_file_no_json(tmp_path: pathlib.Path, filename): function test_url_buildcache_entry_v3 (line 1103) | def test_url_buildcache_entry_v3(monkeypatch, tmp_path: pathlib.Path): function test_relative_path_components (line 1140) | def test_relative_path_components(): function test_default_tag (line 1167) | def test_default_tag(spec: str): class IndexInformation (line 1174) | class IndexInformation(NamedTuple): function mock_index (line 1185) | def mock_index(tmp_path: pathlib.Path, monkeypatch) -> IndexInformation: function test_etag_fetching_304 (line 1253) | def test_etag_fetching_304(): function test_etag_fetching_200 (line 1283) | def test_etag_fetching_200(mock_index): function test_etag_fetching_404 (line 1314) | def test_etag_fetching_404(): function test_default_index_fetch_200 (line 1337) | def test_default_index_fetch_200(mock_index): function test_default_index_404 (line 1369) | def test_default_index_404(): function test_default_index_not_modified (line 1392) | def test_default_index_not_modified(mock_index): function test_get_entries_from_cache_nested_mirrors (line 1420) | def test_get_entries_from_cache_nested_mirrors(monkeypatch, tmp_path: pa... function test_mirror_metadata (line 1457) | def test_mirror_metadata(): function test_mirror_metadata_with_view (line 1475) | def test_mirror_metadata_with_view(): FILE: lib/spack/spack/test/bootstrap.py function active_mock_environment (line 25) | def active_mock_environment(mutable_config, mutable_mock_env_path): function test_store_is_restored_correctly_after_bootstrap (line 31) | def test_store_is_restored_correctly_after_bootstrap(mutable_config, tmp... function test_store_padding_length_is_zero_during_bootstrapping (line 44) | def test_store_padding_length_is_zero_during_bootstrapping(mutable_confi... function test_install_tree_customization_is_respected (line 58) | def test_install_tree_customization_is_respected(mutable_config, tmp_pat... function test_store_path_customization (line 85) | def test_store_path_customization(config_value, expected, mutable_config): function test_raising_exception_if_bootstrap_disabled (line 94) | def test_raising_exception_if_bootstrap_disabled(mutable_config): function test_raising_exception_module_importable (line 103) | def test_raising_exception_module_importable(config, monkeypatch): function test_raising_exception_executables_in_path (line 109) | def test_raising_exception_executables_in_path(config, monkeypatch): function test_bootstrap_deactivates_environments (line 116) | def test_bootstrap_deactivates_environments(active_mock_environment): function test_bootstrap_disables_modulefile_generation (line 124) | def test_bootstrap_disables_modulefile_generation(mutable_config): function test_bootstrap_search_for_compilers_with_no_environment (line 139) | def test_bootstrap_search_for_compilers_with_no_environment(no_packages_... function test_bootstrap_search_for_compilers_with_environment_active (line 149) | def test_bootstrap_search_for_compilers_with_environment_active( function test_config_yaml_is_preserved_during_bootstrap (line 160) | def test_config_yaml_is_preserved_during_bootstrap(mutable_config): function test_bootstrap_custom_store_in_environment (line 171) | def test_bootstrap_custom_store_in_environment(mutable_config, tmp_path:... function test_nested_use_of_context_manager (line 195) | def test_nested_use_of_context_manager(mutable_config): function test_status_function_find_files (line 206) | def test_status_function_find_files( function test_gpg_status_check (line 231) | def test_gpg_status_check( function test_source_is_disabled (line 277) | def test_source_is_disabled(mutable_config): function test_use_store_does_not_try_writing_outside_root (line 290) | def test_use_store_does_not_try_writing_outside_root( FILE: lib/spack/spack/test/build_distribution.py function test_build_tarball_overwrite (line 18) | def test_build_tarball_overwrite(install_mockery, mock_fetch, monkeypatc... FILE: lib/spack/spack/test/build_environment.py function os_pathsep_join (line 34) | def os_pathsep_join(path, *pths): function prep_and_join (line 41) | def prep_and_join(path, *pths): function build_environment (line 46) | def build_environment(monkeypatch, wrapper_dir, tmp_path: pathlib.Path): function ensure_env_variables (line 84) | def ensure_env_variables(mutable_config, mock_packages, monkeypatch, wor... function mock_module_cmd (line 97) | def mock_module_cmd(monkeypatch): function test_static_to_shared_library (line 115) | def test_static_to_shared_library(build_environment): function test_cc_not_changed_by_modules (line 151) | def test_cc_not_changed_by_modules(monkeypatch, mutable_config, working_... function test_setup_dependent_package_inherited_modules (line 172) | def test_setup_dependent_package_inherited_modules( function test_compiler_config_modifications (line 256) | def test_compiler_config_modifications( function test_load_external_modules_error (line 292) | def test_load_external_modules_error(working_env, monkeypatch): function test_external_config_env (line 324) | def test_external_config_env(mock_packages, mutable_config, working_env): function test_spack_paths_before_module_paths (line 344) | def test_spack_paths_before_module_paths( function test_package_inheritance_module_setup (line 367) | def test_package_inheritance_module_setup(config, mock_packages, working... function test_wrapper_variables (line 379) | def test_wrapper_variables( function test_external_prefixes_last (line 451) | def test_external_prefixes_last(mutable_config, mock_packages, working_e... function test_parallel_false_is_not_propagating (line 489) | def test_parallel_false_is_not_propagating(default_mock_concretization): function test_setting_dtags_based_on_config (line 510) | def test_setting_dtags_based_on_config( function test_module_globals_available_at_setup_dependent_time (line 527) | def test_module_globals_available_at_setup_dependent_time( function test_build_jobs_sequential_is_sequential (line 551) | def test_build_jobs_sequential_is_sequential(): function test_build_jobs_command_line_overrides (line 565) | def test_build_jobs_command_line_overrides(): function test_build_jobs_defaults (line 590) | def test_build_jobs_defaults(): class TestModuleMonkeyPatcher (line 613) | class TestModuleMonkeyPatcher: method test_getting_attributes (line 614) | def test_getting_attributes(self, default_mock_concretization): method test_setting_attributes (line 619) | def test_setting_attributes(self, default_mock_concretization): function test_effective_deptype_build_environment (line 637) | def test_effective_deptype_build_environment(default_mock_concretization): function test_effective_deptype_run_environment (line 671) | def test_effective_deptype_run_environment(default_mock_concretization): function test_monkey_patching_works_across_virtual (line 703) | def test_monkey_patching_works_across_virtual(default_mock_concretization): function test_clear_compiler_related_runtime_variables_of_build_deps (line 713) | def test_clear_compiler_related_runtime_variables_of_build_deps(default_... function test_rpath_with_duplicate_link_deps (line 728) | def test_rpath_with_duplicate_link_deps(): function test_optimization_flags (line 763) | def test_optimization_flags(compiler_spec, target_name, expected_flags, ... function test_optimization_flags_are_using_node_target (line 775) | def test_optimization_flags_are_using_node_target(default_mock_concretiz... function test_extra_rpaths_is_set (line 828) | def test_extra_rpaths_is_set( class _TestProcess (line 845) | class _TestProcess: method __init__ (line 850) | def __init__(self, *, target, args, pkg, read_pipe, timeout): method start (line 857) | def start(self): method poll (line 861) | def poll(self): method complete (line 864) | def complete(self): method is_alive (line 867) | def is_alive(self): method join (line 871) | def join(self, timeout: Optional[int] = None): method terminate (line 876) | def terminate(self): method _set_terminated (line 884) | def _set_terminated(cls): method _reset (line 888) | def _reset(cls): class _TestPipe (line 893) | class _TestPipe: method close (line 894) | def close(self): method recv (line 897) | def recv(self): function _pipe_fn (line 903) | def _pipe_fn(*, duplex: bool = False) -> Tuple[_TestPipe, _TestPipe]: function mock_build_process (line 908) | def mock_build_process(monkeypatch): function test_build_process_timeout (line 927) | def test_build_process_timeout(mock_build_process, runtime, timeout, exp... FILE: lib/spack/spack/test/build_system_guess.py function url_and_build_system (line 41) | def url_and_build_system(request, tmp_path: pathlib.Path): function test_build_systems (line 59) | def test_build_systems(url_and_build_system): FILE: lib/spack/spack/test/builder.py function builder_test_repository (line 17) | def builder_test_repository(config): function test_callbacks_and_installation_procedure (line 79) | def test_callbacks_and_installation_procedure(spec_str, expected_values,... function test_old_style_compatibility_with_super (line 103) | def test_old_style_compatibility_with_super(spec_str, method_name, expec... function test_build_time_tests_are_executed_from_default_builder (line 114) | def test_build_time_tests_are_executed_from_default_builder(): function test_monkey_patching_wrapped_pkg (line 127) | def test_monkey_patching_wrapped_pkg(): function test_monkey_patching_test_log_file (line 142) | def test_monkey_patching_test_log_file(): function test_install_time_test_callback (line 155) | def test_install_time_test_callback(tmp_path: pathlib.Path, config, mock... function test_mixins_with_builders (line 173) | def test_mixins_with_builders(working_env): function test_reading_api_v20_attributes (line 188) | def test_reading_api_v20_attributes(): function test_reading_api_v22_attributes (line 204) | def test_reading_api_v22_attributes(): function test_builder_when_inheriting_just_package (line 222) | def test_builder_when_inheriting_just_package(working_env): FILE: lib/spack/spack/test/buildrequest.py function test_build_request_errors (line 14) | def test_build_request_errors(install_mockery): function test_build_request_basics (line 24) | def test_build_request_basics(install_mockery): function test_build_request_strings (line 39) | def test_build_request_strings(install_mockery): function test_build_request_deptypes (line 67) | def test_build_request_deptypes( FILE: lib/spack/spack/test/buildtask.py function test_build_task_errors (line 14) | def test_build_task_errors(install_mockery): function test_build_task_basics (line 50) | def test_build_task_basics(install_mockery): function test_build_task_strings (line 69) | def test_build_task_strings(install_mockery): FILE: lib/spack/spack/test/cache_fetch.py function test_fetch_missing_cache (line 18) | def test_fetch_missing_cache(tmp_path: pathlib.Path, _fetch_method): function test_fetch (line 31) | def test_fetch(tmp_path: pathlib.Path, _fetch_method): FILE: lib/spack/spack/test/cc.py function wrapper_environment (line 144) | def wrapper_environment(working_env): function wrapper_flags (line 179) | def wrapper_flags(): function check_args (line 191) | def check_args(cc, args, expected): function check_args_contents (line 204) | def check_args_contents(cc, args, must_contain, must_not_contain): function check_env_var (line 220) | def check_env_var(executable, var, expected): function dump_mode (line 232) | def dump_mode(cc, args): function test_no_wrapper_environment (line 239) | def test_no_wrapper_environment(wrapper_dir): function test_modes (line 246) | def test_modes(wrapper_environment, wrapper_dir): function test_expected_args (line 280) | def test_expected_args(wrapper_environment, wrapper_dir): function test_expected_args_with_flags (line 647) | def test_expected_args_with_flags(wrapper_environment, wrapper_flags, wr... function test_system_path_cleanup (line 740) | def test_system_path_cleanup(wrapper_environment, wrapper_dir): function test_ld_deps_partial (line 760) | def test_ld_deps_partial(wrapper_environment, wrapper_dir): function test_ccache_prepend_for_cc (line 801) | def test_ccache_prepend_for_cc(wrapper_environment, wrapper_dir): function test_no_ccache_prepend_for_fc (line 825) | def test_no_ccache_prepend_for_fc(wrapper_environment, wrapper_dir): function test_keep_and_replace (line 843) | def test_keep_and_replace(wrapper_environment, wrapper_dir): function test_flag_modification (line 905) | def test_flag_modification(cfg_override, initial, expected, must_be_gone... function test_disable_new_dtags (line 917) | def test_disable_new_dtags(wrapper_environment, wrapper_flags, wrapper_d... function test_filter_enable_new_dtags (line 928) | def test_filter_enable_new_dtags(wrapper_environment, wrapper_flags, wra... function test_linker_strips_loopopt (line 942) | def test_linker_strips_loopopt(wrapper_environment, wrapper_flags, wrapp... function test_spack_managed_dirs_are_prioritized (line 964) | def test_spack_managed_dirs_are_prioritized(wrapper_environment, wrapper... FILE: lib/spack/spack/test/ci.py function repro_dir (line 28) | def repro_dir(tmp_path: pathlib.Path): function test_filter_added_checksums_new_checksum (line 35) | def test_filter_added_checksums_new_checksum(mock_git_package_changes): function test_filter_added_checksums_new_commit (line 51) | def test_filter_added_checksums_new_commit(mock_git_package_changes): function test_pipeline_dag (line 68) | def test_pipeline_dag(config, repo_builder: RepoBuilder): function test_import_signing_key (line 192) | def test_import_signing_key(mock_gnupghome): function test_download_and_extract_artifacts (line 202) | def test_download_and_extract_artifacts(tmp_path: pathlib.Path, monkeypa... function test_ci_copy_stage_logs_to_artifacts_fail (line 236) | def test_ci_copy_stage_logs_to_artifacts_fail( function test_ci_copy_test_logs_to_artifacts_fail (line 249) | def test_ci_copy_test_logs_to_artifacts_fail(tmp_path: pathlib.Path, cap... function test_setup_spack_repro_version (line 264) | def test_setup_spack_repro_version( function test_get_spec_filter_list (line 341) | def test_get_spec_filter_list(mutable_mock_env_path, mutable_mock_repo): function test_affected_specs_on_first_concretization (line 417) | def test_affected_specs_on_first_concretization(mutable_mock_env_path): function test_ci_process_command (line 429) | def test_ci_process_command(repro_dir): function test_ci_process_command_fail (line 436) | def test_ci_process_command_fail(repro_dir, monkeypatch): function test_ci_create_buildcache (line 447) | def test_ci_create_buildcache(working_env, config, monkeypatch): function test_ci_run_standalone_tests_missing_requirements (line 470) | def test_ci_run_standalone_tests_missing_requirements( function test_ci_run_standalone_tests_not_installed_junit (line 485) | def test_ci_run_standalone_tests_not_installed_junit( function test_ci_run_standalone_tests_not_installed_cdash (line 502) | def test_ci_run_standalone_tests_not_installed_cdash( function test_ci_skipped_report (line 538) | def test_ci_skipped_report(tmp_path: pathlib.Path, config): FILE: lib/spack/spack/test/cmd/arch.py function test_arch (line 10) | def test_arch(): function test_arch_platform (line 20) | def test_arch_platform(): function test_arch_operating_system (line 29) | def test_arch_operating_system(): function test_arch_target (line 38) | def test_arch_target(): function test_display_targets (line 47) | def test_display_targets(): FILE: lib/spack/spack/test/cmd/audit.py function test_audit_packages (line 25) | def test_audit_packages(pkgs, expected_returncode, mutable_config, mock_... function test_audit_configs (line 31) | def test_audit_configs(mutable_config, mock_packages): function test_audit_packages_https (line 38) | def test_audit_packages_https(mutable_config, mock_packages, monkeypatch): FILE: lib/spack/spack/test/cmd/blame.py function test_blame_by_modtime (line 25) | def test_blame_by_modtime(mock_packages): function test_blame_by_percent (line 33) | def test_blame_by_percent(mock_packages): function test_blame_file (line 41) | def test_blame_file(): function test_blame_file_missing (line 50) | def test_blame_file_missing(): function test_blame_directory (line 57) | def test_blame_directory(): function test_blame_file_outside_spack_repo (line 64) | def test_blame_file_outside_spack_repo(tmp_path: Path): function test_blame_spack_not_git_clone (line 73) | def test_blame_spack_not_git_clone(monkeypatch): function test_blame_json (line 83) | def test_blame_json(mock_packages): function test_blame_by_git (line 107) | def test_blame_by_git(mock_packages): function test_repo_root_local_descriptor (line 114) | def test_repo_root_local_descriptor(mock_git_version_info, monkeypatch): function test_repo_root_remote_descriptor (line 145) | def test_repo_root_remote_descriptor(mock_git_version_info, monkeypatch): function test_git_prefix_bad (line 170) | def test_git_prefix_bad(tmp_path: Path): function test_ensure_full_history_shallow_works (line 178) | def test_ensure_full_history_shallow_works(mock_git_version_info, monkey... function test_ensure_full_history_shallow_fails (line 196) | def test_ensure_full_history_shallow_fails(mock_git_version_info, monkey... function test_ensure_full_history_shallow_old_git (line 220) | def test_ensure_full_history_shallow_old_git(mock_git_version_info, monk... FILE: lib/spack/spack/test/cmd/bootstrap.py function test_enable_and_disable (line 22) | def test_enable_and_disable(mutable_config, scope): function test_root_get_and_set (line 35) | def test_root_get_and_set(mutable_config, tmp_path, scope): function test_reset_in_file_scopes (line 46) | def test_reset_in_file_scopes(mutable_config, scopes): function test_reset_in_environment (line 61) | def test_reset_in_environment(mutable_mock_env_path, mutable_config): function test_reset_in_file_scopes_overwrites_backup_files (line 78) | def test_reset_in_file_scopes_overwrites_backup_files(mutable_config): function test_list_sources (line 100) | def test_list_sources(config): function test_enable_or_disable_sources (line 111) | def test_enable_or_disable_sources(mutable_config, command, value): function test_enable_or_disable_fails_with_no_method (line 121) | def test_enable_or_disable_fails_with_no_method(mutable_config): function test_enable_or_disable_fails_with_more_than_one_method (line 126) | def test_enable_or_disable_fails_with_more_than_one_method(mutable_config): function test_add_failures_for_non_existing_files (line 140) | def test_add_failures_for_non_existing_files( function test_add_failures_for_already_existing_name (line 148) | def test_add_failures_for_already_existing_name(mutable_config): function test_remove_failure_for_non_existing_names (line 153) | def test_remove_failure_for_non_existing_names(mutable_config): function test_remove_and_add_a_source (line 158) | def test_remove_and_add_a_source(mutable_config): function test_bootstrap_mirror_metadata (line 176) | def test_bootstrap_mirror_metadata(mutable_config, linux_os, monkeypatch... FILE: lib/spack/spack/test/cmd/build_env.py function test_it_just_runs (line 19) | def test_it_just_runs(pkg): function test_error_when_multiple_specs_are_given (line 24) | def test_error_when_multiple_specs_are_given(): function test_build_env_requires_a_spec (line 31) | def test_build_env_requires_a_spec(args): function test_dump (line 41) | def test_dump(shell_as, shell, tmp_path: pathlib.Path): function test_pickle (line 54) | def test_pickle(tmp_path: pathlib.Path): function test_failure_when_uninstalled_deps (line 62) | def test_failure_when_uninstalled_deps(config, mock_packages): FILE: lib/spack/spack/test/cmd/buildcache.py function mock_get_specs (line 52) | def mock_get_specs(database, monkeypatch): function mock_get_specs_multiarch (line 58) | def mock_get_specs_multiarch(database, monkeypatch): function test_buildcache_list_duplicates (line 72) | def test_buildcache_list_duplicates(mock_get_specs): function test_buildcache_list_allarch (line 80) | def test_buildcache_list_allarch(database, mock_get_specs_multiarch): function tests_buildcache_create_env (line 88) | def tests_buildcache_create_env( function test_buildcache_create_fails_on_noargs (line 113) | def test_buildcache_create_fails_on_noargs(tmp_path: pathlib.Path): function test_buildcache_create_fail_on_perm_denied (line 121) | def test_buildcache_create_fail_on_perm_denied( function test_update_key_index (line 134) | def test_update_key_index( function test_buildcache_autopush (line 178) | def test_buildcache_autopush(tmp_path: pathlib.Path, install_mockery, mo... function test_buildcache_sync (line 200) | def test_buildcache_sync( function test_buildcache_create_install (line 317) | def test_buildcache_create_install( function _mock_uploader (line 363) | def _mock_uploader(tmp_path: pathlib.Path): function test_correct_specs_are_pushed (line 417) | def test_correct_specs_are_pushed( function test_push_and_install_with_mirror_marked_unsigned_does_not_require_extra_flags (line 452) | def test_push_and_install_with_mirror_marked_unsigned_does_not_require_e... function test_skip_no_redistribute (line 483) | def test_skip_no_redistribute(mock_packages, config): function test_best_effort_vs_fail_fast_when_dep_not_installed (line 490) | def test_best_effort_vs_fail_fast_when_dep_not_installed(tmp_path: pathl... function test_push_without_build_deps (line 518) | def test_push_without_build_deps( function v2_buildcache_layout (line 544) | def v2_buildcache_layout(tmp_path: pathlib.Path): function test_check_mirror_for_layout (line 554) | def test_check_mirror_for_layout(v2_buildcache_layout, mutable_config, c... function test_url_buildcache_entry_v2_exists (line 563) | def test_url_buildcache_entry_v2_exists( function test_install_v2_layout (line 604) | def test_install_v2_layout( function test_basic_migrate_unsigned (line 632) | def test_basic_migrate_unsigned(v2_buildcache_layout, mutable_config): function test_basic_migrate_signed (line 669) | def test_basic_migrate_signed(v2_buildcache_layout, mock_gnupghome, muta... function test_unsigned_migrate_of_signed_mirror (line 708) | def test_unsigned_migrate_of_signed_mirror(v2_buildcache_layout, mutable... function test_migrate_requires_index (line 734) | def test_migrate_requires_index(v2_buildcache_layout, mutable_config): function test_buildcache_prune_no_orphans (line 754) | def test_buildcache_prune_no_orphans(tmp_path, mutable_database, mock_gn... function test_buildcache_prune_orphaned_blobs (line 768) | def test_buildcache_prune_orphaned_blobs(tmp_path, mutable_database, moc... function test_buildcache_prune_orphaned_manifest (line 808) | def test_buildcache_prune_orphaned_manifest(tmp_path, mutable_database, ... function test_buildcache_prune_direct_with_keeplist (line 844) | def test_buildcache_prune_direct_with_keeplist( function test_buildcache_prune_direct_removes_unlisted (line 879) | def test_buildcache_prune_direct_removes_unlisted( function test_buildcache_prune_direct_empty_keeplist_fails (line 911) | def test_buildcache_prune_direct_empty_keeplist_fails( function test_buildcache_prune_with_invalid_keep_hash (line 928) | def test_buildcache_prune_with_invalid_keep_hash( function test_buildcache_prune_new_specs_race_condition (line 946) | def test_buildcache_prune_new_specs_race_condition( function create_env_from_concrete_spec (line 987) | def create_env_from_concrete_spec(spec: spack.spec.Spec): function args_for_active_env (line 1002) | def args_for_active_env(spec: spack.spec.Spec): function args_for_env_by_path (line 1008) | def args_for_env_by_path(spec: spack.spec.Spec): function args_for_env_by_name (line 1014) | def args_for_env_by_name(spec: spack.spec.Spec): function read_specs_in_index (line 1020) | def read_specs_in_index(mirror_directory, view): function test_buildcache_create_view_failure (line 1035) | def test_buildcache_create_view_failure(tmp_path, mutable_config, mutabl... function test_buildcache_create_view_empty (line 1051) | def test_buildcache_create_view_empty( function test_buildcache_create_view (line 1092) | def test_buildcache_create_view( function test_buildcache_create_view_append (line 1140) | def test_buildcache_create_view_append( function test_buildcache_create_view_overwrite (line 1198) | def test_buildcache_create_view_overwrite( function test_buildcache_create_view_non_active_env (line 1238) | def test_buildcache_create_view_non_active_env( function test_buildcache_check_index_full (line 1274) | def test_buildcache_check_index_full( function test_buildcache_push_with_group (line 1330) | def test_buildcache_push_with_group( function test_buildcache_push_with_multiple_groups (line 1367) | def test_buildcache_push_with_multiple_groups( function test_buildcache_push_group_nonexistent_errors (line 1415) | def test_buildcache_push_group_nonexistent_errors(tmp_path: pathlib.Path... function test_buildcache_push_group_and_specs_mutually_exclusive (line 1438) | def test_buildcache_push_group_and_specs_mutually_exclusive( function test_buildcache_push_group_requires_active_env (line 1469) | def test_buildcache_push_group_requires_active_env(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/cmd/cd.py function test_cd (line 10) | def test_cd(): FILE: lib/spack/spack/test/cmd/checksum.py function no_add (line 26) | def no_add(monkeypatch): function can_fetch_versions (line 34) | def can_fetch_versions(monkeypatch, no_add): function cannot_fetch_versions (line 57) | def cannot_fetch_versions(monkeypatch, no_add): function test_checksum_args (line 86) | def test_checksum_args(arguments, expected): function test_checksum (line 104) | def test_checksum(arguments, expected, mock_packages, can_fetch_versions): function input_from_commands (line 113) | def input_from_commands(*commands): function test_checksum_interactive_filter (line 128) | def test_checksum_interactive_filter(): function test_checksum_interactive_return_from_filter_prompt (line 145) | def test_checksum_interactive_return_from_filter_prompt(): function test_checksum_interactive_quit_returns_none (line 164) | def test_checksum_interactive_quit_returns_none(): function test_checksum_interactive_reset_resets (line 180) | def test_checksum_interactive_reset_resets(): function test_checksum_interactive_ask_each (line 194) | def test_checksum_interactive_ask_each(): function test_checksum_interactive_quit_from_ask_each (line 209) | def test_checksum_interactive_quit_from_ask_each(): function test_checksum_interactive_nothing_left (line 226) | def test_checksum_interactive_nothing_left(): function test_checksum_interactive_new_only (line 242) | def test_checksum_interactive_new_only(): function test_checksum_interactive_top_n (line 259) | def test_checksum_interactive_top_n(): function test_checksum_interactive_unrecognized_command (line 275) | def test_checksum_interactive_unrecognized_command(): function test_checksum_versions (line 282) | def test_checksum_versions(mock_packages, can_fetch_versions, monkeypatch): function test_checksum_missing_version (line 290) | def test_checksum_missing_version(mock_packages, cannot_fetch_versions): function test_checksum_deprecated_version (line 297) | def test_checksum_deprecated_version(mock_packages, can_fetch_versions): function test_checksum_url (line 306) | def test_checksum_url(mock_packages, config): function test_checksum_verification_fails (line 312) | def test_checksum_verification_fails(default_mock_concretization, capfd,... function test_checksum_manual_download_fails (line 325) | def test_checksum_manual_download_fails(mock_packages, monkeypatch): function test_upate_package_contents (line 344) | def test_upate_package_contents(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/cmd/ci.py function ci_base_environment (line 55) | def ci_base_environment(working_env, tmp_path: pathlib.Path): function mock_git_repo (line 62) | def mock_git_repo(git, tmp_path: pathlib.Path): function ci_generate_test (line 113) | def ci_generate_test( function test_ci_generate_with_env (line 137) | def test_ci_generate_with_env(ci_generate_test, tmp_path: pathlib.Path, ... function test_ci_generate_with_env_missing_section (line 213) | def test_ci_generate_with_env_missing_section( function test_ci_generate_with_cdash_token (line 229) | def test_ci_generate_with_cdash_token( function test_ci_generate_with_custom_settings (line 272) | def test_ci_generate_with_custom_settings( function test_ci_generate_pkg_with_deps (line 352) | def test_ci_generate_pkg_with_deps(ci_generate_test, tmp_path: pathlib.P... function test_ci_generate_for_pr_pipeline (line 393) | def test_ci_generate_for_pr_pipeline(ci_generate_test, tmp_path: pathlib... function test_ci_generate_with_external_pkg (line 434) | def test_ci_generate_with_external_pkg(ci_generate_test, tmp_path: pathl... function test_ci_rebuild_missing_config (line 461) | def test_ci_rebuild_missing_config(tmp_path: pathlib.Path, working_env, ... function _signing_key (line 478) | def _signing_key(): class RebuildEnv (line 483) | class RebuildEnv(NamedTuple): function create_rebuild_env (line 497) | def create_rebuild_env( function activate_rebuild_env (line 566) | def activate_rebuild_env(tmp_path: pathlib.Path, pkg_name: str, rebuild_... function test_ci_rebuild_mock_success (line 594) | def test_ci_rebuild_mock_success( function test_ci_rebuild_mock_failure_to_push (line 627) | def test_ci_rebuild_mock_failure_to_push( function test_ci_require_signing (line 663) | def test_ci_require_signing( function test_ci_nothing_to_rebuild (line 703) | def test_ci_nothing_to_rebuild( function test_push_to_build_cache (line 769) | def test_push_to_build_cache( function test_push_to_build_cache_exceptions (line 894) | def test_push_to_build_cache_exceptions(monkeypatch, tmp_path: pathlib.P... function test_ci_generate_override_runner_attrs (line 908) | def test_ci_generate_override_runner_attrs( function test_ci_rebuild_index (line 1051) | def test_ci_rebuild_index( function test_ci_get_stack_changed (line 1098) | def test_ci_get_stack_changed(mock_git_repo, monkeypatch): function test_ci_generate_prune_untouched (line 1108) | def test_ci_generate_prune_untouched( function test_ci_subcommands_without_mirror (line 1188) | def test_ci_subcommands_without_mirror( function test_ci_generate_read_broken_specs_url (line 1228) | def test_ci_generate_read_broken_specs_url( function test_ci_generate_external_signing_job (line 1296) | def test_ci_generate_external_signing_job( function test_ci_reproduce (line 1344) | def test_ci_reproduce( function test_reproduce_build_url_validation (line 1517) | def test_reproduce_build_url_validation(url_in, url_out): function test_reproduce_build_url_validation_fails (line 1521) | def test_reproduce_build_url_validation_fails(): function test_ci_help (line 1536) | def test_ci_help(subcmd): function test_docstring_utils (line 1544) | def test_docstring_utils(): function test_gitlab_config_scopes (line 1559) | def test_gitlab_config_scopes(install_mockery, ci_generate_test, tmp_pat... function test_ci_generate_mirror_config (line 1647) | def test_ci_generate_mirror_config( function dynamic_mapping_setup (line 1687) | def dynamic_mapping_setup(tmp_path: pathlib.Path): function test_ci_dynamic_mapping_empty (line 1712) | def test_ci_dynamic_mapping_empty( function test_ci_dynamic_mapping_full (line 1737) | def test_ci_dynamic_mapping_full( function test_ci_generate_unknown_generator (line 1774) | def test_ci_generate_unknown_generator( function test_ci_generate_copy_only (line 1809) | def test_ci_generate_copy_only( function generate_unittest_pipeline (line 1898) | def generate_unittest_pipeline( function test_ci_generate_alternate_target (line 1911) | def test_ci_generate_alternate_target( function test_ci_generate_forward_variables (line 1950) | def test_ci_generate_forward_variables( function fetch_versions_match (line 2002) | def fetch_versions_match(monkeypatch): function fetch_versions_invalid (line 2014) | def fetch_versions_invalid(monkeypatch): function test_ci_validate_standard_versions_valid (line 2028) | def test_ci_validate_standard_versions_valid(capfd, mock_packages, fetch... function test_ci_validate_standard_versions_invalid (line 2041) | def test_ci_validate_standard_versions_invalid( function test_ci_validate_git_versions_valid (line 2056) | def test_ci_validate_git_versions_valid( function test_ci_validate_git_versions_bad_tag (line 2080) | def test_ci_validate_git_versions_bad_tag( function test_ci_validate_git_versions_invalid (line 2104) | def test_ci_validate_git_versions_invalid( function mock_packages_path (line 2131) | def mock_packages_path(path): function verify_standard_versions_valid (line 2139) | def verify_standard_versions_valid(monkeypatch): function verify_git_versions_valid (line 2149) | def verify_git_versions_valid(monkeypatch): function verify_standard_versions_invalid (line 2159) | def verify_standard_versions_invalid(monkeypatch): function verify_standard_versions_invalid_duplicates (line 2169) | def verify_standard_versions_invalid_duplicates(monkeypatch): function verify_git_versions_invalid (line 2182) | def verify_git_versions_invalid(monkeypatch): function test_ci_verify_versions_valid (line 2191) | def test_ci_verify_versions_valid( function test_ci_verify_versions_invalid (line 2207) | def test_ci_verify_versions_invalid( function test_ci_verify_versions_standard_duplicates (line 2223) | def test_ci_verify_versions_standard_duplicates( function test_ci_verify_versions_manual_package (line 2239) | def test_ci_verify_versions_manual_package(monkeypatch, mock_packages, m... FILE: lib/spack/spack/test/cmd/clean.py function mock_calls_for_clean (line 22) | def mock_calls_for_clean(monkeypatch): function test_function_calls (line 62) | def test_function_calls(command_line, effects, mock_calls_for_clean, mut... function test_remove_python_cache (line 74) | def test_remove_python_cache(tmp_path: pathlib.Path, monkeypatch): FILE: lib/spack/spack/test/cmd/commands.py function commands (line 23) | def commands(*args: str) -> str: function test_names (line 30) | def test_names(): function test_subcommands (line 44) | def test_subcommands(): function test_alias_overrides_builtin (line 67) | def test_alias_overrides_builtin(mutable_config: spack.config.Configurat... function test_alias_with_space (line 76) | def test_alias_with_space(mutable_config: spack.config.Configuration, ca... function test_alias_resolves_properly (line 85) | def test_alias_resolves_properly(mutable_config: spack.config.Configurat... function test_rst (line 92) | def test_rst(): function test_rst_with_input_files (line 115) | def test_rst_with_input_files(tmp_path: pathlib.Path): function test_rst_with_header (line 136) | def test_rst_with_header(tmp_path: pathlib.Path): function test_rst_update (line 151) | def test_rst_update(tmp_path: pathlib.Path): function test_update_with_header (line 158) | def test_update_with_header(tmp_path: pathlib.Path): function test_bash_completion (line 172) | def test_bash_completion(): function test_bash_completion_choices (line 202) | def test_bash_completion_choices(): function test_fish_completion (line 210) | def test_fish_completion(): function test_update_completion_arg (line 241) | def test_update_completion_arg(shell, tmp_path: pathlib.Path, monkeypatch): function test_updated_completion_scripts (line 281) | def test_updated_completion_scripts(shell, tmp_path: pathlib.Path): FILE: lib/spack/spack/test/cmd/common/arguments.py function job_parser (line 17) | def job_parser(): function test_setting_jobs_flag (line 28) | def test_setting_jobs_flag(job_parser): function test_omitted_job_flag (line 34) | def test_omitted_job_flag(job_parser): function test_negative_integers_not_allowed_for_parallel_jobs (line 40) | def test_negative_integers_not_allowed_for_parallel_jobs(job_parser): function test_parse_spec_flags_with_spaces (line 58) | def test_parse_spec_flags_with_spaces(specs, cflags, propagation, negate... function test_match_spec_env (line 74) | def test_match_spec_env(mock_packages, mutable_mock_env_path): function test_multiple_env_match_raises_error (line 94) | def test_multiple_env_match_raises_error(mock_packages, mutable_mock_env... function test_root_and_dep_match_returns_root (line 106) | def test_root_and_dep_match_returns_root(mock_packages, mutable_mock_env... function test_concretizer_arguments (line 130) | def test_concretizer_arguments(mutable_config, mock_packages, arg, conf): function test_use_buildcache_type (line 142) | def test_use_buildcache_type(): function test_missing_config_scopes_are_valid_scope_arguments (line 158) | def test_missing_config_scopes_are_valid_scope_arguments(mock_missing_di... function test_missing_config_scopes_not_valid_read_scope (line 172) | def test_missing_config_scopes_not_valid_read_scope(mock_missing_dir_inc... FILE: lib/spack/spack/test/cmd/common/spec_strings.py function test_spec_strings (line 10) | def test_spec_strings(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/cmd/compiler.py function compilers_dir (line 22) | def compilers_dir(mock_executable): function test_compiler_find_without_paths (line 72) | def test_compiler_find_without_paths(no_packages_yaml, working_env, mock... function test_compiler_remove (line 85) | def test_compiler_remove(mutable_config): function test_removing_compilers_from_multiple_scopes (line 98) | def test_removing_compilers_from_multiple_scopes(mutable_config): function test_compiler_add (line 114) | def test_compiler_add(mutable_config, mock_executable): function test_compiler_find_prefer_no_suffix (line 150) | def test_compiler_find_prefer_no_suffix(no_packages_yaml, working_env, c... function test_compiler_find_path_order (line 171) | def test_compiler_find_path_order(no_packages_yaml, working_env, compile... function test_compiler_list_empty (line 197) | def test_compiler_list_empty(no_packages_yaml, compilers_dir, monkeypatch): function test_compilers_shows_packages_yaml (line 239) | def test_compilers_shows_packages_yaml( FILE: lib/spack/spack/test/cmd/concretize.py function test_concretize_all_test_dependencies (line 23) | def test_concretize_all_test_dependencies(unify, mutable_config, mutable... function test_concretize_root_test_dependencies_not_recursive (line 35) | def test_concretize_root_test_dependencies_not_recursive( function test_concretize_root_test_dependencies_are_concretized (line 49) | def test_concretize_root_test_dependencies_are_concretized( FILE: lib/spack/spack/test/cmd/config.py function _create_config (line 28) | def _create_config(scope=None, data={}, section="packages"): function config_yaml_v015 (line 37) | def config_yaml_v015(mutable_config): function test_config_scopes (line 58) | def test_config_scopes(path, types, mutable_mock_env_path): function test_config_scopes_include (line 85) | def test_config_scopes_include(type): function test_config_scopes_section (line 93) | def test_config_scopes_section(mutable_config): function test_include_overrides (line 104) | def test_include_overrides(mutable_config): function test_blame_override (line 132) | def test_blame_override(mutable_config): function test_config_scopes_path (line 154) | def test_config_scopes_path(mutable_config): function test_get_config_scope (line 165) | def test_get_config_scope(mock_low_high_config): function test_get_config_roundtrip (line 169) | def test_get_config_roundtrip(mutable_config): function test_get_all_config_roundtrip (line 176) | def test_get_all_config_roundtrip(mutable_config): function test_get_config_scope_merged (line 185) | def test_get_config_scope_merged(mock_low_high_config): function test_config_edit (line 218) | def test_config_edit(mutable_config, working_env): function test_config_get_gets_spack_yaml (line 232) | def test_config_get_gets_spack_yaml(mutable_mock_env_path): function test_config_edit_edits_spack_yaml (line 240) | def test_config_edit_edits_spack_yaml(mutable_mock_env_path): function test_config_add_with_scope_adds_to_scope (line 246) | def test_config_add_with_scope_adds_to_scope(mutable_config, mutable_moc... function test_config_edit_fails_correctly_with_no_env (line 254) | def test_config_edit_fails_correctly_with_no_env(mutable_mock_env_path): function test_config_list (line 259) | def test_config_list(): function test_config_add (line 265) | def test_config_add(mutable_empty_config): function test_config_add_list (line 277) | def test_config_add_list(mutable_empty_config): function test_config_add_override (line 294) | def test_config_add_override(mutable_empty_config): function test_config_add_override_leaf (line 320) | def test_config_add_override_leaf(mutable_empty_config): function test_config_add_update_dict (line 346) | def test_config_add_update_dict(mutable_empty_config): function test_config_with_c_argument (line 354) | def test_config_with_c_argument(mutable_empty_config): function test_config_add_ordered_dict (line 367) | def test_config_add_ordered_dict(mutable_empty_config): function test_config_add_interpret_oneof (line 381) | def test_config_add_interpret_oneof(mutable_empty_config): function test_config_add_invalid_fails (line 387) | def test_config_add_invalid_fails(mutable_empty_config): function test_config_add_from_file (line 393) | def test_config_add_from_file(mutable_empty_config, tmp_path: pathlib.Pa... function test_config_add_from_file_multiple (line 413) | def test_config_add_from_file_multiple(mutable_empty_config, tmp_path: p... function test_config_add_override_from_file (line 435) | def test_config_add_override_from_file(mutable_empty_config, tmp_path: p... function test_config_add_override_leaf_from_file (line 456) | def test_config_add_override_leaf_from_file(mutable_empty_config, tmp_pa... function test_config_add_update_dict_from_file (line 477) | def test_config_add_update_dict_from_file(mutable_empty_config, tmp_path... function test_config_add_invalid_file_fails (line 506) | def test_config_add_invalid_file_fails(tmp_path: pathlib.Path): function test_config_remove_value (line 524) | def test_config_remove_value(mutable_empty_config): function test_config_remove_alias_rm (line 536) | def test_config_remove_alias_rm(mutable_empty_config): function test_config_remove_dict (line 548) | def test_config_remove_dict(mutable_empty_config): function test_remove_from_list (line 560) | def test_remove_from_list(mutable_empty_config): function test_remove_list (line 577) | def test_remove_list(mutable_empty_config): function test_config_add_to_env (line 594) | def test_config_add_to_env(mutable_empty_config, mutable_mock_env_path): function test_config_add_to_env_preserve_comments (line 606) | def test_config_add_to_env_preserve_comments( function test_config_remove_from_env (line 634) | def test_config_remove_from_env(mutable_empty_config, mutable_mock_env_p... function test_config_update_not_needed (line 647) | def test_config_update_not_needed(mutable_config): function test_config_update_shared_linking (line 654) | def test_config_update_shared_linking(mutable_config): function test_config_prefer_upstream (line 662) | def test_config_prefer_upstream( function test_environment_config_update (line 700) | def test_environment_config_update(tmp_path: pathlib.Path, mutable_confi... function test_config_with_group_shows_override_packages (line 737) | def test_config_with_group_shows_override_packages(cmd_str, tmp_path, mu... function test_config_with_group_requires_active_environment (line 755) | def test_config_with_group_requires_active_environment(cmd_str, mutable_... function test_config_with_unknown_group_gives_clear_error (line 763) | def test_config_with_unknown_group_gives_clear_error(cmd_str, tmp_path, ... FILE: lib/spack/spack/test/cmd/create.py function test_create_template (line 125) | def test_create_template(mock_test_repo, args, name, expected): function test_create_template_bad_name (line 149) | def test_create_template_bad_name(mock_test_repo, name, expected): function test_build_system_guesser_no_stage (line 156) | def test_build_system_guesser_no_stage(): function test_build_system_guesser_octave (line 165) | def test_build_system_guesser_octave(tmp_path: pathlib.Path): function test_get_name_urls (line 186) | def test_get_name_urls(url, expected): function test_get_name_error (line 192) | def test_get_name_error(monkeypatch, capfd): function test_no_url (line 208) | def test_no_url(): function test_language_and_build_system_detection (line 223) | def test_language_and_build_system_detection(tmp_path: pathlib.Path, sou... FILE: lib/spack/spack/test/cmd/debug.py function test_report (line 18) | def test_report(): function test_get_builtin_repo_info_local_repo (line 31) | def test_get_builtin_repo_info_local_repo(mock_git_version_info, monkeyp... function test_get_builtin_repo_info_unsupported_type (line 42) | def test_get_builtin_repo_info_unsupported_type(mock_git_version_info, m... function test_get_builtin_repo_info_no_builtin (line 53) | def test_get_builtin_repo_info_no_builtin(monkeypatch): function test_get_builtin_repo_info_bad_destination (line 63) | def test_get_builtin_repo_info_bad_destination(mock_git_version_info, mo... function test_get_spack_repo_info_no_commit (line 74) | def test_get_spack_repo_info_no_commit(monkeypatch): FILE: lib/spack/spack/test/cmd/deconcretize.py function test_env (line 14) | def test_env(mutable_mock_env_path, mock_packages): function test_deconcretize_dep (line 23) | def test_deconcretize_dep(test_env): function test_deconcretize_all_dep (line 32) | def test_deconcretize_all_dep(test_env): function test_deconcretize_root (line 42) | def test_deconcretize_root(test_env): function test_deconcretize_all_root (line 55) | def test_deconcretize_all_root(test_env): function test_deconcretize_all (line 70) | def test_deconcretize_all(test_env): FILE: lib/spack/spack/test/cmd/dependencies.py function test_direct_dependencies (line 47) | def test_direct_dependencies(cli_args, expected, mock_packages): function test_direct_installed_dependencies (line 54) | def test_direct_installed_dependencies(mock_packages, database): function test_transitive_installed_dependencies (line 68) | def test_transitive_installed_dependencies(mock_packages, database): FILE: lib/spack/spack/test/cmd/dependents.py function test_immediate_dependents (line 16) | def test_immediate_dependents(mock_packages): function test_transitive_dependents (line 31) | def test_transitive_dependents(mock_packages): function test_immediate_installed_dependents (line 51) | def test_immediate_installed_dependents(mock_packages, database): function test_transitive_installed_dependents (line 69) | def test_transitive_installed_dependents(mock_packages, database): FILE: lib/spack/spack/test/cmd/deprecate.py function test_deprecate (line 24) | def test_deprecate(mock_packages, mock_archive, mock_fetch, install_mock... function test_deprecate_fails_no_such_package (line 39) | def test_deprecate_fails_no_such_package(mock_packages, mock_archive, mo... function test_deprecate_install (line 53) | def test_deprecate_install(mock_packages, mock_archive, mock_fetch, inst... function test_deprecate_deps (line 70) | def test_deprecate_deps(mock_packages, mock_archive, mock_fetch, install... function test_uninstall_deprecated (line 93) | def test_uninstall_deprecated(mock_packages, mock_archive, mock_fetch, i... function test_deprecate_already_deprecated (line 110) | def test_deprecate_already_deprecated(mock_packages, mock_archive, mock_... function test_deprecate_deprecator (line 134) | def test_deprecate_deprecator(mock_packages, mock_archive, mock_fetch, i... function test_concretize_deprecated (line 163) | def test_concretize_deprecated(mock_packages, mock_archive, mock_fetch, ... function test_deprecate_spec_with_external_dependency (line 178) | def test_deprecate_spec_with_external_dependency( FILE: lib/spack/spack/test/cmd/dev_build.py function test_dev_build_basics (line 27) | def test_dev_build_basics(tmp_path: pathlib.Path, install_mockery): function test_dev_build_before (line 47) | def test_dev_build_before(tmp_path: pathlib.Path, install_mockery, insta... function test_dev_build_until (line 66) | def test_dev_build_until(tmp_path: pathlib.Path, install_mockery, last_p... function test_dev_build_before_until (line 85) | def test_dev_build_before_until(tmp_path: pathlib.Path, install_mockery,... function _print_spack_short_spec (line 113) | def _print_spack_short_spec(*args): function test_dev_build_drop_in (line 117) | def test_dev_build_drop_in( function test_dev_build_fails_already_installed (line 126) | def test_dev_build_fails_already_installed(tmp_path: pathlib.Path, insta... function test_dev_build_fails_no_spec (line 140) | def test_dev_build_fails_no_spec(): function test_dev_build_fails_multiple_specs (line 145) | def test_dev_build_fails_multiple_specs(mock_packages): function test_dev_build_fails_nonexistent_package_name (line 150) | def test_dev_build_fails_nonexistent_package_name(mock_packages): function test_dev_build_fails_no_version (line 162) | def test_dev_build_fails_no_version(mock_packages): function test_dev_build_can_parse_path_with_at_symbol (line 167) | def test_dev_build_can_parse_path_with_at_symbol(tmp_path: pathlib.Path,... function test_dev_build_env (line 181) | def test_dev_build_env( function test_dev_build_env_with_vars (line 222) | def test_dev_build_env_with_vars( function test_dev_build_env_version_mismatch (line 265) | def test_dev_build_env_version_mismatch( function test_dev_build_multiple (line 304) | def test_dev_build_multiple( function test_dev_build_env_dependency (line 373) | def test_dev_build_env_dependency( function test_dev_build_rebuild_on_source_changes (line 427) | def test_dev_build_rebuild_on_source_changes( FILE: lib/spack/spack/test/cmd/develop.py class TestDevelop (line 29) | class TestDevelop: method check_develop (line 30) | def check_develop(self, env, spec, path=None, build_dir=None): method test_develop_no_path_no_clone (line 56) | def test_develop_no_path_no_clone(self): method test_develop_no_clone (line 64) | def test_develop_no_clone(self, tmp_path: pathlib.Path): method test_develop_no_version (line 70) | def test_develop_no_version(self, tmp_path: pathlib.Path): method test_develop (line 76) | def test_develop(self): method test_develop_no_args (line 82) | def test_develop_no_args(self): method test_develop_build_directory (line 93) | def test_develop_build_directory(self): method test_develop_twice (line 99) | def test_develop_twice(self): method test_develop_update_path (line 113) | def test_develop_update_path(self, tmp_path: pathlib.Path): method test_develop_update_spec (line 121) | def test_develop_update_spec(self): method test_develop_applies_changes (line 129) | def test_develop_applies_changes(self, monkeypatch): method test_develop_applies_changes_parents (line 143) | def test_develop_applies_changes_parents(self, monkeypatch): method test_develop_applies_changes_spec_conflict (line 160) | def test_develop_applies_changes_spec_conflict(self, monkeypatch): method test_develop_applies_changes_path (line 171) | def test_develop_applies_changes_path(self, monkeypatch): method test_develop_no_modify (line 192) | def test_develop_no_modify(self, monkeypatch): method test_develop_canonicalize_path (line 206) | def test_develop_canonicalize_path(self, monkeypatch): method test_develop_canonicalize_path_no_args (line 228) | def test_develop_canonicalize_path_no_args(self, monkeypatch): function _git_commit_list (line 262) | def _git_commit_list(git_repo_dir): function test_develop_full_git_repo (line 269) | def test_develop_full_git_repo( function test_recursive (line 311) | def test_recursive(mutable_mock_env_path, install_mockery, mock_fetch): function test_develop_fails_with_multiple_concrete_versions (line 332) | def test_develop_fails_with_multiple_concrete_versions( function test_concretize_dev_path_with_at_symbol_in_env (line 350) | def test_concretize_dev_path_with_at_symbol_in_env( function _failing_fn (line 373) | def _failing_fn(*args, **kwargs): function test_develop_with_devpath_staging (line 381) | def test_develop_with_devpath_staging( FILE: lib/spack/spack/test/cmd/diff.py function test_repo (line 35) | def test_repo(config): function test_diff_ignore (line 41) | def test_diff_ignore(test_repo): function test_diff_cmd (line 74) | def test_diff_cmd(install_mockery, mock_fetch, mock_archive, mock_packag... function test_diff_runtimes (line 101) | def test_diff_runtimes(install_mockery, mock_fetch, mock_archive, mock_p... function test_load_first (line 113) | def test_load_first(install_mockery, mock_fetch, mock_archive, mock_pack... FILE: lib/spack/spack/test/cmd/edit.py function test_edit_packages (line 16) | def test_edit_packages(monkeypatch, mock_packages: spack.repo.RepoPath): function test_edit_files (line 33) | def test_edit_files(monkeypatch, mock_packages): function test_edit_non_default_build_system (line 50) | def test_edit_non_default_build_system(monkeypatch, mock_packages, mutab... FILE: lib/spack/spack/test/cmd/env.py function setup_combined_multiple_env (line 76) | def setup_combined_multiple_env(): function environment_from_manifest (line 97) | def environment_from_manifest(tmp_path: pathlib.Path): function check_mpileaks_and_deps_in_view (line 108) | def check_mpileaks_and_deps_in_view(viewdir: pathlib.Path): function check_viewdir_removal (line 114) | def check_viewdir_removal(viewdir: pathlib.Path): function test_env_track_nonexistent_path_fails (line 121) | def test_env_track_nonexistent_path_fails(): function test_env_track_existing_env_fails (line 128) | def test_env_track_existing_env_fails(): function test_env_track_valid (line 137) | def test_env_track_valid(tmp_path: pathlib.Path): function test_env_untrack_valid (line 151) | def test_env_untrack_valid(tmp_path: pathlib.Path): function test_env_untrack_invalid_name (line 165) | def test_env_untrack_invalid_name(): function test_env_untrack_when_active (line 174) | def test_env_untrack_when_active(tmp_path: pathlib.Path): function test_env_untrack_managed (line 197) | def test_env_untrack_managed(): function installed_environment (line 211) | def installed_environment( function template_combinatorial_env (line 233) | def template_combinatorial_env(tmp_path: pathlib.Path): function test_add (line 257) | def test_add(): function test_change_match_spec (line 263) | def test_change_match_spec(): function test_change_multiple_matches (line 277) | def test_change_multiple_matches(): function test_env_add_virtual (line 292) | def test_env_add_virtual(): function test_env_add_nonexistent_fails (line 303) | def test_env_add_nonexistent_fails(): function test_env_list (line 311) | def test_env_list(mutable_mock_env_path): function test_env_remove (line 332) | def test_env_remove(): function test_env_rename_managed (line 357) | def test_env_rename_managed(): function test_env_rename_independent (line 414) | def test_env_rename_independent(tmp_path: pathlib.Path): function test_concretize (line 472) | def test_concretize(): function test_env_specs_partition (line 481) | def test_env_specs_partition(install_mockery, mock_fetch): function test_env_install_all (line 509) | def test_env_install_all(install_mockery, mock_fetch): function test_env_install_single_spec (line 518) | def test_env_install_single_spec(install_mockery, mock_fetch, installer_... function test_env_install_include_concrete_env (line 537) | def test_env_install_include_concrete_env( function test_env_roots_marked_explicit (line 576) | def test_env_roots_marked_explicit(install_mockery, mock_fetch, installe... function test_env_modifications_error_on_activate (line 597) | def test_env_modifications_error_on_activate(install_mockery, mock_fetch... function test_activate_adds_transitive_run_deps_to_path (line 618) | def test_activate_adds_transitive_run_deps_to_path(install_mockery, mock... function test_env_definition_symlink (line 631) | def test_env_definition_symlink(install_mockery, mock_fetch, tmp_path: p... function test_env_install_two_specs_same_dep (line 650) | def test_env_install_two_specs_same_dep( function test_remove_after_concretize (line 687) | def test_remove_after_concretize(): function test_remove_before_concretize (line 708) | def test_remove_before_concretize(mutable_config): function test_remove_command (line 722) | def test_remove_command(): function test_remove_command_all (line 776) | def test_remove_command_all(): function test_bad_remove_included_env (line 798) | def test_bad_remove_included_env(): function test_force_remove_included_env (line 814) | def test_force_remove_included_env(): function test_environment_status (line 833) | def test_environment_status(tmp_path: pathlib.Path, monkeypatch): function test_env_status_broken_view (line 850) | def test_env_status_broken_view( function test_env_activate_broken_view (line 874) | def test_env_activate_broken_view( function test_to_lockfile_dict (line 893) | def test_to_lockfile_dict(): function test_env_repo (line 905) | def test_env_repo(): function test_user_removed_spec (line 918) | def test_user_removed_spec(environment_from_manifest): function test_lockfile_spliced_specs (line 951) | def test_lockfile_spliced_specs(environment_from_manifest, install_mocke... function test_init_from_lockfile (line 984) | def test_init_from_lockfile(environment_from_manifest): function test_init_from_yaml (line 1009) | def test_init_from_yaml(environment_from_manifest): function test_init_from_env (line 1033) | def test_init_from_env(use_name, environment_from_manifest): function test_init_from_env_no_spackfile (line 1074) | def test_init_from_env_no_spackfile(tmp_path): function test_init_from_yaml_relative_includes (line 1079) | def test_init_from_yaml_relative_includes(tmp_path: pathlib.Path): function test_init_from_yaml_relative_includes_outside_env (line 1111) | def test_init_from_yaml_relative_includes_outside_env(tmp_path: pathlib.... function test_env_view_external_prefix (line 1138) | def test_env_view_external_prefix(tmp_path: pathlib.Path, mutable_databa... function test_init_with_file_and_remove (line 1186) | def test_init_with_file_and_remove(tmp_path: pathlib.Path, monkeypatch): function test_env_with_config (line 1214) | def test_env_with_config(environment_from_manifest): function test_with_config_bad_include_create (line 1233) | def test_with_config_bad_include_create(environment_from_manifest): function test_with_config_bad_include_activate (line 1246) | def test_with_config_bad_include_activate(environment_from_manifest, tmp... function test_env_with_include_config_files_same_basename (line 1274) | def test_env_with_include_config_files_same_basename( function packages_file (line 1324) | def packages_file(tmp_path: pathlib.Path): function mpileaks_env_config (line 1338) | def mpileaks_env_config(include_path): function test_env_with_included_config_file (line 1350) | def test_env_with_included_config_file(mutable_mock_env_path, packages_f... function test_config_change_existing (line 1380) | def test_config_change_existing( function test_config_change_new (line 1464) | def test_config_change_new( function test_env_with_included_config_file_url (line 1498) | def test_env_with_included_config_file_url( function test_env_with_included_config_scope (line 1515) | def test_env_with_included_config_scope(mutable_mock_env_path, packages_... function test_env_with_included_config_var_path (line 1546) | def test_env_with_included_config_var_path(tmp_path: pathlib.Path, packa... function test_env_with_included_config_precedence (line 1569) | def test_env_with_included_config_precedence(tmp_path: pathlib.Path): function test_env_with_included_configs_precedence (line 1614) | def test_env_with_included_configs_precedence(tmp_path: pathlib.Path): function test_bad_env_yaml_format_remove (line 1666) | def test_bad_env_yaml_format_remove(mutable_mock_env_path): function test_bad_env_yaml_create_fails (line 1717) | def test_bad_env_yaml_create_fails( function test_multi_env_remove (line 1734) | def test_multi_env_remove(mutable_mock_env_path, monkeypatch, answer): function test_env_loads (line 1766) | def test_env_loads(install_mockery, mock_fetch, mock_modules_root): function test_stage (line 1789) | def test_stage(mock_stage, mock_fetch, install_mockery): function test_env_commands_die_with_no_env_arg (line 1812) | def test_env_commands_die_with_no_env_arg(): function test_env_blocks_uninstall (line 1828) | def test_env_blocks_uninstall(mock_stage, mock_fetch, install_mockery): function test_roots_display_with_variants (line 1839) | def test_roots_display_with_variants(): function test_uninstall_keeps_in_env (line 1850) | def test_uninstall_keeps_in_env(mock_stage, mock_fetch, install_mockery): function test_uninstall_removes_from_env (line 1875) | def test_uninstall_removes_from_env(mock_stage, mock_fetch, install_mock... function test_indirect_build_dep (line 1892) | def test_indirect_build_dep(repo_builder: RepoBuilder): function test_store_different_build_deps (line 1918) | def test_store_different_build_deps(repo_builder: RepoBuilder): function test_env_updates_view_install (line 1968) | def test_env_updates_view_install(tmp_path: pathlib.Path, mock_stage, mo... function test_env_view_fails (line 1978) | def test_env_view_fails( function test_env_view_fails_dir_file (line 1997) | def test_env_view_fails_dir_file( function test_env_view_succeeds_symlinked_dir_file (line 2013) | def test_env_view_succeeds_symlinked_dir_file( function test_env_without_view_install (line 2028) | def test_env_without_view_install(tmp_path: pathlib.Path, mock_stage, mo... function test_env_include_concrete_env_yaml (line 2050) | def test_env_include_concrete_env_yaml(env_name): function test_env_include_concrete_old_env (line 2072) | def test_env_include_concrete_old_env(format): function test_env_bad_include_concrete_env (line 2081) | def test_env_bad_include_concrete_env(): function test_env_not_concrete_include_concrete_env (line 2086) | def test_env_not_concrete_include_concrete_env(): function test_env_multiple_include_concrete_envs (line 2097) | def test_env_multiple_include_concrete_envs(): function test_env_include_concrete_envs_lockfile (line 2109) | def test_env_include_concrete_envs_lockfile(): function test_env_include_concrete_add_env (line 2128) | def test_env_include_concrete_add_env(): function test_env_include_concrete_remove_env (line 2160) | def test_env_include_concrete_remove_env(): function configure_reuse (line 2183) | def configure_reuse(reuse_mode, combined_env) -> Optional[ev.Environment]: function test_env_include_concrete_reuse (line 2235) | def test_env_include_concrete_reuse(reuse_mode): function test_env_include_concrete_env_reconcretized (line 2286) | def test_env_include_concrete_env_reconcretized(mutable_config, unify): function test_concretize_include_concrete_env (line 2310) | def test_concretize_include_concrete_env(): function test_concretize_nested_include_concrete_envs (line 2334) | def test_concretize_nested_include_concrete_envs(): function test_concretize_nested_included_concrete (line 2364) | def test_concretize_nested_included_concrete(): function test_env_config_view_default (line 2441) | def test_env_config_view_default( function test_env_updates_view_install_package (line 2462) | def test_env_updates_view_install_package( function test_env_updates_view_add_concretize (line 2473) | def test_env_updates_view_add_concretize( function test_env_updates_view_uninstall (line 2486) | def test_env_updates_view_uninstall( function test_env_updates_view_uninstall_referenced_elsewhere (line 2502) | def test_env_updates_view_uninstall_referenced_elsewhere( function test_env_updates_view_remove_concretize (line 2520) | def test_env_updates_view_remove_concretize( function test_env_updates_view_force_remove (line 2539) | def test_env_updates_view_force_remove( function test_env_activate_view_fails (line 2555) | def test_env_activate_view_fails(mock_stage, mock_fetch, install_mockery): function test_stack_yaml_definitions (line 2561) | def test_stack_yaml_definitions(tmp_path: pathlib.Path): function test_stack_yaml_definitions_as_constraints (line 2581) | def test_stack_yaml_definitions_as_constraints(tmp_path: pathlib.Path): function test_stack_yaml_definitions_as_constraints_on_matrix (line 2606) | def test_stack_yaml_definitions_as_constraints_on_matrix(tmp_path: pathl... function test_stack_yaml_definitions_write_reference (line 2635) | def test_stack_yaml_definitions_write_reference(tmp_path: pathlib.Path): function test_stack_yaml_add_to_list (line 2659) | def test_stack_yaml_add_to_list(tmp_path: pathlib.Path): function test_stack_yaml_remove_from_list (line 2683) | def test_stack_yaml_remove_from_list(tmp_path: pathlib.Path): function test_stack_yaml_remove_from_list_force (line 2706) | def test_stack_yaml_remove_from_list_force(tmp_path: pathlib.Path): function test_stack_yaml_remove_from_matrix_no_effect (line 2734) | def test_stack_yaml_remove_from_matrix_no_effect(tmp_path: pathlib.Path): function test_stack_yaml_force_remove_from_matrix (line 2759) | def test_stack_yaml_force_remove_from_matrix(tmp_path: pathlib.Path): function test_stack_definition_extension (line 2794) | def test_stack_definition_extension(tmp_path: pathlib.Path): function test_stack_definition_conditional_false (line 2817) | def test_stack_definition_conditional_false(tmp_path: pathlib.Path): function test_stack_definition_conditional_true (line 2841) | def test_stack_definition_conditional_true(tmp_path: pathlib.Path): function test_stack_definition_conditional_with_variable (line 2865) | def test_stack_definition_conditional_with_variable(tmp_path: pathlib.Pa... function test_stack_definition_conditional_with_satisfaction (line 2889) | def test_stack_definition_conditional_with_satisfaction(tmp_path: pathli... function test_stack_definition_complex_conditional (line 2914) | def test_stack_definition_complex_conditional(tmp_path: pathlib.Path): function test_stack_definition_conditional_invalid_variable (line 2938) | def test_stack_definition_conditional_invalid_variable(tmp_path: pathlib... function test_stack_definition_conditional_add_write (line 2957) | def test_stack_definition_conditional_add_write(tmp_path: pathlib.Path): function test_stack_combinatorial_view (line 2989) | def test_stack_combinatorial_view( function test_stack_view_select (line 3002) | def test_stack_view_select( function test_stack_view_exclude (line 3015) | def test_stack_view_exclude( function test_stack_view_select_and_exclude (line 3028) | def test_stack_view_select_and_exclude( function test_view_link_roots (line 3047) | def test_view_link_roots( function test_view_link_run (line 3068) | def test_view_link_run( function test_view_link_type (line 3111) | def test_view_link_type(link_type, installed_environment, tmp_path: path... function test_view_link_all (line 3130) | def test_view_link_all(installed_environment, template_combinatorial_env... function test_stack_view_activate_from_default (line 3149) | def test_stack_view_activate_from_default( function test_envvar_set_in_activate (line 3163) | def test_envvar_set_in_activate(tmp_path: pathlib.Path, mock_packages, i... function test_stack_view_no_activate_without_default (line 3207) | def test_stack_view_no_activate_without_default( function test_stack_view_multiple_views (line 3219) | def test_stack_view_multiple_views(installed_environment, tmp_path: path... function test_env_activate_sh_prints_shell_output (line 3286) | def test_env_activate_sh_prints_shell_output(mock_stage, mock_fetch, ins... function test_env_activate_csh_prints_shell_output (line 3305) | def test_env_activate_csh_prints_shell_output(mock_stage, mock_fetch, in... function test_env_activate_default_view_root_unconditional (line 3321) | def test_env_activate_default_view_root_unconditional(mutable_mock_env_p... function test_env_activate_custom_view (line 3339) | def test_env_activate_custom_view(tmp_path: pathlib.Path, mock_packages): function test_concretize_user_specs_together (line 3360) | def test_concretize_user_specs_together(mutable_config): function test_duplicate_packages_raise_when_concretizing_together (line 3394) | def test_duplicate_packages_raise_when_concretizing_together(mutable_con... function test_env_write_only_non_default (line 3408) | def test_env_write_only_non_default(): function test_env_write_only_non_default_nested (line 3419) | def test_env_write_only_non_default_nested(tmp_path: pathlib.Path): function test_can_update_attributes_with_override (line 3453) | def test_can_update_attributes_with_override(tmp_path: pathlib.Path): function test_newline_in_commented_sequence_is_not_an_issue (line 3473) | def test_newline_in_commented_sequence_is_not_an_issue(tmp_path: pathlib... function test_lockfile_not_deleted_on_write_error (line 3509) | def test_lockfile_not_deleted_on_write_error(tmp_path: pathlib.Path, mon... function _setup_develop_packages (line 3543) | def _setup_develop_packages(tmp_path: pathlib.Path): function test_rewrite_rel_dev_path_new_dir (line 3571) | def test_rewrite_rel_dev_path_new_dir(tmp_path: pathlib.Path): function test_rewrite_rel_dev_path_named_env (line 3582) | def test_rewrite_rel_dev_path_named_env(tmp_path: pathlib.Path): function test_does_not_rewrite_rel_dev_path_when_keep_relative_is_set (line 3592) | def test_does_not_rewrite_rel_dev_path_when_keep_relative_is_set(tmp_pat... function test_custom_version_concretize_together (line 3603) | def test_custom_version_concretize_together(mutable_config): function test_modules_relative_to_views (line 3615) | def test_modules_relative_to_views(environment_from_manifest, install_mo... function test_modules_exist_after_env_install (line 3647) | def test_modules_exist_after_env_install(installed_environment, monkeypa... function test_install_develop_keep_stage (line 3692) | def test_install_develop_keep_stage( function _always_fail (line 3723) | def _always_fail(cls, *args, **kwargs): function test_virtual_spec_concretize_together (line 3728) | def test_virtual_spec_concretize_together(mutable_config): function test_query_develop_specs (line 3737) | def test_query_develop_specs(tmp_path: pathlib.Path): function test_activation_and_deactivation_ambiguities (line 3756) | def test_activation_and_deactivation_ambiguities(method, env, no_env, en... function test_custom_store_in_environment (line 3768) | def test_custom_store_in_environment(mutable_config, tmp_path: pathlib.P... function test_activate_temp (line 3788) | def test_activate_temp(monkeypatch, tmp_path: pathlib.Path): function test_activate_parser_conflicts_with_temp (line 3802) | def test_activate_parser_conflicts_with_temp(conflict_arg): function test_create_and_activate_managed (line 3807) | def test_create_and_activate_managed(tmp_path: pathlib.Path): function test_create_and_activate_independent (line 3817) | def test_create_and_activate_independent(tmp_path: pathlib.Path): function test_activate_default (line 3827) | def test_activate_default(monkeypatch): function test_env_view_fail_if_symlink_points_elsewhere (line 3846) | def test_env_view_fail_if_symlink_points_elsewhere( function test_failed_view_cleanup (line 3860) | def test_failed_view_cleanup(tmp_path: pathlib.Path, mock_stage, mock_fe... function test_environment_view_target_already_exists (line 3885) | def test_environment_view_target_already_exists( function test_environment_query_spec_by_hash (line 3922) | def test_environment_query_spec_by_hash(mock_stage, mock_fetch, install_... function test_read_old_lock_and_write_new (line 3936) | def test_read_old_lock_and_write_new(tmp_path: pathlib.Path, lockfile): function test_read_v1_lock_creates_backup (line 4002) | def test_read_v1_lock_creates_backup(tmp_path: pathlib.Path): function test_read_legacy_lockfile_and_reconcretize (line 4017) | def test_read_legacy_lockfile_and_reconcretize( function _parse_dry_run_package_installs (line 4070) | def _parse_dry_run_package_installs(make_output): function test_environment_depfile_makefile (line 4140) | def test_environment_depfile_makefile( function test_depfile_safe_format (line 4171) | def test_depfile_safe_format(): function test_depfile_works_with_gitversions (line 4183) | def test_depfile_works_with_gitversions(tmp_path: pathlib.Path, mock_pac... function test_depfile_phony_convenience_targets (line 4245) | def test_depfile_phony_convenience_targets( function test_environment_depfile_out (line 4287) | def test_environment_depfile_out(tmp_path: pathlib.Path, mock_packages): function test_spack_package_ids_variable (line 4300) | def test_spack_package_ids_variable(tmp_path: pathlib.Path, mock_packages): function test_depfile_empty_does_not_error (line 4348) | def test_depfile_empty_does_not_error(tmp_path: pathlib.Path): function test_unify_when_possible_works_around_conflicts (line 4362) | def test_unify_when_possible_works_around_conflicts(mutable_config): function test_env_include_packages_url (line 4376) | def test_env_include_packages_url( function test_relative_view_path_on_command_line_is_made_absolute (line 4403) | def test_relative_view_path_on_command_line_is_made_absolute(tmp_path: p... function test_environment_created_in_users_location (line 4411) | def test_environment_created_in_users_location(mutable_mock_env_path, tm... function test_environment_created_from_lockfile_has_view (line 4427) | def test_environment_created_from_lockfile_has_view( function test_env_view_disabled (line 4448) | def test_env_view_disabled(tmp_path: pathlib.Path, mutable_mock_env_path): function test_env_include_mixed_views (line 4469) | def test_env_include_mixed_views( function test_stack_view_multiple_views_same_name (line 4527) | def test_stack_view_multiple_views_same_name( function test_env_view_resolves_identical_file_conflicts (line 4588) | def test_env_view_resolves_identical_file_conflicts( function test_env_view_ignores_different_file_conflicts (line 4620) | def test_env_view_ignores_different_file_conflicts( function test_non_str_repos (line 4634) | def test_non_str_repos(installed_environment): function test_concretized_specs_and_include_concrete (line 4645) | def test_concretized_specs_and_include_concrete(mutable_config): function test_view_can_select_group_of_specs (line 4683) | def test_view_can_select_group_of_specs(installed_environment, tmp_path:... function test_view_can_select_group_of_specs_using_string (line 4711) | def test_view_can_select_group_of_specs_using_string( function test_env_include_concrete_only (line 4738) | def test_env_include_concrete_only(tmp_path, mock_packages, mutable_conf... function test_env_update_include_concrete (line 4785) | def test_env_update_include_concrete(tmp_path: pathlib.Path, concrete, i... function test_include_concrete_deprecation_warning (line 4797) | def test_include_concrete_deprecation_warning( function test_env_include_concrete_relative_path (line 4815) | def test_env_include_concrete_relative_path(tmp_path, mock_packages, mut... function test_env_include_concrete_git_lockfile (line 4852) | def test_env_include_concrete_git_lockfile(tmp_path, mock_packages, muta... function test_compiler_target_env (line 4905) | def test_compiler_target_env(mock_packages, environment_from_manifest): function test_create_with_orphaned_directory (line 4944) | def test_create_with_orphaned_directory(mutable_mock_env_path: pathlib.P... function test_exists_consistent_with_all_environment_names (line 4974) | def test_exists_consistent_with_all_environment_names( FILE: lib/spack/spack/test/cmd/extensions.py function python_database (line 16) | def python_database(mock_packages, mutable_database): function test_extensions (line 26) | def test_extensions(mock_packages, python_database): function test_extensions_no_arguments (line 53) | def test_extensions_no_arguments(mock_packages): function test_extensions_raises_if_not_extendable (line 58) | def test_extensions_raises_if_not_extendable(mock_packages): function test_extensions_raises_if_multiple_specs (line 63) | def test_extensions_raises_if_multiple_specs(mock_packages): FILE: lib/spack/spack/test/cmd/external.py function executables_found (line 24) | def executables_found(monkeypatch): function define_plat_exe (line 34) | def define_plat_exe(exe): function test_find_external_update_config (line 40) | def test_find_external_update_config(mutable_config): function test_get_executables (line 58) | def test_get_executables(working_env, mock_executable): function test_find_external_cmd_not_buildable (line 71) | def test_find_external_cmd_not_buildable( function test_package_selection (line 141) | def test_package_selection(names, tags, exclude, expected): function test_find_external_no_manifest (line 148) | def test_find_external_no_manifest(mutable_config, working_env, monkeypa... function test_find_external_empty_default_manifest_dir (line 160) | def test_find_external_empty_default_manifest_dir( function test_find_external_manifest_with_bad_permissions (line 176) | def test_find_external_manifest_with_bad_permissions( function test_find_external_manifest_failure (line 198) | def test_find_external_manifest_failure(mutable_config, tmp_path: pathli... function test_find_external_merge (line 219) | def test_find_external_merge(mutable_config): function test_list_detectable_packages (line 245) | def test_list_detectable_packages(mutable_config): function test_overriding_prefix (line 250) | def test_overriding_prefix(mock_executable, mutable_config, monkeypatch): function test_new_entries_are_reported_correctly (line 274) | def test_new_entries_are_reported_correctly(mock_executable, mutable_con... function test_use_tags_for_detection (line 292) | def test_use_tags_for_detection(command_args, mock_executable, mutable_c... function test_failures_in_scanning_do_not_result_in_an_error (line 320) | def test_failures_in_scanning_do_not_result_in_an_error( function test_detect_virtuals (line 358) | def test_detect_virtuals(mock_executable, mutable_config, monkeypatch): FILE: lib/spack/spack/test/cmd/fetch.py function test_fetch_in_env (line 17) | def test_fetch_in_env(mock_archive, mock_stage, mock_fetch, install_mock... function test_fetch_single_spec (line 28) | def test_fetch_single_spec(mock_archive, mock_stage, mock_fetch, install... function test_fetch_multiple_specs (line 33) | def test_fetch_multiple_specs(mock_archive, mock_stage, mock_fetch, inst... function test_fetch_no_argument (line 37) | def test_fetch_no_argument(): FILE: lib/spack/spack/test/cmd/find.py function parser (line 37) | def parser(): function specs (line 45) | def specs(): function mock_display (line 51) | def mock_display(monkeypatch, specs): function test_query_arguments (line 60) | def test_query_arguments(): function test_tag1 (line 101) | def test_tag1(parser, specs): function test_tag2 (line 112) | def test_tag2(parser, specs): function test_tag2_tag3 (line 122) | def test_tag2_tag3(parser, specs): function test_namespaces_shown_correctly (line 133) | def test_namespaces_shown_correctly(args, with_namespace, database): function test_find_cli_output_format (line 139) | def test_find_cli_output_format(database, mock_tty_stdout): function _check_json_output (line 148) | def _check_json_output(spec_list): function _check_json_output_deps (line 159) | def _check_json_output_deps(spec_list): function test_find_json (line 175) | def test_find_json(database): function test_find_json_deps (line 182) | def test_find_json_deps(database): function test_display_json (line 189) | def test_display_json(database, capfd): function test_display_json_deps (line 205) | def test_display_json_deps(database, capfd): function test_display_abstract_hash (line 221) | def test_display_abstract_hash(): function test_find_format (line 230) | def test_find_format(database, config): function test_find_format_deps (line 261) | def test_find_format_deps(database, config): function test_find_format_deps_paths (line 282) | def test_find_format_deps_paths(database, config): function test_find_very_long (line 304) | def test_find_very_long(database, config): function test_find_not_found (line 318) | def test_find_not_found(database, config): function test_find_no_sections (line 325) | def test_find_no_sections(database, config): function test_find_command_basic_usage (line 335) | def test_find_command_basic_usage(database): function test_find_prefix_in_env (line 341) | def test_find_prefix_in_env( function test_find_specs_include_concrete_env (line 354) | def test_find_specs_include_concrete_env( function test_find_specs_nested_include_concrete_env (line 400) | def test_find_specs_nested_include_concrete_env( function test_find_loaded (line 437) | def test_find_loaded(database, working_env): function test_environment_with_version_range_in_compiler_doesnt_fail (line 450) | def test_environment_with_version_range_in_compiler_doesnt_fail( function test_repo (line 472) | def test_repo(mock_stage): function test_find_concretized_not_installed (line 479) | def test_find_concretized_not_installed( function test_find_based_on_commit_sha (line 541) | def test_find_based_on_commit_sha(mock_git_version_info, monkeypatch): function test_find_env_with_groups (line 589) | def test_find_env_with_groups(spack_yaml, expected, not_expected, tmp_pa... FILE: lib/spack/spack/test/cmd/gc.py function test_gc_without_build_dependency (line 23) | def test_gc_without_build_dependency(mutable_database): function test_gc_with_build_dependency (line 30) | def test_gc_with_build_dependency(mutable_database): function test_gc_with_constraints (line 40) | def test_gc_with_constraints(mutable_database): function test_gc_with_environment (line 56) | def test_gc_with_environment(mutable_database, mutable_mock_env_path): function test_gc_with_build_dependency_in_environment (line 71) | def test_gc_with_build_dependency_in_environment(mutable_database, mutab... function test_gc_except_any_environments (line 95) | def test_gc_except_any_environments(mutable_database, mutable_mock_env_p... function test_gc_except_specific_environments (line 122) | def test_gc_except_specific_environments(mutable_database, mutable_mock_... function test_gc_except_nonexisting_dir_env (line 141) | def test_gc_except_nonexisting_dir_env( function test_gc_except_specific_dir_env (line 150) | def test_gc_except_specific_dir_env( function mock_installed_environment (line 171) | def mock_installed_environment(mutable_database, mutable_mock_env_path): function test_gc_with_explicit_groups (line 195) | def test_gc_with_explicit_groups( FILE: lib/spack/spack/test/cmd/gpg.py function test_find_gpg (line 35) | def test_find_gpg(cmd_name, version, tmp_path: pathlib.Path, mock_gnupgh... function test_no_gpg_in_path (line 54) | def test_no_gpg_in_path(tmp_path: pathlib.Path, mock_gnupghome, monkeypa... function test_gpg (line 62) | def test_gpg(tmp_path: pathlib.Path, mutable_config, mock_gnupghome): FILE: lib/spack/spack/test/cmd/graph.py function test_graph_ascii (line 14) | def test_graph_ascii(): function test_graph_dot (line 21) | def test_graph_dot(): function test_graph_static (line 28) | def test_graph_static(): function test_graph_installed (line 35) | def test_graph_installed(): function test_graph_deptype (line 46) | def test_graph_deptype(): function test_graph_no_specs (line 51) | def test_graph_no_specs(): FILE: lib/spack/spack/test/cmd/help.py function test_reuse_after_help (line 7) | def test_reuse_after_help(): function test_help (line 14) | def test_help(): function test_help_all (line 22) | def test_help_all(): function test_help_spec (line 30) | def test_help_spec(): function test_help_subcommand (line 37) | def test_help_subcommand(): FILE: lib/spack/spack/test/cmd/info.py function test_package_suggestion (line 17) | def test_package_suggestion(): function test_deprecated_option_warns (line 23) | def test_deprecated_option_warns(): function test_info_failures (line 30) | def test_info_failures(args): function test_info_noversion (line 35) | def test_info_noversion(): function test_is_externally_detectable (line 47) | def test_is_externally_detectable(pkg_query, expected): function test_info_fields (line 57) | def test_info_fields(pkg_query, extra_args): function test_info_output (line 152) | def test_info_output(by_name, args, in_output, not_in_output, monkeypatch): FILE: lib/spack/spack/test/cmd/init_py_functions.py function test_require_python_name (line 25) | def test_require_python_name(): function test_require_cmd_name (line 36) | def test_require_cmd_name(): function test_special_cases_concretization_parse_specs (line 59) | def test_special_cases_concretization_parse_specs( function test_special_cases_concretization_matching_specs_from_env (line 101) | def test_special_cases_concretization_matching_specs_from_env( FILE: lib/spack/spack/test/cmd/install.py function noop_install (line 45) | def noop_install(monkeypatch): function test_install_package_and_dependency (line 52) | def test_install_package_and_dependency( function _check_runtests_none (line 75) | def _check_runtests_none(pkg): function _check_runtests_dttop (line 79) | def _check_runtests_dttop(pkg): function _check_runtests_all (line 83) | def _check_runtests_all(pkg): function test_install_runtests_notests (line 88) | def test_install_runtests_notests(monkeypatch, mock_packages, install_mo... function test_install_runtests_root (line 94) | def test_install_runtests_root(monkeypatch, mock_packages, install_mocke... function test_install_runtests_all (line 100) | def test_install_runtests_all(monkeypatch, mock_packages, install_mockery): function test_install_package_already_installed (line 105) | def test_install_package_already_installed( function test_install_dirty_flag (line 138) | def test_install_dirty_flag(arguments, expected): function test_package_output (line 145) | def test_package_output(install_mockery, mock_fetch): function test_install_output_on_build_error (line 177) | def test_install_output_on_build_error(mock_packages, mock_archive, mock... function test_install_output_on_python_error (line 189) | def test_install_output_on_python_error(mock_packages, mock_archive, moc... function test_install_with_source (line 197) | def test_install_with_source( function test_install_env_variables (line 209) | def test_install_env_variables( function test_show_log_on_error (line 218) | def test_show_log_on_error(mock_packages, mock_archive, mock_fetch, inst... function test_install_overwrite (line 230) | def test_install_overwrite( function test_install_overwrite_not_installed (line 264) | def test_install_overwrite_not_installed( function test_install_commit (line 274) | def test_install_commit(mock_git_version_info, install_mockery, mock_pac... function test_install_overwrite_multiple (line 298) | def test_install_overwrite_multiple( function test_install_conflicts (line 355) | def test_install_conflicts(conflict_spec): function test_install_invalid_spec (line 362) | def test_install_invalid_spec(): function test_junit_output_with_failures (line 374) | def test_junit_output_with_failures(tmp_path: pathlib.Path, exc_typename... function _throw (line 412) | def _throw(task, exc_typename, exc_type, msg): function _runtime_error (line 419) | def _runtime_error(task, *args, **kwargs): function _keyboard_error (line 423) | def _keyboard_error(task, *args, **kwargs): function test_junit_output_with_errors (line 435) | def test_junit_output_with_errors( function spec_format (line 481) | def spec_format(request): function test_install_mix_cli_and_files (line 496) | def test_install_mix_cli_and_files(spec_format, clispecs, filespecs, tmp... function test_extra_files_are_archived (line 510) | def test_extra_files_are_archived( function test_cdash_report_concretization_error (line 526) | def test_cdash_report_concretization_error( function test_cdash_upload_build_error (line 546) | def test_cdash_upload_build_error( function test_cdash_upload_clean_build (line 566) | def test_cdash_upload_clean_build( function test_cdash_upload_extra_params (line 581) | def test_cdash_upload_extra_params( function test_cdash_buildstamp_param (line 604) | def test_cdash_buildstamp_param( function test_cdash_install_from_spec_json (line 626) | def test_cdash_install_from_spec_json( function test_build_error_output (line 665) | def test_build_error_output(capfd, mock_fetch, install_mockery): function test_build_warning_output (line 675) | def test_build_warning_output(mock_fetch, install_mockery): function test_cache_only_fails (line 684) | def test_cache_only_fails(mock_fetch, install_mockery): function test_install_only_dependencies (line 701) | def test_install_only_dependencies(mock_fetch, install_mockery, installe... function test_install_only_package (line 711) | def test_install_only_package(mock_fetch, install_mockery): function test_install_deps_then_package (line 722) | def test_install_deps_then_package(mock_fetch, install_mockery, installe... function test_install_only_dependencies_in_env (line 737) | def test_install_only_dependencies_in_env( function test_install_only_dependencies_of_all_in_env (line 754) | def test_install_only_dependencies_of_all_in_env( function test_install_no_add_in_env (line 776) | def test_install_no_add_in_env( function test_install_help_does_not_show_cdash_options (line 879) | def test_install_help_does_not_show_cdash_options(): function test_install_help_cdash (line 886) | def test_install_help_cdash(): function test_cdash_auth_token (line 894) | def test_cdash_auth_token( function test_cdash_configure_warning (line 905) | def test_cdash_configure_warning( function test_install_fails_no_args (line 928) | def test_install_fails_no_args(tmp_path: pathlib.Path): function test_install_fails_no_args_suggests_env_activation (line 939) | def test_install_fails_no_args_suggests_env_activation(tmp_path: pathlib... function test_install_env_with_tests_all (line 954) | def test_install_env_with_tests_all( function test_install_env_with_tests_root (line 967) | def test_install_env_with_tests_root( function test_install_empty_env (line 980) | def test_install_empty_env( function test_installation_fail_tests (line 1002) | def test_installation_fail_tests(install_mockery, mock_fetch, name, meth... function test_install_use_buildcache (line 1019) | def test_install_use_buildcache( function test_padded_install_runtests_root (line 1098) | def test_padded_install_runtests_root(install_mockery, mock_fetch): function test_report_filename_for_cdash (line 1107) | def test_report_filename_for_cdash(install_mockery, mock_fetch): function test_setting_concurrent_packages_flag (line 1119) | def test_setting_concurrent_packages_flag(mutable_config): function test_invalid_concurrent_packages_flag (line 1126) | def test_invalid_concurrent_packages_flag(mutable_config): function test_concurrent_packages_set_in_config (line 1134) | def test_concurrent_packages_set_in_config(mutable_config, mock_packages): FILE: lib/spack/spack/test/cmd/is_git_repo.py function git_tmp_worktree (line 18) | def git_tmp_worktree(git, tmp_path: pathlib.Path, mock_git_version_info): function test_is_git_repo_in_worktree (line 50) | def test_is_git_repo_in_worktree(git_tmp_worktree): function test_spack_is_git_repo_nongit (line 57) | def test_spack_is_git_repo_nongit(tmp_path: pathlib.Path, monkeypatch): FILE: lib/spack/spack/test/cmd/license.py function test_list_files (line 20) | def test_list_files(): function test_verify (line 27) | def test_verify(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/cmd/list.py function test_list (line 22) | def test_list(): function test_list_cli_output_format (line 28) | def test_list_cli_output_format(mock_tty_stdout): function test_list_filter (line 38) | def test_list_filter(): function test_list_search_description (line 54) | def test_list_search_description(): function test_list_format_name_only (line 59) | def test_list_format_name_only(): function test_list_format_version_json (line 65) | def test_list_format_version_json(): function test_list_format_html (line 76) | def test_list_format_html(): function test_list_url_schemes (line 95) | def test_list_url_schemes(mock_util_executable, url): function test_list_format_local_repo (line 108) | def test_list_format_local_repo(tmp_path: pathlib.Path): function test_list_format_non_github_repo (line 133) | def test_list_format_non_github_repo(tmp_path: pathlib.Path, mock_util_e... function test_list_update (line 162) | def test_list_update(tmp_path: pathlib.Path): function test_list_tags (line 189) | def test_list_tags(): function test_list_count (line 203) | def test_list_count(): function test_list_repos (line 213) | def test_list_repos(): function test_list_github_url_fails (line 228) | def test_list_github_url_fails(repo_builder: RepoBuilder, monkeypatch): FILE: lib/spack/spack/test/cmd/load.py function test_manpath_trailing_colon (line 20) | def test_manpath_trailing_colon( function test_load_recursive (line 47) | def test_load_recursive(install_mockery, mock_fetch, mock_archive, mock_... function test_load_includes_run_env (line 114) | def test_load_includes_run_env( function test_load_first (line 127) | def test_load_first(install_mockery, mock_fetch, mock_archive, mock_pack... function test_load_fails_no_shell (line 142) | def test_load_fails_no_shell(install_mockery, mock_fetch, mock_archive, ... function test_unload (line 158) | def test_unload( function test_unload_fails_no_shell (line 187) | def test_unload_fails_no_shell( FILE: lib/spack/spack/test/cmd/location.py function mock_spec (line 28) | def mock_spec(): function test_location_first (line 38) | def test_location_first(install_mockery, mock_fetch, mock_archive, mock_... function test_location_build_dir (line 47) | def test_location_build_dir(mock_spec): function test_location_source_dir (line 54) | def test_location_source_dir(mock_spec): function test_location_source_dir_missing (line 61) | def test_location_source_dir_missing(): function test_location_cmd_error (line 77) | def test_location_cmd_error(options): function test_location_env_exists (line 84) | def test_location_env_exists(mutable_mock_env_path): function test_location_with_active_env (line 91) | def test_location_with_active_env(mutable_mock_env_path): function test_location_env_missing (line 99) | def test_location_env_missing(): function test_location_install_dir (line 109) | def test_location_install_dir(mock_spec): function test_location_package_dir (line 116) | def test_location_package_dir(mock_spec): function test_location_paths_options (line 131) | def test_location_paths_options(option, expected): function test_location_spec_errors (line 140) | def test_location_spec_errors(specs, expected): function test_location_stage_dir (line 147) | def test_location_stage_dir(mock_spec): function test_location_stages (line 154) | def test_location_stages(mock_spec): function test_location_specified_repo (line 159) | def test_location_specified_repo(): FILE: lib/spack/spack/test/cmd/logs.py function stdout_as_buffered_text_stream (line 25) | def stdout_as_buffered_text_stream(): function _rewind_collect_and_decode (line 44) | def _rewind_collect_and_decode(rw_stream): function test_logs_cmd_errors (line 49) | def test_logs_cmd_errors(install_mockery, mock_fetch, mock_archive, mock... function _write_string_to_path (line 65) | def _write_string_to_path(string, path): function test_dump_logs (line 71) | def test_dump_logs(install_mockery, mock_fetch, mock_archive, mock_packa... FILE: lib/spack/spack/test/cmd/maintainers.py function split (line 25) | def split(output): function test_maintained (line 31) | def test_maintained(): function test_unmaintained (line 36) | def test_unmaintained(): function test_all (line 41) | def test_all(): function test_all_by_user (line 66) | def test_all_by_user(): function test_no_args (line 101) | def test_no_args(): function test_no_args_by_user (line 106) | def test_no_args_by_user(): function test_mutex_args_fail (line 111) | def test_mutex_args_fail(): function test_maintainers_list_packages (line 116) | def test_maintainers_list_packages(): function test_maintainers_list_fails (line 127) | def test_maintainers_list_fails(): function test_maintainers_list_by_user (line 133) | def test_maintainers_list_by_user(): FILE: lib/spack/spack/test/cmd/mark.py function test_mark_mode_required (line 20) | def test_mark_mode_required(mutable_database): function test_mark_spec_required (line 26) | def test_mark_spec_required(mutable_database): function test_mark_all_explicit (line 32) | def test_mark_all_explicit(mutable_database): function test_mark_all_implicit (line 40) | def test_mark_all_implicit(mutable_database): function test_mark_one_explicit (line 48) | def test_mark_one_explicit(mutable_database): function test_mark_one_implicit (line 57) | def test_mark_one_implicit(mutable_database): function test_mark_all_implicit_then_explicit (line 65) | def test_mark_all_implicit_then_explicit(mutable_database): FILE: lib/spack/spack/test/cmd/mirror.py function test_regression_8083 (line 39) | def test_regression_8083(tmp_path: pathlib.Path, mock_packages, mock_fet... function test_mirror_from_env (line 47) | def test_mirror_from_env(mutable_mock_env_path, tmp_path: pathlib.Path, ... function test_mirror_cli_parallel_args (line 67) | def test_mirror_cli_parallel_args( function test_mirror_from_env_parallel (line 91) | def test_mirror_from_env_parallel(tmp_path, mock_packages, mock_fetch, m... function test_mirror_stats_merge (line 118) | def test_mirror_stats_merge(): function test_mirror_spec_from_env (line 169) | def test_mirror_spec_from_env( function source_for_pkg_with_hash (line 191) | def source_for_pkg_with_hash(mock_packages, tmp_path: pathlib.Path): function test_mirror_skip_unstable (line 200) | def test_mirror_skip_unstable( class MockMirrorArgs (line 215) | class MockMirrorArgs: method __init__ (line 216) | def __init__( function test_exclude_specs (line 239) | def test_exclude_specs(mock_packages, config): function test_exclude_specs_public_mirror (line 253) | def test_exclude_specs_public_mirror(mock_packages, config): function test_exclude_file (line 266) | def test_exclude_file(mock_packages, tmp_path: pathlib.Path, config): function test_mirror_remove_by_scope (line 287) | def test_mirror_remove_by_scope(mutable_config, tmp_path: pathlib.Path): function test_mirror_crud (line 320) | def test_mirror_crud(mutable_config): function test_mirror_nonexisting (line 462) | def test_mirror_nonexisting(mutable_config): function test_mirror_name_collision (line 470) | def test_mirror_name_collision(mutable_config): function test_mirror_destroy (line 478) | def test_mirror_destroy( class TestMirrorCreate (line 514) | class TestMirrorCreate: method test_all_specs_with_all_versions_dont_concretize (line 516) | def test_all_specs_with_all_versions_dont_concretize(self): method test_error_conditions (line 541) | def test_error_conditions(self, cli_args, error_str): method test_exclude_specs_from_user (line 575) | def test_exclude_specs_from_user(self, cli_args, not_expected, config): method test_specs_from_cli_are_the_same_as_from_file (line 580) | def test_specs_from_cli_are_the_same_as_from_file( method test_versions_per_spec_produces_concrete_specs (line 597) | def test_versions_per_spec_produces_concrete_specs(self, input_specs, ... function test_mirror_type (line 603) | def test_mirror_type(mutable_config): function test_mirror_set_2 (line 633) | def test_mirror_set_2(mutable_config): function test_mirror_add_set_signed (line 657) | def test_mirror_add_set_signed(mutable_config): function test_mirror_add_set_autopush (line 666) | def test_mirror_add_set_autopush(mutable_config): function test_git_provenance_url_fails_mirror_resolves_commit (line 693) | def test_git_provenance_url_fails_mirror_resolves_commit( function test_git_provenance_relative_to_mirror (line 727) | def test_git_provenance_relative_to_mirror( function test_mirror_skip_placeholder_pkg (line 760) | def test_mirror_skip_placeholder_pkg(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/cmd/module.py function ensure_module_files_are_there (line 26) | def ensure_module_files_are_there(mock_packages_repo, mock_store, mock_c... function _module_files (line 35) | def _module_files(module_type, *specs): function failure_args (line 49) | def failure_args(request): function module_type (line 55) | def module_type(request): function test_exit_with_failure (line 65) | def test_exit_with_failure(database, module_type, failure_args): function test_remove_and_add (line 71) | def test_remove_and_add(database, module_type): function test_find (line 95) | def test_find(database, cli_args, module_type): function test_find_fails_on_multiple_matches (line 107) | def test_find_fails_on_multiple_matches(): function test_find_fails_on_non_existing_packages (line 124) | def test_find_fails_on_non_existing_packages(): function test_find_recursive (line 133) | def test_find_recursive(): function test_find_recursive_excluded (line 145) | def test_find_recursive_excluded(mutable_database, module_configuration): function test_loads_recursive_excluded (line 153) | def test_loads_recursive_excluded(mutable_database, module_configuration): function test_setdefault_command (line 176) | def test_setdefault_command(mutable_database, mutable_config): FILE: lib/spack/spack/test/cmd/pkg.py function _builtin_mock_copy (line 38) | def _builtin_mock_copy( function builtin_mock_copy (line 93) | def builtin_mock_copy(_builtin_mock_copy: spack.repo.Repo): function test_pkg_add (line 99) | def test_pkg_add(git, builtin_mock_copy: spack.repo.Repo): function test_pkg_list (line 121) | def test_pkg_list(builtin_mock_copy: spack.repo.Repo): function test_pkg_diff (line 146) | def test_pkg_diff(builtin_mock_copy: spack.repo.Repo): function test_pkg_added (line 158) | def test_pkg_added(builtin_mock_copy: spack.repo.Repo): function test_pkg_removed (line 173) | def test_pkg_removed(builtin_mock_copy: spack.repo.Repo): function test_pkg_changed (line 185) | def test_pkg_changed(builtin_mock_copy: spack.repo.Repo): function test_pkg_fails_when_not_git_repo (line 227) | def test_pkg_fails_when_not_git_repo(monkeypatch): function test_pkg_source_requires_one_arg (line 233) | def test_pkg_source_requires_one_arg(mock_packages): function test_pkg_source (line 241) | def test_pkg_source(mock_packages): function test_pkg_canonical_source (line 250) | def test_pkg_canonical_source(mock_packages): function test_pkg_hash (line 285) | def test_pkg_hash(mock_packages): function test_group_arguments (line 322) | def test_group_arguments( function test_pkg_grep (line 347) | def test_pkg_grep(mock_packages): FILE: lib/spack/spack/test/cmd/print_shell_vars.py function test_print_shell_vars_sh (line 8) | def test_print_shell_vars_sh(capfd): function test_print_shell_vars_csh (line 18) | def test_print_shell_vars_csh(capfd): FILE: lib/spack/spack/test/cmd/providers.py function test_it_just_runs (line 19) | def test_it_just_runs(pkg): function test_provider_lists (line 53) | def test_provider_lists(vpkg, provider_list): function test_it_just_fails (line 66) | def test_it_just_fails(pkg, error_cls): FILE: lib/spack/spack/test/cmd/python.py function test_python (line 16) | def test_python(): function test_python_interpreter_path (line 21) | def test_python_interpreter_path(): function test_python_version (line 26) | def test_python_version(): function test_python_with_module (line 31) | def test_python_with_module(): function test_python_raises (line 40) | def test_python_raises(): FILE: lib/spack/spack/test/cmd/reindex.py function test_reindex_basic (line 17) | def test_reindex_basic(mock_packages, mock_archive, mock_fetch, install_... function _clear_db (line 25) | def _clear_db(tmp_path: pathlib.Path): function test_reindex_db_deleted (line 35) | def test_reindex_db_deleted( function test_reindex_with_deprecated_packages (line 46) | def test_reindex_with_deprecated_packages( FILE: lib/spack/spack/test/cmd/repo.py function test_help_option (line 26) | def test_help_option(): function test_create_add_list_remove (line 33) | def test_create_add_list_remove(mutable_config, tmp_path: pathlib.Path): function test_repo_remove_by_scope (line 50) | def test_repo_remove_by_scope(mutable_config, tmp_path: pathlib.Path): function test_env_repo_path_vars_substitution (line 84) | def test_env_repo_path_vars_substitution( function test_repo_migrate (line 199) | def test_repo_migrate(tmp_path: pathlib.Path, config): function test_migrate_diff (line 226) | def test_migrate_diff(git: Executable, tmp_path: pathlib.Path): class MockRepo (line 285) | class MockRepo(spack.repo.Repo): method __init__ (line 286) | def __init__(self, namespace: str): class MockDescriptor (line 290) | class MockDescriptor(spack.repo.RepoDescriptor): method __init__ (line 291) | def __init__(self, to_construct: Dict[str, Union[spack.repo.Repo, Exce... method initialize (line 295) | def initialize(self, fetch=True, git=None) -> None: method get_commit (line 298) | def get_commit(self, git: Optional[Executable] = None): method update (line 301) | def update(self, git: Optional[Executable] = None, remote: Optional[st... method construct (line 304) | def construct(self, cache, overrides=None): function make_repo_config (line 309) | def make_repo_config(repo_config: Optional[dict] = None) -> spack.config... function test_add_repo_name_already_exists (line 318) | def test_add_repo_name_already_exists(tmp_path: pathlib.Path): function test_add_repo_destination_with_local_path (line 330) | def test_add_repo_destination_with_local_path(tmp_path: pathlib.Path): function test_add_repo_computed_key_already_exists (line 355) | def test_add_repo_computed_key_already_exists(tmp_path: pathlib.Path, mo... function test_add_repo_git_url_with_paths (line 375) | def test_add_repo_git_url_with_paths(monkeypatch): function test_add_repo_git_url_with_destination (line 405) | def test_add_repo_git_url_with_destination(monkeypatch): function test_add_repo_ssh_git_url_detection (line 435) | def test_add_repo_ssh_git_url_detection(monkeypatch): function test_add_repo_no_usable_repositories_error (line 463) | def test_add_repo_no_usable_repositories_error(monkeypatch): function test_add_repo_multiple_repos_no_name_error (line 487) | def test_add_repo_multiple_repos_no_name_error(monkeypatch): function test_add_repo_git_url_basic_success (line 509) | def test_add_repo_git_url_basic_success(monkeypatch): function test_add_repo_git_url_with_custom_destination (line 536) | def test_add_repo_git_url_with_custom_destination(monkeypatch): function test_add_repo_git_url_with_single_repo_path_new (line 562) | def test_add_repo_git_url_with_single_repo_path_new(monkeypatch): function test_add_repo_local_path_success (line 588) | def test_add_repo_local_path_success(monkeypatch, tmp_path: pathlib.Path): function test_add_repo_auto_name_from_namespace (line 615) | def test_add_repo_auto_name_from_namespace(monkeypatch, tmp_path: pathli... function test_add_repo_partial_repo_construction_warning (line 640) | def test_add_repo_partial_repo_construction_warning(monkeypatch, capfd): function test_add_repo_git_url_detection_edge_cases (line 682) | def test_add_repo_git_url_detection_edge_cases(monkeypatch, test_url, ex... function test_repo_set_git_config (line 703) | def test_repo_set_git_config(mutable_config): function test_repo_set_nonexistent_repo (line 724) | def test_repo_set_nonexistent_repo(mutable_config): function test_repo_set_does_not_work_on_local_path (line 729) | def test_repo_set_does_not_work_on_local_path(mutable_config): function test_add_repo_prepends_instead_of_appends (line 735) | def test_add_repo_prepends_instead_of_appends(monkeypatch, tmp_path: pat... function test_repo_list_format_flags (line 770) | def test_repo_list_format_flags( function test_repo_list_json_output (line 816) | def test_repo_list_json_output(mutable_config: spack.config.Configuratio... function test_repo_update_successful_flags (line 902) | def test_repo_update_successful_flags(monkeypatch, mutable_config, repo_... function test_repo_update_invalid_flags (line 938) | def test_repo_update_invalid_flags(monkeypatch, mutable_config, flags): function test_repo_show_version_updates_no_changes (line 945) | def test_repo_show_version_updates_no_changes(mock_git_package_changes): function test_repo_show_version_updates_success (line 960) | def test_repo_show_version_updates_success(mock_git_package_changes): function test_repo_show_version_updates_excludes_manual_packages (line 986) | def test_repo_show_version_updates_excludes_manual_packages(monkeypatch,... function test_repo_show_version_updates_excludes_non_redistributable (line 1009) | def test_repo_show_version_updates_excludes_non_redistributable( function test_repo_show_version_updates_excludes_git_versions (line 1034) | def test_repo_show_version_updates_excludes_git_versions(mock_git_packag... FILE: lib/spack/spack/test/cmd/resource.py function test_resource_list (line 38) | def test_resource_list(mock_packages): function test_resource_list_only_hashes (line 59) | def test_resource_list_only_hashes(mock_packages): function test_resource_show (line 66) | def test_resource_show(mock_packages): FILE: lib/spack/spack/test/cmd/spec.py function test_spec (line 24) | def test_spec(): function test_spec_concretizer_args (line 35) | def test_spec_concretizer_args(mutable_database): function test_spec_parse_dependency_variant_value (line 59) | def test_spec_parse_dependency_variant_value(): function test_spec_parse_cflags_quoting (line 68) | def test_spec_parse_cflags_quoting(): function test_spec_yaml (line 77) | def test_spec_yaml(): function test_spec_json (line 89) | def test_spec_json(): function test_spec_format (line 101) | def test_spec_format(mutable_database): function _parse_types (line 106) | def _parse_types(string): function test_spec_deptypes_nodes (line 120) | def test_spec_deptypes_nodes(): function test_spec_deptypes_edges (line 130) | def test_spec_deptypes_edges(): function test_spec_returncode (line 140) | def test_spec_returncode(): function test_spec_parse_error (line 146) | def test_spec_parse_error(): function test_env_aware_spec (line 155) | def test_env_aware_spec(mutable_mock_env_path): function test_spec_version_assigned_git_ref_as_version (line 179) | def test_spec_version_assigned_git_ref_as_version(name, version, error): function test_spec_unification_from_cli (line 206) | def test_spec_unification_from_cli( FILE: lib/spack/spack/test/cmd/stage.py function test_stage_spec (line 25) | def test_stage_spec(monkeypatch): function check_stage_path (line 41) | def check_stage_path(monkeypatch, tmp_path: pathlib.Path): function test_stage_path (line 52) | def test_stage_path(check_stage_path): function test_stage_path_errors_multiple_specs (line 57) | def test_stage_path_errors_multiple_specs(check_stage_path): function test_stage_with_env_outside_env (line 64) | def test_stage_with_env_outside_env(mutable_mock_env_path, monkeypatch): function test_stage_with_env_inside_env (line 82) | def test_stage_with_env_inside_env(mutable_mock_env_path, monkeypatch): function test_stage_full_env (line 100) | def test_stage_full_env(mutable_mock_env_path, monkeypatch): function test_concretizer_arguments (line 127) | def test_concretizer_arguments(mock_packages, mock_fetch): function test_stage_spec_filters (line 142) | def test_stage_spec_filters( FILE: lib/spack/spack/test/cmd/style.py function has_develop_branch (line 37) | def has_develop_branch(git): function ruff_package (line 45) | def ruff_package(tmp_path: pathlib.Path): function ruff_package_with_errors (line 65) | def ruff_package_with_errors(scope="function"): function test_changed_files_from_git_rev_base (line 84) | def test_changed_files_from_git_rev_base(git, tmp_path: pathlib.Path): function test_changed_no_base (line 104) | def test_changed_no_base(git, tmp_path: pathlib.Path, capfd): function test_changed_files_all_files (line 122) | def test_changed_files_all_files(mock_packages): function test_bad_root (line 154) | def test_bad_root(tmp_path: pathlib.Path): function external_style_root (line 162) | def external_style_root(git, ruff_package_with_errors, tmp_path: pathlib... function test_fix_style (line 194) | def test_fix_style(external_style_root): function test_external_root (line 217) | def test_external_root(external_style_root): function test_style (line 243) | def test_style(ruff_package, tmp_path: pathlib.Path): function test_style_with_errors (line 269) | def test_style_with_errors(ruff_package_with_errors): function test_style_with_ruff_format (line 280) | def test_style_with_ruff_format(ruff_package_with_errors): function test_skip_tools (line 287) | def test_skip_tools(): function test_run_import_check (line 293) | def test_run_import_check(tmp_path: pathlib.Path): function test_run_import_check_syntax_error_and_missing (line 386) | def test_run_import_check_syntax_error_and_missing(tmp_path: pathlib.Path): function test_case_sensitive_imports (line 403) | def test_case_sensitive_imports(tmp_path: pathlib.Path): function test_pkg_imports (line 411) | def test_pkg_imports(): FILE: lib/spack/spack/test/cmd/tags.py function test_tags_bad_options (line 13) | def test_tags_bad_options(mock_packages): function test_tags_no_installed (line 18) | def test_tags_no_installed(install_mockery, mock_fetch): function test_tags_invalid_tag (line 23) | def test_tags_invalid_tag(mock_packages): function test_tags_all_mock_tags (line 28) | def test_tags_all_mock_tags(mock_packages): function test_tags_all_mock_tag_packages (line 34) | def test_tags_all_mock_tag_packages(mock_packages): function test_tags_no_tags (line 40) | def test_tags_no_tags(repo_builder): function test_tags_installed (line 47) | def test_tags_installed(install_mockery, mock_fetch): FILE: lib/spack/spack/test/cmd/test.py function test_test_package_not_installed (line 27) | def test_test_package_not_installed( function test_test_dirty_flag (line 43) | def test_test_dirty_flag(arguments, expected): function test_test_dup_alias (line 50) | def test_test_dup_alias(mock_test_stage, mock_packages, mock_archive, mo... function test_test_output (line 63) | def test_test_output(mock_test_stage, mock_packages, mock_archive, mock_... function test_test_output_fails (line 88) | def test_test_output_fails( function test_junit_output_with_failures (line 111) | def test_junit_output_with_failures(tmp_path: pathlib.Path, mock_test_st... function test_cdash_output_test_error (line 136) | def test_cdash_output_test_error( function test_cdash_upload_clean_test (line 161) | def test_cdash_upload_clean_test( function test_test_help_does_not_show_cdash_options (line 183) | def test_test_help_does_not_show_cdash_options(mock_test_stage): function test_test_help_cdash (line 189) | def test_test_help_cdash(mock_test_stage): function test_test_list_all (line 195) | def test_test_list_all(mock_packages): function test_test_list (line 215) | def test_test_list(mock_packages, mock_archive, mock_fetch, install_mock... function test_read_old_results (line 222) | def test_read_old_results(mock_packages, mock_test_stage): function test_test_results_none (line 244) | def test_test_results_none(mock_packages, mock_test_stage): function test_test_results_status (line 258) | def test_test_results_status(mock_packages, mock_test_stage, status): function test_report_filename_for_cdash (line 281) | def test_report_filename_for_cdash(install_mockery, mock_fetch): function test_test_output_multiple_specs (line 303) | def test_test_output_multiple_specs( FILE: lib/spack/spack/test/cmd/undevelop.py function test_undevelop (line 16) | def test_undevelop(tmp_path: pathlib.Path, mutable_config, mock_packages... function test_undevelop_all (line 46) | def test_undevelop_all( function test_undevelop_nonexistent (line 78) | def test_undevelop_nonexistent( FILE: lib/spack/spack/test/cmd/uninstall.py class MockArgs (line 22) | class MockArgs: method __init__ (line 23) | def __init__(self, packages, all=False, force=False, dependents=False): function test_multiple_matches (line 32) | def test_multiple_matches(mutable_database): function test_installed_dependents (line 39) | def test_installed_dependents(mutable_database): function test_correct_installed_dependents (line 46) | def test_correct_installed_dependents(mutable_database): function test_recursive_uninstall (line 78) | def test_recursive_uninstall(mutable_database): function test_uninstall_spec_with_multiple_roots (line 96) | def test_uninstall_spec_with_multiple_roots( function test_force_uninstall_spec_with_ref_count_not_zero (line 106) | def test_force_uninstall_spec_with_ref_count_not_zero( function test_force_uninstall_and_reinstall_by_hash (line 115) | def test_force_uninstall_and_reinstall_by_hash(mutable_database): function test_in_memory_consistency_when_uninstalling (line 194) | def test_in_memory_consistency_when_uninstalling(mutable_database, monke... class TestUninstallFromEnv (line 207) | class TestUninstallFromEnv: method environment_setup (line 222) | def environment_setup(self, mock_packages, mutable_database, install_m... method test_basic_env_sanity (line 242) | def test_basic_env_sanity(self, environment_setup): method test_uninstall_force_dependency_shared_between_envs (line 249) | def test_uninstall_force_dependency_shared_between_envs(self, environm... method test_uninstall_remove_dependency_shared_between_envs (line 277) | def test_uninstall_remove_dependency_shared_between_envs(self, environ... method test_uninstall_dependency_shared_between_envs_fail (line 305) | def test_uninstall_dependency_shared_between_envs_fail(self, environme... method test_uninstall_force_and_remove_dependency_shared_between_envs (line 324) | def test_uninstall_force_and_remove_dependency_shared_between_envs(sel... method test_uninstall_keep_dependents_dependency_shared_between_envs (line 349) | def test_uninstall_keep_dependents_dependency_shared_between_envs(self... FILE: lib/spack/spack/test/cmd/unit_test.py function test_list (line 17) | def test_list(): function test_list_with_pytest_arg (line 24) | def test_list_with_pytest_arg(): function test_list_with_keywords (line 29) | def test_list_with_keywords(): function test_list_long (line 37) | def test_list_long(): function test_list_long_with_pytest_arg (line 53) | def test_list_long_with_pytest_arg(): function test_list_names (line 70) | def test_list_names(): function test_list_names_with_pytest_arg (line 84) | def test_list_names_with_pytest_arg(): function test_pytest_help (line 98) | def test_pytest_help(): FILE: lib/spack/spack/test/cmd/url.py class MyPackage (line 16) | class MyPackage: method __init__ (line 17) | def __init__(self, name, versions): function test_name_parsed_correctly (line 22) | def test_name_parsed_correctly(): function test_version_parsed_correctly (line 40) | def test_version_parsed_correctly(): function test_url_parse (line 57) | def test_url_parse(): function test_url_with_no_version_fails (line 61) | def test_url_with_no_version_fails(): function test_url_list (line 67) | def test_url_list(mock_packages): function test_url_summary (line 96) | def test_url_summary(mock_packages): function test_url_stats (line 118) | def test_url_stats(mock_packages): FILE: lib/spack/spack/test/cmd/verify.py function skip_unless_linux (line 28) | def skip_unless_linux(f): function test_single_file_verify_cmd (line 34) | def test_single_file_verify_cmd(tmp_path: pathlib.Path): function test_single_spec_verify_cmd (line 78) | def test_single_spec_verify_cmd(mock_packages, mock_archive, mock_fetch,... function test_libraries (line 104) | def test_libraries(tmp_path: pathlib.Path, install_mockery, mock_fetch): function test_verify_versions (line 151) | def test_verify_versions(mock_packages): FILE: lib/spack/spack/test/cmd/versions.py function _mock_find_versions_of_archive (line 17) | def _mock_find_versions_of_archive(*args, **kwargs): function test_safe_versions (line 25) | def test_safe_versions(): function test_remote_versions (line 30) | def test_remote_versions(monkeypatch): function test_remote_versions_only (line 36) | def test_remote_versions_only(monkeypatch): function test_new_versions_only (line 42) | def test_new_versions_only(monkeypatch): function test_no_unchecksummed_versions (line 70) | def test_no_unchecksummed_versions(monkeypatch): function test_versions_no_url (line 86) | def test_versions_no_url(): function test_no_versions_no_url (line 91) | def test_no_versions_no_url(): FILE: lib/spack/spack/test/cmd/view.py function create_projection_file (line 34) | def create_projection_file(tmp_path: pathlib.Path, projection): function test_view_link_type (line 44) | def test_view_link_type( function test_view_link_type_remove (line 59) | def test_view_link_type_remove( function test_view_projections (line 74) | def test_view_projections( function test_view_multiple_projections (line 92) | def test_view_multiple_projections( function test_view_multiple_projections_all_first (line 112) | def test_view_multiple_projections_all_first( function test_view_external (line 132) | def test_view_external( function test_view_extension (line 142) | def test_view_extension( function test_view_extension_remove (line 159) | def test_view_extension_remove( function test_view_extension_conflict (line 173) | def test_view_extension_conflict( function test_view_extension_conflict_ignored (line 186) | def test_view_extension_conflict_ignored( function test_view_fails_with_missing_projections_file (line 200) | def test_view_fails_with_missing_projections_file(tmp_path: pathlib.Path): function test_view_files_not_ignored (line 210) | def test_view_files_not_ignored( FILE: lib/spack/spack/test/cmd_extensions.py class Extension (line 18) | class Extension: method __init__ (line 23) | def __init__(self, name, root: pathlib.Path): method add_command (line 39) | def add_command(self, command_name, contents): function extension_creator (line 53) | def extension_creator(tmp_path: pathlib.Path, config): function hello_world_extension (line 74) | def hello_world_extension(extension_creator): function hello_world_cmd (line 96) | def hello_world_cmd(hello_world_extension): function hello_world_with_module_in_root (line 102) | def hello_world_with_module_in_root(extension_creator): function test_simple_command_extension (line 166) | def test_simple_command_extension(hello_world_cmd): function test_multi_extension_search (line 172) | def test_multi_extension_search(hello_world_extension, extension_creator): function test_duplicate_module_load (line 181) | def test_duplicate_module_load(hello_world_cmd, capfd): function test_command_with_import (line 198) | def test_command_with_import(extension_name, hello_world_with_module_in_... function test_missing_command (line 211) | def test_missing_command(): function test_extension_naming (line 231) | def test_extension_naming(tmp_path: pathlib.Path, extension_path, expect... function test_missing_command_function (line 246) | def test_missing_command_function(extension_creator, capfd): function test_get_command_paths (line 258) | def test_get_command_paths(config): function test_variable_in_extension_path (line 274) | def test_variable_in_extension_path(config, working_env): function test_failing_command (line 296) | def test_failing_command(command_name, contents, exception, extension_cr... FILE: lib/spack/spack/test/compilers/conversion.py function mock_compiler (line 16) | def mock_compiler(mock_executable): function test_basic_compiler_conversion (line 41) | def test_basic_compiler_conversion(mock_compiler, tmp_path: pathlib.Path): function test_compiler_conversion_with_flags (line 53) | def test_compiler_conversion_with_flags(mock_compiler): function test_compiler_conversion_with_environment (line 63) | def test_compiler_conversion_with_environment(mock_compiler): function test_compiler_conversion_extra_rpaths (line 75) | def test_compiler_conversion_extra_rpaths(mock_compiler): function test_compiler_conversion_modules (line 84) | def test_compiler_conversion_modules(mock_compiler): function test_compiler_conversion_corrupted_paths (line 94) | def test_compiler_conversion_corrupted_paths(mock_compiler): FILE: lib/spack/spack/test/compilers/libraries.py function call_compiler (line 20) | def call_compiler(exe, *args, **kwargs): function mock_gcc (line 29) | def mock_gcc(config): class TestCompilerPropertyDetector (line 39) | class TestCompilerPropertyDetector: method test_compile_dummy_c_source (line 51) | def test_compile_dummy_c_source(self, mock_gcc, monkeypatch, language,... method test_compile_dummy_c_source_no_path (line 69) | def test_compile_dummy_c_source_no_path(self, mock_gcc): method test_compile_dummy_c_source_no_verbose_flags (line 74) | def test_compile_dummy_c_source_no_verbose_flags(self, mock_gcc, monke... method test_compile_dummy_c_source_load_env (line 80) | def test_compile_dummy_c_source_load_env(self, mock_gcc, monkeypatch, ... method test_implicit_rpaths (line 109) | def test_implicit_rpaths(self, mock_gcc, dirs_with_libfiles, monkeypat... method test_compiler_environment (line 122) | def test_compiler_environment(self, working_env, mock_gcc, monkeypatch): method test_compiler_invalid_module_raises (line 131) | def test_compiler_invalid_module_raises(self, working_env, mock_gcc, m... FILE: lib/spack/spack/test/concretization/compiler_runtimes.py function _concretize_with_reuse (line 24) | def _concretize_with_reuse(*, root_str, reused_str, config): function runtime_repo (line 44) | def runtime_repo(mutable_config): function test_correct_gcc_runtime_is_injected_as_dependency (line 50) | def test_correct_gcc_runtime_is_injected_as_dependency(runtime_repo): function test_external_nodes_do_not_have_runtimes (line 62) | def test_external_nodes_do_not_have_runtimes(runtime_repo, mutable_confi... function test_reusing_specs_with_gcc_runtime (line 122) | def test_reusing_specs_with_gcc_runtime( function test_views_can_handle_duplicate_runtime_nodes (line 151) | def test_views_can_handle_duplicate_runtime_nodes( function test_runtimes_can_be_concretized_as_standalone (line 182) | def test_runtimes_can_be_concretized_as_standalone(runtime_repo): function test_runtimes_are_not_reused_if_compiler_not_used (line 192) | def test_runtimes_are_not_reused_if_compiler_not_used(runtime_repo, muta... FILE: lib/spack/spack/test/concretization/conditional_dependencies.py function test_conditional_mpi_dependency (line 61) | def test_conditional_mpi_dependency( function test_conditional_compilers (line 79) | def test_conditional_compilers(c, cxx, fortran, mutable_config, mock_pac... FILE: lib/spack/spack/test/concretization/core.py function check_spec (line 56) | def check_spec(abstract, concrete): function check_concretize (line 82) | def check_concretize(abstract_spec): function _true (line 91) | def _true(): function binary_compatibility (line 96) | def binary_compatibility(monkeypatch, request): function spec (line 148) | def spec(request): function current_host (line 165) | def current_host(request, monkeypatch): function fuzz_dep_order (line 186) | def fuzz_dep_order(request, monkeypatch): function repo_with_changing_recipe (line 199) | def repo_with_changing_recipe(tmp_path_factory: pytest.TempPathFactory, ... function clang12_with_flags (line 306) | def clang12_with_flags(compiler_factory): function gcc11_with_flags (line 313) | def gcc11_with_flags(compiler_factory): function weights_from_result (line 319) | def weights_from_result(result: Result, *, name: str) -> Dict[str, int]: class TestConcretize (line 333) | class TestConcretize: method test_concretize (line 334) | def test_concretize(self, spec): method test_concretize_mention_build_dep (line 337) | def test_concretize_mention_build_dep(self): method test_concretize_preferred_version (line 351) | def test_concretize_preferred_version(self): method test_concretize_with_restricted_virtual (line 357) | def test_concretize_with_restricted_virtual(self): method test_concretize_with_provides_when (line 387) | def test_concretize_with_provides_when(self): method test_provides_handles_multiple_providers_of_same_version (line 398) | def test_provides_handles_multiple_providers_of_same_version(self): method test_different_compilers_get_different_flags (line 411) | def test_different_compilers_get_different_flags( method test_spec_flags_maintain_order (line 436) | def test_spec_flags_maintain_order(self, mutable_config, gcc11_with_fl... method test_compiler_flag_propagation (line 472) | def test_compiler_flag_propagation(self, spec_str, expected, not_expec... method test_mixing_compilers_only_affects_subdag (line 481) | def test_mixing_compilers_only_affects_subdag(self): method test_disable_mixing_prevents_mixing (line 497) | def test_disable_mixing_prevents_mixing(self): method test_disable_mixing_is_per_language (line 502) | def test_disable_mixing_is_per_language(self): method test_disable_mixing_override_by_package (line 506) | def test_disable_mixing_override_by_package(self): method test_disable_mixing_reuse (line 516) | def test_disable_mixing_reuse(self, fake_db_install): method test_disable_mixing_reuse_and_built (line 534) | def test_disable_mixing_reuse_and_built(self, fake_db_install): method test_disable_mixing_allow_compiler_link (line 561) | def test_disable_mixing_allow_compiler_link(self): method test_compiler_run_dep_link_dep_not_forced (line 573) | def test_compiler_run_dep_link_dep_not_forced(self, temporary_store): method test_disable_mixing_env (line 596) | def test_disable_mixing_env( method test_compiler_inherited_upwards (line 622) | def test_compiler_inherited_upwards(self): method test_architecture_deep_inheritance (line 629) | def test_architecture_deep_inheritance(self, mock_targets, compiler_fa... method test_compiler_flags_from_user_are_grouped (line 645) | def test_compiler_flags_from_user_are_grouped(self): method concretize_multi_provider (line 651) | def concretize_multi_provider(self): method test_concretize_dependent_with_singlevalued_variant_type (line 656) | def test_concretize_dependent_with_singlevalued_variant_type(self): method concretize_difficult_packages (line 661) | def concretize_difficult_packages(self, a, b): method test_concretize_two_virtuals (line 668) | def test_concretize_two_virtuals(self): method test_concretize_two_virtuals_with_one_bound (line 672) | def test_concretize_two_virtuals_with_one_bound(self, mutable_mock_repo): method test_concretize_two_virtuals_with_two_bound (line 676) | def test_concretize_two_virtuals_with_two_bound(self): method test_concretize_two_virtuals_with_dual_provider (line 680) | def test_concretize_two_virtuals_with_dual_provider(self): method test_concretize_two_virtuals_with_dual_provider_and_a_conflict (line 687) | def test_concretize_two_virtuals_with_dual_provider_and_a_conflict( method test_concretize_propagate_disabled_variant (line 716) | def test_concretize_propagate_disabled_variant(self, spec_str, expecte... method test_concretize_propagate_variant_not_dependencies (line 722) | def test_concretize_propagate_variant_not_dependencies(self): method test_concretize_propagate_variant_exclude_dependency_fail (line 731) | def test_concretize_propagate_variant_exclude_dependency_fail(self): method test_concretize_propagate_same_variant_from_direct_dep_fail (line 738) | def test_concretize_propagate_same_variant_from_direct_dep_fail(self): method test_concretize_propagate_same_variant_in_dependency_fail (line 745) | def test_concretize_propagate_same_variant_in_dependency_fail(self): method test_concretize_propagate_same_variant_virtual_dependency_fail (line 752) | def test_concretize_propagate_same_variant_virtual_dependency_fail(self): method test_concretize_propagate_same_variant_multiple_sources_diamond_dep_fail (line 760) | def test_concretize_propagate_same_variant_multiple_sources_diamond_de... method test_concretize_propagate_specified_variant (line 767) | def test_concretize_propagate_specified_variant(self): method test_concretize_propagate_one_variant (line 780) | def test_concretize_propagate_one_variant(self): method test_concretize_propagate_through_first_level_deps (line 788) | def test_concretize_propagate_through_first_level_deps(self): method test_concretize_propagate_multiple_variants (line 797) | def test_concretize_propagate_multiple_variants(self): method test_concretize_propagate_multiple_variants_mulitple_sources (line 807) | def test_concretize_propagate_multiple_variants_mulitple_sources(self): method test_concretize_propagate_single_valued_variant (line 818) | def test_concretize_propagate_single_valued_variant(self): method test_concretize_propagate_multivalue_variant (line 826) | def test_concretize_propagate_multivalue_variant(self): method test_concretize_propagate_multiple_multivalue_variant (line 837) | def test_concretize_propagate_multiple_multivalue_variant(self): method test_concretize_propagate_variant_not_in_source (line 847) | def test_concretize_propagate_variant_not_in_source(self): method test_concretize_propagate_variant_multiple_deps_not_in_source (line 857) | def test_concretize_propagate_variant_multiple_deps_not_in_source(self): method test_concretize_propagate_variant_second_level_dep_not_in_source (line 867) | def test_concretize_propagate_variant_second_level_dep_not_in_source(s... method test_no_matching_compiler_specs (line 877) | def test_no_matching_compiler_specs(self): method test_no_compilers_for_arch (line 882) | def test_no_compilers_for_arch(self): method test_virtual_is_fully_expanded_for_callpath (line 887) | def test_virtual_is_fully_expanded_for_callpath(self): method test_virtual_is_fully_expanded_for_mpileaks (line 902) | def test_virtual_is_fully_expanded_for_mpileaks(self): method test_compiler_inheritance (line 955) | def test_compiler_inheritance(self, spec_str, expected, not_expected): method test_external_package (line 966) | def test_external_package(self): method test_nobuild_package (line 974) | def test_nobuild_package(self): method test_external_and_virtual (line 982) | def test_external_and_virtual(self, mutable_config): method test_compiler_child (line 993) | def test_compiler_child(self): method test_conflicts_in_spec (line 999) | def test_conflicts_in_spec(self, conflict_spec): method test_conflicts_show_cores (line 1004) | def test_conflicts_show_cores(self, conflict_spec, monkeypatch): method test_conflict_in_all_directives_true (line 1011) | def test_conflict_in_all_directives_true(self): method test_no_conflict_in_external_specs (line 1017) | def test_no_conflict_in_external_specs(self, spec_str): method test_regression_issue_4492 (line 1025) | def test_regression_issue_4492(self): method test_regression_issue_7239 (line 1044) | def test_regression_issue_7239(self): method test_regression_issue_7705 (line 1063) | def test_regression_issue_7705(self): method test_regression_issue_7941 (line 1072) | def test_regression_issue_7941(self): method test_simultaneous_concretization_of_specs (line 1099) | def test_simultaneous_concretization_of_specs(self, abstract_specs): method test_noversion_pkg (line 1121) | def test_noversion_pkg(self, spec): method test_adjusting_default_target_based_on_compiler (line 1145) | def test_adjusting_default_target_based_on_compiler( method test_compiler_version_matches_any_entry_in_packages_yaml (line 1159) | def test_compiler_version_matches_any_entry_in_packages_yaml(self, con... method test_concretize_anonymous (line 1167) | def test_concretize_anonymous(self): method test_concretize_anonymous_dep (line 1173) | def test_concretize_anonymous_dep(self, spec_str): method test_compiler_conflicts_in_package_py (line 1190) | def test_compiler_conflicts_in_package_py( method test_conditional_variants (line 1217) | def test_conditional_variants(self, spec_str, expected, unexpected): method test_conditional_variants_fail (line 1234) | def test_conditional_variants_fail(self, bad_spec): method test_conditional_dependencies (line 1250) | def test_conditional_dependencies(self, spec_str, expected, unexpected... method test_patching_dependencies (line 1282) | def test_patching_dependencies(self, spec_str, patched_deps): method test_working_around_conflicting_defaults (line 1310) | def test_working_around_conflicting_defaults(self, spec_str, expected): method test_package_with_constraint_not_met_by_external (line 1318) | def test_package_with_constraint_not_met_by_external(self): method test_cumulative_version_ranges_with_different_length (line 1332) | def test_cumulative_version_ranges_with_different_length(self): method test_dependency_conditional_on_another_dependency_state (line 1338) | def test_dependency_conditional_on_another_dependency_state(self): method test_external_that_would_require_a_virtual_dependency (line 1355) | def test_external_that_would_require_a_virtual_dependency(self): method test_transitive_conditional_virtual_dependency (line 1361) | def test_transitive_conditional_virtual_dependency(self, mutable_config): method test_conditional_provides_or_depends_on (line 1371) | def test_conditional_provides_or_depends_on(self): method test_activating_test_dependencies (line 1395) | def test_activating_test_dependencies(self, spec_str, tests_arg, with_... method test_target_ranges_in_conflicts (line 1409) | def test_target_ranges_in_conflicts(self): method test_target_compatibility (line 1413) | def test_target_compatibility(self): method test_variant_not_default (line 1420) | def test_variant_not_default(self): method test_all_patches_applied (line 1430) | def test_all_patches_applied(self): method test_dont_select_version_that_brings_more_variants_in (line 1441) | def test_dont_select_version_that_brings_more_variants_in(self): method test_external_package_versions (line 1468) | def test_external_package_versions(self, spec_str, is_external, expect... method test_reuse_does_not_overwrite_dev_specs (line 1478) | def test_reuse_does_not_overwrite_dev_specs( method test_reuse_installed_packages_when_package_def_changes (line 1522) | def test_reuse_installed_packages_when_package_def_changes( method test_no_reuse_when_variant_condition_does_not_hold (line 1554) | def test_no_reuse_when_variant_condition_does_not_hold(self, mutable_d... method test_reuse_with_flags (line 1568) | def test_reuse_with_flags(self, mutable_database, mutable_config): method test_concretization_of_test_dependencies (line 1576) | def test_concretization_of_test_dependencies(self): method test_error_message_for_inconsistent_variants (line 1586) | def test_error_message_for_inconsistent_variants(self, spec_str): method test_mv_variants_disjoint_sets_from_spec (line 1603) | def test_mv_variants_disjoint_sets_from_spec(self, spec_str, variant_n... method test_mv_variants_disjoint_sets_from_packages_yaml (line 1608) | def test_mv_variants_disjoint_sets_from_packages_yaml(self): method test_external_with_non_default_variant_as_dependency (line 1621) | def test_external_with_non_default_variant_as_dependency(self): method test_compiler_is_unique (line 1635) | def test_compiler_is_unique(self, spec_str, expected_compiler): method test_multivalued_variants_from_cli (line 1652) | def test_multivalued_variants_from_cli(self, spec_str, expected_dict): method test_deprecated_versions_not_selected (line 1668) | def test_deprecated_versions_not_selected(self, spec_str, expected): method test_version_badness_more_important_than_default_mv_variants (line 1674) | def test_version_badness_more_important_than_default_mv_variants(self): method test_provider_must_meet_requirements (line 1683) | def test_provider_must_meet_requirements(self): method test_newer_dependency_adds_a_transitive_virtual (line 1691) | def test_newer_dependency_adds_a_transitive_virtual(self): method test_versions_in_virtual_dependencies (line 1705) | def test_versions_in_virtual_dependencies(self): method test_non_default_provider_of_multiple_virtuals (line 1712) | def test_non_default_provider_of_multiple_virtuals(self): method test_concrete_specs_are_not_modified_on_reuse (line 1728) | def test_concrete_specs_are_not_modified_on_reuse( method test_sticky_variant_in_package (line 1741) | def test_sticky_variant_in_package(self): method test_sticky_variant_in_external (line 1764) | def test_sticky_variant_in_external(self, spec, allow_gcc): method test_do_not_invent_new_concrete_versions_unless_necessary (line 1778) | def test_do_not_invent_new_concrete_versions_unless_necessary(self): method test_conditional_values_in_variants (line 1799) | def test_conditional_values_in_variants(self, spec_str, valid): method test_conditional_values_in_conditional_variant (line 1805) | def test_conditional_values_in_conditional_variant(self): method test_target_granularity (line 1813) | def test_target_granularity(self): method test_host_compatible_concretization (line 1823) | def test_host_compatible_concretization(self): method test_add_microarchitectures_on_explicit_request (line 1835) | def test_add_microarchitectures_on_explicit_request(self): method test_delete_version_and_reuse (line 1843) | def test_delete_version_and_reuse(self, mutable_database, repo_with_ch... method test_installed_version_is_selected_only_for_reuse (line 1857) | def test_installed_version_is_selected_only_for_reuse( method test_reuse_with_unknown_namespace_dont_raise (line 1875) | def test_reuse_with_unknown_namespace_dont_raise( method test_reuse_from_other_namespace_no_raise (line 1888) | def test_reuse_from_other_namespace_no_raise( method test_reuse_with_unknown_package_dont_raise (line 1903) | def test_reuse_with_unknown_package_dont_raise( method test_best_effort_coconcretize (line 1933) | def test_best_effort_coconcretize(self, specs, checks): method test_best_effort_coconcretize_preferences (line 1976) | def test_best_effort_coconcretize_preferences(self, specs, expected_sp... method test_solve_in_rounds_all_unsolved (line 1991) | def test_solve_in_rounds_all_unsolved(self, monkeypatch, mock_packages): method test_coconcretize_reuse_and_virtuals (line 2003) | def test_coconcretize_reuse_and_virtuals(self): method test_misleading_error_message_on_version (line 2019) | def test_misleading_error_message_on_version(self, mutable_database): method test_version_weight_and_provenance (line 2033) | def test_version_weight_and_provenance(self, mutable_config): method test_variant_penalty (line 2072) | def test_variant_penalty(self, mutable_config): method test_requirements_and_weights (line 2241) | def test_requirements_and_weights(self, packages_config, expected, mut... method test_reuse_succeeds_with_config_compatible_os (line 2253) | def test_reuse_succeeds_with_config_compatible_os(self): method test_git_hash_assigned_version_is_preferred (line 2271) | def test_git_hash_assigned_version_is_preferred(self): method test_git_ref_version_is_equivalent_to_specified_version (line 2278) | def test_git_ref_version_is_equivalent_to_specified_version(self, git_... method test_git_ref_version_succeeds_with_unknown_version (line 2286) | def test_git_ref_version_succeeds_with_unknown_version(self, git_ref): method test_installed_externals_are_reused (line 2293) | def test_installed_externals_are_reused( method test_user_can_select_externals_with_require (line 2327) | def test_user_can_select_externals_with_require( method test_installed_specs_disregard_conflicts (line 2357) | def test_installed_specs_disregard_conflicts(self, mutable_database, m... method test_require_targets_are_allowed (line 2377) | def test_require_targets_are_allowed(self, mutable_config, mutable_dat... method test_external_python_extension_find_dependency_from_config (line 2394) | def test_external_python_extension_find_dependency_from_config(self, m... method test_result_specs_is_not_empty (line 2425) | def test_result_specs_is_not_empty(self, mutable_config, specs): method test_unsolved_specs_raises_error (line 2444) | def test_unsolved_specs_raises_error(self, monkeypatch, mock_packages): method test_errors_on_statically_checked_preconditions (line 2472) | def test_errors_on_statically_checked_preconditions(self, spec_str, ex... method test_compiler_match_constraints_when_selected (line 2487) | def test_compiler_match_constraints_when_selected(self, compiler_str, ... method test_virtuals_are_annotated_on_edges (line 2495) | def test_virtuals_are_annotated_on_edges(self, spec_str): method test_explicit_splices (line 2506) | def test_explicit_splices( method test_explicit_splice_fails_nonexistent (line 2530) | def test_explicit_splice_fails_nonexistent(mutable_config, mock_packag... method test_explicit_splice_fails_no_hash (line 2537) | def test_explicit_splice_fails_no_hash(mutable_config, mock_packages, ... method test_explicit_splice_non_match_nonexistent_succeeds (line 2544) | def test_explicit_splice_non_match_nonexistent_succeeds( method test_virtuals_are_reconstructed_on_reuse (line 2559) | def test_virtuals_are_reconstructed_on_reuse(self, spec_str, mpi_name,... method test_dont_define_new_version_from_input_if_checksum_required (line 2568) | def test_dont_define_new_version_from_input_if_checksum_required(self,... method test_reuse_python_from_cli_and_extension_from_db (line 2577) | def test_reuse_python_from_cli_and_extension_from_db(self, mutable_dat... method test_select_lower_priority_package_from_repository_stack (line 2604) | def test_select_lower_priority_package_from_repository_stack( method test_reuse_specs_from_non_available_compilers (line 2621) | def test_reuse_specs_from_non_available_compilers(self, mutable_config... method test_externals_with_platform_explicitly_set (line 2642) | def test_externals_with_platform_explicitly_set(self, tmp_path: pathli... method test_spec_with_build_dep_from_json (line 2655) | def test_spec_with_build_dep_from_json(self, tmp_path: pathlib.Path): method test_exclude_specs_from_reuse (line 2669) | def test_exclude_specs_from_reuse(self, monkeypatch): method test_include_specs_from_externals_and_libcs (line 2730) | def test_include_specs_from_externals_and_libcs( method test_can_reuse_concrete_externals_for_dependents (line 2762) | def test_can_reuse_concrete_externals_for_dependents(self, mutable_con... method test_cannot_reuse_host_incompatible_libc (line 2784) | def test_cannot_reuse_host_incompatible_libc(self): method test_corrupted_external_does_not_halt_concretization (line 2815) | def test_corrupted_external_does_not_halt_concretization(self, corrupt... method test_correct_external_is_selected_from_packages_yaml (line 2830) | def test_correct_external_is_selected_from_packages_yaml(self, mutable... method test_git_based_version_must_exist_to_use_ref (line 2855) | def test_git_based_version_must_exist_to_use_ref(self): function duplicates_test_repository (line 2863) | def duplicates_test_repository(): class TestConcretizeSeparately (line 2870) | class TestConcretizeSeparately: method test_two_gmake (line 2874) | def test_two_gmake(self, strategy): method test_two_setuptools (line 2898) | def test_two_setuptools(self, strategy): method test_solution_without_cycles (line 2934) | def test_solution_without_cycles(self): method test_pure_build_virtual_dependency (line 2947) | def test_pure_build_virtual_dependency(self, strategy): method test_no_multiple_solutions_with_different_edges_same_nodes (line 2962) | def test_no_multiple_solutions_with_different_edges_same_nodes(self): method test_build_environment_is_unified (line 2998) | def test_build_environment_is_unified(self): method test_specifying_different_versions_build_deps (line 3019) | def test_specifying_different_versions_build_deps(self): method test_all_extensions_depend_on_same_extendee (line 3042) | def test_all_extensions_depend_on_same_extendee(self): function test_drop_moving_targets (line 3090) | def test_drop_moving_targets(v_str, v_opts, checksummed): class TestConcreteSpecsByHash (line 3095) | class TestConcreteSpecsByHash: method test_adding_specs (line 3101) | def test_adding_specs(self, input_specs, default_mock_concretization): function edges_test_repository (line 3118) | def edges_test_repository(): class TestConcretizeEdges (line 3125) | class TestConcretizeEdges: method test_condition_triggered_by_edge_property (line 3140) | def test_condition_triggered_by_edge_property( method test_virtuals_provided_together_but_only_one_required_in_dag (line 3152) | def test_virtuals_provided_together_but_only_one_required_in_dag(self): function test_reusable_externals_match (line 3166) | def test_reusable_externals_match(mock_packages, tmp_path: pathlib.Path): function test_reusable_externals_match_virtual (line 3184) | def test_reusable_externals_match_virtual(mock_packages, tmp_path: pathl... function test_reusable_externals_different_prefix (line 3202) | def test_reusable_externals_different_prefix(mock_packages, tmp_path: pa... function test_reusable_externals_different_modules (line 3221) | def test_reusable_externals_different_modules(mock_packages, tmp_path: p... function test_reusable_externals_different_spec (line 3239) | def test_reusable_externals_different_spec(mock_packages, tmp_path: path... function test_concretization_version_order (line 3250) | def test_concretization_version_order(): function test_filtering_reused_specs (line 3298) | def test_filtering_reused_specs( function test_selecting_reused_sources (line 3341) | def test_selecting_reused_sources(reuse_yaml, expected_length, mutable_c... function test_spec_filters (line 3370) | def test_spec_filters(specs, include, exclude, expected): function test_git_ref_version_can_be_reused (line 3380) | def test_git_ref_version_can_be_reused(install_mockery): function test_reuse_prefers_standard_over_git_versions (line 3401) | def test_reuse_prefers_standard_over_git_versions(standard_version, inst... function test_spec_unification (line 3422) | def test_spec_unification(unify, mutable_config, mock_packages): function test_parallel_concretization (line 3440) | def test_parallel_concretization(mutable_config, mock_packages): function test_spec_containing_commit_variant (line 3458) | def test_spec_containing_commit_variant(spec_str, error_type): function test_spec_with_commit_interacts_with_lookup (line 3477) | def test_spec_with_commit_interacts_with_lookup(mock_git_version_info, m... function test_relationship_git_versions_and_commit_variant (line 3489) | def test_relationship_git_versions_and_commit_variant(version_str): function test_abstract_commit_spec_reuse (line 3503) | def test_abstract_commit_spec_reuse(): function test_commit_variant_can_be_reused (line 3520) | def test_commit_variant_can_be_reused(installed_commit, incoming_commit,... function test_selecting_compiler_with_suffix (line 3543) | def test_selecting_compiler_with_suffix(mutable_config, mock_packages, c... function test_duplicate_compiler_in_externals (line 3563) | def test_duplicate_compiler_in_externals(mutable_config, mock_packages): function test_compiler_can_depend_on_themselves_to_build (line 3597) | def test_compiler_can_depend_on_themselves_to_build( function test_compiler_attribute_is_tolerated_in_externals (line 3607) | def test_compiler_attribute_is_tolerated_in_externals( function test_compiler_can_be_built_with_other_compilers (line 3628) | def test_compiler_can_be_built_with_other_compilers(config, mock_packages): function test_compiler_match_for_externals_is_taken_into_account (line 3648) | def test_compiler_match_for_externals_is_taken_into_account( function test_compiler_match_for_externals_with_versions (line 3679) | def test_compiler_match_for_externals_with_versions( function test_specifying_compilers_with_virtuals_syntax (line 3703) | def test_specifying_compilers_with_virtuals_syntax(default_mock_concreti... function test_reuse_when_input_specifies_build_dep (line 3731) | def test_reuse_when_input_specifies_build_dep(install_mockery): function test_reuse_when_requiring_build_dep (line 3749) | def test_reuse_when_requiring_build_dep(install_mockery, mutable_config): function test_input_analysis_and_conditional_requirements (line 3761) | def test_input_analysis_and_conditional_requirements(default_mock_concre... function test_installing_external_with_compilers_directly (line 3784) | def test_installing_external_with_compilers_directly( function test_using_externals_with_compilers (line 3810) | def test_using_externals_with_compilers(mutable_config, mock_packages, t... function test_installed_compiler_and_better_external (line 3836) | def test_installed_compiler_and_better_external(install_mockery, mutable... function test_concrete_multi_valued_variants_in_externals (line 3855) | def test_concrete_multi_valued_variants_in_externals( function test_concrete_multi_valued_in_input_specs (line 3892) | def test_concrete_multi_valued_in_input_specs(default_mock_concretization): function test_concrete_multi_valued_variants_in_requirements (line 3900) | def test_concrete_multi_valued_variants_in_requirements(mutable_config, ... function test_concrete_multi_valued_variants_in_depends_on (line 3921) | def test_concrete_multi_valued_variants_in_depends_on(default_mock_concr... function test_concrete_multi_valued_variants_when_args (line 3933) | def test_concrete_multi_valued_variants_when_args(default_mock_concretiz... function test_spec_parts_on_fresh_compilers (line 3980) | def test_spec_parts_on_fresh_compilers( function test_spec_parts_on_reused_compilers (line 4040) | def test_spec_parts_on_reused_compilers( function test_use_compiler_by_hash (line 4082) | def test_use_compiler_by_hash(mock_packages, mutable_database, mutable_c... function test_specifying_direct_dependencies (line 4140) | def test_specifying_direct_dependencies( function test_satisfies_conditional_spec (line 4201) | def test_satisfies_conditional_spec( function test_selecting_externals_with_compilers_as_root (line 4218) | def test_selecting_externals_with_compilers_as_root(mutable_config, mock... function test_selecting_externals_with_compilers_and_versions (line 4277) | def test_selecting_externals_with_compilers_and_versions( function test_errors_when_specifying_externals_with_compilers (line 4320) | def test_errors_when_specifying_externals_with_compilers( function test_caret_in_input_cannot_set_transitive_build_dependencies (line 4342) | def test_caret_in_input_cannot_set_transitive_build_dependencies(default... function test_commit_variant_enters_the_hash (line 4352) | def test_commit_variant_enters_the_hash(mutable_config, mock_packages, m... function test_reuse_with_mixed_compilers (line 4379) | def test_reuse_with_mixed_compilers(mutable_config, mock_packages): function test_when_possible_above_all (line 4425) | def test_when_possible_above_all(mutable_config, mock_packages): function test_concretization_cache_roundtrip (line 4435) | def test_concretization_cache_roundtrip( function test_concretization_cache_roundtrip_result (line 4474) | def test_concretization_cache_roundtrip_result(use_concretization_cache): function test_concretization_cache_count_cleanup (line 4485) | def test_concretization_cache_count_cleanup(use_concretization_cache, mu... function test_concretization_cache_uncompressed_entry (line 4518) | def test_concretization_cache_uncompressed_entry(use_concretization_cach... function test_concretization_cache_asp_canonicalization (line 4551) | def test_concretization_cache_asp_canonicalization(asp_file): function test_external_node_completion_from_config (line 4580) | def test_external_node_completion_from_config( function test_external_specs_with_dependencies (line 4671) | def test_external_specs_with_dependencies( function test_target_requirements (line 4696) | def test_target_requirements(default_target, expected, mutable_config, m... function test_external_inline_equivalent_to_yaml (line 4804) | def test_external_inline_equivalent_to_yaml(spec_str, inline, yaml, muta... function test_reusing_gcc_same_version_different_libcs (line 4818) | def test_reusing_gcc_same_version_different_libcs(monkeypatch, mutable_c... function test_concrete_specs_skip_prechecks (line 4861) | def test_concrete_specs_skip_prechecks(mock_packages): function test_activating_variant_for_conditional_language_dependency (line 4879) | def test_activating_variant_for_conditional_language_dependency(default_... function test_when_condition_with_direct_dependency_on_virtual_provider (line 4892) | def test_when_condition_with_direct_dependency_on_virtual_provider(defau... function test_conflict_with_direct_dependency_on_virtual_provider (line 4901) | def test_conflict_with_direct_dependency_on_virtual_provider(default_moc... function test_imposed_spec_dependency_duplication (line 4913) | def test_imposed_spec_dependency_duplication(mock_packages: spack.repo.R... function test_penalties_for_variant_defined_by_function (line 4947) | def test_penalties_for_variant_defined_by_function( function test_default_values_used_if_subset_required_by_dependent (line 4957) | def test_default_values_used_if_subset_required_by_dependent(mock_packag... function test_virtual_gets_multiple_dupes (line 4966) | def test_virtual_gets_multiple_dupes(mock_packages, config): function test_compiler_selection_when_external_has_variant_penalty (line 4988) | def test_compiler_selection_when_external_has_variant_penalty(mutable_co... function test_mpi_selection_when_external_has_variant_penalty (line 5024) | def test_mpi_selection_when_external_has_variant_penalty(mutable_config,... function test_preferring_different_compilers_for_different_languages (line 5047) | def test_preferring_different_compilers_for_different_languages(mutable_... FILE: lib/spack/spack/test/concretization/errors.py function test_error_messages (line 61) | def test_error_messages(error_messages, config_set, spec, mock_packages,... function test_deprecated_version_error (line 75) | def test_deprecated_version_error(spec, mock_packages, mutable_config): function test_nonexistent_version_error (line 86) | def test_nonexistent_version_error(spec, mock_packages, mutable_config): function test_internal_error_handling_formatting (line 91) | def test_internal_error_handling_formatting(tmp_path: pathlib.Path): function assert_actionable_error (line 121) | def assert_actionable_error(exc_info, *required_part: str) -> None: function test_input_spec_driven_errors (line 179) | def test_input_spec_driven_errors( function test_config_driven_errors (line 230) | def test_config_driven_errors( function test_package_py_driven_errors (line 260) | def test_package_py_driven_errors( FILE: lib/spack/spack/test/concretization/flag_mixing.py function test_repo (line 48) | def test_repo(mutable_config, monkeypatch, mock_stage): function update_concretize_scope (line 54) | def update_concretize_scope(conf_str, section): function test_mix_spec_and_requirements (line 59) | def test_mix_spec_and_requirements(concretize_scope, test_repo): function test_mix_spec_and_dependent (line 71) | def test_mix_spec_and_dependent(concretize_scope, test_repo): function _compiler_cfg_one_entry_with_cflags (line 76) | def _compiler_cfg_one_entry_with_cflags(cflags): function test_mix_spec_and_compiler_cfg (line 92) | def test_mix_spec_and_compiler_cfg(concretize_scope, test_repo): function test_pkg_flags_from_compiler_and_none (line 100) | def test_pkg_flags_from_compiler_and_none(concretize_scope, mock_packages): function test_flag_order_and_grouping (line 139) | def test_flag_order_and_grouping( function test_two_dependents_flag_mixing (line 182) | def test_two_dependents_flag_mixing(concretize_scope, test_repo): function test_propagate_and_compiler_cfg (line 192) | def test_propagate_and_compiler_cfg(concretize_scope, test_repo): function test_propagate_and_pkg_dep (line 200) | def test_propagate_and_pkg_dep(concretize_scope, test_repo): function test_propagate_and_require (line 205) | def test_propagate_and_require(concretize_scope, test_repo): function test_dev_mix_flags (line 233) | def test_dev_mix_flags(tmp_path: pathlib.Path, concretize_scope, mutable... function test_diamond_dep_flag_mixing (line 261) | def test_diamond_dep_flag_mixing(concretize_scope, test_repo): function test_flag_injection_different_compilers (line 275) | def test_flag_injection_different_compilers(mock_packages, mutable_config): function test_flags_and_duplicate_nodes (line 298) | def test_flags_and_duplicate_nodes(spec_str, expected, not_expected, def... FILE: lib/spack/spack/test/concretization/preferences.py function configure_permissions (line 22) | def configure_permissions(): function concretize (line 48) | def concretize(abstract_spec): function update_packages (line 52) | def update_packages(pkgname, section, value): function assert_variant_values (line 58) | def assert_variant_values(spec, **variants): class TestConcretizePreferences (line 65) | class TestConcretizePreferences: method test_preferred_variants (line 95) | def test_preferred_variants(self, package_name, variant_value, expecte... method test_preferred_commit_variant (line 102) | def test_preferred_commit_variant(self, config_type): method test_preferred_variants_from_wildcard (line 110) | def test_preferred_variants_from_wildcard(self): method test_preferred_target (line 117) | def test_preferred_target(self, mutable_mock_repo): method test_preferred_versions (line 136) | def test_preferred_versions(self): method test_preferred_versions_mixed_version_types (line 146) | def test_preferred_versions_mixed_version_types(self): method test_preferred_providers (line 151) | def test_preferred_providers(self): method test_config_set_pkg_property_url (line 173) | def test_config_set_pkg_property_url(self, update, expected, mock_pack... method test_config_set_pkg_property_new (line 180) | def test_config_set_pkg_property_new(self, mock_packages_repo): method test_preferred (line 214) | def test_preferred(self): method test_preferred_undefined_raises (line 225) | def test_preferred_undefined_raises(self): method test_preferred_truncated (line 232) | def test_preferred_truncated(self): method test_develop (line 241) | def test_develop(self): method test_external_mpi (line 258) | def test_external_mpi(self): method test_external_module (line 282) | def test_external_module(self, monkeypatch): method test_buildable_false (line 316) | def test_buildable_false(self): method test_buildable_false_virtual (line 330) | def test_buildable_false_virtual(self): method test_buildable_false_all (line 344) | def test_buildable_false_all(self): method test_buildable_false_all_true_package (line 358) | def test_buildable_false_all_true_package(self): method test_buildable_false_all_true_virtual (line 374) | def test_buildable_false_all_true_virtual(self): method test_buildable_false_virtual_true_pacakge (line 390) | def test_buildable_false_virtual_true_pacakge(self): method test_config_permissions_from_all (line 407) | def test_config_permissions_from_all(self, configure_permissions): method test_config_permissions_from_package (line 423) | def test_config_permissions_from_package(self, configure_permissions): method test_config_permissions_differ_read_write (line 435) | def test_config_permissions_differ_read_write(self, configure_permissi... method test_config_perms_fail_write_gt_read (line 448) | def test_config_perms_fail_write_gt_read(self, configure_permissions): method test_variant_not_flipped_to_pull_externals (line 455) | def test_variant_not_flipped_to_pull_externals(self): method test_dependencies_cant_make_version_parent_score_better (line 465) | def test_dependencies_cant_make_version_parent_score_better(self): method test_multivalued_variants_are_lower_priority_than_providers (line 477) | def test_multivalued_variants_are_lower_priority_than_providers(self): method test_sticky_variant_accounts_for_packages_yaml (line 493) | def test_sticky_variant_accounts_for_packages_yaml(self): method test_default_preference_variant_different_type_does_not_error (line 499) | def test_default_preference_variant_different_type_does_not_error(self): method test_version_preference_cannot_generate_buildable_versions (line 507) | def test_version_preference_cannot_generate_buildable_versions(self): FILE: lib/spack/spack/test/concretization/requirements.py function update_packages_config (line 29) | def update_packages_config(conf_str): function test_repo (line 35) | def test_repo(mutable_config, monkeypatch, mock_stage): function test_one_package_multiple_reqs (line 41) | def test_one_package_multiple_reqs(concretize_scope, test_repo): function test_requirement_isnt_optional (line 54) | def test_requirement_isnt_optional(concretize_scope, test_repo): function test_require_undefined_version (line 68) | def test_require_undefined_version(concretize_scope, test_repo): function test_require_truncated (line 85) | def test_require_truncated(concretize_scope, test_repo): function test_git_user_supplied_reference_satisfaction (line 101) | def test_git_user_supplied_reference_satisfaction( function test_requirement_adds_new_version (line 149) | def test_requirement_adds_new_version( function test_requirement_adds_version_satisfies (line 172) | def test_requirement_adds_version_satisfies( function test_requirement_adds_git_hash_version (line 202) | def test_requirement_adds_git_hash_version( function test_requirement_adds_multiple_new_versions (line 227) | def test_requirement_adds_multiple_new_versions( function test_preference_adds_new_version (line 249) | def test_preference_adds_new_version( function test_external_adds_new_version_that_is_preferred (line 276) | def test_external_adds_new_version_that_is_preferred(concretize_scope, t... function test_requirement_is_successfully_applied (line 296) | def test_requirement_is_successfully_applied(concretize_scope, test_repo): function test_require_hash (line 315) | def test_require_hash(mock_fetch, install_mockery, concretize_scope, tes... function test_multiple_packages_requirements_are_respected (line 336) | def test_multiple_packages_requirements_are_respected(concretize_scope, ... function test_oneof (line 353) | def test_oneof(concretize_scope, test_repo): function test_one_package_multiple_oneof_groups (line 370) | def test_one_package_multiple_oneof_groups(concretize_scope, test_repo): function test_require_cflags (line 391) | def test_require_cflags(concretize_scope, mock_packages): function test_requirements_for_package_that_is_not_needed (line 412) | def test_requirements_for_package_that_is_not_needed(concretize_scope, t... function test_oneof_ordering (line 435) | def test_oneof_ordering(concretize_scope, test_repo): function test_reuse_oneof (line 455) | def test_reuse_oneof(concretize_scope, test_repo, tmp_path: pathlib.Path... function test_requirements_and_deprecated_versions (line 479) | def test_requirements_and_deprecated_versions( function test_default_requirements_with_all (line 509) | def test_default_requirements_with_all(spec_str, requirement_str, concre... function test_default_and_package_specific_requirements (line 532) | def test_default_and_package_specific_requirements( function test_requirements_on_virtual (line 553) | def test_requirements_on_virtual(mpi_requirement, concretize_scope, mock... function test_requirements_on_virtual_and_on_package (line 570) | def test_requirements_on_virtual_and_on_package( function test_incompatible_virtual_requirements_raise (line 588) | def test_incompatible_virtual_requirements_raise(concretize_scope, mock_... function test_non_existing_variants_under_all (line 602) | def test_non_existing_variants_under_all(concretize_scope, mock_packages): function test_conditional_requirements_from_packages_yaml (line 679) | def test_conditional_requirements_from_packages_yaml( function test_requirements_fail_with_custom_message (line 754) | def test_requirements_fail_with_custom_message( function test_skip_requirement_when_default_requirement_condition_cannot_be_met (line 765) | def test_skip_requirement_when_default_requirement_condition_cannot_be_met( function test_requires_directive (line 789) | def test_requires_directive(mock_packages, config): function test_default_requirements_semantic (line 839) | def test_default_requirements_semantic(packages_yaml, concretize_scope, ... function test_default_requirements_semantic_with_mv_variants (line 923) | def test_default_requirements_semantic_with_mv_variants( function test_requiring_package_on_multiple_virtuals (line 940) | def test_requiring_package_on_multiple_virtuals(concretize_scope, mock_p... function test_strong_preferences_packages_yaml (line 1047) | def test_strong_preferences_packages_yaml( function test_conflict_packages_yaml (line 1107) | def test_conflict_packages_yaml(packages_yaml, spec_str, concretize_scop... function test_forward_multi_valued_variant_using_requires (line 1139) | def test_forward_multi_valued_variant_using_requires( function test_strong_preferences_higher_priority_than_reuse (line 1157) | def test_strong_preferences_higher_priority_than_reuse(concretize_scope,... function test_anonymous_spec_cannot_be_used_in_virtual_requirements (line 1232) | def test_anonymous_spec_cannot_be_used_in_virtual_requirements( function test_virtual_requirement_respects_any_of (line 1243) | def test_virtual_requirement_respects_any_of(concretize_scope, mock_pack... function test_requirements_on_compilers_and_reuse (line 1303) | def test_requirements_on_compilers_and_reuse( function test_requirements_conditional_deps (line 1352) | def test_requirements_conditional_deps( function test_preferring_compilers_can_be_overridden (line 1372) | def test_preferring_compilers_can_be_overridden(mutable_config, mock_pac... function test_multiple_externals_and_requirement (line 1384) | def test_multiple_externals_and_requirement( function test_overriding_preference_with_provider_details (line 1428) | def test_overriding_preference_with_provider_details( function test_language_preferences_and_reuse (line 1479) | def test_language_preferences_and_reuse( function test_external_spec_completion_with_targets_required (line 1563) | def test_external_spec_completion_with_targets_required( function test_penalties_for_language_preferences (line 1589) | def test_penalties_for_language_preferences(concretize_scope, mock_packa... FILE: lib/spack/spack/test/concretization/splicing.py function _make_specs_non_buildable (line 17) | def _make_specs_non_buildable(specs: List[str]): function install_specs (line 25) | def install_specs(mutable_database, mock_packages, mutable_config, insta... function _enable_splicing (line 37) | def _enable_splicing(): function test_spec_reuse (line 42) | def test_spec_reuse(spec_str, install_specs, mutable_config): function test_splice_installed_hash (line 51) | def test_splice_installed_hash(install_specs, mutable_config): function test_splice_build_splice_node (line 77) | def test_splice_build_splice_node(install_specs, mutable_config): function test_double_splice (line 99) | def test_double_splice(install_specs, mutable_config): function test_virtual_multi_splices_in (line 151) | def test_virtual_multi_splices_in(original_spec, goal_spec, install_spec... function test_manyvariant_matching_variant_splice (line 191) | def test_manyvariant_matching_variant_splice( function test_external_splice_same_name (line 212) | def test_external_splice_same_name(install_specs, mutable_config): function test_spliced_build_deps_only_in_build_spec (line 246) | def test_spliced_build_deps_only_in_build_spec(install_specs): function test_spliced_transitive_dependency (line 263) | def test_spliced_transitive_dependency(install_specs, mutable_config): FILE: lib/spack/spack/test/config.py function env_yaml (line 64) | def env_yaml(tmp_path: pathlib.Path): function check_compiler_config (line 84) | def check_compiler_config(comps, *compiler_names): function compiler_specs (line 201) | def compiler_specs(): function test_write_key_in_memory (line 209) | def test_write_key_in_memory(mock_low_high_config, compiler_specs): function test_write_key_to_disk (line 219) | def test_write_key_to_disk(mock_low_high_config, compiler_specs): function test_write_to_same_priority_file (line 232) | def test_write_to_same_priority_file(mock_low_high_config, compiler_specs): function test_add_config_path (line 254) | def test_add_config_path(mutable_config): function test_add_config_path_with_enumerated_type (line 297) | def test_add_config_path_with_enumerated_type(mutable_config): function test_add_config_filename (line 308) | def test_add_config_filename(mock_low_high_config, tmp_path: pathlib.Path): function test_write_list_in_memory (line 322) | def test_write_list_in_memory(mock_low_high_config): class MockEnv (line 330) | class MockEnv: method __init__ (line 331) | def __init__(self, path): function test_substitute_config_variables (line 335) | def test_substitute_config_variables(mock_low_high_config, monkeypatch, ... function test_merge_with_defaults (line 427) | def test_merge_with_defaults(mock_low_high_config, write_config_file): function test_substitute_user (line 443) | def test_substitute_user(mock_low_high_config, tmp_path: pathlib.Path): function test_substitute_user_cache (line 451) | def test_substitute_user_cache(mock_low_high_config): function test_substitute_tempdir (line 458) | def test_substitute_tempdir(mock_low_high_config): function test_substitute_date (line 466) | def test_substitute_date(mock_low_high_config): function test_substitute_spack_version (line 473) | def test_substitute_spack_version(): function test_parse_install_tree (line 501) | def test_parse_install_tree(config_settings_fn, expected_fn, mutable_con... function test_change_or_add (line 522) | def test_change_or_add(mutable_config, mock_packages): function test_parse_install_tree_padded (line 575) | def test_parse_install_tree_padded(config_settings, expected, mutable_co... function test_read_config (line 593) | def test_read_config(mock_low_high_config, write_config_file): function test_read_config_override_all (line 598) | def test_read_config_override_all(mock_low_high_config, write_config_file): function test_read_config_override_key (line 604) | def test_read_config_override_key(mock_low_high_config, write_config_file): function test_read_config_merge_list (line 613) | def test_read_config_merge_list(mock_low_high_config, write_config_file): function test_read_config_override_list (line 622) | def test_read_config_override_list(mock_low_high_config, write_config_fi... function test_internal_config_update (line 631) | def test_internal_config_update(mock_low_high_config, write_config_file): function test_internal_config_filename (line 652) | def test_internal_config_filename(mock_low_high_config, write_config_file): function test_mark_internal (line 660) | def test_mark_internal(): function test_internal_config_from_data (line 700) | def test_internal_config_from_data(): function test_keys_are_ordered (line 734) | def test_keys_are_ordered(configuration_dir): function test_config_format_error (line 757) | def test_config_format_error(mutable_config): function get_config_error (line 763) | def get_config_error(filename, schema, yaml_string): function test_config_parse_dict_in_list (line 780) | def test_config_parse_dict_in_list(tmp_path: pathlib.Path): function test_config_parse_str_not_bool (line 798) | def test_config_parse_str_not_bool(tmp_path: pathlib.Path): function test_config_parse_list_in_dict (line 813) | def test_config_parse_list_in_dict(tmp_path: pathlib.Path): function test_bad_config_section (line 829) | def test_bad_config_section(mock_low_high_config): function test_nested_override (line 838) | def test_nested_override(): function test_alternate_override (line 862) | def test_alternate_override(monkeypatch): function test_immutable_scope (line 884) | def test_immutable_scope(tmp_path: pathlib.Path): function test_single_file_scope (line 904) | def test_single_file_scope(config, env_yaml): function test_single_file_scope_section_override (line 924) | def test_single_file_scope_section_override(tmp_path: pathlib.Path, conf... function test_write_empty_single_file_scope (line 963) | def test_write_empty_single_file_scope(tmp_path: pathlib.Path): function check_schema (line 973) | def check_schema(name, file_contents): function test_good_env_yaml (line 980) | def test_good_env_yaml(): function test_bad_env_yaml (line 1006) | def test_bad_env_yaml(): function test_bad_config_yaml (line 1019) | def test_bad_config_yaml(): function test_bad_include_yaml (line 1033) | def test_bad_include_yaml(): function test_bad_mirrors_yaml (line 1043) | def test_bad_mirrors_yaml(): function test_bad_repos_yaml (line 1054) | def test_bad_repos_yaml(): function test_bad_compilers_yaml (line 1065) | def test_bad_compilers_yaml(): function test_internal_config_section_override (line 1096) | def test_internal_config_section_override(mock_low_high_config, write_co... function test_internal_config_dict_override (line 1105) | def test_internal_config_dict_override(mock_low_high_config, write_confi... function test_internal_config_list_override (line 1112) | def test_internal_config_list_override(mock_low_high_config, write_confi... function test_set_section_override (line 1119) | def test_set_section_override(mock_low_high_config, write_config_file): function test_set_list_override (line 1129) | def test_set_list_override(mock_low_high_config, write_config_file): function test_set_dict_override (line 1139) | def test_set_dict_override(mock_low_high_config, write_config_file): function test_set_bad_path (line 1147) | def test_set_bad_path(config): function test_bad_path_double_override (line 1153) | def test_bad_path_double_override(config): function test_license_dir_config (line 1159) | def test_license_dir_config(mutable_config, mock_packages, tmp_path): function test_single_file_scope_cache_clearing (line 1174) | def test_single_file_scope_cache_clearing(env_yaml): function test_internal_config_scope_cache_clearing (line 1191) | def test_internal_config_scope_cache_clearing(): function test_system_config_path_is_overridable (line 1207) | def test_system_config_path_is_overridable(working_env): function test_system_config_path_is_default_when_env_var_is_empty (line 1213) | def test_system_config_path_is_default_when_env_var_is_empty(working_env): function test_user_config_path_is_overridable (line 1218) | def test_user_config_path_is_overridable(working_env): function test_user_config_path_is_default_when_env_var_is_empty (line 1224) | def test_user_config_path_is_default_when_env_var_is_empty(working_env): function test_default_install_tree (line 1229) | def test_default_install_tree(monkeypatch, default_config): function mock_include_scope (line 1237) | def mock_include_scope(tmp_path): function include_config_factory (line 1266) | def include_config_factory(mock_include_scope): function test_modify_scope_precedence (line 1282) | def test_modify_scope_precedence(working_env, include_config_factory, tm... function test_local_config_can_be_disabled (line 1362) | def test_local_config_can_be_disabled(working_env, include_config_factory): function test_override_included_config (line 1386) | def test_override_included_config(working_env, tmp_path, include_config_... function test_user_cache_path_is_overridable (line 1499) | def test_user_cache_path_is_overridable(working_env): function test_user_cache_path_is_default_when_env_var_is_empty (line 1505) | def test_user_cache_path_is_default_when_env_var_is_empty(working_env): function test_config_file_dir_failure (line 1510) | def test_config_file_dir_failure(tmp_path: pathlib.Path, mutable_empty_c... function test_config_file_read_perms_failure (line 1517) | def test_config_file_read_perms_failure(tmp_path: pathlib.Path, mutable_... function test_config_file_read_invalid_yaml (line 1528) | def test_config_file_read_invalid_yaml(tmp_path: pathlib.Path, mutable_e... function test_config_path_dsl (line 1554) | def test_config_path_dsl(path, it_should_work, expected_parsed): function test_env_activation_preserves_command_line_scope (line 1563) | def test_env_activation_preserves_command_line_scope(mutable_mock_env_pa... function test_env_activation_preserves_config_scopes (line 1591) | def test_env_activation_preserves_config_scopes(mutable_mock_env_path): function test_config_include_similar_name (line 1638) | def test_config_include_similar_name(tmp_path: pathlib.Path): function test_deepcopy_as_builtin (line 1661) | def test_deepcopy_as_builtin(env_yaml): function test_included_optional_include_scopes (line 1677) | def test_included_optional_include_scopes(): function test_included_path_string (line 1682) | def test_included_path_string( function test_included_path_string_no_parent_path (line 1712) | def test_included_path_string_no_parent_path( function test_included_path_substitution (line 1730) | def test_included_path_substitution(): function test_included_path_conditional_bad_when (line 1744) | def test_included_path_conditional_bad_when( function test_included_path_conditional_success (line 1763) | def test_included_path_conditional_success(tmp_path: pathlib.Path, mock_... function test_included_path_git_missing_args (line 1779) | def test_included_path_git_missing_args(): function test_included_path_git_unsat (line 1792) | def test_included_path_git_unsat( function test_included_path_git_substitutions (line 1816) | def test_included_path_git_substitutions(): function test_included_path_git (line 1844) | def test_included_path_git( function test_included_path_local_no_dest (line 1924) | def test_included_path_local_no_dest(path): function test_included_path_url_temp_dest (line 1932) | def test_included_path_url_temp_dest(mock_low_high_config): function test_included_path_git_temp_dest (line 1953) | def test_included_path_git_temp_dest(mock_low_high_config): function test_included_path_git_errs (line 1974) | def test_included_path_git_errs(tmp_path: pathlib.Path, mock_low_high_co... function test_missing_include_scope_list (line 2019) | def test_missing_include_scope_list(mock_missing_dir_include_scopes): function test_missing_include_scope_writable_list (line 2027) | def test_missing_include_scope_writable_list(mock_missing_dir_include_sc... function test_missing_include_scope_not_readable_list (line 2032) | def test_missing_include_scope_not_readable_list(mock_missing_dir_includ... function test_missing_include_scope_default_created_as_dir_scope (line 2039) | def test_missing_include_scope_default_created_as_dir_scope(mock_missing... function test_missing_include_scope_yaml_ext_is_file_scope (line 2046) | def test_missing_include_scope_yaml_ext_is_file_scope(mock_missing_file_... function test_missing_include_scope_writeable_not_readable (line 2053) | def test_missing_include_scope_writeable_not_readable(mock_missing_dir_i... function test_missing_include_scope_empty_read (line 2064) | def test_missing_include_scope_empty_read(mock_missing_dir_include_scopes): function test_missing_include_scope_file_empty_read (line 2075) | def test_missing_include_scope_file_empty_read(mock_missing_file_include... function test_missing_include_scope_write_directory (line 2086) | def test_missing_include_scope_write_directory(mock_missing_dir_include_... function test_missing_include_scope_write_file (line 2096) | def test_missing_include_scope_write_file(mock_missing_file_include_scop... function test_config_scope_empty_write (line 2106) | def test_config_scope_empty_write(tmp_path: pathlib.Path): function test_include_bad_parent_scope (line 2113) | def test_include_bad_parent_scope(tmp_path: pathlib.Path): function test_config_invalid_scope (line 2131) | def test_config_invalid_scope(mock_low_high_config): FILE: lib/spack/spack/test/config_values.py function test_set_install_hash_length (line 15) | def test_set_install_hash_length(hash_length, mutable_config, tmp_path: ... function test_set_install_hash_length_upper_case (line 25) | def test_set_install_hash_length_upper_case(mutable_config, tmp_path: pa... FILE: lib/spack/spack/test/conftest.py function _recursive_chmod (line 88) | def _recursive_chmod(path: Path, mode: int): function clear_sys_modules (line 99) | def clear_sys_modules(): function check_config_fixture (line 108) | def check_config_fixture(request): function ensure_configuration_fixture_run_before (line 113) | def ensure_configuration_fixture_run_before(request): function git (line 124) | def git(): function last_two_git_commits (line 136) | def last_two_git_commits(git): function write_file (line 145) | def write_file(filename, contents): function override_git_repos_cache_path (line 154) | def override_git_repos_cache_path(tmp_path: Path): function mock_git_version_info (line 164) | def mock_git_version_info(git, tmp_path: Path, override_git_repos_cache_... function mock_git_package_changes (line 270) | def mock_git_package_changes(git, tmp_path: Path, override_git_repos_cac... function clear_recorded_monkeypatches (line 354) | def clear_recorded_monkeypatches(): function record_monkeypatch_setattr (line 360) | def record_monkeypatch_setattr(): function _can_access (line 376) | def _can_access(path, perms): function no_path_access (line 381) | def no_path_access(monkeypatch): function clean_user_environment (line 389) | def clean_user_environment(): function clean_test_environment (line 401) | def clean_test_environment(): function _host (line 406) | def _host(): function archspec_host_is_spack_test_host (line 413) | def archspec_host_is_spack_test_host(monkeypatch): function pytest_addoption (line 422) | def pytest_addoption(parser): function pytest_collection_modifyitems (line 432) | def pytest_collection_modifyitems(config, items): function use_concretization_cache (line 445) | def use_concretization_cache(mock_packages, mutable_config, tmp_path: Pa... function no_chdir (line 461) | def no_chdir(): function onerror (line 479) | def onerror(func, path, error_info): function mock_stage (line 488) | def mock_stage(tmp_path_factory: pytest.TempPathFactory, monkeypatch, re... function mock_stage_for_database (line 517) | def mock_stage_for_database(tmp_path_factory: pytest.TempPathFactory, mo... function ignore_stage_files (line 536) | def ignore_stage_files(): function remove_whatever_it_is (line 545) | def remove_whatever_it_is(path): function working_env (line 556) | def working_env(): function check_for_leftover_stage_files (line 567) | def check_for_leftover_stage_files(request, mock_stage, ignore_stage_fil... class MockCache (line 604) | class MockCache: method store (line 605) | def store(self, copy_cmd, relative_dest): method fetcher (line 608) | def fetcher(self, target_path, digest, **kwargs): class MockCacheFetcher (line 612) | class MockCacheFetcher: method fetch (line 613) | def fetch(self): method __str__ (line 616) | def __str__(self): function mock_fetch_cache (line 621) | def mock_fetch_cache(monkeypatch): function mock_binary_index (line 629) | def mock_binary_index(monkeypatch, tmp_path_factory: pytest.TempPathFact... function _skip_if_missing_executables (line 641) | def _skip_if_missing_executables(request, monkeypatch): function test_platform (line 658) | def test_platform(): function _use_test_platform (line 663) | def _use_test_platform(test_platform): function mock_packages_repo (line 698) | def mock_packages_repo(): function _pkg_install_fn (line 702) | def _pkg_install_fn(pkg, spec, prefix): function mock_pkg_install (line 708) | def mock_pkg_install(monkeypatch): function fake_db_install (line 713) | def fake_db_install(tmp_path): function mock_packages (line 735) | def mock_packages(mock_packages_repo, mock_pkg_install, request): function mutable_mock_repo (line 743) | def mutable_mock_repo(mock_packages_repo, request): class RepoBuilder (line 751) | class RepoBuilder: method __init__ (line 756) | def __init__(self, root_directory: str) -> None: method add_package (line 766) | def add_package( method remove (line 792) | def remove(self, name: str) -> None: method _add_build_system (line 796) | def _add_build_system(self) -> None: method _recipe_filename (line 808) | def _recipe_filename(self, name: str) -> str: function repo_builder (line 818) | def repo_builder(tmp_path: Path): function mock_custom_repository (line 823) | def mock_custom_repository(tmp_path: Path, mutable_mock_repo): function linux_os (line 831) | def linux_os(): function ensure_debug (line 845) | def ensure_debug(monkeypatch): function default_config (line 855) | def default_config(): function mock_uarch_json (line 868) | def mock_uarch_json(tmp_path_factory: pytest.TempPathFactory): function mock_uarch_configuration (line 881) | def mock_uarch_configuration(mock_uarch_json): function mock_targets (line 895) | def mock_targets(mock_uarch_configuration, monkeypatch): function configuration_dir (line 903) | def configuration_dir(tmp_path_factory: pytest.TempPathFactory, linux_os): function _create_mock_configuration_scopes (line 974) | def _create_mock_configuration_scopes(configuration_dir): function mock_configuration_scopes (line 990) | def mock_configuration_scopes(configuration_dir): function config (line 996) | def config(mock_configuration_scopes): function mutable_config (line 1003) | def mutable_config(tmp_path_factory: pytest.TempPathFactory, configurati... function mutable_empty_config (line 1014) | def mutable_empty_config(tmp_path_factory: pytest.TempPathFactory, confi... function monkeypatch_session (line 1031) | def monkeypatch_session(): function mock_wsdk_externals (line 1037) | def mock_wsdk_externals(monkeypatch): function concretize_scope (line 1043) | def concretize_scope(mutable_config, tmp_path: Path): function no_packages_yaml (line 1056) | def no_packages_yaml(mutable_config): function mock_low_high_config (line 1069) | def mock_low_high_config(tmp_path: Path): function create_config_scope (line 1079) | def create_config_scope(path: Path, name: str) -> spack.config.Directory... function mock_missing_dir_include_scopes (line 1103) | def mock_missing_dir_include_scopes(tmp_path: Path): function mock_missing_file_include_scopes (line 1113) | def mock_missing_file_include_scopes(tmp_path: Path): function _populate (line 1122) | def _populate(mock_db): function _store_dir_and_cache (line 1156) | def _store_dir_and_cache(tmp_path_factory: pytest.TempPathFactory): function mock_store (line 1166) | def mock_store( function database (line 1210) | def database(mock_store, mock_packages, config): function database_mutable_config (line 1219) | def database_mutable_config(mock_store, mock_packages, mutable_config, m... function mutable_database (line 1227) | def mutable_database(database_mutable_config, _store_dir_and_cache: Tupl... function dirs_with_libfiles (line 1245) | def dirs_with_libfiles(tmp_path_factory: pytest.TempPathFactory): function _return_none (line 1270) | def _return_none(*args): function disable_compiler_output_cache (line 1275) | def disable_compiler_output_cache(monkeypatch): function install_mockery (line 1282) | def install_mockery(temporary_store: spack.store.Store, mutable_config, ... function temporary_mirror (line 1293) | def temporary_mirror(mutable_config, tmp_path_factory): function temporary_store (line 1300) | def temporary_store(tmp_path: Path, request): function mock_fetch (line 1311) | def mock_fetch(mock_archive, monkeypatch): class MockResourceFetcherGenerator (line 1318) | class MockResourceFetcherGenerator: method __init__ (line 1319) | def __init__(self, url): method _generate_fetchers (line 1322) | def _generate_fetchers(self, *args, **kwargs): function mock_resource_fetch (line 1327) | def mock_resource_fetch(mock_archive, monkeypatch): class MockLayout (line 1333) | class MockLayout: method __init__ (line 1334) | def __init__(self, root): method path_for_spec (line 1337) | def path_for_spec(self, spec): method ensure_installed (line 1340) | def ensure_installed(self, spec): function gen_mock_layout (line 1345) | def gen_mock_layout(tmp_path: Path): class MockConfig (line 1357) | class MockConfig: method __init__ (line 1358) | def __init__(self, configuration, writer_key): method configuration (line 1362) | def configuration(self, module_set_name): method writer_configuration (line 1365) | def writer_configuration(self, module_set_name): class ConfigUpdate (line 1369) | class ConfigUpdate: method __init__ (line 1370) | def __init__(self, root_for_conf, writer_mod, writer_key, monkeypatch): method __call__ (line 1376) | def __call__(self, filename): function module_configuration (line 1391) | def module_configuration(monkeypatch, request, mutable_config): function mock_gnupghome (line 1410) | def mock_gnupghome(monkeypatch): function mock_archive (line 1438) | def mock_archive(request, tmp_path_factory: pytest.TempPathFactory): function _parse_cvs_date (line 1488) | def _parse_cvs_date(line): function mock_cvs_repository (line 1502) | def mock_cvs_repository(tmp_path_factory: pytest.TempPathFactory): function mock_git_repository (line 1638) | def mock_git_repository(git, tmp_path_factory: pytest.TempPathFactory): function mock_git_test_package (line 1812) | def mock_git_test_package(mock_git_repository, mutable_mock_repo, monkey... function mock_hg_repository (line 1821) | def mock_hg_repository(tmp_path_factory: pytest.TempPathFactory): function mock_svn_repository (line 1863) | def mock_svn_repository(tmp_path_factory: pytest.TempPathFactory): function mutable_mock_env_path (line 1919) | def mutable_mock_env_path(tmp_path: Path, mutable_config, monkeypatch): function installation_dir_with_headers (line 1928) | def installation_dir_with_headers(tmp_path_factory: pytest.TempPathFacto... function conflict_spec (line 1965) | def conflict_spec(request): function mock_test_repo (line 1973) | def mock_test_repo(tmp_path_factory: pytest.TempPathFactory): function mock_clone_repo (line 1994) | def mock_clone_repo(tmp_path_factory: pytest.TempPathFactory): class MockBundle (line 2026) | class MockBundle: function mock_directive_bundle (line 2032) | def mock_directive_bundle(): function clear_directive_functions (line 2038) | def clear_directive_functions(): function mock_executable (line 2049) | def mock_executable(tmp_path: Path): function mock_test_stage (line 2069) | def mock_test_stage(mutable_config, tmp_path: Path): function inode_cache (line 2080) | def inode_cache(): function brand_new_binary_cache (line 2093) | def brand_new_binary_cache(): function _trivial_package_hash (line 2100) | def _trivial_package_hash(spec: spack.spec.Spec) -> str: function mock_package_hash_for_tests (line 2107) | def mock_package_hash_for_tests(request, monkeypatch): function noncyclical_dir_structure (line 2127) | def noncyclical_dir_structure(tmp_path: Path): function mock_config_data (line 2166) | def mock_config_data(): function mock_curl_configs (line 2172) | def mock_curl_configs(mock_config_data, monkeypatch): function mock_fetch_url_text (line 2208) | def mock_fetch_url_text(mock_config_data, monkeypatch): function mock_tty_stdout (line 2226) | def mock_tty_stdout(monkeypatch): function prefix_like (line 2234) | def prefix_like(): function prefix_tmpdir (line 2239) | def prefix_tmpdir(tmp_path: Path, prefix_like: str): function binary_with_rpaths (line 2246) | def binary_with_rpaths(prefix_tmpdir: Path): function concretized_specs_cache (line 2280) | def concretized_specs_cache(): function default_mock_concretization (line 2286) | def default_mock_concretization( function shell_as (line 2308) | def shell_as(shell): function nullify_globals (line 2326) | def nullify_globals(request, monkeypatch): function pytest_runtest_setup (line 2335) | def pytest_runtest_setup(item): function disable_parallelism (line 2348) | def disable_parallelism(monkeypatch, request): function _root_path (line 2355) | def _root_path(x, y, *, path): function mock_modules_root (line 2360) | def mock_modules_root(tmp_path: Path, monkeypatch): function compiler_factory (line 2367) | def compiler_factory(): function host_architecture_str (line 2381) | def host_architecture_str(): function _true (line 2386) | def _true(x): function _libc_from_python (line 2390) | def _libc_from_python(self): function do_not_check_runtimes_on_reuse (line 2395) | def do_not_check_runtimes_on_reuse(monkeypatch): function _c_compiler_always_exists (line 2400) | def _c_compiler_always_exists(): function mock_test_cache (line 2411) | def mock_test_cache(tmp_path_factory: pytest.TempPathFactory): class MockHTTPResponse (line 2416) | class MockHTTPResponse(io.IOBase): method __init__ (line 2419) | def __init__(self, status, reason, headers=None, body=None): method with_json (line 2435) | def with_json(cls, status, reason, headers=None, body=None): method readable (line 2440) | def readable(self): method read (line 2443) | def read(self, *args, **kwargs): method getheader (line 2446) | def getheader(self, name, default=None): method getheaders (line 2449) | def getheaders(self): method fileno (line 2452) | def fileno(self): method getcode (line 2455) | def getcode(self): method info (line 2458) | def info(self): function mock_runtimes (line 2463) | def mock_runtimes(config, mock_packages): function write_config_file (line 2468) | def write_config_file(tmp_path: Path): function _include_cache_root (line 2482) | def _include_cache_root(): function wrapper_dir (line 2487) | def wrapper_dir(install_mockery): function _noop (line 2495) | def _noop(*args, **kwargs): function no_compilers_init (line 2500) | def no_compilers_init(monkeypatch): function skip_provenance_check (line 2506) | def skip_provenance_check(monkeypatch, request): function config_two_gccs (line 2519) | def config_two_gccs(mutable_config): function mock_util_executable (line 2542) | def mock_util_executable(monkeypatch): function reset_extension_paths (line 2567) | def reset_extension_paths(): function installer_variant (line 2577) | def installer_variant(request): FILE: lib/spack/spack/test/container/cli.py function test_command (line 13) | def test_command(default_config, container_config_dir): function test_listing_possible_os (line 19) | def test_listing_possible_os(): function test_bootstrap_phase (line 28) | def test_bootstrap_phase(minimal_configuration, config_dumper): FILE: lib/spack/spack/test/container/conftest.py function minimal_configuration (line 12) | def minimal_configuration(): function config_dumper (line 25) | def config_dumper(tmp_path: pathlib.Path): function container_config_dir (line 37) | def container_config_dir(minimal_configuration, config_dumper): FILE: lib/spack/spack/test/container/docker.py function test_manifest (line 11) | def test_manifest(minimal_configuration): function test_build_and_run_images (line 18) | def test_build_and_run_images(minimal_configuration): function test_packages (line 30) | def test_packages(minimal_configuration): function test_container_os_packages_command (line 47) | def test_container_os_packages_command(minimal_configuration): function test_ensure_render_works (line 69) | def test_ensure_render_works(minimal_configuration, default_config): function test_strip_is_set_from_config (line 75) | def test_strip_is_set_from_config(minimal_configuration): function test_custom_base_images (line 84) | def test_custom_base_images(minimal_configuration): function test_base_images_with_bootstrap (line 110) | def test_base_images_with_bootstrap(minimal_configuration, images_cfg, e... function test_error_message_invalid_os (line 121) | def test_error_message_invalid_os(minimal_configuration): function test_not_stripping_all_symbols (line 128) | def test_not_stripping_all_symbols(minimal_configuration): function test_using_single_quotes_in_dockerfiles (line 139) | def test_using_single_quotes_in_dockerfiles(minimal_configuration): FILE: lib/spack/spack/test/container/images.py function test_build_info (line 19) | def test_build_info(image, spack_version, expected): function test_package_info (line 25) | def test_package_info(image): function test_validate (line 45) | def test_validate(extra_config, expected_msg, minimal_configuration, con... FILE: lib/spack/spack/test/container/singularity.py function singularity_configuration (line 10) | def singularity_configuration(minimal_configuration): function test_ensure_render_works (line 15) | def test_ensure_render_works(default_config, singularity_configuration): function test_singularity_specific_properties (line 32) | def test_singularity_specific_properties(properties, expected, singulari... function test_not_stripping_all_symbols (line 45) | def test_not_stripping_all_symbols(singularity_configuration): FILE: lib/spack/spack/test/cray_manifest.py class JsonSpecEntry (line 39) | class JsonSpecEntry: method __init__ (line 40) | def __init__(self, name, hash, prefix, version, arch, compiler, depend... method to_dict (line 50) | def to_dict(self): method as_dependency (line 62) | def as_dependency(self, deptypes): class JsonArchEntry (line 66) | class JsonArchEntry: method __init__ (line 67) | def __init__(self, platform, os, target): method spec_json (line 72) | def spec_json(self): method compiler_json (line 75) | def compiler_json(self): class JsonCompilerEntry (line 79) | class JsonCompilerEntry: method __init__ (line 80) | def __init__(self, *, name, version, arch=None, executables=None, pref... method compiler_json (line 87) | def compiler_json(self): method spec_json (line 99) | def spec_json(self): function _common_arch (line 107) | def _common_arch(test_platform): function _common_compiler (line 113) | def _common_compiler(_common_arch): function _other_compiler (line 127) | def _other_compiler(_common_arch): function _raw_json_x (line 141) | def _raw_json_x(_common_arch): function test_manifest_compatibility (line 154) | def test_manifest_compatibility(_common_arch, _common_compiler, _raw_jso... function test_compiler_from_entry (line 186) | def test_compiler_from_entry(mock_executable): function generate_openmpi_entries (line 210) | def generate_openmpi_entries(_common_arch, _common_compiler): function test_generate_specs_from_manifest (line 244) | def test_generate_specs_from_manifest(generate_openmpi_entries): function test_translate_cray_platform_to_linux (line 253) | def test_translate_cray_platform_to_linux(monkeypatch, _common_compiler): function test_translated_compiler_name (line 285) | def test_translated_compiler_name(name_in_manifest, expected_name): function test_failed_translate_compiler_name (line 289) | def test_failed_translate_compiler_name(_common_arch): function manifest_content (line 311) | def manifest_content(generate_openmpi_entries, _common_compiler, _other_... function test_read_cray_manifest (line 324) | def test_read_cray_manifest(temporary_store, manifest_file): function test_read_cray_manifest_add_compiler_failure (line 337) | def test_read_cray_manifest_add_compiler_failure(temporary_store, manife... function test_read_cray_manifest_twice_no_duplicates (line 352) | def test_read_cray_manifest_twice_no_duplicates( function test_read_old_manifest_v1_2 (line 372) | def test_read_old_manifest_v1_2(tmp_path: pathlib.Path, temporary_store): function test_convert_validation_error (line 391) | def test_convert_validation_error( function manifest_file (line 429) | def manifest_file(tmp_path: pathlib.Path, manifest_content): function test_find_external_nonempty_default_manifest_dir (line 437) | def test_find_external_nonempty_default_manifest_dir( function test_reusable_externals_cray_manifest (line 450) | def test_reusable_externals_cray_manifest(temporary_store, manifest_file): FILE: lib/spack/spack/test/cvs_fetch.py function test_fetch (line 21) | def test_fetch(type_of_test, mock_cvs_repository, config, mutable_mock_r... function test_cvs_extra_fetch (line 73) | def test_cvs_extra_fetch(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/data/filter_file/x86_cpuid_info.c function cpuid (line 26) | static inline void function cpuid (line 35) | static inline void function _x86_cache_info (line 50) | int function init_mem_hierarchy (line 94) | static void function _amd_L2_L3_assoc (line 115) | static short int function init_amd (line 127) | static int type _intel_cache_info (line 361) | struct _intel_cache_info type _intel_cache_info (line 373) | struct _intel_cache_info function print_intel_cache_table (line 1183) | static void function intel_decode_descriptor (line 1210) | static void function cpuid2 (line 1262) | static inline void function cpuid2 (line 1272) | static inline void function init_intel_leaf4 (line 1286) | static int function init_intel_leaf2 (line 1395) | static int function init_intel (line 1484) | static int function _x86_detect_hypervisor (line 1507) | int FILE: lib/spack/spack/test/data/style/fixed.py function this_is_a_function (line 9) | def this_is_a_function(): FILE: lib/spack/spack/test/database.py function writable (line 55) | def writable(database): function upstream_and_downstream_db (line 74) | def upstream_and_downstream_db(tmp_path: pathlib.Path, gen_mock_layout): function test_query_by_install_tree (line 114) | def test_query_by_install_tree( function test_spec_installed_upstream (line 131) | def test_spec_installed_upstream( function test_installed_upstream (line 159) | def test_installed_upstream(upstream_and_downstream_db, repo_builder: Re... function test_missing_upstream_build_dep (line 194) | def test_missing_upstream_build_dep( function test_removed_upstream_dep (line 246) | def test_removed_upstream_dep( function test_add_to_upstream_after_downstream (line 278) | def test_add_to_upstream_after_downstream(upstream_and_downstream_db, re... function test_cannot_write_upstream (line 311) | def test_cannot_write_upstream(tmp_path: pathlib.Path, mock_packages, co... function test_recursive_upstream_dbs (line 325) | def test_recursive_upstream_dbs( function usr_folder_exists (line 376) | def usr_folder_exists(monkeypatch): function _print_ref_counts (line 392) | def _print_ref_counts(): function _check_merkleiness (line 427) | def _check_merkleiness(): function _check_db_sanity (line 441) | def _check_db_sanity(database): function _check_remove_and_add_package (line 459) | def _check_remove_and_add_package(database: spack.database.Database, spec): function _mock_install (line 489) | def _mock_install(spec: str): function _mock_remove (line 494) | def _mock_remove(spec): function test_default_queries (line 501) | def test_default_queries(database): function test_005_db_exists (line 541) | def test_005_db_exists(database): function test_010_all_install_sanity (line 555) | def test_010_all_install_sanity(database): function test_015_write_and_read (line 584) | def test_015_write_and_read(mutable_database): function test_016_roundtrip_spliced_spec (line 598) | def test_016_roundtrip_spliced_spec(mutable_database): function test_017_write_and_read_without_uuid (line 614) | def test_017_write_and_read_without_uuid(mutable_database, monkeypatch): function test_020_db_sanity (line 629) | def test_020_db_sanity(database): function test_025_reindex (line 634) | def test_025_reindex(mutable_database): function test_026_reindex_after_deprecate (line 640) | def test_026_reindex_after_deprecate(mutable_database): class ReadModify (line 650) | class ReadModify: method __call__ (line 655) | def __call__(self): function test_030_db_sanity_from_another_process (line 662) | def test_030_db_sanity_from_another_process(mutable_database): function test_040_ref_counts (line 673) | def test_040_ref_counts(database): function test_041_ref_counts_deprecate (line 678) | def test_041_ref_counts_deprecate(mutable_database): function test_050_basic_query (line 687) | def test_050_basic_query(database): function test_060_remove_and_add_root_package (line 723) | def test_060_remove_and_add_root_package(mutable_database): function test_070_remove_and_add_dependency_package (line 727) | def test_070_remove_and_add_dependency_package(mutable_database): function test_080_root_ref_counts (line 731) | def test_080_root_ref_counts(mutable_database): function test_090_non_root_ref_counts (line 755) | def test_090_non_root_ref_counts(mutable_database): function test_100_no_write_with_exception_on_remove (line 785) | def test_100_no_write_with_exception_on_remove(database): function test_110_no_write_with_exception_on_install (line 802) | def test_110_no_write_with_exception_on_install(database): function test_115_reindex_with_packages_not_in_repo (line 819) | def test_115_reindex_with_packages_not_in_repo(mutable_database, repo_bu... function test_external_entries_in_db (line 828) | def test_external_entries_in_db(mutable_database): function test_regression_issue_8036 (line 846) | def test_regression_issue_8036(mutable_database, usr_folder_exists): function test_old_external_entries_prefix (line 860) | def test_old_external_entries_prefix(mutable_database: spack.database.Da... function test_uninstall_by_spec (line 883) | def test_uninstall_by_spec(mutable_database): function test_query_unused_specs (line 893) | def test_query_unused_specs(mutable_database): function test_query_spec_with_conditional_dependency (line 942) | def test_query_spec_with_conditional_dependency(mutable_database): function test_query_spec_with_non_conditional_virtual_dependency (line 953) | def test_query_spec_with_non_conditional_virtual_dependency(database): function test_query_virtual_spec (line 960) | def test_query_virtual_spec(database): function test_failed_spec_path_error (line 968) | def test_failed_spec_path_error(mutable_database): function test_clear_failure_keep (line 976) | def test_clear_failure_keep(mutable_database, monkeypatch, capfd): function test_clear_failure_forced (line 992) | def test_clear_failure_forced(mutable_database, monkeypatch, capfd): function test_mark_failed (line 1011) | def test_mark_failed(mutable_database, monkeypatch, tmp_path: pathlib.Pa... function test_prefix_failed (line 1031) | def test_prefix_failed(mutable_database, monkeypatch): function test_prefix_write_lock_error (line 1052) | def test_prefix_write_lock_error(mutable_database, monkeypatch): function test_database_works_with_empty_dir (line 1069) | def test_database_works_with_empty_dir(tmp_path: pathlib.Path): function test_store_find_failures (line 1091) | def test_store_find_failures(database, query_arg, exc_type, msg_str): function test_store_find_accept_string (line 1097) | def test_store_find_accept_string(database): function test_reindex_removed_prefix_is_not_installed (line 1102) | def test_reindex_removed_prefix_is_not_installed(mutable_database, mock_... function test_reindex_when_all_prefixes_are_removed (line 1127) | def test_reindex_when_all_prefixes_are_removed(mutable_database, mock_st... function test_check_parents (line 1158) | def test_check_parents(spec_str, parent_name, expected_nparents, database): function test_db_all_hashes (line 1169) | def test_db_all_hashes(database): function test_consistency_of_dependents_upon_remove (line 1179) | def test_consistency_of_dependents_upon_remove(mutable_database): function test_query_installed_when_package_unknown (line 1196) | def test_query_installed_when_package_unknown(database, repo_builder: Re... function test_error_message_when_using_too_new_db (line 1211) | def test_error_message_when_using_too_new_db(database, monkeypatch): function test_database_construction_doesnt_use_globals (line 1228) | def test_database_construction_doesnt_use_globals( function test_database_read_works_with_trailing_data (line 1238) | def test_database_read_works_with_trailing_data( function test_database_errors_with_just_a_version_key (line 1257) | def test_database_errors_with_just_a_version_key(mutable_database): function test_reindex_with_upstreams (line 1266) | def test_reindex_with_upstreams(tmp_path: pathlib.Path, monkeypatch, moc... function test_query_with_predicate_fn (line 1332) | def test_query_with_predicate_fn(database): function test_querying_reindexed_database_specfilev5 (line 1349) | def test_querying_reindexed_database_specfilev5(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/detection.py function test_detection_update_config (line 17) | def test_detection_update_config(mutable_config): function test_dedupe_paths (line 35) | def test_dedupe_paths(tmp_path: pathlib.Path): function test_detect_specs_deduplicates_across_prefixes (line 61) | def test_detect_specs_deduplicates_across_prefixes(tmp_path, monkeypatch): FILE: lib/spack/spack/test/directives.py function test_false_directives_do_not_exist (line 18) | def test_false_directives_do_not_exist(mock_packages): function test_true_directives_exist (line 28) | def test_true_directives_exist(mock_packages): function test_constraints_from_context (line 45) | def test_constraints_from_context(mock_packages): function test_constraints_from_context_are_merged (line 56) | def test_constraints_from_context_are_merged(mock_packages): function test_extends_spec (line 64) | def test_extends_spec(config, mock_packages): function test_conditionally_extends_transitive_dep (line 73) | def test_conditionally_extends_transitive_dep(config, mock_packages): function test_conditionally_extends_direct_dep (line 80) | def test_conditionally_extends_direct_dep(config, mock_packages): function test_error_on_anonymous_dependency (line 87) | def test_error_on_anonymous_dependency(config, mock_packages): function test_maintainer_directive (line 104) | def test_maintainer_directive(config, mock_packages, package_name, expec... function test_license_directive (line 112) | def test_license_directive(config, mock_packages, package_name, expected... function test_duplicate_exact_range_license (line 119) | def test_duplicate_exact_range_license(): function test_overlapping_duplicate_licenses (line 133) | def test_overlapping_duplicate_licenses(): function test_version_type_validation (line 147) | def test_version_type_validation(): function test_redistribute_directive (line 176) | def test_redistribute_directive(mock_packages, spec_str, distribute_src,... function test_redistribute_override_when (line 183) | def test_redistribute_override_when(): function test_direct_dependencies_from_when_context_are_retained (line 205) | def test_direct_dependencies_from_when_context_are_retained(mock_packages): function test_directives_meta_combine_when (line 220) | def test_directives_meta_combine_when(): function test_directive_descriptor_init (line 227) | def test_directive_descriptor_init(): function test_directive_laziness (line 257) | def test_directive_laziness(): function test_patched_dependencies_sets_class_attribute (line 280) | def test_patched_dependencies_sets_class_attribute(): FILE: lib/spack/spack/test/directory_layout.py function test_yaml_directory_layout_parameters (line 28) | def test_yaml_directory_layout_parameters(tmp_path: pathlib.Path, defaul... function test_read_and_write_spec (line 78) | def test_read_and_write_spec(temporary_store, config, mock_packages): function test_handle_unknown_package (line 147) | def test_handle_unknown_package(temporary_store, config, mock_packages, ... function test_find (line 195) | def test_find(temporary_store, config, mock_packages): function test_yaml_directory_layout_build_path (line 218) | def test_yaml_directory_layout_build_path(tmp_path: pathlib.Path, defaul... FILE: lib/spack/spack/test/entry_points.py class MockConfigEntryPoint (line 16) | class MockConfigEntryPoint: method __init__ (line 17) | def __init__(self, tmp_path: pathlib.Path): method load (line 21) | def load(self): class MockExtensionsEntryPoint (line 34) | class MockExtensionsEntryPoint: method __init__ (line 35) | def __init__(self, tmp_path: pathlib.Path): method load (line 39) | def load(self): function entry_points_factory (line 56) | def entry_points_factory(tmp_path: pathlib.Path): function mock_get_entry_points (line 68) | def mock_get_entry_points(tmp_path: pathlib.Path, reset_extension_paths,... function test_spack_entry_point_config (line 73) | def test_spack_entry_point_config(tmp_path: pathlib.Path, mock_get_entry... function test_spack_entry_point_extension (line 86) | def test_spack_entry_point_extension(tmp_path: pathlib.Path, mock_get_en... function test_llnl_util_lang_get_entry_points (line 104) | def test_llnl_util_lang_get_entry_points(tmp_path: pathlib.Path, monkeyp... FILE: lib/spack/spack/test/env.py class TestDirectoryInitialization (line 37) | class TestDirectoryInitialization: method test_environment_dir_from_name (line 38) | def test_environment_dir_from_name(self, mutable_mock_env_path): method test_environment_dir_from_nested_name (line 46) | def test_environment_dir_from_nested_name(self, mutable_mock_env_path): function test_hash_change_no_rehash_concrete (line 55) | def test_hash_change_no_rehash_concrete(tmp_path: pathlib.Path, config): function test_env_change_spec (line 86) | def test_env_change_spec(tmp_path: pathlib.Path, config): function test_env_change_spec_in_definition (line 119) | def test_env_change_spec_in_definition(tmp_path: pathlib.Path, mutable_m... function test_env_change_spec_in_matrix_raises_error (line 142) | def test_env_change_spec_in_matrix_raises_error(tmp_path: pathlib.Path, ... function test_activate_should_require_an_env (line 154) | def test_activate_should_require_an_env(): function test_user_view_path_is_not_canonicalized_in_yaml (line 162) | def test_user_view_path_is_not_canonicalized_in_yaml(tmp_path: pathlib.P... function test_environment_cant_modify_environments_root (line 192) | def test_environment_cant_modify_environments_root(tmp_path: pathlib.Path): function test_roundtrip_spack_yaml_with_comments (line 224) | def test_roundtrip_spack_yaml_with_comments(original_content, config, tm... function test_adding_anonymous_specs_to_env_fails (line 236) | def test_adding_anonymous_specs_to_env_fails(tmp_path: pathlib.Path): function test_removing_from_non_existing_list_fails (line 245) | def test_removing_from_non_existing_list_fails(tmp_path: pathlib.Path): function test_update_default_view (line 264) | def test_update_default_view(init_view, update_value, tmp_path: pathlib.... function test_update_default_complex_view (line 312) | def test_update_default_complex_view( function test_cannot_initialize_in_dir_with_init_file (line 326) | def test_cannot_initialize_in_dir_with_init_file(tmp_path: pathlib.Path,... function test_cannot_initiliaze_if_dirname_exists_as_a_file (line 336) | def test_cannot_initiliaze_if_dirname_exists_as_a_file(tmp_path: pathlib... function test_cannot_initialize_if_init_file_does_not_exist (line 346) | def test_cannot_initialize_if_init_file_does_not_exist(tmp_path: pathlib... function test_environment_pickle (line 353) | def test_environment_pickle(tmp_path: pathlib.Path): function test_error_on_nonempty_view_dir (line 360) | def test_error_on_nonempty_view_dir(tmp_path: pathlib.Path): function test_can_add_specs_to_environment_without_specs_attribute (line 388) | def test_can_add_specs_to_environment_without_specs_attribute(tmp_path: ... function test_preserving_comments_when_adding_specs (line 429) | def test_preserving_comments_when_adding_specs( function test_initialize_from_lockfile (line 446) | def test_initialize_from_lockfile(tmp_path: pathlib.Path, filename): function test_cannot_initialize_from_bad_lockfile (line 463) | def test_cannot_initialize_from_bad_lockfile(tmp_path: pathlib.Path): function test_initialize_from_random_file_as_manifest (line 477) | def test_initialize_from_random_file_as_manifest(tmp_path: pathlib.Path,... function test_error_message_when_using_too_new_lockfile (line 505) | def test_error_message_when_using_too_new_lockfile(tmp_path: pathlib.Path): function test_environment_concretizer_scheme_used (line 543) | def test_environment_concretizer_scheme_used( function test_environment_config_scheme_used (line 566) | def test_environment_config_scheme_used(tmp_path: pathlib.Path, unify_in... function test_conflicts_with_packages_that_are_not_dependencies (line 592) | def test_conflicts_with_packages_that_are_not_dependencies( function test_requires_on_virtual_and_potential_providers (line 622) | def test_requires_on_virtual_and_potential_providers( function test_manifest_file_removal_works_if_spec_is_not_normalized (line 659) | def test_manifest_file_removal_works_if_spec_is_not_normalized(tmp_path:... function test_removing_spec_from_manifest_with_exact_duplicates (line 691) | def test_removing_spec_from_manifest_with_exact_duplicates( function test_variant_propagation_with_unify_false (line 719) | def test_variant_propagation_with_unify_false(tmp_path: pathlib.Path, co... function test_env_with_include_defs (line 743) | def test_env_with_include_defs(mutable_mock_env_path): function test_env_with_include_def_missing (line 777) | def test_env_with_include_def_missing(mutable_mock_env_path): function test_deconcretize_then_concretize_does_not_error (line 804) | def test_deconcretize_then_concretize_does_not_error(mutable_mock_env_pa... function test_root_version_weights_for_old_versions (line 848) | def test_root_version_weights_for_old_versions(mutable_mock_env_path): function test_env_view_on_empty_dir_is_fine (line 876) | def test_env_view_on_empty_dir_is_fine(tmp_path: pathlib.Path, config, t... function test_env_view_on_non_empty_dir_errors (line 888) | def test_env_view_on_non_empty_dir_errors(tmp_path: pathlib.Path, config... function test_stack_enforcement_is_strict (line 905) | def test_stack_enforcement_is_strict(tmp_path: pathlib.Path, matrix_line... function test_only_roots_are_explicitly_installed (line 931) | def test_only_roots_are_explicitly_installed(tmp_path: pathlib.Path, con... function test_environment_from_name_or_dir (line 945) | def test_environment_from_name_or_dir(mutable_mock_env_path): function test_env_include_configs (line 970) | def test_env_include_configs(mutable_mock_env_path): function test_using_multiple_compilers_on_a_node_is_discouraged (line 1017) | def test_using_multiple_compilers_on_a_node_is_discouraged(tmp_path: pat... function test_toolchain_definitions_are_allowed (line 1090) | def test_toolchain_definitions_are_allowed( function test_single_toolchain_and_matrix (line 1120) | def test_single_toolchain_and_matrix(unify, tmp_path: pathlib.Path, muta... function test_toolchains_as_matrix_dimension (line 1167) | def test_toolchains_as_matrix_dimension(unify, tmp_path: pathlib.Path, m... function test_using_toolchain_as_requirement (line 1204) | def test_using_toolchain_as_requirement( function test_using_toolchain_as_preferences (line 1241) | def test_using_toolchain_as_preferences(unify, tmp_path: pathlib.Path, m... function test_mixing_toolchains_in_an_input_spec (line 1270) | def test_mixing_toolchains_in_an_input_spec(unify, tmp_path: pathlib.Pat... function test_reuse_environment_dependencies (line 1299) | def test_reuse_environment_dependencies(tmp_path: pathlib.Path, mutable_... function test_dependency_propagation_in_environments (line 1399) | def test_dependency_propagation_in_environments(spack_yaml, tmp_path, mu... function test_double_percent_semantics (line 1491) | def test_double_percent_semantics(spack_yaml, exception_nodes, tmp_path,... function test_cannot_use_double_percent_with_require (line 1516) | def test_cannot_use_double_percent_with_require(tmp_path, mutable_config): function test_static_analysis_in_environments (line 1571) | def test_static_analysis_in_environments(spack_yaml, tmp_path, mutable_c... function test_ids_when_using_toolchain_twice_in_a_spec (line 1588) | def test_ids_when_using_toolchain_twice_in_a_spec(tmp_path, mutable_conf... function test_installed_specs_disregards_deprecation (line 1615) | def test_installed_specs_disregards_deprecation(tmp_path, mutable_config): function create_temporary_manifest (line 1661) | def create_temporary_manifest(tmp_path): class TestEnvironmentGroups (line 1672) | class TestEnvironmentGroups: method test_manifest_and_groups (line 1675) | def test_manifest_and_groups(self, create_temporary_manifest): method test_cannot_define_group_twice (line 1722) | def test_cannot_define_group_twice(self, create_temporary_manifest): method test_matrix_can_be_expanded_in_groups (line 1738) | def test_matrix_can_be_expanded_in_groups(self, create_temporary_manif... method test_environment_without_groups_use_lockfile_v6 (line 1763) | def test_environment_without_groups_use_lockfile_v6(self, create_tempo... method test_independent_groups_concretization (line 1778) | def test_independent_groups_concretization(self, create_temporary_mani... method test_independent_group_dont_reuse (line 1805) | def test_independent_group_dont_reuse(self, create_temporary_manifest): method test_relying_on_a_dependency_group (line 1827) | def test_relying_on_a_dependency_group(self, create_temporary_manifest): method test_manifest_can_contain_config_override (line 1871) | def test_manifest_can_contain_config_override(self, mutable_config, cr... method test_overriding_concretization_properties_per_group (line 1902) | def test_overriding_concretization_properties_per_group(self, create_t... method test_missing_needs_group_gives_clear_error (line 1948) | def test_missing_needs_group_gives_clear_error(self, create_temporary_... method test_cyclic_group_dependencies_give_clear_error (line 1968) | def test_cyclic_group_dependencies_give_clear_error(self, create_tempo... method test_from_lockfile_preserves_groups (line 1990) | def test_from_lockfile_preserves_groups(self, tmp_path): method test_from_lockfile_without_groups_stays_default (line 2013) | def test_from_lockfile_without_groups_stays_default(self, tmp_path): function test_mixed_compilers_and_libllvm (line 2032) | def test_mixed_compilers_and_libllvm(tmp_path, config): function test_unified_environment_with_mixed_compilers_and_fortran (line 2090) | def test_unified_environment_with_mixed_compilers_and_fortran(tmp_path, ... FILE: lib/spack/spack/test/environment/mutate.py function test_mutate_internals (line 40) | def test_mutate_internals(dep, orig_constraint, mutated_constraint): function test_mutate_spec_invalid (line 85) | def test_mutate_spec_invalid(constraint): function _test_mutate_from_cli (line 91) | def _test_mutate_from_cli(args, create=True): function test_mutate_from_cli (line 109) | def test_mutate_from_cli(): function test_mutate_from_cli_multiple (line 121) | def test_mutate_from_cli_multiple(): function test_mutate_from_cli_no_abstract (line 135) | def test_mutate_from_cli_no_abstract(): function test_mutate_from_cli_all_no_match_spec (line 150) | def test_mutate_from_cli_all_no_match_spec(): FILE: lib/spack/spack/test/environment_modifications.py function test_inspect_path (line 66) | def test_inspect_path(tmp_path: pathlib.Path): function test_exclude_paths_from_inspection (line 93) | def test_exclude_paths_from_inspection(): function make_path (line 105) | def make_path(*path): function make_pathlist (line 114) | def make_pathlist(paths): function system_paths_for_os (line 122) | def system_paths_for_os(): function non_system_paths_for_os (line 127) | def non_system_paths_for_os(): function prepare_environment_for_tests (line 132) | def prepare_environment_for_tests(working_env, system_paths_for_os): function env (line 157) | def env(prepare_environment_for_tests): function files_to_be_sourced (line 163) | def files_to_be_sourced(): function test_set (line 173) | def test_set(env): function test_append_flags (line 187) | def test_append_flags(env): function test_unset (line 200) | def test_unset(env): function test_filter_system_paths (line 213) | def test_filter_system_paths(system_paths_for_os, non_system_paths_for_os): function test_set_path (line 219) | def test_set_path(env): function test_path_manipulation (line 231) | def test_path_manipulation(env): function test_unix_system_path_manipulation (line 261) | def test_unix_system_path_manipulation(env): function test_windows_system_path_manipulation (line 273) | def test_windows_system_path_manipulation(env): function test_extend (line 284) | def test_extend(env): function test_source_files (line 299) | def test_source_files(files_to_be_sourced): function test_preserve_environment (line 346) | def test_preserve_environment(prepare_environment_for_tests): function test_environment_from_sourcing_files (line 415) | def test_environment_from_sourcing_files(files, expected, deleted): function test_clear (line 429) | def test_clear(env): function test_sanitize_literals (line 445) | def test_sanitize_literals(env, exclude, include): function test_sanitize_regex (line 488) | def test_sanitize_regex(env, exclude, include, expected, deleted): function test_from_environment_diff (line 543) | def test_from_environment_diff(before, after, search_list): function test_exclude_lmod_variables (line 552) | def test_exclude_lmod_variables(): function test_exclude_modules_variables (line 563) | def test_exclude_modules_variables(): FILE: lib/spack/spack/test/error_messages.py function update_packages_config (line 26) | def update_packages_config(conf_str): function _add_import (line 321) | def _add_import(pkg_def): function create_test_repo (line 337) | def create_test_repo(tmp_path, pkg_name_content_tuples): function _create_test_repo (line 373) | def _create_test_repo(tmp_path, mutable_config): function test_repo (line 378) | def test_repo(_create_test_repo, monkeypatch, mock_stage): function expect_failure_and_print (line 384) | def expect_failure_and_print(should_mention=None): function check_error (line 400) | def check_error(msg, should_mention: Optional[Iterable] = None): function test_diamond_with_pkg_conflict1 (line 425) | def test_diamond_with_pkg_conflict1(concretize_scope, test_repo): function test_diamond_with_pkg_conflict2 (line 436) | def test_diamond_with_pkg_conflict2(concretize_scope, test_repo): function test_version_range_null (line 448) | def test_version_range_null(concretize_scope, test_repo): function test_null_variant_for_requested_version (line 458) | def test_null_variant_for_requested_version(concretize_scope, test_repo): function test_errmsg_requirements_1 (line 475) | def test_errmsg_requirements_1(concretize_scope, test_repo): function test_errmsg_requirements_cfg (line 489) | def test_errmsg_requirements_cfg(concretize_scope, test_repo): function test_errmsg_requirements_directives (line 512) | def test_errmsg_requirements_directives(concretize_scope, test_repo): function test_errmsg_requirements_external_mismatch (line 528) | def test_errmsg_requirements_external_mismatch(concretize_scope, test_re... function test_warns_on_compiler_constraint_in_all (line 548) | def test_warns_on_compiler_constraint_in_all(concretize_scope, mock_pack... function test_unknown_concrete_target_in_input_spec (line 556) | def test_unknown_concrete_target_in_input_spec(concretize_scope, test_re... function test_require_single_unknown_target_errors (line 567) | def test_require_single_unknown_target_errors(concretize_scope, test_repo): function test_require_all_unknown_targets_errors (line 583) | def test_require_all_unknown_targets_errors(concretize_scope, test_repo): function test_require_mixed_unknown_and_valid_target_warns (line 605) | def test_require_mixed_unknown_and_valid_target_warns(concretize_scope, ... function test_prefer_unknown_target_warns (line 620) | def test_prefer_unknown_target_warns(concretize_scope, test_repo): FILE: lib/spack/spack/test/externals.py function test_basic_parsing (line 60) | def test_basic_parsing(externals_dict, expected_length, expected_queries): function test_external_specs_architecture_completion (line 91) | def test_external_specs_architecture_completion( function test_external_specs_parser_with_missing_packages (line 107) | def test_external_specs_parser_with_missing_packages(): function test_externals_with_duplicate_id (line 126) | def test_externals_with_duplicate_id(): function test_externals_with_dependencies (line 267) | def test_externals_with_dependencies(externals_dicts: List[ExternalDict]... function test_externals_without_concrete_version (line 293) | def test_externals_without_concrete_version( function test_external_node_completion (line 322) | def test_external_node_completion( function test_external_spec_single_valued_variant_type_is_corrected (line 346) | def test_external_spec_single_valued_variant_type_is_corrected(): function test_external_spec_multi_valued_variant_is_not_changed (line 365) | def test_external_spec_multi_valued_variant_is_not_changed(): FILE: lib/spack/spack/test/fetch_strategy.py function test_fetchstrategy_bad_url_scheme (line 12) | def test_fetchstrategy_bad_url_scheme(): function test_format_bytes (line 34) | def test_format_bytes(expected, total_bytes): function test_format_speed (line 55) | def test_format_speed(expected, total_bytes, elapsed): function test_fetch_progress_unknown_size (line 59) | def test_fetch_progress_unknown_size(): function test_fetch_progress_known_size (line 92) | def test_fetch_progress_known_size(): function test_fetch_progress_disabled (line 111) | def test_fetch_progress_disabled(): function test_fetch_progress_from_headers (line 136) | def test_fetch_progress_from_headers(header, value, total_bytes): function test_fetch_progress_from_headers_disabled (line 146) | def test_fetch_progress_from_headers_disabled(): FILE: lib/spack/spack/test/flag_handlers.py function temp_env (line 15) | def temp_env(): function add_o3_to_build_system_cflags (line 22) | def add_o3_to_build_system_cflags(pkg, name, flags): class TestFlagHandlers (line 30) | class TestFlagHandlers: method test_no_build_system_flags (line 31) | def test_no_build_system_flags(self, temp_env): method test_unbound_method (line 43) | def test_unbound_method(self, temp_env): method test_inject_flags (line 52) | def test_inject_flags(self, temp_env): method test_env_flags (line 59) | def test_env_flags(self, temp_env): method test_build_system_flags_cmake (line 66) | def test_build_system_flags_cmake(self, temp_env): method test_build_system_flags_autotools (line 78) | def test_build_system_flags_autotools(self, temp_env): method test_build_system_flags_not_implemented (line 86) | def test_build_system_flags_not_implemented(self, temp_env): method test_add_build_system_flags_autotools (line 96) | def test_add_build_system_flags_autotools(self, temp_env): method test_add_build_system_flags_cmake (line 104) | def test_add_build_system_flags_cmake(self, temp_env): method test_ld_flags_cmake (line 112) | def test_ld_flags_cmake(self, temp_env): method test_ld_libs_cmake (line 124) | def test_ld_libs_cmake(self, temp_env): method test_flag_handler_no_modify_specs (line 136) | def test_flag_handler_no_modify_specs(self, temp_env): FILE: lib/spack/spack/test/gcs_fetch.py function test_gcsfetchstrategy_downloaded (line 11) | def test_gcsfetchstrategy_downloaded(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/git_fetch.py function git_version (line 34) | def git_version(git, request, monkeypatch): function mock_bad_git (line 60) | def mock_bad_git(mock_util_executable): function test_bad_git (line 71) | def test_bad_git(tmp_path: pathlib.Path, mock_bad_git): function test_fetch (line 83) | def test_fetch( function test_fetch_pkg_attr_submodule_init (line 146) | def test_fetch_pkg_attr_submodule_init( function test_adhoc_version_submodules (line 183) | def test_adhoc_version_submodules( function test_debug_fetch (line 209) | def test_debug_fetch( function test_git_extra_fetch (line 227) | def test_git_extra_fetch(git, tmp_path: pathlib.Path): function test_needs_stage (line 238) | def test_needs_stage(git): function test_get_full_repo (line 249) | def test_get_full_repo( function test_gitsubmodule (line 329) | def test_gitsubmodule( function test_gitsubmodules_callable (line 362) | def test_gitsubmodules_callable( function test_gitsubmodules_delete (line 391) | def test_gitsubmodules_delete( function test_gitsubmodules_falsey (line 415) | def test_gitsubmodules_falsey( function test_git_sparse_paths_partial_clone (line 443) | def test_git_sparse_paths_partial_clone( function test_git_sparse_path_have_unique_mirror_projections (line 478) | def test_git_sparse_path_have_unique_mirror_projections( function test_commit_variant_clone (line 497) | def test_commit_variant_clone( FILE: lib/spack/spack/test/graph.py function test_dynamic_dot_graph_mpileaks (line 10) | def test_dynamic_dot_graph_mpileaks(default_mock_concretization): function test_ascii_graph_mpileaks (line 39) | def test_ascii_graph_mpileaks(config, mock_packages, monkeypatch): FILE: lib/spack/spack/test/hg_fetch.py function test_fetch (line 28) | def test_fetch(type_of_test, secure, mock_hg_repository, config, mutable... function test_hg_extra_fetch (line 73) | def test_hg_extra_fetch(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/hooks/absolutify_elf_sonames.py function skip_unless_linux (line 17) | def skip_unless_linux(f): class ExecutableIntercept (line 23) | class ExecutableIntercept: method __init__ (line 24) | def __init__(self): method __call__ (line 27) | def __call__(self, *args, **kwargs): method returncode (line 31) | def returncode(self): function test_shared_libraries_visitor (line 37) | def test_shared_libraries_visitor(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/install.py function find_nothing (line 41) | def find_nothing(*args): function test_install_and_uninstall (line 45) | def test_install_and_uninstall(install_mockery, mock_fetch, monkeypatch): function test_uninstall_non_existing_package (line 56) | def test_uninstall_non_existing_package(install_mockery, mock_fetch, mon... function test_pkg_attributes (line 74) | def test_pkg_attributes(install_mockery, mock_fetch, monkeypatch): function mock_remove_prefix (line 116) | def mock_remove_prefix(*args): class RemovePrefixChecker (line 120) | class RemovePrefixChecker: method __init__ (line 121) | def __init__(self, wrapped_rm_prefix): method remove_prefix (line 125) | def remove_prefix(self): function test_partial_install_delete_prefix_and_stage (line 130) | def test_partial_install_delete_prefix_and_stage(install_mockery, mock_f... function test_failing_overwrite_install_should_keep_previous_installation (line 156) | def test_failing_overwrite_install_should_keep_previous_installation( function test_dont_add_patches_to_installed_package (line 180) | def test_dont_add_patches_to_installed_package(install_mockery, mock_fet... function test_installed_dependency_request_conflicts (line 196) | def test_installed_dependency_request_conflicts(install_mockery, mock_fe... function test_install_times (line 206) | def test_install_times(install_mockery, mock_fetch, mutable_mock_repo): function install_upstream (line 226) | def install_upstream(tmp_path_factory: pytest.TempPathFactory, gen_mock_... function test_installed_upstream_external (line 251) | def test_installed_upstream_external(install_upstream, mock_fetch): function test_installed_upstream (line 269) | def test_installed_upstream(install_upstream, mock_fetch): function test_partial_install_keep_prefix (line 289) | def test_partial_install_keep_prefix(install_mockery, mock_fetch, monkey... function test_second_install_no_overwrite_first (line 308) | def test_second_install_no_overwrite_first(install_mockery, mock_fetch, ... function test_install_prefix_collision_fails (line 321) | def test_install_prefix_collision_fails(config, mock_fetch, mock_package... function test_store (line 337) | def test_store(install_mockery, mock_fetch): function test_failing_build (line 344) | def test_failing_build(install_mockery, mock_fetch): class MockInstallError (line 352) | class MockInstallError(spack.error.SpackError): function test_uninstall_by_spec_errors (line 356) | def test_uninstall_by_spec_errors(mutable_database): function test_nosource_pkg_install (line 372) | def test_nosource_pkg_install(install_mockery, mock_fetch, mock_packages... function test_nosource_bundle_pkg_install (line 387) | def test_nosource_bundle_pkg_install( function test_nosource_pkg_install_post_install (line 403) | def test_nosource_pkg_install_post_install(install_mockery, mock_fetch, ... function test_pkg_build_paths (line 420) | def test_pkg_build_paths(install_mockery): function test_pkg_install_paths (line 427) | def test_pkg_install_paths(install_mockery): function test_log_install_without_build_files (line 463) | def test_log_install_without_build_files(install_mockery): function test_log_install_with_build_files (line 473) | def test_log_install_with_build_files(install_mockery, monkeypatch): function test_unconcretized_install (line 532) | def test_unconcretized_install(install_mockery, mock_fetch, mock_packages): function test_install_error (line 544) | def test_install_error(): function test_empty_install_sanity_check_prefix (line 556) | def test_empty_install_sanity_check_prefix( function test_install_from_binary_with_missing_patch_succeeds (line 565) | def test_install_from_binary_with_missing_patch_succeeds( FILE: lib/spack/spack/test/installer.py function _mock_repo (line 37) | def _mock_repo(root, namespace): function _noop (line 55) | def _noop(*args, **kwargs): function _none (line 59) | def _none(*args, **kwargs): function _not_locked (line 64) | def _not_locked(installer, lock_type, pkg): function _true (line 70) | def _true(*args, **kwargs): function create_build_task (line 75) | def create_build_task( function create_installer (line 82) | def create_installer( function test_hms (line 96) | def test_hms(sec, result): function test_get_dependent_ids (line 100) | def test_get_dependent_ids(install_mockery, mock_packages): function test_install_msg (line 114) | def test_install_msg(monkeypatch): function test_install_from_cache_errors (line 136) | def test_install_from_cache_errors(install_mockery): function test_install_from_cache_ok (line 155) | def test_install_from_cache_ok(install_mockery, monkeypatch): function test_process_external_package_module (line 164) | def test_process_external_package_module(install_mockery, monkeypatch, c... function test_process_binary_cache_tarball_tar (line 180) | def test_process_binary_cache_tarball_tar(install_mockery, monkeypatch, ... function test_try_install_from_binary_cache (line 201) | def test_try_install_from_binary_cache(install_mockery, mock_packages, m... function test_installer_repr (line 208) | def test_installer_repr(install_mockery): function test_installer_str (line 217) | def test_installer_str(install_mockery): function test_installer_prune_built_build_deps (line 226) | def test_installer_prune_built_build_deps(install_mockery, monkeypatch, ... function test_check_before_phase_error (line 273) | def test_check_before_phase_error(install_mockery): function test_check_last_phase_error (line 284) | def test_check_last_phase_error(install_mockery): function test_installer_ensure_ready_errors (line 296) | def test_installer_ensure_ready_errors(install_mockery, monkeypatch): function test_ensure_locked_err (line 324) | def test_ensure_locked_err(install_mockery, monkeypatch, tmp_path: pathl... function test_ensure_locked_have (line 344) | def test_ensure_locked_have(install_mockery, tmp_path: pathlib.Path, cap... function test_ensure_locked_new_lock (line 380) | def test_ensure_locked_new_lock(install_mockery, tmp_path: pathlib.Path,... function test_ensure_locked_new_warn (line 391) | def test_ensure_locked_new_warn(install_mockery, monkeypatch, capfd): function test_package_id_err (line 413) | def test_package_id_err(install_mockery): function test_package_id_ok (line 419) | def test_package_id_ok(install_mockery): function test_fake_install (line 425) | def test_fake_install(install_mockery): function test_dump_packages_deps_ok (line 434) | def test_dump_packages_deps_ok(install_mockery, tmp_path: pathlib.Path, ... function test_dump_packages_deps_errs (line 446) | def test_dump_packages_deps_errs(install_mockery, tmp_path: pathlib.Path... function test_clear_failures_success (line 487) | def test_clear_failures_success(tmp_path: pathlib.Path): function test_clear_failures_errs (line 515) | def test_clear_failures_errs(tmp_path: pathlib.Path, capfd): function test_combine_phase_logs (line 534) | def test_combine_phase_logs(tmp_path: pathlib.Path): function test_combine_phase_logs_does_not_care_about_encoding (line 560) | def test_combine_phase_logs_does_not_care_about_encoding(tmp_path: pathl... function test_check_deps_status_install_failure (line 576) | def test_check_deps_status_install_failure(install_mockery): function test_check_deps_status_write_locked (line 591) | def test_check_deps_status_write_locked(install_mockery, monkeypatch): function test_check_deps_status_external (line 602) | def test_check_deps_status_external(install_mockery, monkeypatch): function test_check_deps_status_upstream (line 614) | def test_check_deps_status_upstream(install_mockery, monkeypatch): function test_prepare_for_install_on_installed (line 626) | def test_prepare_for_install_on_installed(install_mockery, monkeypatch): function test_installer_init_requests (line 639) | def test_installer_init_requests(install_mockery): function false (line 650) | def false(*args, **kwargs): function test_rewire_task_no_tarball (line 654) | def test_rewire_task_no_tarball(monkeypatch, mock_packages): function test_install_spliced (line 667) | def test_install_spliced(install_mockery, mock_fetch, monkeypatch, trans... function test_install_spliced_build_spec_installed (line 682) | def test_install_spliced_build_spec_installed(install_mockery, mock_fetc... function test_install_splice_root_from_binary (line 707) | def test_install_splice_root_from_binary( class MockInstallStatus (line 737) | class MockInstallStatus(inst.InstallStatus): method next_pkg (line 738) | def next_pkg(self, *args, **kwargs): method set_term_title (line 741) | def set_term_title(self, *args, **kwargs): method get_progress (line 744) | def get_progress(self): class MockTermStatusLine (line 748) | class MockTermStatusLine(inst.TermStatusLine): method add (line 749) | def add(self, *args, **kwargs): method clear (line 752) | def clear(self): function test_installing_task_use_cache (line 756) | def test_installing_task_use_cache(install_mockery, monkeypatch): function test_install_task_requeue_build_specs (line 769) | def test_install_task_requeue_build_specs(install_mockery, monkeypatch): function test_release_lock_write_n_exception (line 795) | def test_release_lock_write_n_exception(install_mockery, tmp_path: pathl... function test_push_task_skip_processed (line 812) | def test_push_task_skip_processed(install_mockery, installed): function test_requeue_task (line 829) | def test_requeue_task(install_mockery, capfd): function test_cleanup_all_tasks (line 852) | def test_cleanup_all_tasks(install_mockery, monkeypatch): function test_setup_install_dir_grp (line 876) | def test_setup_install_dir_grp(install_mockery, monkeypatch, capfd): function test_cleanup_failed_err (line 911) | def test_cleanup_failed_err(install_mockery, tmp_path: pathlib.Path, mon... function test_update_failed_no_dependent_task (line 932) | def test_update_failed_no_dependent_task(install_mockery): function test_install_uninstalled_deps (line 943) | def test_install_uninstalled_deps(install_mockery, monkeypatch, capfd): function test_install_failed (line 962) | def test_install_failed(install_mockery, monkeypatch, capfd): function test_install_failed_not_fast (line 977) | def test_install_failed_not_fast(install_mockery, monkeypatch, capfd): function _interrupt (line 992) | def _interrupt(installer, task, install_status, **kwargs): function test_install_fail_on_interrupt (line 1000) | def test_install_fail_on_interrupt(install_mockery, mock_fetch, monkeypa... class MyBuildException (line 1018) | class MyBuildException(Exception): function _install_fail_my_build_exception (line 1025) | def _install_fail_my_build_exception(installer, task, install_status, **... function test_install_fail_single (line 1032) | def test_install_fail_single(install_mockery, mock_fetch, monkeypatch): function test_install_fail_multi (line 1050) | def test_install_fail_multi(install_mockery, mock_fetch, monkeypatch): function test_install_fail_fast_on_detect (line 1067) | def test_install_fail_fast_on_detect(install_mockery, monkeypatch, capfd): function _test_install_fail_fast_on_except_patch (line 1095) | def _test_install_fail_fast_on_except_patch(installer, **kwargs): function test_install_fail_fast_on_except (line 1103) | def test_install_fail_fast_on_except(install_mockery, monkeypatch, capfd): function test_install_lock_failures (line 1122) | def test_install_lock_failures(install_mockery, monkeypatch, capfd): function test_install_lock_installed_requeue (line 1146) | def test_install_lock_installed_requeue(install_mockery, monkeypatch, ca... function test_install_read_locked_requeue (line 1179) | def test_install_read_locked_requeue(install_mockery, monkeypatch, capfd): function test_install_skip_patch (line 1217) | def test_install_skip_patch(install_mockery, mock_fetch): function test_install_implicit (line 1225) | def test_install_implicit(install_mockery, mock_fetch): function wipe_prefix (line 1236) | def wipe_prefix(pkg, install_args): function fail (line 1242) | def fail(*args, **kwargs): function test_overwrite_install_backup_success (line 1246) | def test_overwrite_install_backup_success(monkeypatch, temporary_store, ... function remove_backup (line 1282) | def remove_backup(pkg, install_args): function test_overwrite_install_backup_failure (line 1289) | def test_overwrite_install_backup_failure(monkeypatch, temporary_store, ... function test_term_status_line (line 1318) | def test_term_status_line(): function test_single_external_implicit_install (line 1330) | def test_single_external_implicit_install(install_mockery, explicit): function test_overwrite_install_does_install_build_deps (line 1339) | def test_overwrite_install_does_install_build_deps(install_mockery, mock... function test_print_install_test_log_skipped (line 1360) | def test_print_install_test_log_skipped(install_mockery, mock_packages, ... function test_print_install_test_log_failures (line 1372) | def test_print_install_test_log_failures( function test_fallback_to_old_installer_for_splicing (line 1395) | def test_fallback_to_old_installer_for_splicing(monkeypatch, mock_packag... FILE: lib/spack/spack/test/installer_build_graph.py function create_dag (line 22) | def create_dag( function install_spec_in_db (line 44) | def install_spec_in_db(spec: Spec, store: Store): function mock_specs (line 54) | def mock_specs(): function diamond_dag (line 72) | def diamond_dag(): function specs_with_build_deps (line 91) | def specs_with_build_deps(): function complex_pruning_dag (line 110) | def complex_pruning_dag(): class TestBuildGraph (line 131) | class TestBuildGraph: method test_basic_graph_construction (line 134) | def test_basic_graph_construction(self, mock_specs: Dict[str, Spec], t... method test_install_package_only_mode (line 153) | def test_install_package_only_mode(self, mock_specs: Dict[str, Spec], ... method test_install_deps_false_with_uninstalled_deps (line 170) | def test_install_deps_false_with_uninstalled_deps( method test_multiple_roots (line 188) | def test_multiple_roots(self, mock_specs: Dict[str, Spec], temporary_s... method test_parent_child_mappings (line 204) | def test_parent_child_mappings(self, mock_specs: Dict[str, Spec], temp... method test_diamond_dag_with_shared_dependency (line 223) | def test_diamond_dag_with_shared_dependency( method test_pruning_installed_specs (line 244) | def test_pruning_installed_specs(self, mock_specs: Dict[str, Spec], te... method test_pruning_with_shared_dependency_partially_installed (line 267) | def test_pruning_with_shared_dependency_partially_installed( method test_overwrite_set_prevents_pruning (line 290) | def test_overwrite_set_prevents_pruning( method test_installed_root_excludes_build_deps_even_when_requested (line 317) | def test_installed_root_excludes_build_deps_even_when_requested( method test_cache_only_excludes_build_deps (line 341) | def test_cache_only_excludes_build_deps( method test_cache_only_includes_build_deps_when_requested (line 365) | def test_cache_only_includes_build_deps_when_requested( method test_install_deps_false_with_all_deps_installed (line 384) | def test_install_deps_false_with_all_deps_installed( method test_pruning_creates_cartesian_product_of_connections (line 409) | def test_pruning_creates_cartesian_product_of_connections( method test_empty_graph_all_specs_installed (line 479) | def test_empty_graph_all_specs_installed( method test_empty_graph_install_package_false_all_deps_installed (line 502) | def test_empty_graph_install_package_false_all_deps_installed( method test_pruning_leaf_node (line 527) | def test_pruning_leaf_node(self, mock_specs: Dict[str, Spec], temporar... method test_pruning_root_node_with_install_package_false (line 558) | def test_pruning_root_node_with_install_package_false( function specs_with_test_deps (line 591) | def specs_with_test_deps(): class TestBuildGraphTestDeps (line 608) | class TestBuildGraphTestDeps: method test_tests_false_excludes_test_deps (line 611) | def test_tests_false_excludes_test_deps( method test_tests_root_includes_test_deps_for_root (line 630) | def test_tests_root_includes_test_deps_for_root( method test_tests_all_includes_test_deps_for_all (line 650) | def test_tests_all_includes_test_deps_for_all( method test_mark_explicit_spec_excludes_build_only_deps (line 669) | def test_mark_explicit_spec_excludes_build_only_deps( FILE: lib/spack/spack/test/installer_tui.py class MockConnection (line 23) | class MockConnection: method fileno (line 26) | def fileno(self): class MockSpec (line 30) | class MockSpec: method __init__ (line 33) | def __init__( method dag_hash (line 42) | def dag_hash(self, length: Optional[int] = None) -> str: class SimpleTextIOWrapper (line 48) | class SimpleTextIOWrapper(io.TextIOWrapper): method __init__ (line 51) | def __init__(self, tty: bool) -> None: method isatty (line 56) | def isatty(self) -> bool: method getvalue (line 59) | def getvalue(self) -> str: method clear (line 63) | def clear(self): function create_build_status (line 69) | def create_build_status( function add_mock_builds (line 103) | def add_mock_builds(status: BuildStatus, count: int) -> List[MockSpec]: class TestBasicStateManagement (line 111) | class TestBasicStateManagement: method test_on_resize (line 114) | def test_on_resize(self): method test_add_build (line 135) | def test_add_build(self): method test_update_state_transitions (line 153) | def test_update_state_transitions(self): method test_update_state_failed (line 171) | def test_update_state_failed(self): method test_parse_log_summary (line 182) | def test_parse_log_summary(self, tmp_path): method test_parse_log_summary_no_log_path (line 197) | def test_parse_log_summary_no_log_path(self): method test_parse_log_summary_missing_file (line 206) | def test_parse_log_summary_missing_file(self, tmp_path): method test_update_progress (line 216) | def test_update_progress(self): method test_completion_counter (line 237) | def test_completion_counter(self): class TestOutputRendering (line 254) | class TestOutputRendering: method test_non_tty_output (line 257) | def test_non_tty_output(self): method test_tty_output_contains_ansi (line 275) | def test_tty_output_contains_ansi(self): method test_no_output_when_not_dirty (line 289) | def test_no_output_when_not_dirty(self): method test_update_throttling (line 303) | def test_update_throttling(self): method test_cursor_movement_vs_newlines (line 328) | def test_cursor_movement_vs_newlines(self): class TestTimeBasedBehavior (line 374) | class TestTimeBasedBehavior: method test_spinner_updates (line 377) | def test_spinner_updates(self): method test_finished_package_cleanup (line 392) | def test_finished_package_cleanup(self): method test_failed_packages_not_cleaned_up (line 415) | def test_failed_packages_not_cleaned_up(self): class TestSearchAndFilter (line 433) | class TestSearchAndFilter: method test_enter_search_mode (line 436) | def test_enter_search_mode(self): method test_search_input_printable (line 445) | def test_search_input_printable(self): method test_search_input_backspace (line 459) | def test_search_input_backspace(self): method test_search_input_escape (line 475) | def test_search_input_escape(self): method test_is_displayed_filters_by_name (line 485) | def test_is_displayed_filters_by_name(self): method test_is_displayed_filters_by_hash (line 519) | def test_is_displayed_filters_by_hash(self): class TestNavigation (line 544) | class TestNavigation: method test_get_next_basic (line 547) | def test_get_next_basic(self): method test_get_next_previous (line 571) | def test_get_next_previous(self): method test_get_next_with_filter (line 588) | def test_get_next_with_filter(self): method test_get_next_skips_finished (line 617) | def test_get_next_skips_finished(self): method test_get_next_no_matching (line 631) | def test_get_next_no_matching(self): method test_get_next_fallback_when_tracked_filtered_out (line 644) | def test_get_next_fallback_when_tracked_filtered_out(self): class TestTerminalSizes (line 672) | class TestTerminalSizes: method test_small_terminal_truncation (line 675) | def test_small_terminal_truncation(self): method test_large_terminal_no_truncation (line 688) | def test_large_terminal_no_truncation(self): method test_narrow_terminal_short_header (line 702) | def test_narrow_terminal_short_header(self): class TestBuildInfo (line 716) | class TestBuildInfo: method test_build_info_creation (line 719) | def test_build_info_creation(self): method test_build_info_external_package (line 733) | def test_build_info_external_package(self): class TestLogFollowing (line 742) | class TestLogFollowing: method test_print_logs_when_following (line 745) | def test_print_logs_when_following(self): method test_print_logs_discarded_when_in_overview_mode (line 762) | def test_print_logs_discarded_when_in_overview_mode(self): method test_print_logs_discarded_when_not_tracked (line 778) | def test_print_logs_discarded_when_not_tracked(self): method test_can_navigate_to_failed_build (line 794) | def test_can_navigate_to_failed_build(self): method test_navigation_skips_finished_build (line 817) | def test_navigation_skips_finished_build(self): class TestNavigationIntegration (line 832) | class TestNavigationIntegration: method test_next_switches_from_overview_to_logs (line 835) | def test_next_switches_from_overview_to_logs(self): method test_next_cycles_through_builds (line 856) | def test_next_cycles_through_builds(self): method test_next_backward_navigation (line 886) | def test_next_backward_navigation(self): method test_next_does_nothing_when_no_builds (line 903) | def test_next_does_nothing_when_no_builds(self): method test_next_does_nothing_when_same_build (line 921) | def test_next_does_nothing_when_same_build(self): class TestToggle (line 940) | class TestToggle: method test_toggle_from_overview_calls_next (line 943) | def test_toggle_from_overview_calls_next(self): method test_toggle_from_logs_returns_to_overview (line 959) | def test_toggle_from_logs_returns_to_overview(self): method test_update_state_finished_triggers_toggle_when_tracking (line 986) | def test_update_state_finished_triggers_toggle_when_tracking(self): method test_partial_line_newline_on_toggle_and_next (line 1003) | def test_partial_line_newline_on_toggle_and_next(self): method test_print_logs_filters_padding (line 1031) | def test_print_logs_filters_padding(self, filter_padding): method test_prefix_padding_filter_in_status (line 1050) | def test_prefix_padding_filter_in_status(self, filter_padding): class TestSearchFilteringIntegration (line 1066) | class TestSearchFilteringIntegration: method test_search_mode_filters_displayed_builds (line 1069) | def test_search_mode_filters_displayed_builds(self): method test_search_mode_with_navigation (line 1106) | def test_search_mode_with_navigation(self): method test_search_input_enter_navigates_to_next (line 1134) | def test_search_input_enter_navigates_to_next(self): method test_clearing_search_shows_all_builds (line 1151) | def test_clearing_search_shows_all_builds(self): class TestEdgeCases (line 1186) | class TestEdgeCases: method test_empty_build_list (line 1189) | def test_empty_build_list(self): method test_no_header_with_finalize (line 1200) | def test_no_header_with_finalize(self): method test_all_builds_finished (line 1217) | def test_all_builds_finished(self): method test_update_progress_rounds_correctly (line 1234) | def test_update_progress_rounds_correctly(self): class TestBuildStatusVerbose (line 1251) | class TestBuildStatusVerbose: method test_verbose_tracks_first_build (line 1254) | def test_verbose_tracks_first_build(self): method test_verbose_does_not_track_when_already_tracking (line 1268) | def test_verbose_does_not_track_when_already_tracking(self): method test_verbose_switches_on_finish (line 1287) | def test_verbose_switches_on_finish(self): method test_verbose_print_logs_tracked (line 1301) | def test_verbose_print_logs_tracked(self): method test_verbose_print_logs_untracked (line 1315) | def test_verbose_print_logs_untracked(self): method test_verbose_tty_no_effect (line 1333) | def test_verbose_tty_no_effect(self): class TestBuildStatusColor (line 1345) | class TestBuildStatusColor: method test_non_tty_finished_color_true_emits_green (line 1348) | def test_non_tty_finished_color_true_emits_green(self): method test_non_tty_failed_color_true_emits_red (line 1357) | def test_non_tty_failed_color_true_emits_red(self): method test_non_tty_finished_color_false_no_ansi (line 1366) | def test_non_tty_finished_color_false_no_ansi(self): class TestTargetJobs (line 1375) | class TestTargetJobs: method test_set_jobs_marks_dirty (line 1378) | def test_set_jobs_marks_dirty(self): method test_set_jobs_same_value_no_dirty (line 1390) | def test_set_jobs_same_value_no_dirty(self): method test_header_shows_target_jobs (line 1398) | def test_header_shows_target_jobs(self): method test_header_shows_arrow_when_pending (line 1408) | def test_header_shows_arrow_when_pending(self): class TestHeadlessMode (line 1418) | class TestHeadlessMode: method test_update_suppressed_when_headless (line 1421) | def test_update_suppressed_when_headless(self): method test_print_logs_suppressed_when_headless (line 1430) | def test_print_logs_suppressed_when_headless(self): method test_update_state_non_tty_suppressed_when_headless (line 1439) | def test_update_state_non_tty_suppressed_when_headless(self): method test_update_works_after_headless_cleared (line 1449) | def test_update_works_after_headless_cleared(self): class TestStdinReader (line 1464) | class TestStdinReader: method test_basic_ascii (line 1465) | def test_basic_ascii(self): method test_ansi_stripping (line 1475) | def test_ansi_stripping(self): method test_multibyte_utf8 (line 1485) | def test_multibyte_utf8(self): method test_oserror_returns_empty (line 1500) | def test_oserror_returns_empty(self): FILE: lib/spack/spack/test/jobserver.py class TestGetJobserverConfig (line 26) | class TestGetJobserverConfig: method test_empty_makeflags (line 29) | def test_empty_makeflags(self): method test_no_jobserver_flag (line 33) | def test_no_jobserver_flag(self): method test_fifo_format_new (line 37) | def test_fifo_format_new(self): method test_pipe_format_new (line 41) | def test_pipe_format_new(self): method test_pipe_format_old (line 45) | def test_pipe_format_old(self): method test_multiple_flags_last_wins (line 49) | def test_multiple_flags_last_wins(self): method test_invalid_format (line 54) | def test_invalid_format(self): class TestCreateJobserverFifo (line 62) | class TestCreateJobserverFifo: method test_creates_fifo (line 65) | def test_creates_fifo(self): method test_writes_correct_tokens (line 81) | def test_writes_correct_tokens(self): method test_single_job_no_tokens (line 92) | def test_single_job_no_tokens(self): class TestOpenExistingJobserverFifo (line 105) | class TestOpenExistingJobserverFifo: method test_opens_existing_fifo (line 108) | def test_opens_existing_fifo(self, tmp_path: pathlib.Path): method test_returns_none_for_missing_fifo (line 124) | def test_returns_none_for_missing_fifo(self, tmp_path: pathlib.Path): class TestJobServer (line 134) | class TestJobServer: method test_creates_new_jobserver (line 137) | def test_creates_new_jobserver(self): method test_attaches_to_existing_fifo (line 151) | def test_attaches_to_existing_fifo(self): method test_acquire_tokens (line 170) | def test_acquire_tokens(self): method test_release_tokens (line 187) | def test_release_tokens(self): method test_release_without_tokens_is_noop (line 204) | def test_release_without_tokens_is_noop(self): method test_makeflags_fifo_gmake_44 (line 215) | def test_makeflags_fifo_gmake_44(self): method test_makeflags_pipe_gmake_40 (line 225) | def test_makeflags_pipe_gmake_40(self): method test_makeflags_old_format_gmake_3 (line 235) | def test_makeflags_old_format_gmake_3(self): method test_makeflags_no_gmake (line 245) | def test_makeflags_no_gmake(self): method test_close_removes_created_fifo (line 255) | def test_close_removes_created_fifo(self): method test_file_descriptors_are_inheritable (line 263) | def test_file_descriptors_are_inheritable(self): method test_connection_objects_exist (line 273) | def test_connection_objects_exist(self): method test_close_warns_when_spack_holds_tokens (line 283) | def test_close_warns_when_spack_holds_tokens(self): method test_close_warns_when_subprocess_holds_tokens (line 290) | def test_close_warns_when_subprocess_holds_tokens(self): method test_has_target_parallelism (line 302) | def test_has_target_parallelism(self): method test_increase_parallelism_not_created (line 312) | def test_increase_parallelism_not_created(self): method test_increase_parallelism (line 330) | def test_increase_parallelism(self): method test_decrease_parallelism_at_floor (line 344) | def test_decrease_parallelism_at_floor(self): method test_decrease_parallelism_token_available (line 355) | def test_decrease_parallelism_token_available(self): method test_decrease_parallelism_no_token_available (line 368) | def test_decrease_parallelism_no_token_available(self): method test_maybe_discard_tokens_noop_at_target (line 382) | def test_maybe_discard_tokens_noop_at_target(self): method test_maybe_discard_tokens_discards_when_available (line 392) | def test_maybe_discard_tokens_discards_when_available(self): method test_maybe_discard_tokens_noop_on_blocking (line 404) | def test_maybe_discard_tokens_noop_on_blocking(self): method test_release_discards_token_when_target_below_num (line 418) | def test_release_discards_token_when_target_below_num(self): FILE: lib/spack/spack/test/link_paths.py function allow_nonexistent_paths (line 26) | def allow_nonexistent_paths(monkeypatch): function check_link_paths (line 32) | def check_link_paths(filename, paths): function test_icc16_link_paths (line 49) | def test_icc16_link_paths(): function test_gcc7_link_paths (line 72) | def test_gcc7_link_paths(): function test_clang4_link_paths (line 76) | def test_clang4_link_paths(): function test_xl_link_paths (line 80) | def test_xl_link_paths(): function test_cce_link_paths (line 91) | def test_cce_link_paths(): function test_clang_apple_ld_link_paths (line 119) | def test_clang_apple_ld_link_paths(): function test_nag_mixed_gcc_gnu_ld_link_paths (line 141) | def test_nag_mixed_gcc_gnu_ld_link_paths(): function test_nag_link_paths (line 167) | def test_nag_link_paths(): function test_obscure_parsing_rules (line 193) | def test_obscure_parsing_rules(): FILE: lib/spack/spack/test/llnl/llnl_string.py function test_plural (line 20) | def test_plural(arguments, expected): function test_quote (line 28) | def test_quote(arguments, expected): function test_comma_and_or (line 40) | def test_comma_and_or(input, expected_and, expected_or): FILE: lib/spack/spack/test/llnl/url.py function archive_and_expected (line 14) | def archive_and_expected(request): function test_get_extension (line 19) | def test_get_extension(archive_and_expected): function test_get_bad_extension (line 26) | def test_get_bad_extension(): function test_url_strip_version_suffixes (line 140) | def test_url_strip_version_suffixes(url, expected): function test_strip_compression_extension (line 145) | def test_strip_compression_extension(archive_and_expected): function test_allowed_archive (line 170) | def test_allowed_archive(archive_and_expected): FILE: lib/spack/spack/test/llnl/util/argparsewriter.py function test_format_not_overridden (line 20) | def test_format_not_overridden(): FILE: lib/spack/spack/test/llnl/util/file_list.py function library_list (line 16) | def library_list(): function header_list (line 41) | def header_list(): class TestLibraryList (line 67) | class TestLibraryList: method test_repr (line 68) | def test_repr(self, library_list): method test_joined_and_str (line 72) | def test_joined_and_str(self, library_list): method test_flags (line 102) | def test_flags(self, library_list): method test_paths_manipulation (line 123) | def test_paths_manipulation(self, library_list): method test_get_item (line 130) | def test_get_item(self, library_list): method test_add (line 139) | def test_add(self, library_list): class TestHeaderList (line 157) | class TestHeaderList: method test_repr (line 158) | def test_repr(self, header_list): method test_joined_and_str (line 162) | def test_joined_and_str(self, header_list): method test_flags (line 190) | def test_flags(self, header_list): method test_paths_manipulation (line 208) | def test_paths_manipulation(self, header_list): method test_get_item (line 215) | def test_get_item(self, header_list): method test_add (line 224) | def test_add(self, header_list): function test_library_type_search (line 257) | def test_library_type_search(lib_list, kwargs): function test_searching_order (line 298) | def test_searching_order(search_fn, search_list, root, kwargs): FILE: lib/spack/spack/test/llnl/util/filesystem.py function stage (line 22) | def stage(tmp_path_factory: pytest.TempPathFactory): class TestCopy (line 51) | class TestCopy: method test_file_dest (line 54) | def test_file_dest(self, stage): method test_dir_dest (line 62) | def test_dir_dest(self, stage): method test_glob_src (line 70) | def test_glob_src(self, stage): method test_non_existing_src (line 79) | def test_non_existing_src(self, stage): method test_multiple_src_file_dest (line 86) | def test_multiple_src_file_dest(self, stage): function check_added_exe_permissions (line 96) | def check_added_exe_permissions(src, dst): class TestInstall (line 104) | class TestInstall: method test_file_dest (line 107) | def test_file_dest(self, stage): method test_dir_dest (line 116) | def test_dir_dest(self, stage): method test_glob_src (line 125) | def test_glob_src(self, stage): method test_non_existing_src (line 136) | def test_non_existing_src(self, stage): method test_multiple_src_file_dest (line 143) | def test_multiple_src_file_dest(self, stage): class TestCopyTree (line 153) | class TestCopyTree: method test_existing_dir (line 156) | def test_existing_dir(self, stage): method test_non_existing_dir (line 164) | def test_non_existing_dir(self, stage): method test_symlinks_true (line 172) | def test_symlinks_true(self, stage): method test_symlinks_true_ignore (line 188) | def test_symlinks_true_ignore(self, stage): method test_symlinks_false (line 197) | def test_symlinks_false(self, stage): method test_glob_src (line 207) | def test_glob_src(self, stage): method test_non_existing_src (line 217) | def test_non_existing_src(self, stage): method test_parent_dir (line 224) | def test_parent_dir(self, stage): class TestInstallTree (line 233) | class TestInstallTree: method test_existing_dir (line 236) | def test_existing_dir(self, stage): method test_non_existing_dir (line 245) | def test_non_existing_dir(self, stage): method test_symlinks_true (line 254) | def test_symlinks_true(self, stage): method test_symlinks_false (line 265) | def test_symlinks_false(self, stage): method test_allow_broken_symlinks (line 277) | def test_allow_broken_symlinks(self, stage): method test_glob_src (line 285) | def test_glob_src(self, stage): method test_non_existing_src (line 298) | def test_non_existing_src(self, stage): method test_parent_dir (line 305) | def test_parent_dir(self, stage): function test_paths_containing_libs (line 314) | def test_paths_containing_libs(dirs_with_libfiles): function test_move_transaction_commit (line 324) | def test_move_transaction_commit(tmp_path: pathlib.Path): function test_move_transaction_rollback (line 341) | def test_move_transaction_rollback(tmp_path: pathlib.Path): function test_recursive_search_of_headers_from_prefix (line 364) | def test_recursive_search_of_headers_from_prefix(installation_dir_with_h... function test_computation_of_header_directories (line 407) | def test_computation_of_header_directories(list_of_headers, expected_dir... function test_headers_directory_setter (line 412) | def test_headers_directory_setter(): function test_partition_path (line 470) | def test_partition_path(path, entry, expected): function test_prefixes (line 490) | def test_prefixes(path, expected): function test_filter_files_with_different_encodings (line 502) | def test_filter_files_with_different_encodings( function test_chgrp_dont_set_group_if_already_set (line 519) | def test_chgrp_dont_set_group_if_already_set(tmp_path: pathlib.Path, mon... function test_filter_files_multiple (line 552) | def test_filter_files_multiple(tmp_path: pathlib.Path): function test_filter_files_start_stop (line 570) | def test_filter_files_start_stop(tmp_path: pathlib.Path): function test_safe_remove (line 659) | def test_safe_remove(files_or_dirs, tmp_path: pathlib.Path): function test_content_of_files_with_same_name (line 698) | def test_content_of_files_with_same_name(tmp_path: pathlib.Path): function test_keep_modification_time (line 722) | def test_keep_modification_time(tmp_path: pathlib.Path): function test_temporary_dir_context_manager (line 744) | def test_temporary_dir_context_manager(): function test_is_nonsymlink_exe_with_shebang (line 752) | def test_is_nonsymlink_exe_with_shebang(tmp_path: pathlib.Path): class RegisterVisitor (line 775) | class RegisterVisitor(fs.BaseDirectoryVisitor): method __init__ (line 778) | def __init__(self, root, follow_dirs=True, follow_symlink_dirs=True): method check (line 789) | def check(self, root, rel_path, depth): method visit_file (line 793) | def visit_file(self, root, rel_path, depth): method visit_symlinked_file (line 797) | def visit_symlinked_file(self, root, rel_path, depth): method before_visit_dir (line 800) | def before_visit_dir(self, root, rel_path, depth): method before_visit_symlinked_dir (line 805) | def before_visit_symlinked_dir(self, root, rel_path, depth): method after_visit_dir (line 810) | def after_visit_dir(self, root, rel_path, depth): method after_visit_symlinked_dir (line 814) | def after_visit_symlinked_dir(self, root, rel_path, depth): function test_visit_directory_tree_follow_all (line 820) | def test_visit_directory_tree_follow_all(noncyclical_dir_structure): function test_visit_directory_tree_follow_dirs (line 845) | def test_visit_directory_tree_follow_dirs(noncyclical_dir_structure): function test_visit_directory_tree_follow_none (line 864) | def test_visit_directory_tree_follow_none(noncyclical_dir_structure): function test_remove_linked_tree_doesnt_change_file_permission (line 879) | def test_remove_linked_tree_doesnt_change_file_permission(tmp_path: path... function test_filesummary (line 892) | def test_filesummary(tmp_path: pathlib.Path): function test_find_first_file (line 903) | def test_find_first_file(tmp_path: pathlib.Path, bfs_depth): function test_rename_dest_exists (line 931) | def test_rename_dest_exists(tmp_path: pathlib.Path): function test_windows_sfn (line 1030) | def test_windows_sfn(tmp_path: pathlib.Path): function dir_structure_with_things_to_find (line 1067) | def dir_structure_with_things_to_find(tmp_path_factory: pytest.TempPathF... function test_find_path_glob_matches (line 1109) | def test_find_path_glob_matches(dir_structure_with_things_to_find): function test_find_max_depth (line 1126) | def test_find_max_depth(dir_structure_with_things_to_find): function test_find_max_depth_relative (line 1144) | def test_find_max_depth_relative(dir_structure_with_things_to_find): function test_max_depth_and_recursive_errors (line 1153) | def test_max_depth_and_recursive_errors(tmp_path: pathlib.Path, recursiv... function complex_dir_structure (line 1164) | def complex_dir_structure(request, tmp_path_factory: pytest.TempPathFact... function test_find_max_depth_symlinks (line 1242) | def test_find_max_depth_symlinks(complex_dir_structure): function test_find_max_depth_multiple_and_repeated_entry_points (line 1259) | def test_find_max_depth_multiple_and_repeated_entry_points(complex_dir_s... function test_multiple_patterns (line 1274) | def test_multiple_patterns(complex_dir_structure): function test_find_input_types (line 1288) | def test_find_input_types(tmp_path: pathlib.Path): function test_edit_in_place_through_temporary_file (line 1311) | def test_edit_in_place_through_temporary_file(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/llnl/util/lang.py function now (line 25) | def now(): function module_path (line 30) | def module_path(tmp_path: pathlib.Path): function test_pretty_date (line 47) | def test_pretty_date(): function test_pretty_string_to_date_delta (line 106) | def test_pretty_string_to_date_delta(now, delta, pretty_string): function test_pretty_string_to_date (line 122) | def test_pretty_string_to_date(format, pretty_string): function test_pretty_seconds (line 128) | def test_pretty_seconds(): function test_pretty_duration (line 136) | def test_pretty_duration(): function test_match_predicate (line 145) | def test_match_predicate(): function test_load_modules_from_file (line 166) | def test_load_modules_from_file(module_path): function test_uniq (line 184) | def test_uniq(): function test_key_ordering (line 191) | def test_key_ordering(): function test_memoized (line 243) | def test_memoized(args, kwargs): function test_memoized_unhashable (line 254) | def test_memoized_unhashable(args, kwargs): function test_dedupe (line 265) | def test_dedupe(): function test_grouped_exception (line 270) | def test_grouped_exception(): function test_grouped_exception_base_type (line 283) | def test_grouped_exception_base_type(): function test_class_level_constant_value (line 298) | def test_class_level_constant_value(): function test_deprecated_property (line 308) | def test_deprecated_property(): function test_fnmatch_multiple (line 335) | def test_fnmatch_multiple(): function _attr_error_factory (line 351) | def _attr_error_factory(): function test_singleton_instantiation_attr_failure (line 355) | def test_singleton_instantiation_attr_failure(): class TestPriorityOrderedMapping (line 374) | class TestPriorityOrderedMapping: method test_iteration_order (line 392) | def test_iteration_order(self, elements, expected): method test_reverse_iteration (line 399) | def test_reverse_iteration(self): FILE: lib/spack/spack/test/llnl/util/link_tree.py function stage (line 26) | def stage(tmp_path: pathlib.Path): function check_file_link (line 37) | def check_file_link(filename: str, expected_target: str): function test_merge_to_new_directory (line 45) | def test_merge_to_new_directory(stage: str, monkeypatch, run_as_root: bo... function test_merge_to_new_directory_relative (line 79) | def test_merge_to_new_directory_relative(stage: str, monkeypatch, run_as... function test_merge_to_existing_directory (line 114) | def test_merge_to_existing_directory(stage: str, monkeypatch, run_as_root): function test_merge_with_empty_directories (line 155) | def test_merge_with_empty_directories(stage: str): function test_ignore (line 176) | def test_ignore(stage: str): function test_source_merge_visitor_does_not_follow_symlinked_dirs_at_depth (line 193) | def test_source_merge_visitor_does_not_follow_symlinked_dirs_at_depth(tm... function test_source_merge_visitor_cant_be_cyclical (line 243) | def test_source_merge_visitor_cant_be_cyclical(tmp_path: pathlib.Path): function test_destination_merge_visitor_always_errors_on_symlinked_dirs (line 276) | def test_destination_merge_visitor_always_errors_on_symlinked_dirs(tmp_p... function test_destination_merge_visitor_file_dir_clashes (line 310) | def test_destination_merge_visitor_file_dir_clashes(tmp_path: pathlib.Pa... function test_source_merge_visitor_handles_same_file_gracefully (line 338) | def test_source_merge_visitor_handles_same_file_gracefully( function test_source_merge_visitor_deals_with_dangling_symlinks (line 383) | def test_source_merge_visitor_deals_with_dangling_symlinks(tmp_path: pat... function test_source_visitor_file_file (line 409) | def test_source_visitor_file_file(tmp_path: pathlib.Path, normalize: bool): function test_source_visitor_file_dir (line 433) | def test_source_visitor_file_dir(tmp_path: pathlib.Path, normalize: bool): function test_source_visitor_dir_dir (line 458) | def test_source_visitor_dir_dir(tmp_path: pathlib.Path, normalize: bool): function test_dst_visitor_file_file (line 480) | def test_dst_visitor_file_file(tmp_path: pathlib.Path, normalize: bool): function test_dst_visitor_file_dir (line 503) | def test_dst_visitor_file_dir(tmp_path: pathlib.Path, normalize: bool): FILE: lib/spack/spack/test/llnl/util/lock.py function make_readable (line 105) | def make_readable(*paths): function make_writable (line 119) | def make_writable(*paths): function read_only (line 129) | def read_only(*paths): function lock_test_directory (line 140) | def lock_test_directory(request): function lock_dir (line 149) | def lock_dir(lock_test_directory): function private_lock_path (line 182) | def private_lock_path(lock_dir): function lock_path (line 199) | def lock_path(lock_dir): function test_poll_interval_generator (line 210) | def test_poll_interval_generator(): function local_multiproc_test (line 216) | def local_multiproc_test(*functions, **kwargs): function mpi_multiproc_test (line 232) | def mpi_multiproc_test(*functions): class AcquireWrite (line 281) | class AcquireWrite: method __init__ (line 282) | def __init__(self, lock_path, start=0, length=0): method __name__ (line 288) | def __name__(self): method __call__ (line 291) | def __call__(self, barrier): class AcquireRead (line 298) | class AcquireRead: method __init__ (line 299) | def __init__(self, lock_path, start=0, length=0): method __name__ (line 305) | def __name__(self): method __call__ (line 308) | def __call__(self, barrier): class TimeoutWrite (line 315) | class TimeoutWrite: method __init__ (line 316) | def __init__(self, lock_path, start=0, length=0): method __name__ (line 322) | def __name__(self): method __call__ (line 325) | def __call__(self, barrier): class TimeoutRead (line 333) | class TimeoutRead: method __init__ (line 334) | def __init__(self, lock_path, start=0, length=0): method __name__ (line 340) | def __name__(self): method __call__ (line 343) | def __call__(self, barrier): function test_write_lock_timeout_on_write (line 355) | def test_write_lock_timeout_on_write(lock_path): function test_write_lock_timeout_on_write_2 (line 359) | def test_write_lock_timeout_on_write_2(lock_path): function test_write_lock_timeout_on_write_3 (line 363) | def test_write_lock_timeout_on_write_3(lock_path): function test_write_lock_timeout_on_write_ranges (line 372) | def test_write_lock_timeout_on_write_ranges(lock_path): function test_write_lock_timeout_on_write_ranges_2 (line 376) | def test_write_lock_timeout_on_write_ranges_2(lock_path): function test_write_lock_timeout_on_write_ranges_3 (line 385) | def test_write_lock_timeout_on_write_ranges_3(lock_path): function test_write_lock_timeout_on_write_ranges_4 (line 395) | def test_write_lock_timeout_on_write_ranges_4(lock_path): function test_read_lock_timeout_on_write (line 411) | def test_read_lock_timeout_on_write(lock_path): function test_read_lock_timeout_on_write_2 (line 415) | def test_read_lock_timeout_on_write_2(lock_path): function test_read_lock_timeout_on_write_3 (line 419) | def test_read_lock_timeout_on_write_3(lock_path): function test_read_lock_timeout_on_write_ranges (line 428) | def test_read_lock_timeout_on_write_ranges(lock_path): function test_read_lock_timeout_on_write_ranges_2 (line 433) | def test_read_lock_timeout_on_write_ranges_2(lock_path): function test_read_lock_timeout_on_write_ranges_3 (line 438) | def test_read_lock_timeout_on_write_ranges_3(lock_path): function test_write_lock_timeout_on_read (line 451) | def test_write_lock_timeout_on_read(lock_path): function test_write_lock_timeout_on_read_2 (line 455) | def test_write_lock_timeout_on_read_2(lock_path): function test_write_lock_timeout_on_read_3 (line 459) | def test_write_lock_timeout_on_read_3(lock_path): function test_write_lock_timeout_on_read_ranges (line 468) | def test_write_lock_timeout_on_read_ranges(lock_path): function test_write_lock_timeout_on_read_ranges_2 (line 472) | def test_write_lock_timeout_on_read_ranges_2(lock_path): function test_write_lock_timeout_on_read_ranges_3 (line 476) | def test_write_lock_timeout_on_read_ranges_3(lock_path): function test_write_lock_timeout_on_read_ranges_4 (line 485) | def test_write_lock_timeout_on_read_ranges_4(lock_path): function test_write_lock_timeout_on_read_ranges_5 (line 493) | def test_write_lock_timeout_on_read_ranges_5(lock_path): function test_write_lock_timeout_with_multiple_readers_2_1 (line 505) | def test_write_lock_timeout_with_multiple_readers_2_1(lock_path): function test_write_lock_timeout_with_multiple_readers_2_2 (line 509) | def test_write_lock_timeout_with_multiple_readers_2_2(lock_path): function test_write_lock_timeout_with_multiple_readers_3_1 (line 518) | def test_write_lock_timeout_with_multiple_readers_3_1(lock_path): function test_write_lock_timeout_with_multiple_readers_3_2 (line 527) | def test_write_lock_timeout_with_multiple_readers_3_2(lock_path): function test_write_lock_timeout_with_multiple_readers_2_1_ranges (line 537) | def test_write_lock_timeout_with_multiple_readers_2_1_ranges(lock_path): function test_write_lock_timeout_with_multiple_readers_2_3_ranges (line 543) | def test_write_lock_timeout_with_multiple_readers_2_3_ranges(lock_path): function test_write_lock_timeout_with_multiple_readers_3_1_ranges (line 553) | def test_write_lock_timeout_with_multiple_readers_3_1_ranges(lock_path): function test_write_lock_timeout_with_multiple_readers_3_2_ranges (line 562) | def test_write_lock_timeout_with_multiple_readers_3_2_ranges(lock_path): function test_read_lock_on_read_only_lockfile (line 573) | def test_read_lock_on_read_only_lockfile(lock_dir, lock_path): function test_read_lock_read_only_dir_writable_lockfile (line 587) | def test_read_lock_read_only_dir_writable_lockfile(lock_dir, lock_path): function test_read_lock_no_lockfile (line 601) | def test_read_lock_no_lockfile(lock_dir, lock_path): function test_upgrade_read_to_write (line 615) | def test_upgrade_read_to_write(private_lock_path): function test_release_write_downgrades_to_shared (line 652) | def test_release_write_downgrades_to_shared(private_lock_path): function test_upgrade_read_to_write_fails_with_readonly_file (line 683) | def test_upgrade_read_to_write_fails_with_readonly_file(private_lock_path): class ComplexAcquireAndRelease (line 704) | class ComplexAcquireAndRelease: method __init__ (line 705) | def __init__(self, lock_path): method p1 (line 708) | def p1(self, barrier): method p2 (line 749) | def p2(self, barrier): method p3 (line 789) | def p3(self, barrier): function test_complex_acquire_and_release_chain (line 834) | def test_complex_acquire_and_release_chain(lock_path): class AssertLock (line 839) | class AssertLock(lk.Lock): method __init__ (line 842) | def __init__(self, lock_path, vals): method acquire_read (line 852) | def acquire_read(self, timeout=None): method acquire_write (line 858) | def acquire_write(self, timeout=None): method release_read (line 864) | def release_read(self, release_fn=None): method release_write (line 870) | def release_write(self, release_fn=None): function test_transaction (line 880) | def test_transaction(lock_path, transaction, type): function test_transaction_with_exception (line 926) | def test_transaction_with_exception(lock_path, transaction, type): function test_nested_write_transaction (line 979) | def test_nested_write_transaction(lock_path): function test_nested_reads (line 1030) | def test_nested_reads(lock_path): class LockDebugOutput (line 1086) | class LockDebugOutput: method __init__ (line 1087) | def __init__(self, lock_path): method p1 (line 1091) | def p1(self, barrier, q1, q2): method p2 (line 1123) | def p2(self, barrier, q1, q2): function test_lock_debug_output (line 1156) | def test_lock_debug_output(lock_path): function test_lock_with_no_parent_directory (line 1162) | def test_lock_with_no_parent_directory(tmp_path: pathlib.Path): function test_lock_in_current_directory (line 1170) | def test_lock_in_current_directory(tmp_path: pathlib.Path): function test_attempts_str (line 1190) | def test_attempts_str(): function test_lock_str (line 1196) | def test_lock_str(): function test_downgrade_write_okay (line 1204) | def test_downgrade_write_okay(tmp_path: pathlib.Path): function test_downgrade_write_fails (line 1215) | def test_downgrade_write_fails(tmp_path: pathlib.Path): function test_poll_lock_exception (line 1234) | def test_poll_lock_exception(tmp_path: pathlib.Path, monkeypatch, err_nu... function test_upgrade_read_okay (line 1257) | def test_upgrade_read_okay(tmp_path: pathlib.Path): function test_upgrade_read_fails (line 1268) | def test_upgrade_read_fails(tmp_path: pathlib.Path): function test_acquire_after_fork (line 1280) | def test_acquire_after_fork(tmp_path: pathlib.Path, acquire: str): function _child_try_acquire_write (line 1314) | def _child_try_acquire_write(lock_path: str, result_queue): function _child_try_acquire_read (line 1319) | def _child_try_acquire_read(lock_path: str, result_queue): function test_try_acquire_read (line 1324) | def test_try_acquire_read(tmp_path: pathlib.Path): function test_try_acquire_write (line 1352) | def test_try_acquire_write(tmp_path: pathlib.Path): function _child_fails_to_acquire_read (line 1391) | def _child_fails_to_acquire_read(_lock: lk.Lock): function test_read_after_write_does_not_accidentally_downgrade (line 1399) | def test_read_after_write_does_not_accidentally_downgrade(tmp_path: path... FILE: lib/spack/spack/test/llnl/util/symlink.py function test_symlink_file (line 16) | def test_symlink_file(tmp_path: pathlib.Path): function test_symlink_dir (line 28) | def test_symlink_dir(tmp_path: pathlib.Path): function test_symlink_source_not_exists (line 41) | def test_symlink_source_not_exists(tmp_path: pathlib.Path): function test_symlink_src_relative_to_link (line 51) | def test_symlink_src_relative_to_link(tmp_path: pathlib.Path): function test_symlink_src_not_relative_to_link (line 75) | def test_symlink_src_not_relative_to_link(tmp_path: pathlib.Path): function test_symlink_link_already_exists (line 102) | def test_symlink_link_already_exists(tmp_path: pathlib.Path): function test_symlink_win_file (line 117) | def test_symlink_win_file(tmp_path: pathlib.Path): function test_symlink_win_dir (line 134) | def test_symlink_win_dir(tmp_path: pathlib.Path): function test_windows_create_junction (line 151) | def test_windows_create_junction(tmp_path: pathlib.Path): function test_windows_create_hard_link (line 167) | def test_windows_create_hard_link(tmp_path: pathlib.Path): function test_windows_create_link_dir (line 183) | def test_windows_create_link_dir(tmp_path: pathlib.Path): function test_windows_create_link_file (line 202) | def test_windows_create_link_file(tmp_path: pathlib.Path): function test_windows_read_link (line 219) | def test_windows_read_link(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/llnl/util/tty/colify.py function test_fixed_column_table (line 27) | def test_fixed_column_table(console_cols, capfd): function test_variable_width_columns (line 58) | def test_variable_width_columns(console_cols, expected_rows, expected_co... FILE: lib/spack/spack/test/llnl/util/tty/color.py function test_color_wrap (line 30) | def test_color_wrap(cols, text, indent): function test_cescape_at_sign_roundtrip (line 55) | def test_cescape_at_sign_roundtrip(): function test_cescape_multiple_at_signs_roundtrip (line 62) | def test_cescape_multiple_at_signs_roundtrip(): function test_colorize_top_level_consecutive_escaped_ats (line 69) | def test_colorize_top_level_consecutive_escaped_ats(): FILE: lib/spack/spack/test/llnl/util/tty/log.py function nullcontext (line 30) | def nullcontext(): function test_log_python_output_with_echo (line 34) | def test_log_python_output_with_echo(capfd, tmp_path: pathlib.Path): function test_log_python_output_without_echo (line 47) | def test_log_python_output_without_echo(capfd, tmp_path: pathlib.Path): function test_log_python_output_with_invalid_utf8 (line 60) | def test_log_python_output_with_invalid_utf8(capfd, tmp_path: pathlib.Pa... function test_log_python_output_and_echo_output (line 72) | def test_log_python_output_and_echo_output(capfd, tmp_path: pathlib.Path): function test_log_output_with_control_codes (line 88) | def test_log_output_with_control_codes(capfd, tmp_path: pathlib.Path): function _log_filter_fn (line 103) | def _log_filter_fn(string): function test_log_output_with_filter (line 107) | def test_log_output_with_filter(capfd, tmp_path: pathlib.Path): function test_log_output_with_filter_and_append (line 136) | def test_log_output_with_filter_and_append(capfd, tmp_path: pathlib.Path): function test_log_subproc_and_echo_output (line 153) | def test_log_subproc_and_echo_output(capfd, tmp_path: pathlib.Path): FILE: lib/spack/spack/test/llnl/util/tty/tty.py function test_get_timestamp (line 12) | def test_get_timestamp(monkeypatch): function test_msg (line 45) | def test_msg(capfd, monkeypatch, enabled, msg, trace, newline): function test_info (line 72) | def test_info(capfd, monkeypatch, msg, trace, wrap): FILE: lib/spack/spack/test/main.py function _clear_commit_cache (line 30) | def _clear_commit_cache(): function test_version_git_nonsense_output (line 34) | def test_version_git_nonsense_output(tmp_path: pathlib.Path, working_env... function test_version_git_fails (line 48) | def test_version_git_fails(tmp_path: pathlib.Path, working_env, monkeypa... function test_git_sha_output (line 63) | def test_git_sha_output(tmp_path: pathlib.Path, working_env, monkeypatch): function test_get_version_no_repo (line 79) | def test_get_version_no_repo(tmp_path: pathlib.Path, monkeypatch): function test_get_version_no_git (line 84) | def test_get_version_no_git(working_env, monkeypatch): function test_main_calls_get_version (line 89) | def test_main_calls_get_version(capfd, working_env, monkeypatch): function test_unrecognized_top_level_flag (line 99) | def test_unrecognized_top_level_flag(): function test_get_version_bad_git (line 103) | def test_get_version_bad_git(tmp_path: pathlib.Path, working_env, monkey... function test_bad_command_line_scopes (line 117) | def test_bad_command_line_scopes(tmp_path: pathlib.Path, config): function test_add_command_line_scopes (line 131) | def test_add_command_line_scopes(tmp_path: pathlib.Path, mutable_config): function test_add_command_line_scope_env (line 147) | def test_add_command_line_scope_env(tmp_path: pathlib.Path, mutable_mock... function test_include_cfg (line 184) | def test_include_cfg(mock_low_high_config, write_config_file, tmp_path: ... function test_include_duplicate_source (line 253) | def test_include_duplicate_source(mutable_config): function test_include_recurse_limit (line 282) | def test_include_recurse_limit(tmp_path: pathlib.Path, mutable_config): function test_include_recurse_diamond (line 297) | def test_include_recurse_diamond(tmp_path: pathlib.Path, mutable_config,... FILE: lib/spack/spack/test/make_executable.py function make_executable (line 23) | def make_executable(tmp_path: pathlib.Path, working_env): function test_make_normal (line 33) | def test_make_normal(): function test_make_explicit (line 39) | def test_make_explicit(): function test_make_one_job (line 45) | def test_make_one_job(): function test_make_parallel_false (line 51) | def test_make_parallel_false(): function test_make_parallel_disabled (line 57) | def test_make_parallel_disabled(monkeypatch): function test_make_parallel_precedence (line 78) | def test_make_parallel_precedence(monkeypatch): function test_make_jobs_env (line 100) | def test_make_jobs_env(): function test_make_jobserver (line 107) | def test_make_jobserver(monkeypatch): function test_make_jobserver_not_supported (line 114) | def test_make_jobserver_not_supported(monkeypatch): FILE: lib/spack/spack/test/mirror.py function set_up_package (line 38) | def set_up_package(name, repository, url_attr): function check_mirror (line 56) | def check_mirror(): function test_url_mirror (line 105) | def test_url_mirror(mock_archive): function test_git_mirror (line 111) | def test_git_mirror(git, mock_git_repository): function test_svn_mirror (line 117) | def test_svn_mirror(mock_svn_repository): function test_hg_mirror (line 123) | def test_hg_mirror(mock_hg_repository): function test_all_mirror (line 129) | def test_all_mirror(mock_git_repository, mock_svn_repository, mock_hg_re... function test_roundtrip_mirror (line 146) | def test_roundtrip_mirror(mirror: spack.mirrors.mirror.Mirror): function test_invalid_yaml_mirror (line 156) | def test_invalid_yaml_mirror(invalid_yaml): function test_invalid_json_mirror (line 163) | def test_invalid_json_mirror(invalid_json, error_message): function test_roundtrip_mirror_collection (line 183) | def test_roundtrip_mirror_collection(mirror_collection): function test_invalid_yaml_mirror_collection (line 199) | def test_invalid_yaml_mirror_collection(invalid_yaml): function test_invalid_json_mirror_collection (line 206) | def test_invalid_json_mirror_collection(invalid_json, error_message): function test_mirror_archive_paths_no_version (line 214) | def test_mirror_archive_paths_no_version(mock_packages, mock_archive): function test_mirror_with_url_patches (line 222) | def test_mirror_with_url_patches(mock_packages, monkeypatch): class MockFetcher (line 265) | class MockFetcher: method archive (line 271) | def archive(dst): function test_mirror_layout_make_alias (line 277) | def test_mirror_layout_make_alias(tmp_path: pathlib.Path): function test_get_all_versions (line 302) | def test_get_all_versions(specs, expected_specs): function test_update_1 (line 310) | def test_update_1(): function test_update_2 (line 317) | def test_update_2(): function test_update_3 (line 326) | def test_update_3(): function test_update_4 (line 335) | def test_update_4(): function test_update_connection_params (line 345) | def test_update_connection_params(direction, monkeypatch): function test_mirror_name_or_url_dir_parsing (line 429) | def test_mirror_name_or_url_dir_parsing(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/module_parsing.py function test_module_function_change_env (line 29) | def test_module_function_change_env(tmp_path: pathlib.Path): function test_module_function_change_env_with_module_src_cmd (line 38) | def test_module_function_change_env_with_module_src_cmd(tmp_path: pathli... function test_module_function_change_env_without_moduleshome_no_module_src_cmd (line 62) | def test_module_function_change_env_without_moduleshome_no_module_src_cm... function test_module_function_no_change (line 85) | def test_module_function_no_change(tmp_path: pathlib.Path): function test_get_path_from_module_faked (line 97) | def test_get_path_from_module_faked(monkeypatch): function test_get_path_from_module_contents (line 109) | def test_get_path_from_module_contents(): function test_get_path_from_empty_module (line 137) | def test_get_path_from_empty_module(): function test_pkg_dir_from_module_name (line 141) | def test_pkg_dir_from_module_name(): function test_get_argument_from_module_line (line 149) | def test_get_argument_from_module_line(): function test_lmod_quote_parsing (line 178) | def test_lmod_quote_parsing(): FILE: lib/spack/spack/test/modules/common.py function test_update_dictionary_extending_list (line 30) | def test_update_dictionary_extending_list(): function mock_module_defaults (line 41) | def mock_module_defaults(monkeypatch): function mock_package_perms (line 52) | def mock_package_perms(monkeypatch): function test_modules_written_with_proper_permissions (line 59) | def test_modules_written_with_proper_permissions( function test_modules_default_symlink (line 73) | def test_modules_default_symlink( class MockDb (line 91) | class MockDb: method __init__ (line 92) | def __init__(self, db_ids, spec_hash_to_db): method db_for_spec_hash (line 96) | def db_for_spec_hash(self, spec_hash): class MockSpec (line 100) | class MockSpec: method __init__ (line 101) | def __init__(self, unique_id): method dag_hash (line 104) | def dag_hash(self): function test_upstream_module_index (line 108) | def test_upstream_module_index(): function test_get_module_upstream (line 147) | def test_get_module_upstream(): function test_load_installed_package_not_in_repo (line 176) | def test_load_installed_package_not_in_repo(install_mockery, mock_fetch,... function test_check_module_set_name (line 198) | def test_check_module_set_name(mutable_config): function test_module_writers_are_pickleable (line 225) | def test_module_writers_are_pickleable(default_mock_concretization, modu... FILE: lib/spack/spack/test/modules/conftest.py function modulefile_content (line 15) | def modulefile_content(request): function factory (line 34) | def factory(request, mock_modules_root): function mock_module_filename (line 46) | def mock_module_filename(monkeypatch, tmp_path: pathlib.Path): FILE: lib/spack/spack/test/modules/lmod.py function compiler (line 37) | def compiler(request): function provider (line 53) | def provider(request): class TestLmod (line 58) | class TestLmod: method test_layout_for_specs_compiled_with_core_compilers (line 61) | def test_layout_for_specs_compiled_with_core_compilers( method test_file_layout (line 71) | def test_file_layout(self, compiler, provider, factory, module_configu... method test_compilers_provided_different_name (line 124) | def test_compilers_provided_different_name( method test_compiler_language_virtuals (line 139) | def test_compiler_language_virtuals(self, factory, module_configuratio... method test_simple_case (line 148) | def test_simple_case(self, modulefile_content, module_configuration): method test_autoload_direct (line 159) | def test_autoload_direct(self, modulefile_content, module_configuration): method test_autoload_all (line 167) | def test_autoload_all(self, modulefile_content, module_configuration): method test_alter_environment (line 175) | def test_alter_environment(self, modulefile_content, module_configurat... method test_prepend_path_separator (line 191) | def test_prepend_path_separator(self, modulefile_content, module_confi... method test_manpath_setup (line 207) | def test_manpath_setup(self, modulefile_content, module_configuration): method test_setenv_raw_value (line 238) | def test_setenv_raw_value(self, modulefile_content, module_configurati... method test_help_message (line 250) | def test_help_message(self, modulefile_content, module_configuration): method test_exclude (line 287) | def test_exclude(self, modulefile_content, module_configuration): method test_no_hash (line 294) | def test_no_hash(self, factory, module_configuration): method test_no_core_compilers (line 316) | def test_no_core_compilers(self, factory, module_configuration): method test_conflicts (line 335) | def test_conflicts(self, modulefile_content, module_configuration): method test_inconsistent_conflict_in_modules_yaml (line 347) | def test_inconsistent_conflict_in_modules_yaml(self, modulefile_conten... method test_override_template_in_package (line 355) | def test_override_template_in_package(self, modulefile_content, module... method test_override_template_in_modules_yaml (line 363) | def test_override_template_in_modules_yaml( method test_external_configure_args (line 375) | def test_external_configure_args(self, factory): method test_guess_core_compilers (line 382) | def test_guess_core_compilers(self, factory, module_configuration, mon... method test_only_generic_microarchitectures_in_root (line 406) | def test_only_generic_microarchitectures_in_root( method test_projections_specific (line 416) | def test_projections_specific(self, factory, module_configuration): method test_projections_all (line 431) | def test_projections_all(self, factory, module_configuration): method test_modules_relative_to_view (line 446) | def test_modules_relative_to_view( method test_modules_no_arch (line 467) | def test_modules_no_arch(self, factory, module_configuration): method test_hide_implicits (line 474) | def test_hide_implicits(self, module_configuration, temporary_store): FILE: lib/spack/spack/test/modules/tcl.py class TestTcl (line 29) | class TestTcl: method test_simple_case (line 30) | def test_simple_case(self, modulefile_content, module_configuration): method test_autoload_direct (line 38) | def test_autoload_direct(self, modulefile_content, module_configuration): method test_autoload_all (line 71) | def test_autoload_all(self, modulefile_content, module_configuration): method test_prerequisites_direct (line 100) | def test_prerequisites_direct( method test_prerequisites_all (line 110) | def test_prerequisites_all( method test_alter_environment (line 120) | def test_alter_environment(self, modulefile_content, module_configurat... method test_prepend_path_separator (line 141) | def test_prepend_path_separator(self, modulefile_content, module_confi... method test_manpath_setup (line 157) | def test_manpath_setup(self, modulefile_content, module_configuration): method test_setenv_raw_value (line 186) | def test_setenv_raw_value(self, modulefile_content, module_configurati... method test_help_message (line 198) | def test_help_message(self, modulefile_content, module_configuration): method test_exclude (line 240) | def test_exclude(self, modulefile_content, module_configuration, host_... method test_naming_scheme_compat (line 257) | def test_naming_scheme_compat(self, factory, module_configuration): method test_projections_specific (line 269) | def test_projections_specific(self, factory, module_configuration): method test_projections_all (line 284) | def test_projections_all(self, factory, module_configuration): method test_invalid_naming_scheme (line 299) | def test_invalid_naming_scheme(self, factory, module_configuration): method test_invalid_token_in_env_name (line 310) | def test_invalid_token_in_env_name(self, factory, module_configuration): method test_conflicts (line 319) | def test_conflicts(self, modulefile_content, module_configuration): method test_inconsistent_conflict_in_modules_yaml (line 331) | def test_inconsistent_conflict_in_modules_yaml(self, modulefile_conten... method test_module_index (line 339) | def test_module_index( method test_suffixes (line 372) | def test_suffixes(self, module_configuration, factory): method test_suffixes_format (line 387) | def test_suffixes_format(self, module_configuration, factory): method test_setup_environment (line 395) | def test_setup_environment(self, modulefile_content, module_configurat... method test_override_config (line 410) | def test_override_config(self, module_configuration, factory): method test_override_template_in_package (line 424) | def test_override_template_in_package(self, modulefile_content, module... method test_override_template_in_modules_yaml (line 432) | def test_override_template_in_modules_yaml( method test_extend_context (line 444) | def test_extend_context(self, modulefile_content, module_configuration): method test_hide_implicits_no_arg (line 456) | def test_hide_implicits_no_arg(self, module_configuration, mutable_dat... method test_hide_implicits_with_arg (line 474) | def test_hide_implicits_with_arg(self, module_configuration): method test_autoload_with_constraints (line 488) | def test_autoload_with_constraints(self, modulefile_content, module_co... method test_modules_no_arch (line 507) | def test_modules_no_arch(self, factory, module_configuration): method test_hide_implicits (line 514) | def test_hide_implicits(self, module_configuration, temporary_store): FILE: lib/spack/spack/test/multimethod.py function pkg_name (line 20) | def pkg_name(request): function test_no_version_match (line 29) | def test_no_version_match(pkg_name): function test_multimethod_calls (line 69) | def test_multimethod_calls( function test_target_match (line 77) | def test_target_match(pkg_name): function test_multimethod_calls_and_inheritance (line 113) | def test_multimethod_calls_and_inheritance(spec_str, method_name, expect... FILE: lib/spack/spack/test/namespace_trie.py function trie (line 11) | def trie(): function test_add_single (line 15) | def test_add_single(trie): function test_add_multiple (line 23) | def test_add_multiple(trie): function test_add_three (line 37) | def test_add_three(trie): function test_add_none_single (line 72) | def test_add_none_single(trie): function test_add_none_multiple (line 82) | def test_add_none_multiple(trie): FILE: lib/spack/spack/test/new_installer.py function existing_prefix (line 28) | def existing_prefix(tmp_path: pathlib.Path) -> pathlib.Path: class TestPrefixPivoter (line 36) | class TestPrefixPivoter: method test_no_existing_prefix (line 39) | def test_no_existing_prefix(self, tmp_path: pathlib.Path): method test_existing_prefix_success_cleans_up_old_prefix (line 50) | def test_existing_prefix_success_cleans_up_old_prefix( method test_existing_prefix_failure_restores_original_prefix (line 65) | def test_existing_prefix_failure_restores_original_prefix( method test_existing_prefix_failure_no_partial_prefix_created (line 81) | def test_existing_prefix_failure_no_partial_prefix_created( method test_no_existing_prefix_success (line 92) | def test_no_existing_prefix_success(self, tmp_path: pathlib.Path): method test_keep_prefix_true_with_existing_prefix_keeps_failed_install (line 103) | def test_keep_prefix_true_with_existing_prefix_keeps_failed_install( method test_keep_prefix_false_removes_failed_install (line 120) | def test_keep_prefix_false_removes_failed_install(self, tmp_path: path... method test_keep_prefix_true_no_existing_prefix (line 135) | def test_keep_prefix_true_no_existing_prefix(self, tmp_path: pathlib.P... method test_failure_no_prefix_created (line 151) | def test_failure_no_prefix_created(self, tmp_path: pathlib.Path): class FailingPrefixPivoter (line 166) | class FailingPrefixPivoter(PrefixPivoter): method __init__ (line 169) | def __init__( method _rename (line 181) | def _rename(self, src: str, dst: str) -> None: class TestPrefixPivoterFailureRecovery (line 197) | class TestPrefixPivoterFailureRecovery: method test_restore_failure_leaves_backup (line 200) | def test_restore_failure_leaves_backup( method test_garbage_move_failure_leaves_backup (line 216) | def test_garbage_move_failure_leaves_backup( class TestPackageInstallerConstructor (line 233) | class TestPackageInstallerConstructor: method test_capacity_explicit_concurrent_packages (line 236) | def test_capacity_explicit_concurrent_packages(self, temporary_store, ... method test_capacity_from_config_default_one (line 243) | def test_capacity_from_config_default_one( method test_capacity_from_config_non_zero (line 252) | def test_capacity_from_config_non_zero(self, temporary_store, mock_pac... class _FakeBuildGraph (line 260) | class _FakeBuildGraph: method __init__ (line 268) | def __init__(self, specs): method enqueue_parents (line 271) | def enqueue_parents(self, dag_hash, pending_builds): class TestScheduleBuilds (line 276) | class TestScheduleBuilds: method _make_spec (line 279) | def _make_spec(self, name): method _mark_installed (line 285) | def _mark_installed(self, spec, store): method test_not_installed_no_running_starts_build (line 290) | def test_not_installed_no_running_starts_build(self, temporary_store, ... method test_already_installed_yields_newly_installed (line 319) | def test_already_installed_yields_newly_installed(self, temporary_stor... method test_no_jobserver_token_returns_empty (line 349) | def test_no_jobserver_token_returns_empty(self, temporary_store, mock_... method test_all_locked_returns_blocked (line 376) | def test_all_locked_returns_blocked(self, temporary_store, mock_packag... method test_overwrite_installed_spec_is_started (line 406) | def test_overwrite_installed_spec_is_started(self, temporary_store, mo... method test_mixed_locked_unlocked (line 435) | def test_mixed_locked_unlocked(self, temporary_store, mock_packages, m... method test_write_locked_read_locked_installed_yields_newly_installed (line 469) | def test_write_locked_read_locked_installed_yields_newly_installed( method test_write_locked_read_locked_not_installed_still_blocked (line 510) | def test_write_locked_read_locked_not_installed_still_blocked( method test_overwrite_handled_by_concurrent_process (line 544) | def test_overwrite_handled_by_concurrent_process(self, temporary_store... method test_installed_implicit_explicit_set_produces_db_update (line 573) | def test_installed_implicit_explicit_set_produces_db_update( function test_nodes_to_roots (line 605) | def test_nodes_to_roots(): function test_nodes_to_roots_shared_dependency (line 617) | def test_nodes_to_roots_shared_dependency(): FILE: lib/spack/spack/test/oci/image.py function test_name_parsing (line 39) | def test_name_parsing(image_ref, expected): function test_parsing_failure (line 68) | def test_parsing_failure(image_ref): function test_digest (line 73) | def test_digest(): function test_url_with_scheme (line 88) | def test_url_with_scheme(): FILE: lib/spack/spack/test/oci/integration_test.py function oci_servers (line 39) | def oci_servers(*servers: DummyServer): function test_buildcache_push_command (line 46) | def test_buildcache_push_command(mutable_database): function test_buildcache_tag (line 69) | def test_buildcache_tag(install_mockery, mock_fetch, mutable_mock_env_pa... function test_buildcache_push_with_base_image_command (line 115) | def test_buildcache_push_with_base_image_command(mutable_database, tmp_p... function test_uploading_with_base_image_in_docker_image_manifest_v2_format (line 212) | def test_uploading_with_base_image_in_docker_image_manifest_v2_format( function test_best_effort_upload (line 301) | def test_best_effort_upload(mutable_database: spack.database.Database, m... FILE: lib/spack/spack/test/oci/mock_registry.py class MiddlewareError (line 24) | class MiddlewareError(Exception): method __init__ (line 27) | def __init__(self, response: MockHTTPResponse): class Router (line 31) | class Router: method __init__ (line 38) | def __init__(self) -> None: method handle (line 42) | def handle(self, req: Request) -> MockHTTPResponse: method register (line 64) | def register(self, method, path: str, handler: Callable): method add_middleware (line 67) | def add_middleware(self, handler: Callable[[Request], Request]): class DummyServer (line 71) | class DummyServer: method __init__ (line 72) | def __init__(self, domain: str) -> None: method handle (line 85) | def handle(self, req: Request) -> MockHTTPResponse: method log_request (line 88) | def log_request(self, req: Request): method clear_log (line 93) | def clear_log(self): class InMemoryOCIRegistry (line 97) | class InMemoryOCIRegistry(DummyServer): method __init__ (line 110) | def __init__( method index (line 138) | def index(self, req: Request): method head_blob (line 141) | def head_blob(self, req: Request, name: str, digest: str): method get_blob (line 146) | def get_blob(self, req: Request, name: str, digest: str): method start_session (line 151) | def start_session(self, req: Request, name: str): method put_session (line 166) | def put_session(self, req: Request): method put_manifest (line 187) | def put_manifest(self, req: Request, name: str, ref: str): method get_manifest (line 211) | def get_manifest(self, req: Request, name: str, ref: str): method _require_data (line 224) | def _require_data(self, req: Request) -> bytes: method handle_upload (line 235) | def handle_upload(self, req: Request, name: str, digest: Digest): method list_tags (line 242) | def list_tags(self, req: Request, name: str): class DummyServerUrllibHandler (line 273) | class DummyServerUrllibHandler(urllib.request.BaseHandler): method __init__ (line 277) | def __init__(self) -> None: method add_server (line 280) | def add_server(self, domain: str, api: DummyServer): method https_open (line 284) | def https_open(self, req: Request): class InMemoryOCIRegistryWithBearerAuth (line 293) | class InMemoryOCIRegistryWithBearerAuth(InMemoryOCIRegistry): method __init__ (line 296) | def __init__( method authenticate (line 304) | def authenticate(self, req: Request): method unauthorized (line 320) | def unauthorized(self): class InMemoryOCIRegistryWithBasicAuth (line 332) | class InMemoryOCIRegistryWithBasicAuth(InMemoryOCIRegistry): method __init__ (line 335) | def __init__( method authenticate (line 344) | def authenticate(self, req: Request): method unauthorized (line 361) | def unauthorized(self): class MockBearerTokenServer (line 367) | class MockBearerTokenServer(DummyServer): method __init__ (line 374) | def __init__(self, domain: str) -> None: method login (line 378) | def login(self, req: Request): method public_auth (line 398) | def public_auth(self, req: Request): method oauth_auth (line 403) | def oauth_auth(self, req: Request): method private_auth (line 407) | def private_auth(self, req: Request): function create_opener (line 421) | def create_opener(*servers: DummyServer, credentials_provider=None): FILE: lib/spack/spack/test/oci/urlopen.py function test_parse_www_authenticate (line 50) | def test_parse_www_authenticate(): function test_invalid_www_authenticate (line 118) | def test_invalid_www_authenticate(invalid_str): function test_get_basic_challenge (line 123) | def test_get_basic_challenge(): function test_get_bearer_challenge (line 179) | def test_get_bearer_challenge(): function test_automatic_oci_bearer_authentication (line 231) | def test_automatic_oci_bearer_authentication(image_ref: str, token: str): function test_automatic_oci_basic_authentication (line 250) | def test_automatic_oci_basic_authentication(): function test_wrong_credentials (line 271) | def test_wrong_credentials(): function test_wrong_bearer_token_returned_by_auth_server (line 290) | def test_wrong_bearer_token_returned_by_auth_server(): class TrivialAuthServer (line 312) | class TrivialAuthServer(DummyServer): method __init__ (line 315) | def __init__(self, domain: str, token: str) -> None: method login (line 320) | def login(self, req: Request): function test_registry_with_short_lived_bearer_tokens (line 324) | def test_registry_with_short_lived_bearer_tokens(): class InMemoryRegistryWithUnsupportedAuth (line 373) | class InMemoryRegistryWithUnsupportedAuth(InMemoryOCIRegistry): method __init__ (line 377) | def __init__(self, domain: str, allow_single_post: bool = True, www_au... method unsupported_auth_method (line 382) | def unsupported_auth_method(self, req: Request): function test_auth_method_we_cannot_handle_is_error (line 409) | def test_auth_method_we_cannot_handle_is_error(www_authenticate, error_m... function test_oci_registry_upload (line 426) | def test_oci_registry_upload(tmp_path: pathlib.Path, client_single_reque... function test_copy_missing_layers (line 475) | def test_copy_missing_layers(tmp_path: pathlib.Path, config): function test_image_from_mirror (line 558) | def test_image_from_mirror(): function test_image_from_mirror_with_http_scheme (line 563) | def test_image_from_mirror_with_http_scheme(): function test_image_reference_str (line 570) | def test_image_reference_str(): function test_image_reference_invalid (line 592) | def test_image_reference_invalid(image): function test_default_credentials_provider (line 597) | def test_default_credentials_provider(): function test_manifest_index (line 642) | def test_manifest_index(tmp_path: pathlib.Path): class BrokenServer (line 704) | class BrokenServer(DummyServer): method __init__ (line 707) | def __init__(self, domain: str) -> None: method internal_server_error_twice (line 715) | def internal_server_error_twice(self, request: Request): method rate_limit_twice (line 722) | def rate_limit_twice(self, request: Request): method not_found (line 729) | def not_found(self, request: Request): function test_retry (line 746) | def test_retry(url, max_retries, expect_failure, expect_requests): function test_list_tags (line 766) | def test_list_tags(): FILE: lib/spack/spack/test/optional_deps.py function spec_and_expected (line 69) | def spec_and_expected(request): function test_default_variant (line 75) | def test_default_variant(config, mock_packages): FILE: lib/spack/spack/test/package_class.py function compiler_names (line 34) | def compiler_names(mock_packages_repo): function mpileaks_possible_deps (line 39) | def mpileaks_possible_deps(mock_packages, mpi_names, compiler_names): function mock_inspector (line 63) | def mock_inspector(config, mock_packages, request): function mpi_names (line 76) | def mpi_names(mock_inspector): function test_possible_dependencies (line 121) | def test_possible_dependencies(pkg_name, fn_kwargs, expected, mock_inspe... function test_possible_dependencies_virtual (line 127) | def test_possible_dependencies_virtual(mock_inspector, mock_packages, mp... function test_possible_dependencies_missing (line 143) | def test_possible_dependencies_missing(mock_inspector): function test_possible_dependencies_with_multiple_classes (line 148) | def test_possible_dependencies_with_multiple_classes( function setup_install_test (line 159) | def setup_install_test(source_paths, test_root): function test_cache_extra_sources (line 197) | def test_cache_extra_sources(install_mockery, spec, sources, extras, exp... function test_cache_extra_sources_fails (line 236) | def test_cache_extra_sources_fails(install_mockery, tmp_path: pathlib.Pa... function test_package_exes_and_libs (line 247) | def test_package_exes_and_libs(): function test_package_url_and_urls (line 255) | def test_package_url_and_urls(): function test_package_license (line 271) | def test_package_license(): class BaseTestPackage (line 283) | class BaseTestPackage(PackageBase): function test_package_version_fails (line 287) | def test_package_version_fails(): function test_package_tester_fails (line 294) | def test_package_tester_fails(): function test_package_fetcher_fails (line 301) | def test_package_fetcher_fails(): function test_package_test_no_compilers (line 308) | def test_package_test_no_compilers(mock_packages, monkeypatch, capfd): function test_package_subscript (line 320) | def test_package_subscript(default_mock_concretization): function test_deserialize_preserves_package_attribute (line 333) | def test_deserialize_preserves_package_attribute(default_mock_concretiza... function test_git_provenance_commit_version (line 342) | def test_git_provenance_commit_version(default_mock_concretization): function test_git_provenance_find_commit_ls_remote (line 351) | def test_git_provenance_find_commit_ls_remote( function test_git_provenance_cant_resolve_commit (line 389) | def test_git_provenance_cant_resolve_commit(mock_packages, monkeypatch, ... function test_package_preferred_version (line 411) | def test_package_preferred_version(mock_packages, config, pkg_name, pref... FILE: lib/spack/spack/test/packages.py class MyPrependFileLoader (line 25) | class MyPrependFileLoader(spack.repo._PrependFileLoader): method __init__ (line 28) | def __init__(self, fullname, repo, package_name): function pkg_factory (line 33) | def pkg_factory(name): class TestPackage (line 40) | class TestPackage: method test_load_package (line 41) | def test_load_package(self): method test_package_name (line 44) | def test_package_name(self): method test_package_filename (line 48) | def test_package_filename(self): method test_nonexisting_package_filename (line 53) | def test_nonexisting_package_filename(self): method test_package_class_names (line 60) | def test_package_class_names(self): method test_import_package (line 72) | def test_import_package(self, tmp_path: pathlib.Path, monkeypatch): method test_inheritance_of_directives (line 86) | def test_inheritance_of_directives(self): method test_inheritance_of_patches (line 111) | def test_inheritance_of_patches(self): function test_urls_for_versions (line 117) | def test_urls_for_versions(mock_packages, config): function test_url_for_version_with_no_urls (line 131) | def test_url_for_version_with_no_urls(mock_packages, config): function test_custom_cmake_prefix_path (line 142) | def test_custom_cmake_prefix_path(mock_packages, config): function test_url_for_version_with_only_overrides (line 150) | def test_url_for_version_with_only_overrides(mock_packages, config): function test_url_for_version_with_only_overrides_with_gaps (line 165) | def test_url_for_version_with_only_overrides_with_gaps(mock_packages, co... function test_fetcher_url (line 197) | def test_fetcher_url(spec_str, expected_type, expected_url): function test_fetcher_errors (line 215) | def test_fetcher_errors(spec_str, version_str, exception_type): function test_git_url_top_level_url_versions (line 231) | def test_git_url_top_level_url_versions(version_str, expected_url, digest): function test_git_url_top_level_git_versions (line 257) | def test_git_url_top_level_git_versions(version_str, tag, commit, branch): function test_git_url_top_level_conflicts (line 272) | def test_git_url_top_level_conflicts(version_str): function test_rpath_args (line 278) | def test_rpath_args(mutable_database): function test_bundle_version_checksum (line 288) | def test_bundle_version_checksum(mock_directive_bundle, clear_directive_... function test_bundle_patch_directive (line 295) | def test_bundle_patch_directive(mock_directive_bundle, clear_directive_f... function test_fetch_options (line 313) | def test_fetch_options(version_str, digest_end, extra_options): function test_package_deprecated_version (line 322) | def test_package_deprecated_version(mock_packages, mock_fetch, mock_stage): function test_package_can_have_sparse_checkout_properties (line 330) | def test_package_can_have_sparse_checkout_properties(mock_packages, mock... function test_package_can_have_sparse_checkout_properties_with_commit_version (line 341) | def test_package_can_have_sparse_checkout_properties_with_commit_version( function test_package_can_have_sparse_checkout_properties_with_gitversion (line 354) | def test_package_can_have_sparse_checkout_properties_with_gitversion( function test_package_version_can_have_sparse_checkout_properties (line 368) | def test_package_version_can_have_sparse_checkout_properties( function test_package_can_depend_on_commit_of_dependency (line 383) | def test_package_can_depend_on_commit_of_dependency(mock_packages, config): function test_package_condtional_variants_may_depend_on_commit (line 389) | def test_package_condtional_variants_may_depend_on_commit(mock_packages,... function test_commit_variant_finds_matches_for_commit_versions (line 397) | def test_commit_variant_finds_matches_for_commit_versions(mock_packages,... function test_pkg_name_can_only_be_derived_when_package_module (line 407) | def test_pkg_name_can_only_be_derived_when_package_module(): function test_spack_package_api_versioning (line 420) | def test_spack_package_api_versioning(): FILE: lib/spack/spack/test/packaging.py function test_buildcache (line 41) | def test_buildcache(mock_archive, tmp_path: pathlib.Path, monkeypatch, m... function test_relocate_text (line 125) | def test_relocate_text(tmp_path: pathlib.Path): function test_relocate_links (line 141) | def test_relocate_links(tmp_path: pathlib.Path): function test_replace_paths (line 187) | def test_replace_paths(tmp_path: pathlib.Path): function mock_download (line 377) | def mock_download(monkeypatch): function test_manual_download (line 400) | def test_manual_download(mock_download, default_mock_concretization, mon... function fetching_not_allowed (line 420) | def fetching_not_allowed(monkeypatch): function test_fetch_without_code_is_noop (line 431) | def test_fetch_without_code_is_noop(default_mock_concretization, fetchin... function test_fetch_external_package_is_noop (line 438) | def test_fetch_external_package_is_noop(default_mock_concretization, fet... function test_macho_relocation_with_changing_projection (line 454) | def test_macho_relocation_with_changing_projection(relocation_dict): FILE: lib/spack/spack/test/patch.py function mock_patch_stage (line 69) | def mock_patch_stage(tmp_path_factory: pytest.TempPathFactory, monkeypat... function test_url_patch (line 93) | def test_url_patch(mock_packages, mock_patch_stage, filename, sha256, ar... function test_patch_in_spec (line 162) | def test_patch_in_spec(mock_packages, config): function test_stale_patch_cache_falls_back_to_fresh (line 177) | def test_stale_patch_cache_falls_back_to_fresh(mock_packages, config): function test_patch_mixed_versions_subset_constraint (line 204) | def test_patch_mixed_versions_subset_constraint(mock_packages, config): function test_patch_order (line 216) | def test_patch_order(mock_packages, config): function test_nested_directives (line 247) | def test_nested_directives(mock_packages): function test_patched_dependency (line 290) | def test_patched_dependency(mock_packages, install_mockery, mock_fetch): function trigger_bad_patch (line 319) | def trigger_bad_patch(pkg): function test_patch_failure_develop_spec_exits_gracefully (line 327) | def test_patch_failure_develop_spec_exits_gracefully( function test_patch_failure_restages (line 343) | def test_patch_failure_restages(mock_packages, install_mockery, mock_fet... function test_multiple_patched_dependencies (line 357) | def test_multiple_patched_dependencies(mock_packages, config): function test_conditional_patched_dependencies (line 372) | def test_conditional_patched_dependencies(mock_packages, config): function check_multi_dependency_patch_specs (line 394) | def check_multi_dependency_patch_specs( function test_conditional_patched_deps_with_conditions (line 452) | def test_conditional_patched_deps_with_conditions(mock_packages, config): function test_write_and_read_sub_dags_with_patched_deps (line 467) | def test_write_and_read_sub_dags_with_patched_deps(mock_packages, config): function test_patch_no_file (line 487) | def test_patch_no_file(): function test_patch_no_sha256 (line 500) | def test_patch_no_sha256(): function test_invalid_level (line 514) | def test_invalid_level(level): function test_equality (line 522) | def test_equality(): function test_sha256_setter (line 532) | def test_sha256_setter(mock_packages, mock_patch_stage, config): function test_invalid_from_dict (line 539) | def test_invalid_from_dict(mock_packages, config): FILE: lib/spack/spack/test/permissions.py function ensure_known_group (line 17) | def ensure_known_group(path): function test_chmod_real_entries_ignores_suid_sgid (line 29) | def test_chmod_real_entries_ignores_suid_sgid(tmp_path: pathlib.Path): function test_chmod_rejects_group_writable_suid (line 42) | def test_chmod_rejects_group_writable_suid(tmp_path: pathlib.Path): function test_chmod_rejects_world_writable_suid (line 53) | def test_chmod_rejects_world_writable_suid(tmp_path: pathlib.Path): function test_chmod_rejects_world_writable_sgid (line 64) | def test_chmod_rejects_world_writable_sgid(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/projections.py function test_projection_expansion (line 11) | def test_projection_expansion(mock_packages, monkeypatch): FILE: lib/spack/spack/test/provider_index.py function test_provider_index_round_trip (line 28) | def test_provider_index_round_trip(mock_packages): function test_providers_for_simple (line 40) | def test_providers_for_simple(mock_packages): function test_mpi_providers (line 53) | def test_mpi_providers(mock_packages): function test_equal (line 66) | def test_equal(mock_packages): function test_copy (line 72) | def test_copy(mock_packages): function test_remove_providers (line 78) | def test_remove_providers(mock_packages): FILE: lib/spack/spack/test/relocate.py function skip_unless_linux (line 20) | def skip_unless_linux(f): function rpaths_for (line 27) | def rpaths_for(new_binary): function text_in_bin (line 34) | def text_in_bin(text, binary): function make_dylib (line 45) | def make_dylib(tmp_path_factory: pytest.TempPathFactory): function make_object_file (line 85) | def make_object_file(tmp_path: pathlib.Path): function copy_binary (line 105) | def copy_binary(prefix_like): function test_relocate_text_bin (line 124) | def test_relocate_text_bin(binary_with_rpaths, prefix_like): function test_relocate_elf_binaries_absolute_paths (line 141) | def test_relocate_elf_binaries_absolute_paths(binary_with_rpaths, copy_b... function test_relocate_text_bin_with_message (line 158) | def test_relocate_text_bin_with_message(binary_with_rpaths, copy_binary,... function test_relocate_text_bin_raise_if_new_prefix_is_longer (line 184) | def test_relocate_text_bin_raise_if_new_prefix_is_longer(tmp_path: pathl... function test_fixup_macos_rpaths (line 195) | def test_fixup_macos_rpaths(make_dylib, make_object_file): FILE: lib/spack/spack/test/relocate_text.py function test_text_relocation_regex_is_safe (line 12) | def test_text_relocation_regex_is_safe(): function test_utf8_paths_to_single_binary_regex (line 18) | def test_utf8_paths_to_single_binary_regex(): function test_ordered_replacement (line 38) | def test_ordered_replacement(): function test_inplace_text_replacement (line 180) | def test_inplace_text_replacement(): function test_relocate_text_filters_redundant_entries (line 232) | def test_relocate_text_filters_redundant_entries(): FILE: lib/spack/spack/test/repo.py function extra_repo (line 24) | def extra_repo(tmp_path_factory: pytest.TempPathFactory, request): function test_repo_getpkg (line 48) | def test_repo_getpkg(mutable_mock_repo): function test_repo_multi_getpkg (line 53) | def test_repo_multi_getpkg(mutable_mock_repo, extra_repo): function test_repo_multi_getpkgclass (line 59) | def test_repo_multi_getpkgclass(mutable_mock_repo, extra_repo): function test_repo_pkg_with_unknown_namespace (line 65) | def test_repo_pkg_with_unknown_namespace(mutable_mock_repo): function test_repo_unknown_pkg (line 70) | def test_repo_unknown_pkg(mutable_mock_repo): function test_repo_last_mtime (line 75) | def test_repo_last_mtime(mock_packages): function test_repo_invisibles (line 92) | def test_repo_invisibles(mutable_mock_repo, extra_repo): function test_all_package_names_is_cached_correctly (line 101) | def test_all_package_names_is_cached_correctly(mock_packages): function test_use_repositories_doesnt_change_class (line 107) | def test_use_repositories_doesnt_change_class(mock_packages): function test_absolute_import_spack_packages_as_python_modules (line 118) | def test_absolute_import_spack_packages_as_python_modules(mock_packages): function test_relative_import_spack_packages_as_python_modules (line 130) | def test_relative_import_spack_packages_as_python_modules(mock_packages): function test_get_all_mock_packages (line 137) | def test_get_all_mock_packages(mock_packages): function test_repo_path_handles_package_removal (line 143) | def test_repo_path_handles_package_removal(mock_packages, repo_builder: ... function test_repo_dump_virtuals (line 155) | def test_repo_dump_virtuals( function test_repository_construction_doesnt_use_globals (line 173) | def test_repository_construction_doesnt_use_globals( function test_path_computation_with_names (line 200) | def test_path_computation_with_names(method_name, mock_packages_repo): function test_use_repositories_and_import (line 211) | def test_use_repositories_and_import(): class TestRepo (line 224) | class TestRepo: method test_creation (line 229) | def test_creation(self, mock_test_cache): method test_is_virtual (line 237) | def test_is_virtual(self, name, expected, mock_test_cache): method test_real_name (line 255) | def test_real_name(self, module_name, pkg_name, mock_test_cache, tmp_p... method test_get (line 270) | def test_get(self, name, mock_test_cache): method test_providers (line 278) | def test_providers(self, virtual_name, expected, mock_test_cache): method test_extensions (line 287) | def test_extensions(self, extended, expected, mock_test_cache): method test_all_package_names (line 294) | def test_all_package_names(self, mock_test_cache): method test_packages_with_tags (line 306) | def test_packages_with_tags(self, mock_test_cache): class TestRepoPath (line 319) | class TestRepoPath: method test_creation_from_string (line 320) | def test_creation_from_string(self, mock_test_cache): method test_get_repo (line 334) | def test_get_repo(self, mock_test_cache): function test_parse_package_api_version (line 352) | def test_parse_package_api_version(): function test_repo_package_api_version (line 384) | def test_repo_package_api_version(tmp_path: pathlib.Path): function test_mod_to_pkg_name_and_reverse (line 397) | def test_mod_to_pkg_name_and_reverse(): function test_repo_v2_invalid_module_name (line 427) | def test_repo_v2_invalid_module_name(tmp_path: pathlib.Path, capfd): function test_repo_v2_module_and_class_to_package_name (line 460) | def test_repo_v2_module_and_class_to_package_name(tmp_path: pathlib.Path): function test_valid_module_name_v2 (line 483) | def test_valid_module_name_v2(): function test_namespace_is_optional_in_v2 (line 515) | def test_namespace_is_optional_in_v2(tmp_path: pathlib.Path): function test_subdir_in_v2 (line 537) | def test_subdir_in_v2(): function test_is_package_module (line 554) | def test_is_package_module(): function test_environment_activation_updates_repo_path (line 561) | def test_environment_activation_updates_repo_path(tmp_path: pathlib.Path): function test_repo_update (line 584) | def test_repo_update(tmp_path: pathlib.Path): function test_mock_builtin_repo (line 595) | def test_mock_builtin_repo(mock_packages): function test_parse_config_descriptor_git_1 (line 599) | def test_parse_config_descriptor_git_1(tmp_path: pathlib.Path): function test_parse_config_descriptor_git_2 (line 616) | def test_parse_config_descriptor_git_2(tmp_path: pathlib.Path): function test_remote_descriptor_no_git (line 626) | def test_remote_descriptor_no_git(tmp_path: pathlib.Path): function test_remote_descriptor_update_no_git (line 643) | def test_remote_descriptor_update_no_git(tmp_path: pathlib.Path): function test_parse_config_descriptor_local (line 660) | def test_parse_config_descriptor_local(tmp_path: pathlib.Path): function test_parse_config_descriptor_no_git (line 671) | def test_parse_config_descriptor_no_git(tmp_path: pathlib.Path): function test_repo_descriptors_construct (line 681) | def test_repo_descriptors_construct(tmp_path: pathlib.Path): function test_repo_descriptors_update (line 774) | def test_repo_descriptors_update(tmp_path: pathlib.Path): function test_repo_descriptors_update_invalid (line 872) | def test_repo_descriptors_update_invalid(tmp_path: pathlib.Path): function test_repo_use_bad_import (line 927) | def test_repo_use_bad_import(config, repo_builder: RepoBuilder): function test_repo_use_bad_syntax (line 952) | def test_repo_use_bad_syntax(config, repo_builder: RepoBuilder): function test_unknownpkgerror_match_fails (line 963) | def test_unknownpkgerror_match_fails(): function test_unknownpkgerror_str_repo (line 974) | def test_unknownpkgerror_str_repo(): FILE: lib/spack/spack/test/reporters.py function test_reporters_extract_basics (line 33) | def test_reporters_extract_basics(): function test_reporters_extract_no_parts (line 54) | def test_reporters_extract_no_parts(capfd): function test_reporters_extract_missing_desc (line 74) | def test_reporters_extract_missing_desc(): function test_reporters_extract_skipped (line 119) | def test_reporters_extract_skipped(state): function test_reporters_skip_new (line 133) | def test_reporters_skip_new(): function test_reporters_report_for_package_no_stdout (line 154) | def test_reporters_report_for_package_no_stdout(tmp_path: pathlib.Path, ... function test_cdash_reporter_truncates_build_name_if_too_long (line 178) | def test_cdash_reporter_truncates_build_name_if_too_long(): FILE: lib/spack/spack/test/rewiring.py function check_spliced_spec_prefixes (line 24) | def check_spliced_spec_prefixes(spliced_spec): function test_rewire_db (line 36) | def test_rewire_db(mock_fetch, install_mockery, transitive): function test_rewire_bin (line 60) | def test_rewire_bin(mock_fetch, install_mockery, transitive): function test_rewire_writes_new_metadata (line 88) | def test_rewire_writes_new_metadata(mock_fetch, install_mockery): function test_uninstall_rewired_spec (line 133) | def test_uninstall_rewired_spec(mock_fetch, install_mockery, transitive): function test_rewire_not_installed_fails (line 146) | def test_rewire_not_installed_fails(mock_fetch, install_mockery): function test_rewire_virtual (line 159) | def test_rewire_virtual(mock_fetch, install_mockery): FILE: lib/spack/spack/test/s3_fetch.py function test_s3fetchstrategy_downloaded (line 11) | def test_s3fetchstrategy_downloaded(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/sbang.py function sbang_line (line 60) | def sbang_line(): class ScriptDirectory (line 64) | class ScriptDirectory: method __init__ (line 67) | def __init__(self, sbang_line): method destroy (line 167) | def destroy(self): method make_executable (line 170) | def make_executable(self, path): function script_dir (line 181) | def script_dir(sbang_line): function test_shebang_interpreter_regex (line 201) | def test_shebang_interpreter_regex(shebang, interpreter): function test_shebang_handling (line 205) | def test_shebang_handling(script_dir, sbang_line): function test_shebang_handles_non_writable_files (line 256) | def test_shebang_handles_non_writable_files(script_dir, sbang_line): function configure_group_perms (line 269) | def configure_group_perms(): function configure_user_perms (line 292) | def configure_user_perms(): function check_sbang_installation (line 306) | def check_sbang_installation(group=False): function run_test_install_sbang (line 329) | def run_test_install_sbang(group): function test_install_group_sbang (line 352) | def test_install_group_sbang(install_mockery, configure_group_perms): function test_install_user_sbang (line 356) | def test_install_user_sbang(install_mockery, configure_user_perms): function test_install_sbang_too_long (line 360) | def test_install_sbang_too_long(tmp_path: pathlib.Path): function test_sbang_hook_skips_nonexecutable_blobs (line 378) | def test_sbang_hook_skips_nonexecutable_blobs(tmp_path: pathlib.Path): function test_sbang_handles_non_utf8_files (line 395) | def test_sbang_handles_non_utf8_files(tmp_path: pathlib.Path): function shebang_limits_system_8_spack_16 (line 420) | def shebang_limits_system_8_spack_16(): function test_shebang_exceeds_spack_shebang_limit (line 428) | def test_shebang_exceeds_spack_shebang_limit( function test_sbang_hook_handles_non_writable_files_preserving_permissions (line 443) | def test_sbang_hook_handles_non_writable_files_preserving_permissions(tm... FILE: lib/spack/spack/test/schema.py function validate_spec_schema (line 137) | def validate_spec_schema(): function module_suffixes_schema (line 146) | def module_suffixes_schema(): function test_validate_spec (line 169) | def test_validate_spec(validate_spec_schema): function test_module_suffixes (line 183) | def test_module_suffixes(module_suffixes_schema): function test_deprecated_properties (line 191) | def test_deprecated_properties(module_suffixes_schema): function test_ordereddict_merge_order (line 214) | def test_ordereddict_merge_order(): function test_list_merge_order (line 229) | def test_list_merge_order(): function test_spack_schemas_are_valid (line 239) | def test_spack_schemas_are_valid(): function test_env_schema_update_wrong_type (line 258) | def test_env_schema_update_wrong_type(): FILE: lib/spack/spack/test/spack_yaml.py function data (line 16) | def data(): function test_parse (line 35) | def test_parse(data): function test_dict_order (line 55) | def test_dict_order(data): function test_line_numbers (line 63) | def test_line_numbers(data): function test_yaml_aliases (line 82) | def test_yaml_aliases(): function test_round_trip_configuration (line 130) | def test_round_trip_configuration(initial_content, expected_final_conten... function test_sorted_dict (line 145) | def test_sorted_dict(): function test_deepcopy_to_native (line 161) | def test_deepcopy_to_native(): FILE: lib/spack/spack/test/spec_dag.py function check_links (line 23) | def check_links(spec_to_check): function saved_deps (line 33) | def saved_deps(): function set_dependency (line 39) | def set_dependency(saved_deps, monkeypatch): function test_test_deptype (line 63) | def test_test_deptype(repo_builder: RepoBuilder): function test_installed_deps (line 86) | def test_installed_deps(monkeypatch, install_mockery): function test_specify_preinstalled_dep (line 128) | def test_specify_preinstalled_dep(monkeypatch, repo_builder: RepoBuilder): function test_conditional_dep_with_user_constraints (line 152) | def test_conditional_dep_with_user_constraints( class TestSpecDag (line 171) | class TestSpecDag: method test_conflicting_package_constraints (line 172) | def test_conflicting_package_constraints(self, set_dependency): method test_traversal (line 382) | def test_traversal(self, pairs, traverse_kwargs, default_mock_concreti... method test_dependents_and_dependencies_are_correct (line 442) | def test_dependents_and_dependencies_are_correct(self): method test_unsatisfiable_cases (line 466) | def test_unsatisfiable_cases(self, set_dependency, constraint_str, spe... method test_invalid_dep (line 477) | def test_invalid_dep(self, spec_str): method test_equal (line 482) | def test_equal(self): method test_contains (line 517) | def test_contains(self): method test_copy_simple (line 527) | def test_copy_simple(self): method test_copy_concretized (line 541) | def test_copy_concretized(self): method test_copy_through_spec_build_interface (line 556) | def test_copy_through_spec_build_interface(self): method test_deptype_traversal (line 640) | def test_deptype_traversal(self, spec_str, deptypes, expected): method test_hash_bits (line 645) | def test_hash_bits(self): method test_traversal_directions (line 679) | def test_traversal_directions(self): method test_edge_traversals (line 696) | def test_edge_traversals(self): method test_copy_dependencies (line 713) | def test_copy_dependencies(self): method test_construct_spec_with_deptypes (line 720) | def test_construct_spec_with_deptypes(self): method check_diamond_deptypes (line 736) | def check_diamond_deptypes(self, spec): method test_concretize_deptypes (line 760) | def test_concretize_deptypes(self): method test_copy_deptypes (line 765) | def test_copy_deptypes(self): method test_getitem_query (line 772) | def test_getitem_query(self): method test_getitem_exceptional_paths (line 802) | def test_getitem_exceptional_paths(self): method test_canonical_deptype (line 814) | def test_canonical_deptype(self): method test_invalid_literal_spec (line 863) | def test_invalid_literal_spec(self): method test_spec_tree_respect_deptypes (line 872) | def test_spec_tree_respect_deptypes(self): method test_query_dependency_edges (line 891) | def test_query_dependency_edges( method test_query_dependents_edges (line 911) | def test_query_dependents_edges(self, default_mock_concretization): function test_tree_cover_nodes_reduce_deptype (line 925) | def test_tree_cover_nodes_reduce_deptype(): function test_synthetic_construction_of_split_dependencies_from_same_package (line 950) | def test_synthetic_construction_of_split_dependencies_from_same_package(... function test_synthetic_construction_bootstrapping (line 982) | def test_synthetic_construction_bootstrapping(mock_packages, config): function test_addition_of_different_deptypes_in_multiple_calls (line 998) | def test_addition_of_different_deptypes_in_multiple_calls(mock_packages,... function test_adding_same_deptype_with_the_same_name_raises (line 1031) | def test_adding_same_deptype_with_the_same_name_raises( function test_indexing_prefers_direct_or_transitive_link_deps (line 1044) | def test_indexing_prefers_direct_or_transitive_link_deps(): function test_getitem_sticks_to_subdag (line 1085) | def test_getitem_sticks_to_subdag(): function test_getitem_finds_transitive_virtual (line 1097) | def test_getitem_finds_transitive_virtual(): FILE: lib/spack/spack/test/spec_list.py function parser_and_speclist (line 41) | def parser_and_speclist(): class TestSpecList (line 59) | class TestSpecList: method test_spec_list_constraint_ordering (line 92) | def test_spec_list_constraint_ordering(self, specs, expected): method test_mock_spec_list (line 96) | def test_mock_spec_list(self, parser_and_speclist): method test_spec_list_add (line 103) | def test_spec_list_add(self, parser_and_speclist): method test_spec_list_remove (line 111) | def test_spec_list_remove(self, parser_and_speclist): method test_spec_list_extension (line 119) | def test_spec_list_extension(self, parser_and_speclist): method test_spec_list_nested_matrices (line 129) | def test_spec_list_nested_matrices(self, parser_and_speclist): method test_spec_list_recursion_specs_as_constraints (line 151) | def test_spec_list_recursion_specs_as_constraints(self): method test_spec_list_matrix_exclude (line 169) | def test_spec_list_matrix_exclude(self): method test_spec_list_exclude_with_abstract_hashes (line 182) | def test_spec_list_exclude_with_abstract_hashes(self, install_mockery): method test_exclusion_with_conditional_dependencies (line 210) | def test_exclusion_with_conditional_dependencies(self): FILE: lib/spack/spack/test/spec_semantics.py function setup_complex_splice (line 34) | def setup_complex_splice(monkeypatch): class TestSpecSemantics (line 123) | class TestSpecSemantics: method test_abstract_specs_can_constrain_each_other (line 368) | def test_abstract_specs_can_constrain_each_other(self, lhs, rhs, expec... method test_constrain_compiler_flags (line 412) | def test_constrain_compiler_flags( method test_constrain_specs_by_hash (line 447) | def test_constrain_specs_by_hash(self, default_mock_concretization, da... method test_mismatched_constrain_spec_by_hash (line 454) | def test_mismatched_constrain_spec_by_hash(self, default_mock_concreti... method test_concrete_specs_which_satisfies_abstract (line 466) | def test_concrete_specs_which_satisfies_abstract(self, lhs, rhs, defau... method test_constraining_abstract_specs_with_empty_intersection (line 518) | def test_constraining_abstract_specs_with_empty_intersection(self, lhs... method test_concrete_specs_which_do_not_satisfy_abstract (line 544) | def test_concrete_specs_which_do_not_satisfy_abstract( method test_concrete_specs_which_satisfy_abstract (line 563) | def test_concrete_specs_which_satisfy_abstract(self, lhs, rhs, default... method test_abstract_specs_with_propagation (line 594) | def test_abstract_specs_with_propagation(self, lhs, rhs, expected, con... method test_basic_satisfies_conditional_dep (line 612) | def test_basic_satisfies_conditional_dep(self, default_mock_concretiza... method test_concrete_satisfies_does_not_consult_repo (line 626) | def test_concrete_satisfies_does_not_consult_repo( method test_concrete_contains_does_not_consult_repo (line 661) | def test_concrete_contains_does_not_consult_repo( method test_abstract_satisfies_with_lhs_provider_rhs_virtual (line 678) | def test_abstract_satisfies_with_lhs_provider_rhs_virtual(self): method test_concrete_checks_on_virtual_names_dont_need_repo (line 688) | def test_concrete_checks_on_virtual_names_dont_need_repo( method test_satisfies_single_valued_variant (line 704) | def test_satisfies_single_valued_variant(self): method test_unsatisfied_single_valued_variant (line 727) | def test_unsatisfied_single_valued_variant(self): method test_indirect_unsatisfied_single_valued_variant (line 734) | def test_indirect_unsatisfied_single_valued_variant(self): method test_satisfied_namespace (line 738) | def test_satisfied_namespace(self): method test_propagate_reserved_variant_names (line 753) | def test_propagate_reserved_variant_names(self, spec_string): method test_multivalued_variant_1 (line 757) | def test_multivalued_variant_1(self, default_mock_concretization): method test_multivalued_variant_2 (line 765) | def test_multivalued_variant_2(self): method test_multivalued_variant_3 (line 773) | def test_multivalued_variant_3(self, default_mock_concretization): method test_multivalued_variant_4 (line 778) | def test_multivalued_variant_4(self): method test_multivalued_variant_5 (line 790) | def test_multivalued_variant_5(self): method test_copy_satisfies_transitive (line 806) | def test_copy_satisfies_transitive(self): method test_intersects_virtual (line 813) | def test_intersects_virtual(self): method test_intersects_virtual_providers (line 818) | def test_intersects_virtual_providers(self): method test_intersectable_concrete_specs_must_have_the_same_hash (line 828) | def test_intersectable_concrete_specs_must_have_the_same_hash(self): method test_self_index (line 848) | def test_self_index(self): method test_dep_index (line 852) | def test_dep_index(self, default_mock_concretization): method test_virtual_index (line 869) | def test_virtual_index(self): method test_lhs_is_changed_when_constraining (line 908) | def test_lhs_is_changed_when_constraining(self, lhs, rhs): method test_lhs_is_not_changed_when_constraining (line 943) | def test_lhs_is_not_changed_when_constraining(self, lhs, rhs): method test_exceptional_paths_for_constructor (line 950) | def test_exceptional_paths_for_constructor(self): method test_spec_formatting (line 957) | def test_spec_formatting(self, default_mock_concretization): method test_spec_format_null_attributes (line 1062) | def test_spec_format_null_attributes(self, fmt_str): method test_spec_formatting_spaces_in_key (line 1067) | def test_spec_formatting_spaces_in_key(self, default_mock_concretizati... method test_spec_formatting_sigil_mismatches (line 1081) | def test_spec_formatting_sigil_mismatches(self, default_mock_concretiz... method test_spec_formatting_bad_formats (line 1102) | def test_spec_formatting_bad_formats(self, default_mock_concretization... method test_wildcard_is_invalid_variant_value (line 1107) | def test_wildcard_is_invalid_variant_value(self): method test_errors_in_variant_directive (line 1113) | def test_errors_in_variant_directive(self): method test_abstract_spec_prefix_error (line 1143) | def test_abstract_spec_prefix_error(self): method test_forwarding_of_architecture_attributes (line 1149) | def test_forwarding_of_architecture_attributes(self): method test_splice (line 1170) | def test_splice(self, transitive, default_mock_concretization): method test_splice_intransitive_complex (line 1206) | def test_splice_intransitive_complex(self, setup_complex_splice): method test_splice_transitive_complex (line 1285) | def test_splice_transitive_complex(self, setup_complex_splice): method test_splice_with_cached_hashes (line 1355) | def test_splice_with_cached_hashes(self, default_mock_concretization, ... method test_splice_input_unchanged (line 1374) | def test_splice_input_unchanged(self, default_mock_concretization, tra... method test_splice_subsequent (line 1386) | def test_splice_subsequent(self, default_mock_concretization, transiti... method test_splice_dict (line 1403) | def test_splice_dict(self, default_mock_concretization, transitive): method test_splice_dict_roundtrip (line 1420) | def test_splice_dict_roundtrip(self, default_mock_concretization, tran... method test_target_constraints (line 1467) | def test_target_constraints(self, spec, constraint, expected_result): method test_error_message_unknown_variant (line 1472) | def test_error_message_unknown_variant(self): method test_satisfies_dependencies_ordered (line 1478) | def test_satisfies_dependencies_ordered(self): method test_splice_swap_names (line 1485) | def test_splice_swap_names(self, default_mock_concretization, transiti... method test_splice_swap_names_mismatch_virtuals (line 1493) | def test_splice_swap_names_mismatch_virtuals(self, default_mock_concre... method test_adaptor_optflags (line 1499) | def test_adaptor_optflags(self): method test_spec_override (line 1511) | def test_spec_override(self): method test_spec_override_with_nonexisting_variant (line 1524) | def test_spec_override_with_nonexisting_variant(self): method test_spec_override_with_variant_not_in_init_spec (line 1530) | def test_spec_override_with_variant_not_in_init_spec(self): method test_virtual_deps_bindings (line 1609) | def test_virtual_deps_bindings(self, default_mock_concretization, spec... method test_unsatisfiable_virtual_deps_bindings (line 1624) | def test_unsatisfiable_virtual_deps_bindings(self, spec_str): method test_conditional_dependencies_satisfies (line 1651) | def test_conditional_dependencies_satisfies( function test_spec_format_path (line 1683) | def test_spec_format_path(spec_str, format_str, expected, mock_git_test_... function _check_spec_format_path (line 1687) | def _check_spec_format_path(spec_str, format_str, expected, path_ctor=No... function test_spec_format_path_windows (line 1719) | def test_spec_format_path_windows(spec_str, format_str, expected, mock_g... function test_spec_format_path_posix (line 1751) | def test_spec_format_path_posix(spec_str, format_str, expected, mock_git... function test_is_extension_after_round_trip_to_dict (line 1757) | def test_is_extension_after_round_trip_to_dict(config, mock_packages, sp... function test_malformed_spec_dict (line 1768) | def test_malformed_spec_dict(): function test_spec_dict_hashless_dep (line 1776) | def test_spec_dict_hashless_dep(): function test_merge_anonymous_spec_with_named_spec (line 1799) | def test_merge_anonymous_spec_with_named_spec(anonymous, named, expected): function test_spec_installed (line 1806) | def test_spec_installed(default_mock_concretization, database): function test_call_dag_hash_on_old_dag_hash_spec (line 1824) | def test_call_dag_hash_on_old_dag_hash_spec(mock_packages, default_mock_... function test_spec_trim (line 1841) | def test_spec_trim(mock_packages, config): function test_concretize_partial_old_dag_hash_spec (line 1860) | def test_concretize_partial_old_dag_hash_spec(mock_packages, config): function test_package_hash_affects_dunder_and_dag_hash (line 1886) | def test_package_hash_affects_dunder_and_dag_hash(mock_packages, default... function test_intersects_and_satisfies_on_concretized_spec (line 1906) | def test_intersects_and_satisfies_on_concretized_spec(default_mock_concr... function test_abstract_provider_in_spec (line 1929) | def test_abstract_provider_in_spec(abstract_spec, spec_str, default_mock... function test_abstract_contains_semantic (line 1937) | def test_abstract_contains_semantic(lhs, rhs, expected, mock_packages): function test_intersects_and_satisfies (line 1987) | def test_intersects_and_satisfies(mock_packages, factory, lhs_str, rhs_s... function test_constrain (line 2046) | def test_constrain(factory, lhs_str, rhs_str, result, constrained_str): function test_constrain_dependencies_copies (line 2060) | def test_constrain_dependencies_copies(mock_packages): function test_abstract_hash_intersects_and_satisfies (line 2075) | def test_abstract_hash_intersects_and_satisfies(default_mock_concretizat... function test_edge_equality_does_not_depend_on_virtual_order (line 2110) | def test_edge_equality_does_not_depend_on_virtual_order(): function test_update_virtuals (line 2122) | def test_update_virtuals(): function test_virtual_queries_work_for_strings_and_lists (line 2134) | def test_virtual_queries_work_for_strings_and_lists(): function test_old_format_strings_trigger_error (line 2153) | def test_old_format_strings_trigger_error(default_mock_concretization): function test_equality_discriminate_on_propagation (line 2169) | def test_equality_discriminate_on_propagation(lhs, rhs): function test_comparison_multivalued_variants (line 2176) | def test_comparison_multivalued_variants(): function test_spec_ordering (line 2200) | def test_spec_ordering(specs_in_expected_order): function test_spec_canonical_comparison_form (line 2312) | def test_spec_canonical_comparison_form(spec, expected_tuplified): function test_comparison_after_breaking_hash_change (line 2317) | def test_comparison_after_breaking_hash_change(): function test_satisfies_and_subscript_with_compilers (line 2340) | def test_satisfies_and_subscript_with_compilers(default_mock_concretizat... function test_spec_format_with_compiler_adaptors (line 2393) | def test_spec_format_with_compiler_adaptors( function test_specs_equality (line 2409) | def test_specs_equality(lhs, rhs, expected): function test_edge_equality_accounts_for_when_condition (line 2415) | def test_edge_equality_accounts_for_when_condition(): function test_long_spec (line 2423) | def test_long_spec(): function test_constrain_symbolically (line 2445) | def test_constrain_symbolically(constraints, expected): function test_edge_representation (line 2512) | def test_edge_representation(parent_str, child_str, kwargs, expected_str... function test_attribute_existence_in_satisfies (line 2559) | def test_attribute_existence_in_satisfies(spec_str, assertions, mock_pac... function test_specs_semantics_on_self (line 2568) | def test_specs_semantics_on_self(spec_str, mock_packages, config): function test_highlighting_spec_parts (line 2583) | def test_highlighting_spec_parts(spec_str, expected_fmt, default_mock_co... FILE: lib/spack/spack/test/spec_syntax.py function simple_package_name (line 38) | def simple_package_name(name): function dependency_with_version (line 43) | def dependency_with_version(text): function specfile_for (line 59) | def specfile_for(default_mock_concretization): function test_parse_single_spec (line 966) | def test_parse_single_spec(spec_str, tokens, expected_roundtrip, mock_gi... function test_parse_multiple_specs (line 1044) | def test_parse_multiple_specs(text, tokens, expected_specs): function test_cli_spec_roundtrip (line 1098) | def test_cli_spec_roundtrip(args, expected): function test_parse_toolchain (line 1213) | def test_parse_toolchain(spec_str, toolchain, expected_roundtrip, mutabl... function test_error_reporting (line 1234) | def test_error_reporting(text, expected_in_error): function test_spec_by_hash_tokens (line 1263) | def test_spec_by_hash_tokens(text, tokens): function test_spec_by_hash (line 1269) | def test_spec_by_hash(database, monkeypatch, config): function test_dep_spec_by_hash (line 1296) | def test_dep_spec_by_hash(database, config): function test_multiple_specs_with_hash (line 1328) | def test_multiple_specs_with_hash(database, config): function test_ambiguous_hash (line 1360) | def test_ambiguous_hash(mutable_database): function test_invalid_hash (line 1387) | def test_invalid_hash(database, config): function test_invalid_hash_dep (line 1405) | def test_invalid_hash_dep(database, config): function test_nonexistent_hash (line 1413) | def test_nonexistent_hash(database, config): function test_disambiguate_hash_by_spec (line 1436) | def test_disambiguate_hash_by_spec(spec1, spec2, constraint, mock_packag... function test_error_conditions (line 1506) | def test_error_conditions(text, match_string): function test_specfile_error_conditions_windows (line 1571) | def test_specfile_error_conditions_windows(text, exc_cls): function test_specfile_parsing (line 1587) | def test_specfile_parsing(filename, regex): function test_parse_specfile_simple (line 1593) | def test_parse_specfile_simple(specfile_for, tmp_path: pathlib.Path): function test_parse_filename_missing_slash_as_spec (line 1606) | def test_parse_filename_missing_slash_as_spec(specfile_for, tmp_path: pa... function test_parse_specfile_dependency (line 1638) | def test_parse_specfile_dependency(default_mock_concretization, tmp_path... function test_parse_specfile_relative_paths (line 1663) | def test_parse_specfile_relative_paths(specfile_for, tmp_path: pathlib.P... function test_parse_specfile_relative_subdir_path (line 1688) | def test_parse_specfile_relative_subdir_path(specfile_for, tmp_path: pat... function test_compare_abstract_specs (line 1700) | def test_compare_abstract_specs(): function test_git_ref_spec_equivalences (line 1752) | def test_git_ref_spec_equivalences(mock_packages, lhs_str, rhs_str, expe... function test_platform_is_none_if_not_present (line 1765) | def test_platform_is_none_if_not_present(spec_str): function test_parse_one_or_raise_error_message (line 1770) | def test_parse_one_or_raise_error_message(): function test_parse_multiple_edge_attributes (line 1806) | def test_parse_multiple_edge_attributes(input_args, expected): FILE: lib/spack/spack/test/spec_yaml.py function check_yaml_round_trip (line 37) | def check_yaml_round_trip(spec): function check_json_round_trip (line 43) | def check_json_round_trip(spec): function test_read_spec_from_signed_json (line 49) | def test_read_spec_from_signed_json(): function test_invalid_yaml_spec (line 73) | def test_invalid_yaml_spec(invalid_yaml): function test_invalid_json_spec (line 80) | def test_invalid_json_spec(invalid_json, error_message): function test_roundtrip_concrete_specs (line 104) | def test_roundtrip_concrete_specs(abstract_spec, default_mock_concretiza... function test_yaml_subdag (line 112) | def test_yaml_subdag(config, mock_packages): function test_using_ordered_dict (line 123) | def test_using_ordered_dict(default_mock_concretization, spec_str): function test_ordered_read_not_required_for_consistent_dag_hash (line 149) | def test_ordered_read_not_required_for_consistent_dag_hash( function reverse_all_dicts (line 220) | def reverse_all_dicts(data): function check_specs_equal (line 229) | def check_specs_equal(original_spec, spec_yaml_path): function test_save_dependency_spec_jsons_subset (line 236) | def test_save_dependency_spec_jsons_subset( function test_legacy_yaml (line 261) | def test_legacy_yaml(install_mockery, mock_packages): function test_load_json_specfiles (line 413) | def test_load_json_specfiles(specfile, expected_hash, reader_cls): function test_anchorify_1 (line 450) | def test_anchorify_1(): function test_anchorify_2 (line 474) | def test_anchorify_2(): function test_pickle_roundtrip_for_abstract_specs (line 512) | def test_pickle_roundtrip_for_abstract_specs(spec_str): function test_specfile_alias_is_updated (line 524) | def test_specfile_alias_is_updated(): function test_direct_edges_and_round_tripping_to_dict (line 532) | def test_direct_edges_and_round_tripping_to_dict(spec_str, default_mock_... function test_pickle_preserves_identity_and_prefix (line 553) | def test_pickle_preserves_identity_and_prefix(default_mock_concretization): FILE: lib/spack/spack/test/stage.py function clear_stage_root (line 75) | def clear_stage_root(monkeypatch): function check_expand_archive (line 81) | def check_expand_archive(stage, stage_name, expected_file_list): function check_fetch (line 132) | def check_fetch(stage, stage_name): function check_destroy (line 142) | def check_destroy(stage, stage_name): function check_setup (line 154) | def check_setup(stage, stage_name, archive): function get_stage_path (line 171) | def get_stage_path(stage, stage_name): function tmp_build_stage_dir (line 190) | def tmp_build_stage_dir(tmp_path: pathlib.Path, clear_stage_root): function mock_stage_archive (line 200) | def mock_stage_archive(tmp_build_stage_dir): function mock_noexpand_resource (line 265) | def mock_noexpand_resource(tmp_path: pathlib.Path): function mock_expand_resource (line 273) | def mock_expand_resource(tmp_path: pathlib.Path): function composite_stage_with_expanding_resource (line 304) | def composite_stage_with_expanding_resource(mock_stage_archive, mock_exp... function failing_search_fn (line 321) | def failing_search_fn(): class FailingFetchStrategy (line 330) | class FailingFetchStrategy(spack.fetch_strategy.FetchStrategy): method fetch (line 331) | def fetch(self): function search_fn (line 338) | def search_fn(): function check_stage_dir_perms (line 351) | def check_stage_dir_perms(prefix, path): class TestStage (line 386) | class TestStage: method test_setup_and_destroy_name_with_tmp (line 389) | def test_setup_and_destroy_name_with_tmp(self, mock_stage_archive): method test_setup_and_destroy_name_without_tmp (line 395) | def test_setup_and_destroy_name_without_tmp(self, mock_stage_archive): method test_setup_and_destroy_no_name_with_tmp (line 401) | def test_setup_and_destroy_no_name_with_tmp(self, mock_stage_archive): method test_noexpand_stage_file (line 407) | def test_noexpand_stage_file(self, mock_stage_archive, mock_noexpand_r... method test_composite_stage_with_noexpand_resource (line 420) | def test_composite_stage_with_noexpand_resource( method test_composite_stage_with_expand_resource (line 444) | def test_composite_stage_with_expand_resource(self, composite_stage_wi... method test_composite_stage_with_expand_resource_default_placement (line 463) | def test_composite_stage_with_expand_resource_default_placement( method test_setup_and_destroy_no_name_without_tmp (line 489) | def test_setup_and_destroy_no_name_without_tmp(self, mock_stage_archive): method test_fetch (line 496) | def test_fetch(self, mock_stage_archive, debug): method test_no_search_if_default_succeeds (line 505) | def test_no_search_if_default_succeeds(self, mock_stage_archive, faili... method test_no_search_mirror_only (line 512) | def test_no_search_mirror_only(self, failing_search_fn): method test_search_if_default_fails (line 528) | def test_search_if_default_fails(self, search_fn, err_msg, expected): method test_ensure_one_stage_entry (line 538) | def test_ensure_one_stage_entry(self, mock_stage_archive): method test_expand_archive (line 555) | def test_expand_archive(self, expected_file_list, mock_stage_archive): method test_expand_archive_extra_expand (line 565) | def test_expand_archive_extra_expand(self, mock_stage_archive): method test_restage (line 577) | def test_restage(self, mock_stage_archive): method test_no_keep_without_exceptions (line 598) | def test_no_keep_without_exceptions(self, mock_stage_archive): method test_keep_without_exceptions (line 606) | def test_keep_without_exceptions(self, mock_stage_archive): method test_no_keep_with_exceptions (line 615) | def test_no_keep_with_exceptions(self, mock_stage_archive): method test_keep_exceptions (line 630) | def test_keep_exceptions(self, mock_stage_archive): method test_source_path_available (line 644) | def test_source_path_available(self, mock_stage_archive): method test_first_accessible_path (line 656) | def test_first_accessible_path(self, tmp_path: pathlib.Path): method test_create_stage_root (line 687) | def test_create_stage_root(self, tmp_path: pathlib.Path, no_path_access): method test_resolve_paths (line 712) | def test_resolve_paths(self, monkeypatch): method test_get_stage_root_bad_path (line 758) | def test_get_stage_root_bad_path(self, clear_stage_root): method test_stage_purge (line 775) | def test_stage_purge(self, tmp_path: pathlib.Path, clear_stage_root, p... method test_stage_constructor_no_fetcher (line 794) | def test_stage_constructor_no_fetcher(self): method test_stage_constructor_with_path (line 800) | def test_stage_constructor_with_path(self, tmp_path: pathlib.Path): function _create_files_from_tree (line 807) | def _create_files_from_tree(base, tree): function _create_tree_from_dir_recursive (line 820) | def _create_tree_from_dir_recursive(path): function develop_path (line 836) | def develop_path(tmp_path: pathlib.Path): class TestDevelopStage (line 844) | class TestDevelopStage: method test_sanity_check_develop_path (line 845) | def test_sanity_check_develop_path(self, develop_path): method test_develop_stage (line 852) | def test_develop_stage(self, develop_path, tmp_build_stage_dir): method test_develop_stage_without_reference_link (line 875) | def test_develop_stage_without_reference_link(self, develop_path, tmp_... function test_stage_create_replace_path (line 891) | def test_stage_create_replace_path(tmp_build_stage_dir): function test_cannot_access (line 907) | def test_cannot_access(capfd): function test_override_keep_in_composite_stage (line 917) | def test_override_keep_in_composite_stage(): FILE: lib/spack/spack/test/svn_fetch.py function test_fetch (line 28) | def test_fetch(type_of_test, secure, mock_svn_repository, config, mutabl... function test_svn_extra_fetch (line 73) | def test_svn_extra_fetch(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/tag.py function test_tag_get_all_available (line 43) | def test_tag_get_all_available(mock_packages): function ensure_tags_results_equal (line 51) | def ensure_tags_results_equal(results, expected): function test_tag_get_available (line 69) | def test_tag_get_available(tags, expected, mock_packages): function test_tag_get_installed_packages (line 82) | def test_tag_get_installed_packages(mock_packages, mock_archive, mock_fe... function test_tag_index_round_trip (line 92) | def test_tag_index_round_trip(mock_packages): function test_tag_equal (line 106) | def test_tag_equal(mock_packages): function test_tag_merge (line 113) | def test_tag_merge(mock_packages): function test_tag_not_dict (line 133) | def test_tag_not_dict(mock_packages): function test_tag_no_tags (line 140) | def test_tag_no_tags(mock_packages): function test_tag_update_package (line 147) | def test_tag_update_package(mock_packages): FILE: lib/spack/spack/test/tengine.py class TestContext (line 13) | class TestContext: class A (line 14) | class A(tengine.Context): method foo (line 16) | def foo(self): class B (line 19) | class B(tengine.Context): method bar (line 21) | def bar(self): class C (line 24) | class C(A, B): method foobar (line 26) | def foobar(self): method foo (line 30) | def foo(self): method test_to_dict (line 33) | def test_to_dict(self): class TestTengineEnvironment (line 68) | class TestTengineEnvironment: method test_template_retrieval (line 69) | def test_template_retrieval(self): FILE: lib/spack/spack/test/test_suite.py function _true (line 21) | def _true(*args, **kwargs): function ensure_results (line 26) | def ensure_results(filename, expected, present=True): function test_test_log_name (line 41) | def test_test_log_name(mock_packages, config): function test_test_ensure_stage (line 54) | def test_test_ensure_stage(mock_test_stage, mock_packages): function test_write_test_result (line 67) | def test_write_test_result(mock_packages, mock_test_stage): function test_test_not_installed (line 87) | def test_test_not_installed(mock_packages, install_mockery, mock_test_st... function test_test_external (line 102) | def test_test_external( function test_test_stage_caches (line 119) | def test_test_stage_caches(mock_packages, install_mockery, mock_test_sta... function test_test_spec_run_once (line 144) | def test_test_spec_run_once(mock_packages, install_mockery, mock_test_st... function test_test_spec_passes (line 154) | def test_test_spec_passes(mock_packages, install_mockery, mock_test_stag... function test_get_test_suite (line 165) | def test_get_test_suite(): function test_get_test_suite_no_name (line 169) | def test_get_test_suite_no_name(mock_packages, mock_test_stage): function test_get_test_suite_too_many (line 176) | def test_get_test_suite_too_many(mock_packages, mock_test_stage): function test_test_function_names (line 201) | def test_test_function_names(mock_packages, install_mockery, virtuals, e... function test_test_functions_pkgless (line 208) | def test_test_functions_pkgless(mock_packages, install_mockery, ensure_d... function test_test_virtuals (line 220) | def test_test_virtuals(): function test_package_copy_test_files_fails (line 244) | def test_package_copy_test_files_fails(mock_packages): function test_package_copy_test_files_skips (line 262) | def test_package_copy_test_files_skips(mock_packages, ensure_debug, capfd): function test_process_test_parts (line 275) | def test_process_test_parts(mock_packages): function test_test_part_fail (line 291) | def test_test_part_fail(tmp_path: pathlib.Path, install_mockery, mock_fe... function test_test_part_pass (line 307) | def test_test_part_pass(install_mockery, mock_fetch, mock_test_stage): function test_test_part_skip (line 326) | def test_test_part_skip(install_mockery, mock_fetch, mock_test_stage): function test_test_part_missing_exe_fail_fast (line 340) | def test_test_part_missing_exe_fail_fast( function test_test_part_missing_exe (line 363) | def test_test_part_missing_exe( function test_embedded_test_part_status (line 398) | def test_embedded_test_part_status( function test_write_tested_status (line 426) | def test_write_tested_status( function test_write_tested_status_no_repeats (line 444) | def test_write_tested_status_no_repeats( function test_check_special_outputs (line 467) | def test_check_special_outputs(tmp_path: pathlib.Path): function test_find_required_file (line 491) | def test_find_required_file(tmp_path: pathlib.Path): function test_packagetest_fails (line 520) | def test_packagetest_fails(mock_packages): FILE: lib/spack/spack/test/traverse.py function create_dag (line 12) | def create_dag(nodes, edges): function abstract_specs_dtuse (line 28) | def abstract_specs_dtuse(): function abstract_specs_dt_diamond (line 64) | def abstract_specs_dt_diamond(): function abstract_specs_chain (line 77) | def abstract_specs_chain(): function test_all_orders_traverse_the_same_nodes (line 94) | def test_all_orders_traverse_the_same_nodes(direction, deptype, abstract... function test_all_orders_traverse_the_same_edges (line 120) | def test_all_orders_traverse_the_same_edges(direction, root, deptype, ab... function test_breadth_first_traversal (line 134) | def test_breadth_first_traversal(abstract_specs_dtuse): function test_breadth_first_deptype_traversal (line 146) | def test_breadth_first_deptype_traversal(abstract_specs_dtuse): function test_breadth_firsrt_traversal_deptype_with_builddeps (line 155) | def test_breadth_firsrt_traversal_deptype_with_builddeps(abstract_specs_... function test_breadth_first_traversal_deptype_full (line 164) | def test_breadth_first_traversal_deptype_full(abstract_specs_dtuse): function test_breadth_first_traversal_deptype_run (line 186) | def test_breadth_first_traversal_deptype_run(abstract_specs_dtuse): function test_breadth_first_traversal_reverse (line 193) | def test_breadth_first_traversal_reverse(abstract_specs_dt_diamond): function test_breadth_first_traversal_multiple_input_specs (line 209) | def test_breadth_first_traversal_multiple_input_specs(abstract_specs_dt_... function test_breadth_first_versus_depth_first_tree (line 224) | def test_breadth_first_versus_depth_first_tree(abstract_specs_chain): function test_tree_traversal_with_key (line 275) | def test_tree_traversal_with_key(cover, depth_first, abstract_specs_chain): function test_breadth_first_versus_depth_first_printing (line 296) | def test_breadth_first_versus_depth_first_printing(abstract_specs_chain): function abstract_specs_toposort (line 340) | def abstract_specs_toposort(): function test_traverse_nodes_topo (line 372) | def test_traverse_nodes_topo(abstract_specs_toposort): function test_traverse_edges_topo (line 396) | def test_traverse_edges_topo(abstract_specs_toposort): function test_traverse_nodes_no_deps (line 421) | def test_traverse_nodes_no_deps(abstract_specs_dtuse): function test_topo_is_bfs_for_trees (line 435) | def test_topo_is_bfs_for_trees(cover): function test_mixed_depth_visitor (line 460) | def test_mixed_depth_visitor(roots, order, include_root): FILE: lib/spack/spack/test/url_fetch.py function missing_curl (line 29) | def missing_curl(monkeypatch): function checksum_type (line 37) | def checksum_type(request): function pkg_factory (line 42) | def pkg_factory(): function test_urlfetchstrategy_bad_url (line 79) | def test_urlfetchstrategy_bad_url(tmp_path: pathlib.Path, mutable_config... function test_fetch_options (line 99) | def test_fetch_options(tmp_path: pathlib.Path, mock_archive): function test_fetch_curl_options (line 113) | def test_fetch_curl_options(tmp_path: pathlib.Path, mock_archive, monkey... function test_archive_file_errors (line 134) | def test_archive_file_errors(tmp_path: pathlib.Path, mutable_config, moc... function test_fetch (line 162) | def test_fetch( function test_from_list_url (line 212) | def test_from_list_url(mock_packages, config, spec, url, digest, _fetch_... function test_new_version_from_list_url (line 239) | def test_new_version_from_list_url( function test_nosource_from_list_url (line 256) | def test_nosource_from_list_url(mock_packages, config): function test_hash_detection (line 263) | def test_hash_detection(checksum_type): function test_unknown_hash (line 270) | def test_unknown_hash(checksum_type): function test_url_with_status_bar (line 276) | def test_url_with_status_bar(tmp_path: pathlib.Path, mock_archive, monke... function test_url_extra_fetch (line 297) | def test_url_extra_fetch(tmp_path: pathlib.Path, mutable_config, mock_ar... function test_candidate_urls (line 328) | def test_candidate_urls(pkg_factory, url, urls, version, expected, _fetc... function test_missing_curl (line 343) | def test_missing_curl(tmp_path: pathlib.Path, missing_curl, mutable_conf... function test_url_fetch_text_without_url (line 352) | def test_url_fetch_text_without_url(): function test_url_fetch_text_curl_failures (line 357) | def test_url_fetch_text_curl_failures(mutable_config, missing_curl, monk... function test_url_check_curl_errors (line 364) | def test_url_check_curl_errors(): function test_url_missing_curl (line 375) | def test_url_missing_curl(mutable_config, missing_curl, monkeypatch): function test_url_fetch_text_urllib_web_error (line 382) | def test_url_fetch_text_urllib_web_error(mutable_config, monkeypatch): FILE: lib/spack/spack/test/url_parse.py function test_url_strip_name_suffixes (line 66) | def test_url_strip_name_suffixes(url, version, expected): function test_url_parse_offset (line 153) | def test_url_parse_offset(name, noffset, ver, voffset, path): function test_url_parse_name_and_version (line 703) | def test_url_parse_name_and_version(name, version, url): function test_no_version (line 721) | def test_no_version(not_detectable_url): FILE: lib/spack/spack/test/url_substitution.py function test_url_substitution (line 73) | def test_url_substitution(base_url, version, expected): FILE: lib/spack/spack/test/util/archive.py function test_gzip_compressed_tarball_is_reproducible (line 24) | def test_gzip_compressed_tarball_is_reproducible(tmp_path: Path, monkeyp... function test_reproducible_tarfile_from_prefix_path_to_name (line 167) | def test_reproducible_tarfile_from_prefix_path_to_name(tmp_path: Path): function test_get_commits_from_archive (line 200) | def test_get_commits_from_archive(mock_git_repository, tmp_path: Path, r... function test_can_tell_if_archive_has_git (line 223) | def test_can_tell_if_archive_has_git(mock_git_repository, tmp_path: Path): FILE: lib/spack/spack/test/util/compression.py function compr_support_check (line 33) | def compr_support_check(monkeypatch): function archive_file_and_extension (line 40) | def archive_file_and_extension(tmp_path_factory: pytest.TempPathFactory,... function test_native_unpacking (line 55) | def test_native_unpacking(tmp_path_factory: pytest.TempPathFactory, arch... function test_system_unpacking (line 75) | def test_system_unpacking( function test_unallowed_extension (line 92) | def test_unallowed_extension(): function test_file_type_check_does_not_advance_stream (line 101) | def test_file_type_check_does_not_advance_stream(tmp_path: pathlib.Path,... FILE: lib/spack/spack/test/util/editor.py function clean_env_vars (line 24) | def clean_env_vars(): function working_editor_test_env (line 32) | def working_editor_test_env(working_env): function editor_var (line 38) | def editor_var(request): function _make_exe (line 42) | def _make_exe(tmp_path_factory: pytest.TempPathFactory, name, contents=N... function good_exe (line 54) | def good_exe(tmp_path_factory: pytest.TempPathFactory): function bad_exe (line 59) | def bad_exe(tmp_path_factory: pytest.TempPathFactory): function nosuch_exe (line 64) | def nosuch_exe(tmp_path_factory: pytest.TempPathFactory): function vim_exe (line 69) | def vim_exe(tmp_path_factory: pytest.TempPathFactory): function gvim_exe (line 74) | def gvim_exe(tmp_path_factory: pytest.TempPathFactory): function test_find_exe_from_env_var (line 78) | def test_find_exe_from_env_var(good_exe): function test_find_exe_from_env_var_with_args (line 83) | def test_find_exe_from_env_var_with_args(good_exe): function test_find_exe_from_env_var_bad_path (line 88) | def test_find_exe_from_env_var_bad_path(nosuch_exe): function test_editor_gvim_special_case (line 93) | def test_editor_gvim_special_case(gvim_exe): function test_editor_precedence (line 107) | def test_editor_precedence(good_exe, gvim_exe, vim_exe, bad_exe): function test_find_exe_from_env_var_no_editor (line 131) | def test_find_exe_from_env_var_no_editor(): function test_editor (line 137) | def test_editor(editor_var, good_exe): function test_editor_visual_bad (line 148) | def test_editor_visual_bad(good_exe, bad_exe): function test_editor_no_visual (line 163) | def test_editor_no_visual(good_exe): function test_editor_no_visual_with_args (line 174) | def test_editor_no_visual_with_args(good_exe): function test_editor_both_bad (line 186) | def test_editor_both_bad(nosuch_exe, vim_exe): function test_no_editor (line 200) | def test_no_editor(): function test_exec_fn_executable (line 216) | def test_exec_fn_executable(editor_var, good_exe, bad_exe): FILE: lib/spack/spack/test/util/elf.py function skip_unless_linux (line 20) | def skip_unless_linux(f): function test_elf_parsing_shared_linking (line 33) | def test_elf_parsing_shared_linking(linker_flag, is_runpath, tmp_path: p... function test_broken_elf (line 81) | def test_broken_elf(): function test_parser_doesnt_deal_with_nonzero_offset (line 111) | def test_parser_doesnt_deal_with_nonzero_offset(): function test_only_header (line 121) | def test_only_header(): function test_elf_get_and_replace_rpaths_and_pt_interp (line 138) | def test_elf_get_and_replace_rpaths_and_pt_interp(binary_with_rpaths): function test_drop_redundant_rpath (line 181) | def test_drop_redundant_rpath(tmp_path: pathlib.Path, binary_with_rpaths): function test_elf_invalid_e_shnum (line 207) | def test_elf_invalid_e_shnum(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/util/environment.py function prepare_environment_for_tests (line 17) | def prepare_environment_for_tests(): function test_is_system_path (line 24) | def test_is_system_path(): function test_filter_system_paths (line 52) | def test_filter_system_paths(): function deprioritize_system_paths (line 59) | def deprioritize_system_paths(): function test_prune_duplicate_paths (line 66) | def test_prune_duplicate_paths(): function test_get_path (line 72) | def test_get_path(prepare_environment_for_tests): function test_env_flag (line 78) | def test_env_flag(prepare_environment_for_tests): function test_path_set (line 104) | def test_path_set(prepare_environment_for_tests): function test_path_put_first (line 109) | def test_path_put_first(prepare_environment_for_tests): function test_dump_environment (line 118) | def test_dump_environment(prepare_environment_for_tests, shell_as, shell... function test_reverse_environment_modifications (line 132) | def test_reverse_environment_modifications(working_env): function test_shell_modifications_are_properly_escaped (line 165) | def test_shell_modifications_are_properly_escaped(): FILE: lib/spack/spack/test/util/executable.py function test_read_unicode (line 18) | def test_read_unicode(tmp_path: pathlib.Path, working_env): function test_which_relative_path_with_slash (line 45) | def test_which_relative_path_with_slash(tmp_path: pathlib.Path, working_... function test_which_with_slash_ignores_path (line 66) | def test_which_with_slash_ignores_path(tmp_path: pathlib.Path, working_e... function test_which (line 90) | def test_which(tmp_path: pathlib.Path, monkeypatch): function make_script_exe (line 114) | def make_script_exe(tmp_path: pathlib.Path): function test_exe_fail (line 131) | def test_exe_fail(make_script_exe): function test_exe_success (line 138) | def test_exe_success(make_script_exe): function test_exe_timeout (line 144) | def test_exe_timeout(make_script_exe): function test_exe_not_exist (line 151) | def test_exe_not_exist(tmp_path: pathlib.Path): function test_construct_from_pathlib (line 158) | def test_construct_from_pathlib(mock_executable): function test_exe_disallows_str_split_as_input (line 166) | def test_exe_disallows_str_split_as_input(mock_executable): function test_exe_disallows_callable_as_output (line 173) | def test_exe_disallows_callable_as_output(mock_executable): FILE: lib/spack/spack/test/util/file_cache.py function file_cache (line 17) | def file_cache(tmp_path: pathlib.Path): function test_write_and_read_cache_file (line 22) | def test_write_and_read_cache_file(file_cache): function test_read_before_init (line 34) | def test_read_before_init(file_cache): function test_failed_write_and_read_cache_file (line 40) | def test_failed_write_and_read_cache_file(file_cache): function test_write_and_remove_cache_file (line 55) | def test_write_and_remove_cache_file(file_cache): function test_bad_cache_permissions (line 88) | def test_bad_cache_permissions(file_cache, request): function test_delete_is_idempotent (line 122) | def test_delete_is_idempotent(file_cache): FILE: lib/spack/spack/test/util/git.py function test_git_not_found (line 14) | def test_git_not_found(monkeypatch): function test_modified_files (line 27) | def test_modified_files(mock_git_package_changes): function test_init_git_repo (line 36) | def test_init_git_repo(git, mock_git_version_info, tmp_path: pathlib.Path): function test_pull_checkout_commit_any_remote (line 47) | def test_pull_checkout_commit_any_remote(git, tmp_path: pathlib.Path, mo... function test_pull_checkout_commit_specific_remote (line 58) | def test_pull_checkout_commit_specific_remote(git, tmp_path: pathlib.Pat... function test_pull_checkout_tag (line 70) | def test_pull_checkout_tag(git, tmp_path: pathlib.Path, mock_git_version... function test_pull_checkout_branch (line 81) | def test_pull_checkout_branch(git, tmp_path: pathlib.Path, mock_git_vers... function test_extract_git_version (line 107) | def test_extract_git_version(mock_util_executable, input, answer): function test_mock_git_exe (line 114) | def test_mock_git_exe(mock_util_executable): function test_git_exe_conditional_option (line 128) | def test_git_exe_conditional_option(mock_util_executable, git_version): function test_git_init_fetch_ommissions (line 145) | def test_git_init_fetch_ommissions(mock_util_executable, git_version, om... FILE: lib/spack/spack/test/util/ld_so_conf.py function test_ld_so_conf_parsing (line 15) | def test_ld_so_conf_parsing(tmp_path: pathlib.Path): function test_host_dynamic_linker_search_paths (line 55) | def test_host_dynamic_linker_search_paths(): FILE: lib/spack/spack/test/util/log_parser.py function test_log_parser (line 13) | def test_log_parser(tmp_path: pathlib.Path): function test_log_parser_stream (line 43) | def test_log_parser_stream(): function test_log_parser_preserves_leading_whitespace (line 59) | def test_log_parser_preserves_leading_whitespace(): function test_make_log_context_merges_overlapping_events (line 74) | def test_make_log_context_merges_overlapping_events(tmp_path: pathlib.Pa... function test_make_log_context_warning_in_error_context_keeps_yellow (line 98) | def test_make_log_context_warning_in_error_context_keeps_yellow(tmp_path... function test_log_parser_non_utf8_bytes (line 124) | def test_log_parser_non_utf8_bytes(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/util/module_cmd.py function test_load_module_success (line 13) | def test_load_module_success(monkeypatch, working_env): function test_load_module_failure (line 42) | def test_load_module_failure(monkeypatch, working_env): FILE: lib/spack/spack/test/util/package_hash.py function compare_sans_name (line 21) | def compare_sans_name(eq, spec1, spec2): function compare_hash_sans_name (line 32) | def compare_hash_sans_name(eq, spec1, spec2): function test_hash (line 46) | def test_hash(mock_packages, config): function test_different_variants (line 50) | def test_different_variants(mock_packages, config): function test_all_same_but_name (line 56) | def test_all_same_but_name(mock_packages, config): function test_all_same_but_archive_hash (line 66) | def test_all_same_but_archive_hash(mock_packages, config): function test_all_same_but_patch_contents (line 75) | def test_all_same_but_patch_contents(mock_packages, config): function test_all_same_but_patches_to_apply (line 81) | def test_all_same_but_patches_to_apply(mock_packages, config): function test_all_same_but_install (line 87) | def test_all_same_but_install(mock_packages, config): function test_content_hash_all_same_but_patch_contents (line 93) | def test_content_hash_all_same_but_patch_contents(mock_packages, config): function test_content_hash_not_concretized (line 99) | def test_content_hash_not_concretized(mock_packages, config): function test_content_hash_different_variants (line 119) | def test_content_hash_different_variants(mock_packages, config): function test_content_hash_cannot_get_details_from_ast (line 125) | def test_content_hash_cannot_get_details_from_ast(mock_packages, config): function test_content_hash_all_same_but_archive_hash (line 140) | def test_content_hash_all_same_but_archive_hash(mock_packages, config): function test_content_hash_parse_dynamic_function_call (line 146) | def test_content_hash_parse_dynamic_function_call(mock_packages, config): function test_remove_docstrings (line 201) | def test_remove_docstrings(): function test_remove_all_directives (line 224) | def test_remove_all_directives(): function test_remove_spack_attributes (line 258) | def test_remove_spack_attributes(): function test_remove_complex_package_logic_filtered (line 330) | def test_remove_complex_package_logic_filtered(): function test_package_hash_consistency (line 359) | def test_package_hash_consistency(package_spec, expected_hash): function test_multimethod_resolution (line 454) | def test_multimethod_resolution(spec_str, source, expected, not_expected): FILE: lib/spack/spack/test/util/path.py function test_sanitize_filename (line 32) | def test_sanitize_filename(): class TestPathPadding (line 46) | class TestPathPadding: method setup (line 48) | def setup(self, as_bytes: bool): method test_padding_substitution (line 55) | def test_padding_substitution(self, padded, fixed): method test_no_substitution (line 59) | def test_no_substitution(self): method test_short_substitution (line 66) | def test_short_substitution(self): method test_partial_substitution (line 72) | def test_partial_substitution(self): method test_longest_prefix_re (line 78) | def test_longest_prefix_re(self): function test_output_filtering (line 85) | def test_output_filtering(capfd, install_mockery, mutable_config): function test_pad_on_path_sep_boundary (line 123) | def test_pad_on_path_sep_boundary(): function test_path_debug_padded_filter (line 134) | def test_path_debug_padded_filter(debug, monkeypatch): function test_canonicalize_file_unix (line 152) | def test_canonicalize_file_unix(): function test_canonicalize_file_windows (line 158) | def test_canonicalize_file_windows(): function test_canonicalize_file_relative (line 163) | def test_canonicalize_file_relative(): FILE: lib/spack/spack/test/util/prefix.py function test_prefix_attributes (line 12) | def test_prefix_attributes(): function test_prefix_join (line 21) | def test_prefix_join(): function test_multilevel_attributes (line 50) | def test_multilevel_attributes(): function test_string_like_behavior (line 64) | def test_string_like_behavior(): FILE: lib/spack/spack/test/util/remote_file_cache.py function test_rfc_local_path_bad_scheme (line 26) | def test_rfc_local_path_bad_scheme(path, err): function test_rfc_local_file_unix (line 32) | def test_rfc_local_file_unix(): function test_rfc_local_file_windows (line 41) | def test_rfc_local_file_windows(): function test_rfc_local_file_relative (line 46) | def test_rfc_local_file_relative(): function test_rfc_remote_local_path_no_dest (line 52) | def test_rfc_remote_local_path_no_dest(): function test_rfc_remote_local_path (line 82) | def test_rfc_remote_local_path( FILE: lib/spack/spack/test/util/spack_lock_wrapper.py function test_disable_locking (line 17) | def test_disable_locking(tmp_path: pathlib.Path): function test_lock_checks_user (line 38) | def test_lock_checks_user(tmp_path: pathlib.Path): function test_lock_checks_group (line 72) | def test_lock_checks_group(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/util/spack_yaml.py function get_config_line (line 13) | def get_config_line(pattern, lines): function check_blame (line 20) | def check_blame(element, file_name, line=None): function test_config_blame (line 43) | def test_config_blame(config): function test_config_blame_with_override (line 55) | def test_config_blame_with_override(config): function test_config_blame_defaults (line 69) | def test_config_blame_defaults(): FILE: lib/spack/spack/test/util/timer.py class Tick (line 11) | class Tick: method __init__ (line 15) | def __init__(self): method tick (line 18) | def tick(self): function test_timer (line 23) | def test_timer(): function test_timer_stop_stops_all (line 70) | def test_timer_stop_stops_all(): function test_stopping_unstarted_timer_is_no_error (line 94) | def test_stopping_unstarted_timer_is_no_error(): function test_timer_write (line 101) | def test_timer_write(): function test_null_timer (line 133) | def test_null_timer(): FILE: lib/spack/spack/test/util/unparse/unparse.py function read_pyfile (line 17) | def read_pyfile(filename): function check_ast_roundtrip (line 234) | def check_ast_roundtrip(code1, filename="internal", mode="exec"): function test_core_lib_files (line 244) | def test_core_lib_files(): function test_simple_fstring (line 264) | def test_simple_fstring(): function test_fstrings (line 269) | def test_fstrings(): function test_fstrings_complicated (line 278) | def test_fstrings_complicated(): function test_parser_modes (line 289) | def test_parser_modes(): function test_del_statement (line 294) | def test_del_statement(): function test_shifts (line 298) | def test_shifts(): function test_for_else (line 303) | def test_for_else(): function test_while_else (line 307) | def test_while_else(): function test_unary_parens (line 311) | def test_unary_parens(): function test_integer_parens (line 320) | def test_integer_parens(): function test_huge_float (line 324) | def test_huge_float(): function test_min_int30 (line 331) | def test_min_int30(): function test_imaginary_literals (line 336) | def test_imaginary_literals(): function test_negative_zero (line 343) | def test_negative_zero(): function test_lambda_parentheses (line 354) | def test_lambda_parentheses(): function test_chained_comparisons (line 358) | def test_chained_comparisons(): function test_function_arguments (line 363) | def test_function_arguments(): function test_relative_import (line 378) | def test_relative_import(): function test_import_many (line 382) | def test_import_many(): function test_nonlocal (line 386) | def test_nonlocal(): function test_raise_from (line 390) | def test_raise_from(): function test_bytes (line 394) | def test_bytes(): function test_formatted_value (line 399) | def test_formatted_value(): function test_joined_str (line 407) | def test_joined_str(): function test_joined_str_361 (line 414) | def test_joined_str_361(): function test_complex_f_string (line 427) | def test_complex_f_string(): function test_annotations (line 431) | def test_annotations(): function test_set_literal (line 440) | def test_set_literal(): function test_set_comprehension (line 445) | def test_set_comprehension(): function test_dict_comprehension (line 450) | def test_dict_comprehension(): function test_dict_with_unpacking (line 455) | def test_dict_with_unpacking(): function test_async_comp_and_gen_in_async_function (line 461) | def test_async_comp_and_gen_in_async_function(): function test_async_comprehension (line 466) | def test_async_comprehension(): function test_async_generator_expression (line 473) | def test_async_generator_expression(): function test_class_decorators (line 478) | def test_class_decorators(): function test_class_definition (line 482) | def test_class_definition(): function test_elifs (line 486) | def test_elifs(): function test_try_except_finally (line 491) | def test_try_except_finally(): function test_starred_assignment (line 495) | def test_starred_assignment(): function test_variable_annotation (line 503) | def test_variable_annotation(): function test_with_simple (line 515) | def test_with_simple(): function test_with_as (line 519) | def test_with_as(): function test_with_two_items (line 524) | def test_with_two_items(): function test_async_function_def (line 529) | def test_async_function_def(): function test_async_for (line 534) | def test_async_for(): function test_async_with (line 539) | def test_async_with(): function test_async_with_as (line 544) | def test_async_with_as(): function test_match_literal (line 553) | def test_match_literal(literal): function test_tstrings (line 558) | def test_tstrings(): function test_subscript_with_tuple (line 571) | def test_subscript_with_tuple(): function test_subscript_without_tuple (line 581) | def test_subscript_without_tuple(): function test_attribute_on_int (line 587) | def test_attribute_on_int(): FILE: lib/spack/spack/test/util/util_gpg.py function has_socket_dir (line 14) | def has_socket_dir(): function test_parse_gpg_output_case_one (line 19) | def test_parse_gpg_output_case_one(): function test_parse_gpg_output_case_two (line 37) | def test_parse_gpg_output_case_two(): function test_parse_gpg_output_case_three (line 53) | def test_parse_gpg_output_case_three(): function test_really_long_gnupghome_dir (line 74) | def test_really_long_gnupghome_dir(tmp_path: pathlib.Path, has_socket_dir): FILE: lib/spack/spack/test/util/util_url.py function test_url_local_file_path (line 18) | def test_url_local_file_path(tmp_path: pathlib.Path): function test_url_local_file_path_no_file_scheme (line 37) | def test_url_local_file_path_no_file_scheme(): function test_relative_path_to_file_url (line 42) | def test_relative_path_to_file_url(tmp_path: pathlib.Path): function test_url_join_absolute (line 55) | def test_url_join_absolute(scheme, resolve_href): function test_url_join_up (line 69) | def test_url_join_up(scheme): function test_url_join_resolve_href (line 94) | def test_url_join_resolve_href(scheme): function test_default_download_name (line 112) | def test_default_download_name(): function test_default_download_name_dot_dot (line 118) | def test_default_download_name_dot_dot(): function test_parse_link_rel_next (line 125) | def test_parse_link_rel_next(): FILE: lib/spack/spack/test/utilities.py class SpackCommandArgs (line 10) | class SpackCommandArgs: method __init__ (line 23) | def __init__(self, command_name): method __call__ (line 27) | def __call__(self, *argv, **kwargs): FILE: lib/spack/spack/test/variant.py class TestMultiValuedVariant (line 29) | class TestMultiValuedVariant: method test_initialization (line 30) | def test_initialization(self): method test_satisfies (line 58) | def test_satisfies(self): method test_intersects (line 80) | def test_intersects(self): method test_constrain (line 104) | def test_constrain(self): method test_yaml_entry (line 127) | def test_yaml_entry(self): class TestSingleValuedVariant (line 139) | class TestSingleValuedVariant: method test_initialization (line 140) | def test_initialization(self): method test_satisfies (line 158) | def test_satisfies(self): method test_intersects (line 173) | def test_intersects(self): method test_constrain (line 188) | def test_constrain(self): method test_yaml_entry (line 214) | def test_yaml_entry(self): class TestBoolValuedVariant (line 221) | class TestBoolValuedVariant: method test_initialization (line 222) | def test_initialization(self): method test_satisfies (line 250) | def test_satisfies(self): method test_intersects (line 281) | def test_intersects(self): method test_constrain (line 305) | def test_constrain(self): method test_yaml_entry (line 334) | def test_yaml_entry(self): function test_from_node_dict (line 344) | def test_from_node_dict(): class TestVariant (line 355) | class TestVariant: method test_validation (line 356) | def test_validation(self): method test_callable_validator (line 382) | def test_callable_validator(self): method test_representation (line 398) | def test_representation(self): method test_str (line 404) | def test_str(self): class TestVariantMapTest (line 416) | class TestVariantMapTest: method test_invalid_values (line 417) | def test_invalid_values(self) -> None: method test_set_item (line 438) | def test_set_item(self) -> None: method test_substitute (line 446) | def test_substitute(self) -> None: method test_satisfies_and_constrain (line 457) | def test_satisfies_and_constrain(self) -> None: method test_copy (line 485) | def test_copy(self) -> None: method test_str (line 494) | def test_str(self) -> None: function test_disjoint_set_initialization_errors (line 503) | def test_disjoint_set_initialization_errors(): function test_disjoint_set_initialization (line 516) | def test_disjoint_set_initialization(): function test_disjoint_set_fluent_methods (line 525) | def test_disjoint_set_fluent_methods(): function test_conditional_value_comparable_to_bool (line 561) | def test_conditional_value_comparable_to_bool(other): function test_wild_card_valued_variants_equivalent_to_str (line 568) | def test_wild_card_valued_variants_equivalent_to_str(): function test_variant_definitions (line 604) | def test_variant_definitions(mock_packages): function test_prevalidate_variant_value (line 655) | def test_prevalidate_variant_value(mock_packages, pkg_name, value, spec,... function test_strict_invalid_variant_values (line 685) | def test_strict_invalid_variant_values(mock_packages, pkg_name, value, s... function test_concretize_variant_default_with_multiple_defs (line 705) | def test_concretize_variant_default_with_multiple_defs( function test_substitute_abstract_variants_narrowing (line 731) | def test_substitute_abstract_variants_narrowing(mock_packages, spec, var... function test_substitute_abstract_variants_failure (line 737) | def test_substitute_abstract_variants_failure(mock_packages): function test_abstract_variant_satisfies_abstract_abstract (line 743) | def test_abstract_variant_satisfies_abstract_abstract(): function test_abstract_variant_satisfies_concrete_abstract (line 755) | def test_abstract_variant_satisfies_concrete_abstract(): function test_abstract_variant_satisfies_abstract_concrete (line 765) | def test_abstract_variant_satisfies_abstract_concrete(): function test_abstract_variant_satisfies_concrete_concrete (line 775) | def test_abstract_variant_satisfies_concrete_concrete(): function test_abstract_variant_intersects_abstract_abstract (line 783) | def test_abstract_variant_intersects_abstract_abstract(): function test_abstract_variant_intersects_concrete_abstract (line 795) | def test_abstract_variant_intersects_concrete_abstract(): function test_abstract_variant_intersects_abstract_concrete (line 804) | def test_abstract_variant_intersects_abstract_concrete(): function test_abstract_variant_intersects_concrete_concrete (line 813) | def test_abstract_variant_intersects_concrete_concrete(): function test_abstract_variant_constrain_abstract_abstract (line 821) | def test_abstract_variant_constrain_abstract_abstract(): function test_abstract_variant_constrain_abstract_concrete_fail (line 830) | def test_abstract_variant_constrain_abstract_concrete_fail(): function test_abstract_variant_constrain_abstract_concrete_ok (line 835) | def test_abstract_variant_constrain_abstract_concrete_ok(): function test_abstract_variant_constrain_concrete_concrete_fail (line 844) | def test_abstract_variant_constrain_concrete_concrete_fail(): function test_abstract_variant_constrain_concrete_concrete_ok (line 849) | def test_abstract_variant_constrain_concrete_concrete_ok(): function test_abstract_variant_constrain_concrete_abstract_fail (line 854) | def test_abstract_variant_constrain_concrete_abstract_fail(): function test_abstract_variant_constrain_concrete_abstract_ok (line 860) | def test_abstract_variant_constrain_concrete_abstract_ok(): function test_patches_variant (line 866) | def test_patches_variant(): function test_constrain_narrowing (line 882) | def test_constrain_narrowing(): FILE: lib/spack/spack/test/verification.py function test_link_manifest_entry (line 24) | def test_link_manifest_entry(tmp_path: pathlib.Path): function test_dir_manifest_entry (line 50) | def test_dir_manifest_entry(tmp_path: pathlib.Path): function test_file_manifest_entry (line 71) | def test_file_manifest_entry(tmp_path: pathlib.Path): function test_check_chmod_manifest_entry (line 113) | def test_check_chmod_manifest_entry(tmp_path: pathlib.Path): function test_check_prefix_manifest (line 130) | def test_check_prefix_manifest(tmp_path: pathlib.Path): function test_single_file_verification (line 188) | def test_single_file_verification(tmp_path: pathlib.Path): FILE: lib/spack/spack/test/versions.py function assert_ver_lt (line 35) | def assert_ver_lt(a, b): function assert_ver_gt (line 46) | def assert_ver_gt(a, b): function assert_ver_eq (line 57) | def assert_ver_eq(a, b): function assert_in (line 68) | def assert_in(needle, haystack): function assert_not_in (line 73) | def assert_not_in(needle, haystack): function assert_canonical (line 78) | def assert_canonical(canonical_list, version_list): function assert_overlaps (line 83) | def assert_overlaps(v1, v2): function assert_no_overlap (line 88) | def assert_no_overlap(v1, v2): function assert_satisfies (line 93) | def assert_satisfies(v1, v2): function assert_does_not_satisfy (line 98) | def assert_does_not_satisfy(v1, v2): function check_intersection (line 103) | def check_intersection(expected, a, b): function check_union (line 108) | def check_union(expected, a, b): function test_string_prefix (line 113) | def test_string_prefix(): function test_two_segments (line 119) | def test_two_segments(): function test_develop (line 125) | def test_develop(): function test_isdevelop (line 157) | def test_isdevelop(): function test_three_segments (line 171) | def test_three_segments(): function test_alpha (line 177) | def test_alpha(): function test_patch (line 186) | def test_patch(): function test_num_alpha_with_no_separator (line 195) | def test_num_alpha_with_no_separator(): function test_alpha_with_dots (line 203) | def test_alpha_with_dots(): function test_nums_and_patch (line 211) | def test_nums_and_patch(): function test_prereleases (line 218) | def test_prereleases(): function test_alpha_beta (line 234) | def test_alpha_beta(): function test_double_alpha (line 240) | def test_double_alpha(): function test_padded_numbers (line 246) | def test_padded_numbers(): function test_close_numbers (line 254) | def test_close_numbers(): function test_date_stamps (line 259) | def test_date_stamps(): function test_underscores (line 265) | def test_underscores(): function test_rpm_oddities (line 273) | def test_rpm_oddities(): function test_version_ranges (line 284) | def test_version_ranges(): function test_version_range_with_prereleases (line 294) | def test_version_range_with_prereleases(): function test_contains (line 327) | def test_contains(): function test_in_list (line 348) | def test_in_list(): function test_ranges_overlap (line 360) | def test_ranges_overlap(): function test_overlap_with_containment (line 377) | def test_overlap_with_containment(): function test_lists_overlap (line 388) | def test_lists_overlap(): function test_canonicalize_list (line 402) | def test_canonicalize_list(): function test_intersection (line 422) | def test_intersection(): function test_intersect_with_containment (line 434) | def test_intersect_with_containment(): function test_union_with_containment (line 445) | def test_union_with_containment(): function test_basic_version_satisfaction (line 463) | def test_basic_version_satisfaction(): function test_basic_version_satisfaction_in_lists (line 479) | def test_basic_version_satisfaction_in_lists(): function test_version_range_satisfaction (line 495) | def test_version_range_satisfaction(): function test_version_range_satisfaction_in_lists (line 507) | def test_version_range_satisfaction_in_lists(): function test_satisfaction_with_lists (line 519) | def test_satisfaction_with_lists(): function test_formatted_strings (line 532) | def test_formatted_strings(): function test_dotted_numeric_string (line 557) | def test_dotted_numeric_string(): function test_up_to (line 562) | def test_up_to(): function test_repr_and_str (line 589) | def test_repr_and_str(): function test_str_and_hash_version_range (line 603) | def test_str_and_hash_version_range(): function test_stringify_version (line 622) | def test_stringify_version(version_str): function test_len (line 631) | def test_len(): function test_get_item (line 639) | def test_get_item(): function test_list_highest (line 663) | def test_list_highest(): function test_invalid_versions (line 676) | def test_invalid_versions(version_str): function test_versions_from_git (line 682) | def test_versions_from_git(git, mock_git_version_info, monkeypatch, mock... function test_git_hash_comparisons (line 713) | def test_git_hash_comparisons( function test_git_ref_comparisons (line 738) | def test_git_ref_comparisons(mock_git_version_info, install_mockery, moc... function test_git_branch_with_slash (line 758) | def test_git_branch_with_slash(): function test_version_git_vs_base (line 787) | def test_version_git_vs_base(string, git): function test_version_range_nonempty (line 792) | def test_version_range_nonempty(): function test_empty_version_range_raises (line 797) | def test_empty_version_range_raises(): function test_version_empty_slice (line 804) | def test_version_empty_slice(): function test_version_wrong_idx_type (line 811) | def test_version_wrong_idx_type(): function test_version_range_satisfies_means_nonempty_intersection (line 819) | def test_version_range_satisfies_means_nonempty_intersection(): function test_version_list_with_range_and_concrete_version_is_not_concrete (line 826) | def test_version_list_with_range_and_concrete_version_is_not_concrete(): function test_git_versions_store_ref_requests (line 835) | def test_git_versions_store_ref_requests(git_ref, std_version): function test_git_ref_can_be_assigned_a_version (line 868) | def test_git_ref_can_be_assigned_a_version(vstring, eq_vstring, is_commit): function test_version_intersects_satisfies_semantic (line 890) | def test_version_intersects_satisfies_semantic(lhs_str, rhs_str, expected): function test_git_versions_without_explicit_reference (line 915) | def test_git_versions_without_explicit_reference( function test_total_order_versions_and_ranges (line 936) | def test_total_order_versions_and_ranges(): function test_git_version_accessors (line 972) | def test_git_version_accessors(): function test_boolness_of_versions (line 992) | def test_boolness_of_versions(): function test_version_list_normalization (line 1003) | def test_version_list_normalization(): function test_version_list_connected_union_of_disjoint_ranges (line 1016) | def test_version_list_connected_union_of_disjoint_ranges(): function test_version_comparison_with_list_fails (line 1024) | def test_version_comparison_with_list_fails(version): function test_inclusion_upperbound (line 1052) | def test_inclusion_upperbound(): function test_git_version_repo_attached_after_serialization (line 1068) | def test_git_version_repo_attached_after_serialization( function test_resolved_git_version_is_shown_in_str (line 1088) | def test_resolved_git_version_is_shown_in_str( function test_unresolvable_git_versions_error (line 1104) | def test_unresolvable_git_versions_error(config, mock_packages): function test_semver_regex (line 1126) | def test_semver_regex(tag, expected): FILE: lib/spack/spack/test/views.py function test_remove_extensions_ordered (line 17) | def test_remove_extensions_ordered(install_mockery, mock_fetch, tmp_path... function test_view_with_spec_not_contributing_files (line 30) | def test_view_with_spec_not_contributing_files(mock_packages, tmp_path: ... FILE: lib/spack/spack/test/web.py function _create_url (line 27) | def _create_url(relative_url): function test_spider (line 81) | def test_spider(depth, expected_found, expected_not_found, expected_text): function test_spider_no_response (line 100) | def test_spider_no_response(monkeypatch): function test_find_versions_of_archive_0 (line 107) | def test_find_versions_of_archive_0(): function test_find_versions_of_archive_1 (line 112) | def test_find_versions_of_archive_1(): function test_find_versions_of_archive_2 (line 118) | def test_find_versions_of_archive_2(): function test_find_exotic_versions_of_archive_2 (line 125) | def test_find_exotic_versions_of_archive_2(): function test_find_versions_of_archive_3 (line 131) | def test_find_versions_of_archive_3(): function test_find_exotic_versions_of_archive_3 (line 140) | def test_find_exotic_versions_of_archive_3(): function test_find_versions_of_archive_with_fragment (line 147) | def test_find_versions_of_archive_with_fragment(): function test_find_versions_of_archive_with_javascript (line 152) | def test_find_versions_of_archive_with_javascript(): function test_get_header (line 157) | def test_get_header(): function test_etag_parser (line 196) | def test_etag_parser(): function test_list_url (line 210) | def test_list_url(tmp_path: pathlib.Path): class MockPages (line 235) | class MockPages: method search (line 236) | def search(self, *args, **kwargs): class MockPaginator (line 240) | class MockPaginator: method paginate (line 241) | def paginate(self, *args, **kwargs): class MockClientError (line 245) | class MockClientError(Exception): method __init__ (line 246) | def __init__(self): class MockS3Client (line 253) | class MockS3Client: method get_paginator (line 254) | def get_paginator(self, *args, **kwargs): method delete_objects (line 257) | def delete_objects(self, *args, **kwargs): method delete_object (line 263) | def delete_object(self, *args, **kwargs): method get_object (line 266) | def get_object(self, Bucket=None, Key=None): method head_object (line 272) | def head_object(self, Bucket=None, Key=None): function test_gather_s3_information (line 279) | def test_gather_s3_information(monkeypatch): function test_remove_s3_url (line 314) | def test_remove_s3_url(monkeypatch, capfd): function test_s3_url_exists (line 335) | def test_s3_url_exists(monkeypatch): function test_s3_url_parsing (line 348) | def test_s3_url_parsing(): function test_detailed_http_error_pickle (line 353) | def test_detailed_http_error_pickle(tmp_path: pathlib.Path): function ssl_scrubbed_env (line 376) | def ssl_scrubbed_env(mutable_config, monkeypatch): function test_ssl_urllib (line 399) | def test_ssl_urllib( function test_ssl_curl_cert_file (line 429) | def test_ssl_curl_cert_file( function test_retry_on_transient_error (line 464) | def test_retry_on_transient_error(error_code, num_errors, max_retries, e... function test_retry_on_transient_error_non_oserror (line 491) | def test_retry_on_transient_error_non_oserror(): FILE: lib/spack/spack/tokenize.py class TokenBase (line 13) | class TokenBase(enum.Enum): method __new__ (line 16) | def __new__(cls, *args, **kwargs): method __init__ (line 22) | def __init__(self, regex): method __str__ (line 25) | def __str__(self): class Token (line 29) | class Token: method __init__ (line 34) | def __init__(self, kind: TokenBase, value: str, start: int = 0, end: i... method __repr__ (line 41) | def __repr__(self): method __str__ (line 44) | def __str__(self): method __eq__ (line 50) | def __eq__(self, other): function token_match_regex (line 58) | def token_match_regex(token: TokenBase): class Tokenizer (line 84) | class Tokenizer: method __init__ (line 85) | def __init__(self, tokens: Type[TokenBase]): method tokenize (line 101) | def tokenize(self, text: str) -> Generator[Token, None, None]: FILE: lib/spack/spack/traverse.py class EdgeAndDepth (line 36) | class EdgeAndDepth(NamedTuple): function sort_edges (line 42) | def sort_edges(edges): class BaseVisitor (line 47) | class BaseVisitor: method __init__ (line 51) | def __init__(self, depflag: dt.DepFlag = dt.ALL): method accept (line 54) | def accept(self, item): method neighbors (line 67) | def neighbors(self, item): class ReverseVisitor (line 71) | class ReverseVisitor: method __init__ (line 74) | def __init__(self, visitor, depflag: dt.DepFlag = dt.ALL): method accept (line 78) | def accept(self, item): method neighbors (line 81) | def neighbors(self, item): class CoverNodesVisitor (line 90) | class CoverNodesVisitor: method __init__ (line 93) | def __init__(self, visitor, key=id, visited=None): method accept (line 98) | def accept(self, item): method neighbors (line 109) | def neighbors(self, item): class CoverEdgesVisitor (line 113) | class CoverEdgesVisitor: method __init__ (line 116) | def __init__(self, visitor, key=id, visited=None): method accept (line 121) | def accept(self, item): method neighbors (line 124) | def neighbors(self, item): class MixedDepthVisitor (line 135) | class MixedDepthVisitor: method __init__ (line 140) | def __init__( method accept (line 153) | def accept(self, item: EdgeAndDepth) -> bool: method neighbors (line 163) | def neighbors(self, item: EdgeAndDepth) -> List[EdgeAndDepth]: function get_visitor_from_args (line 193) | def get_visitor_from_args( function with_artificial_edges (line 231) | def with_artificial_edges(specs): function traverse_depth_first_edges_generator (line 241) | def traverse_depth_first_edges_generator(edges, visitor, post_order=Fals... function traverse_breadth_first_edges_generator (line 279) | def traverse_breadth_first_edges_generator(queue: deque, visitor, root=T... function traverse_breadth_first_with_visitor (line 294) | def traverse_breadth_first_with_visitor(specs, visitor): function traverse_depth_first_with_visitor (line 314) | def traverse_depth_first_with_visitor(edges, visitor): function breadth_first_to_tree_edges (line 340) | def breadth_first_to_tree_edges(roots, deptype="all", key=id): function breadth_first_to_tree_nodes (line 359) | def breadth_first_to_tree_nodes(roots, deptype="all", key=id): function traverse_breadth_first_tree_edges (line 371) | def traverse_breadth_first_tree_edges(parent_id, edges, parents, key=id,... function traverse_breadth_first_tree_nodes (line 386) | def traverse_breadth_first_tree_nodes(parent_id, edges, key=id, depth=0): function traverse_topo_edges_generator (line 393) | def traverse_topo_edges_generator(edges, visitor, key=id, root=True, all... function traverse_edges (line 449) | def traverse_edges( function traverse_edges (line 464) | def traverse_edges( function traverse_edges (line 479) | def traverse_edges( function traverse_edges (line 493) | def traverse_edges( function traverse_nodes (line 562) | def traverse_nodes( function traverse_nodes (line 577) | def traverse_nodes( function traverse_nodes (line 592) | def traverse_nodes( function traverse_nodes (line 606) | def traverse_nodes( function traverse_tree (line 659) | def traverse_tree( function by_dag_hash (line 703) | def by_dag_hash(s: "spack.spec.Spec") -> str: FILE: lib/spack/spack/url.py function strip_name_suffixes (line 52) | def strip_name_suffixes(path: str, version: Union[str, spack.version.Sta... function parse_version_offset (line 124) | def parse_version_offset(path: str) -> Tuple[str, int, int, int, str]: function parse_version (line 294) | def parse_version(path: str) -> spack.version.StandardVersion: function parse_name_offset (line 309) | def parse_name_offset( function parse_name (line 424) | def parse_name(path, ver=None): function parse_name_and_version (line 441) | def parse_name_and_version(path: str) -> Tuple[str, spack.version.Standa... function find_all (line 460) | def find_all(substring, string): function substitution_offsets (line 476) | def substitution_offsets(path): function wildcard_version (line 500) | def wildcard_version(path): function substitute_version (line 517) | def substitute_version(path: str, new_version) -> str: function color_url (line 549) | def color_url(path, **kwargs): function find_versions_of_archive (line 615) | def find_versions_of_archive( class UrlParseError (line 731) | class UrlParseError(spack.error.SpackError): method __init__ (line 734) | def __init__(self, msg, path): class UndetectableVersionError (line 739) | class UndetectableVersionError(UrlParseError): method __init__ (line 742) | def __init__(self, path): class UndetectableNameError (line 746) | class UndetectableNameError(UrlParseError): method __init__ (line 749) | def __init__(self, path): FILE: lib/spack/spack/url_buildcache.py class BuildcacheComponent (line 48) | class BuildcacheComponent(enum.Enum): class BlobRecord (line 74) | class BlobRecord: method __init__ (line 77) | def __init__( method from_dict (line 92) | def from_dict(cls, record_dict): method to_dict (line 101) | def to_dict(self): class BuildcacheManifest (line 111) | class BuildcacheManifest: method __init__ (line 116) | def __init__(self, layout_version: int, data: Optional[List[BlobRecord... method to_dict (line 132) | def to_dict(self): method from_dict (line 136) | def from_dict(cls, manifest_json: Dict[str, Any]) -> "BuildcacheManife... method get_blob_records (line 143) | def get_blob_records(self, media_type: str) -> List[BlobRecord]: class URLBuildcacheEntry (line 157) | class URLBuildcacheEntry: method __init__ (line 206) | def __init__( method get_layout_version (line 218) | def get_layout_version(cls) -> int: method check_layout_json_exists (line 223) | def check_layout_json_exists(cls, mirror_url: str) -> bool: method maybe_push_layout_json (line 231) | def maybe_push_layout_json(cls, mirror_url: str) -> None: method get_base_url (line 249) | def get_base_url(cls, manifest_url: str) -> str: method get_index_url (line 258) | def get_index_url(cls, mirror_url: str, view: Optional[str] = None): method get_relative_path_components (line 266) | def get_relative_path_components(cls, component: BuildcacheComponent) ... method get_manifest_filename (line 272) | def get_manifest_filename(cls, spec: spack.spec.Spec) -> str: method get_manifest_url (line 279) | def get_manifest_url(cls, spec: spack.spec.Spec, mirror_url: str) -> str: method get_buildcache_component_include_pattern (line 288) | def get_buildcache_component_include_pattern( method component_to_media_type (line 308) | def component_to_media_type(cls, component: BuildcacheComponent) -> str: method get_local_spec_path (line 323) | def get_local_spec_path(self) -> str: method get_local_archive_path (line 327) | def get_local_archive_path(self) -> str: method get_blob_record (line 331) | def get_blob_record(self, blob_type: BuildcacheComponent) -> BlobRecord: method check_blob_exists (line 344) | def check_blob_exists(self, record: BlobRecord) -> bool: method get_blob_path_components (line 350) | def get_blob_path_components(cls, record: BlobRecord) -> List[str]: method get_blob_url (line 361) | def get_blob_url(cls, mirror_url: str, record: BlobRecord) -> str: method fetch_blob (line 365) | def fetch_blob(self, record: BlobRecord) -> str: method get_staged_blob_path (line 389) | def get_staged_blob_path(self, record: BlobRecord) -> str: method exists (line 396) | def exists(self, components: List[BuildcacheComponent]) -> bool: method verify_and_extract_manifest (line 424) | def verify_and_extract_manifest(cls, manifest_contents: str, verify: b... method read_manifest (line 442) | def read_manifest(self, manifest_url: Optional[str] = None) -> Buildca... method fetch_metadata (line 486) | def fetch_metadata(self) -> dict: method fetch_archive (line 504) | def fetch_archive(self) -> str: method get_archive_stage (line 512) | def get_archive_stage(self) -> Optional[spack.stage.Stage]: method remove (line 515) | def remove(self): method push_blob (line 545) | def push_blob(cls, mirror_url: str, blob_path: str, record: BlobRecord... method push_manifest (line 552) | def push_manifest( method push_local_file_as_blob (line 587) | def push_local_file_as_blob( method push_binary_package (line 627) | def push_binary_package( method destroy (line 731) | def destroy(self): class URLBuildcacheEntryV2 (line 739) | class URLBuildcacheEntryV2(URLBuildcacheEntry): method __init__ (line 761) | def __init__( method get_layout_version (line 792) | def get_layout_version(cls) -> int: method maybe_push_layout_json (line 796) | def maybe_push_layout_json(cls, mirror_url: str) -> None: method _get_spec_url (line 799) | def _get_spec_url( method _get_tarball_url (line 808) | def _get_tarball_url(self, spec: spack.spec.Spec, mirror_url: str) -> ... method _check_metadata_exists (line 823) | def _check_metadata_exists(self): method exists (line 841) | def exists(self, components: List[BuildcacheComponent]) -> bool: method fetch_metadata (line 861) | def fetch_metadata(self) -> dict: method fetch_archive (line 926) | def fetch_archive(self) -> str: method get_archive_stage (line 959) | def get_archive_stage(self) -> Optional[spack.stage.Stage]: method get_manifest_filename (line 963) | def get_manifest_filename(cls, spec: spack.spec.Spec) -> str: method get_manifest_url (line 967) | def get_manifest_url(cls, spec: spack.spec.Spec, mirror_url: str) -> str: method get_buildcache_component_include_pattern (line 971) | def get_buildcache_component_include_pattern( method read_manifest (line 976) | def read_manifest(self, manifest_url: Optional[str] = None) -> Buildca... method remove (line 979) | def remove(self): method get_blob_record (line 982) | def get_blob_record(self, blob_type: BuildcacheComponent) -> BlobRecord: method check_blob_exists (line 985) | def check_blob_exists(self, record: BlobRecord) -> bool: method get_blob_path_components (line 989) | def get_blob_path_components(cls, record: BlobRecord) -> List[str]: method get_blob_url (line 993) | def get_blob_url(cls, mirror_url: str, record: BlobRecord) -> str: method fetch_blob (line 996) | def fetch_blob(self, record: BlobRecord) -> str: method get_staged_blob_path (line 999) | def get_staged_blob_path(self, record: BlobRecord) -> str: method verify_and_extract_manifest (line 1003) | def verify_and_extract_manifest(cls, manifest_contents: str, verify: b... method push_blob (line 1007) | def push_blob(cls, mirror_url: str, blob_path: str, record: BlobRecord... method push_manifest (line 1011) | def push_manifest( method push_local_file_as_blob (line 1023) | def push_local_file_as_blob( method push_binary_package (line 1033) | def push_binary_package( method destroy (line 1044) | def destroy(self): function get_url_buildcache_class (line 1053) | def get_url_buildcache_class( function check_mirror_for_layout (line 1068) | def check_mirror_for_layout(mirror: spack.mirrors.mirror.Mirror): function _entries_from_cache_aws_cli (line 1081) | def _entries_from_cache_aws_cli(url: str, tmpspecsdir: str, component_ty... function _entries_from_cache_fallback (line 1160) | def _entries_from_cache_fallback(url: str, tmpspecsdir: str, component_t... function get_entries_from_cache (line 1204) | def get_entries_from_cache(url: str, tmpspecsdir: str, component_type: B... function validate_checksum (line 1232) | def validate_checksum(file_path, checksum_algorithm, expected_checksum) ... function _get_compressor (line 1243) | def _get_compressor(compression: str, writable: io.BufferedIOBase) -> io... function compression_writer (line 1253) | def compression_writer(output_path: str, compression: str, checksum_algo... function compressed_json_from_dict (line 1273) | def compressed_json_from_dict( function get_valid_spec_file (line 1289) | def get_valid_spec_file(path: str, max_supported_layout: int) -> Tuple[D... function sign_file (line 1325) | def sign_file(key: str, file_path: str) -> str: function try_verify (line 1332) | def try_verify(specfile_path): class MirrorMetadata (line 1352) | class MirrorMetadata: method __init__ (line 1361) | def __init__(self, url: str, version: int, view: Optional[str] = None): method __str__ (line 1366) | def __str__(self): method __eq__ (line 1372) | def __eq__(self, other): method __hash__ (line 1377) | def __hash__(self): method from_string (line 1381) | def from_string(cls, s: str): method strip_view (line 1389) | def strip_view(self) -> "MirrorMetadata": class InvalidMetadataFile (line 1393) | class InvalidMetadataFile(spack.error.SpackError): class BuildcacheEntryError (line 1397) | class BuildcacheEntryError(spack.error.SpackError): class NoSuchBlobException (line 1401) | class NoSuchBlobException(spack.error.SpackError): class NoVerifyException (line 1405) | class NoVerifyException(BuildcacheEntryError): class UnknownBuildcacheLayoutError (line 1409) | class UnknownBuildcacheLayoutError(BuildcacheEntryError): class ListMirrorSpecsError (line 1413) | class ListMirrorSpecsError(spack.error.SpackError): class MirrorMetadataError (line 1417) | class MirrorMetadataError(spack.error.SpackError): FILE: lib/spack/spack/user_environment.py function prefix_inspections (line 19) | def prefix_inspections(platform: str) -> dict: function unconditional_environment_modifications (line 52) | def unconditional_environment_modifications(view): function project_env_mods (line 66) | def project_env_mods( function environment_modifications_for_specs (line 82) | def environment_modifications_for_specs( FILE: lib/spack/spack/util/archive.py class ChecksumWriter (line 19) | class ChecksumWriter(io.BufferedIOBase): method __init__ (line 24) | def __init__(self, fileobj, algorithm=hashlib.sha256): method hexdigest (line 29) | def hexdigest(self): method write (line 32) | def write(self, data): method read (line 47) | def read(self, size=-1): method read1 (line 50) | def read1(self, size=-1): method peek (line 53) | def peek(self, n): method closed (line 57) | def closed(self): method close (line 60) | def close(self): method flush (line 67) | def flush(self): method fileno (line 70) | def fileno(self): method rewind (line 73) | def rewind(self): method readable (line 76) | def readable(self): method writable (line 79) | def writable(self): method seekable (line 82) | def seekable(self): method tell (line 85) | def tell(self): method seek (line 88) | def seek(self, offset, whence=io.SEEK_SET): method readline (line 95) | def readline(self, size=-1): function gzip_compressed_tarfile (line 100) | def gzip_compressed_tarfile( function default_path_to_name (line 130) | def default_path_to_name(path: str) -> str: function default_add_file (line 138) | def default_add_file(tar: tarfile.TarFile, file_info: tarfile.TarInfo, p... function default_add_link (line 143) | def default_add_link(tar: tarfile.TarFile, file_info: tarfile.TarInfo, p... function reproducible_tarfile_from_prefix (line 147) | def reproducible_tarfile_from_prefix( function retrieve_commit_from_archive (line 249) | def retrieve_commit_from_archive(archive_path, ref): FILE: lib/spack/spack/util/compression.py function _system_untar (line 42) | def _system_untar(archive_file: str, remove_archive_file: bool = False) ... function _bunzip2 (line 73) | def _bunzip2(archive_file: str) -> str: function _py_bunzip (line 87) | def _py_bunzip(archive_file: str) -> str: function _system_bunzip (line 102) | def _system_bunzip(archive_file: str) -> str: function _gunzip (line 119) | def _gunzip(archive_file: str) -> str: function _py_gunzip (line 130) | def _py_gunzip(archive_file: str) -> str: function _system_gunzip (line 145) | def _system_gunzip(archive_file: str) -> str: function _do_nothing (line 164) | def _do_nothing(archive_file: str) -> None: function _unzip (line 168) | def _unzip(archive_file: str) -> str: function _system_unZ (line 183) | def _system_unZ(archive_file: str) -> str: function _lzma_decomp (line 193) | def _lzma_decomp(archive_file): function _win_compressed_tarball_handler (line 199) | def _win_compressed_tarball_handler(decompressor: Callable[[str], str]) ... function _py_lzma (line 224) | def _py_lzma(archive_file: str) -> str: function _xz (line 237) | def _xz(archive_file): function _system_7zip (line 254) | def _system_7zip(archive_file): function decompressor_for (line 279) | def decompressor_for(path: str, extension: Optional[str] = None): function decompressor_for_nix (line 297) | def decompressor_for_nix(extension: str) -> Callable[[str], Any]: function _determine_py_decomp_archive_strategy (line 317) | def _determine_py_decomp_archive_strategy(extension: str) -> Optional[Ca... function decompressor_for_win (line 328) | def decompressor_for_win(extension: str) -> Callable[[str], Any]: class FileTypeInterface (line 375) | class FileTypeInterface: method magic_numbers (line 392) | def magic_numbers(cls) -> List[bytes]: method header_size (line 399) | def header_size(cls) -> int: method matches_magic (line 403) | def matches_magic(self, stream: BinaryIO) -> bool: class CompressedFileTypeInterface (line 418) | class CompressedFileTypeInterface(FileTypeInterface): method peek (line 421) | def peek(self, stream: BinaryIO, num_bytes: int) -> Optional[io.BytesIO]: function _decompressed_peek (line 427) | def _decompressed_peek( class BZipFileType (line 437) | class BZipFileType(CompressedFileTypeInterface): method peek (line 442) | def peek(self, stream: BinaryIO, num_bytes: int) -> Optional[io.BytesIO]: class ZCompressedFileType (line 448) | class ZCompressedFileType(CompressedFileTypeInterface): class GZipFileType (line 455) | class GZipFileType(CompressedFileTypeInterface): method peek (line 460) | def peek(self, stream: BinaryIO, num_bytes: int) -> Optional[io.BytesIO]: class LzmaFileType (line 466) | class LzmaFileType(CompressedFileTypeInterface): method peek (line 471) | def peek(self, stream: BinaryIO, num_bytes: int) -> Optional[io.BytesIO]: class TarFileType (line 477) | class TarFileType(FileTypeInterface): class ZipFleType (line 485) | class ZipFleType(FileTypeInterface): function _extension_of_compressed_file (line 505) | def _extension_of_compressed_file( function extension_from_magic_numbers_by_stream (line 519) | def extension_from_magic_numbers_by_stream( function _maybe_abbreviate_extension (line 550) | def _maybe_abbreviate_extension(path: str, extension: str) -> str: function extension_from_magic_numbers (line 559) | def extension_from_magic_numbers(path: str, decompress: bool = False) ->... FILE: lib/spack/spack/util/cpus.py function cpus_available (line 9) | def cpus_available(): FILE: lib/spack/spack/util/crypto.py class DeprecatedHash (line 30) | class DeprecatedHash: method __init__ (line 31) | def __init__(self, hash_alg, alert_fn, disable_security_check): method __call__ (line 36) | def __call__(self, disable_alert=False): function hash_fun_for_algo (line 48) | def hash_fun_for_algo(algo: str) -> HashFactory: function hash_algo_for_digest (line 69) | def hash_algo_for_digest(hexdigest: str) -> str: function hash_fun_for_digest (line 77) | def hash_fun_for_digest(hexdigest: str) -> HashFactory: function checksum_stream (line 82) | def checksum_stream(hashlib_algo: HashFactory, fp: BinaryIO, *, block_si... function checksum (line 93) | def checksum(hashlib_algo: HashFactory, filename: str, *, block_size: in... class Checker (line 99) | class Checker: method __init__ (line 121) | def __init__(self, hexdigest: str, **kwargs) -> None: method hash_name (line 128) | def hash_name(self) -> str: method check (line 132) | def check(self, filename: str) -> bool: function prefix_bits (line 141) | def prefix_bits(byte_array, bits): function bit_length (line 156) | def bit_length(num): FILE: lib/spack/spack/util/ctest_log_parser.py class LogEvent (line 213) | class LogEvent: method __init__ (line 219) | def __init__( method start (line 237) | def start(self): method end (line 242) | def end(self): method __getitem__ (line 246) | def __getitem__(self, line_no): method __str__ (line 255) | def __str__(self): class BuildError (line 266) | class BuildError(LogEvent): class BuildWarning (line 272) | class BuildWarning(LogEvent): function chunks (line 278) | def chunks(xs, n): function _time (line 285) | def _time(times, i): function _match (line 292) | def _match(matches, exceptions, line): function _profile_match (line 297) | def _profile_match(matches, exceptions, line, match_times, exc_times): function _parse (line 319) | def _parse(stream, profile, context): class CTestLogParser (line 401) | class CTestLogParser: method __init__ (line 404) | def __init__(self, profile=False): method print_timings (line 409) | def print_timings(self): method parse (line 428) | def parse( FILE: lib/spack/spack/util/editor.py function _find_exe_from_env_var (line 27) | def _find_exe_from_env_var(var: str): function executable (line 53) | def executable(exe: str, args: List[str]) -> int: function editor (line 63) | def editor(*args: str, exec_fn: Callable[[str, List[str]], int] = os.exe... FILE: lib/spack/spack/util/elf.py class ElfHeader (line 12) | class ElfHeader(NamedTuple): class SectionHeader (line 28) | class SectionHeader(NamedTuple): class ProgramHeader32 (line 41) | class ProgramHeader32(NamedTuple): class ProgramHeader64 (line 52) | class ProgramHeader64(NamedTuple): class ELF_CONSTANTS (line 63) | class ELF_CONSTANTS: class ElfFile (line 83) | class ElfFile: method __init__ (line 143) | def __init__(self): function parse_c_string (line 153) | def parse_c_string(byte_string: bytes, start: int = 0) -> bytes: function read_exactly (line 170) | def read_exactly(f: BinaryIO, num_bytes: int, msg: str) -> bytes: function parse_program_headers (line 189) | def parse_program_headers(f: BinaryIO, elf: ElfFile) -> None: function parse_pt_interp (line 243) | def parse_pt_interp(f: BinaryIO, elf: ElfFile) -> None: function find_strtab_size_at_offset (line 259) | def find_strtab_size_at_offset(f: BinaryIO, elf: ElfFile, offset: int) -... function retrieve_strtab (line 286) | def retrieve_strtab(f: BinaryIO, elf: ElfFile, offset: int) -> bytes: function vaddr_to_offset (line 305) | def vaddr_to_offset(elf: ElfFile, vaddr: int) -> int: function parse_pt_dynamic (line 318) | def parse_pt_dynamic(f: BinaryIO, elf: ElfFile) -> None: function parse_header (line 396) | def parse_header(f: BinaryIO, elf: ElfFile) -> None: function _do_parse_elf (line 426) | def _do_parse_elf( function parse_elf (line 457) | def parse_elf( function get_rpaths (line 473) | def get_rpaths(path: str) -> Optional[List[str]]: function get_interpreter (line 483) | def get_interpreter(path: str) -> Optional[str]: function _delete_dynamic_array_entry (line 493) | def _delete_dynamic_array_entry( function delete_rpath (line 521) | def delete_rpath(path: str) -> None: function delete_needed_from_elf (line 543) | def delete_needed_from_elf(f: BinaryIO, elf: ElfFile, needed: bytes) -> ... class CStringType (line 555) | class CStringType: class UpdateCStringAction (line 560) | class UpdateCStringAction: method __init__ (line 561) | def __init__(self, old_value: bytes, new_value: bytes, offset: int): method inplace (line 567) | def inplace(self) -> bool: method apply (line 570) | def apply(self, f: BinaryIO) -> None: function _get_rpath_substitution (line 583) | def _get_rpath_substitution( function _get_pt_interp_substitution (line 621) | def _get_pt_interp_substitution( function substitute_rpath_and_pt_interp_in_place_or_raise (line 639) | def substitute_rpath_and_pt_interp_in_place_or_raise( function pt_interp (line 679) | def pt_interp(path: str) -> Optional[str]: function get_elf_compat (line 693) | def get_elf_compat(path: str) -> Tuple[bool, bool, int]: class ElfCStringUpdatesFailed (line 703) | class ElfCStringUpdatesFailed(Exception): method __init__ (line 704) | def __init__( class ElfParsingError (line 711) | class ElfParsingError(Exception): FILE: lib/spack/spack/util/environment.py function is_system_path (line 75) | def is_system_path(path: Path) -> bool: function filter_system_paths (line 80) | def filter_system_paths(paths: Iterable[Path]) -> List[Path]: function deprioritize_system_paths (line 85) | def deprioritize_system_paths(paths: List[Path]) -> List[Path]: function prune_duplicate_paths (line 92) | def prune_duplicate_paths(paths: List[Path]) -> List[Path]: function get_path (line 97) | def get_path(name: str) -> List[Path]: function env_flag (line 107) | def env_flag(name: str) -> bool: function path_set (line 117) | def path_set(var_name: str, directories: List[Path]): function path_put_first (line 123) | def path_put_first(var_name: str, directories: List[Path]): function _win_env_var_to_set_line (line 140) | def _win_env_var_to_set_line(var: str, val: str) -> str: function _nix_env_var_to_source_line (line 146) | def _nix_env_var_to_source_line(var: str, val: str) -> str: function _env_var_to_source_line (line 156) | def _env_var_to_source_line(var: str, val: str) -> str: function dump_environment (line 164) | def dump_environment(path: Path, environment: Optional[MutableMapping[st... function pickle_environment (line 185) | def pickle_environment(path: Path, environment: Optional[Dict[str, str]]... function set_env (line 192) | def set_env(**kwargs): class Trace (line 226) | class Trace: method __init__ (line 231) | def __init__(self, *, filename: str, lineno: int, context: str): method __str__ (line 236) | def __str__(self): method __repr__ (line 239) | def __repr__(self): class NameModifier (line 243) | class NameModifier: method __init__ (line 250) | def __init__(self, name: str, *, separator: str = os.pathsep, trace: O... method __eq__ (line 255) | def __eq__(self, other: object): method execute (line 260) | def execute(self, env: MutableMapping[str, str]): class NameValueModifier (line 265) | class NameValueModifier: method __init__ (line 270) | def __init__( method __eq__ (line 278) | def __eq__(self, other: object): method execute (line 287) | def execute(self, env: MutableMapping[str, str]): class NamePathModifier (line 292) | class NamePathModifier(NameValueModifier): method __init__ (line 298) | def __init__( class SetEnv (line 309) | class SetEnv(NameValueModifier): method __init__ (line 312) | def __init__( method execute (line 325) | def execute(self, env: MutableMapping[str, str]): class AppendFlagsEnv (line 330) | class AppendFlagsEnv(NameValueModifier): method execute (line 331) | def execute(self, env: MutableMapping[str, str]): class UnsetEnv (line 339) | class UnsetEnv(NameModifier): method execute (line 340) | def execute(self, env: MutableMapping[str, str]): class RemoveFlagsEnv (line 346) | class RemoveFlagsEnv(NameValueModifier): method execute (line 347) | def execute(self, env: MutableMapping[str, str]): class SetPath (line 355) | class SetPath(NameValueModifier): method __init__ (line 356) | def __init__( method execute (line 368) | def execute(self, env: MutableMapping[str, str]): class AppendPath (line 373) | class AppendPath(NamePathModifier): method execute (line 374) | def execute(self, env: MutableMapping[str, str]): class PrependPath (line 382) | class PrependPath(NamePathModifier): method execute (line 383) | def execute(self, env: MutableMapping[str, str]): class RemoveFirstPath (line 391) | class RemoveFirstPath(NamePathModifier): method execute (line 392) | def execute(self, env: MutableMapping[str, str]): class RemoveLastPath (line 403) | class RemoveLastPath(NamePathModifier): method execute (line 404) | def execute(self, env: MutableMapping[str, str]): class RemovePath (line 415) | class RemovePath(NamePathModifier): method execute (line 416) | def execute(self, env: MutableMapping[str, str]): class DeprioritizeSystemPaths (line 428) | class DeprioritizeSystemPaths(NameModifier): method execute (line 429) | def execute(self, env: MutableMapping[str, str]): class PruneDuplicatePaths (line 439) | class PruneDuplicatePaths(NameModifier): method execute (line 440) | def execute(self, env: MutableMapping[str, str]): function _validate_path_value (line 450) | def _validate_path_value(name: str, value: Any) -> Union[str, pathlib.Pu... function _validate_value (line 466) | def _validate_value(name: str, value: Any) -> str: class EnvironmentModifications (line 480) | class EnvironmentModifications: method __init__ (line 508) | def __init__( method __iter__ (line 523) | def __iter__(self): method __len__ (line 526) | def __len__(self): method extend (line 529) | def extend(self, other: "EnvironmentModifications"): method _check_other (line 535) | def _check_other(other: "EnvironmentModifications"): method _trace (line 539) | def _trace(self) -> Optional[Trace]: method set (line 556) | def set(self, name: str, value: str, *, force: bool = False, raw: bool... method append_flags (line 569) | def append_flags(self, name: str, value: str, sep: str = " ") -> None: method unset (line 581) | def unset(self, name: str) -> None: method remove_flags (line 590) | def remove_flags(self, name: str, value: str, sep: str = " ") -> None: method set_path (line 602) | def set_path(self, name: str, elements: ListOfPaths, separator: str = ... method append_path (line 615) | def append_path( method prepend_path (line 629) | def prepend_path( method remove_first_path (line 643) | def remove_first_path( method remove_last_path (line 657) | def remove_last_path( method remove_path (line 671) | def remove_path( method deprioritize_system_paths (line 685) | def deprioritize_system_paths(self, name: str, separator: str = os.pat... method prune_duplicate_paths (line 696) | def prune_duplicate_paths(self, name: str, separator: str = os.pathsep... method group_by_name (line 707) | def group_by_name(self) -> Dict[str, ModificationList]: method drop (line 714) | def drop(self, *name) -> bool: method is_unset (line 722) | def is_unset(self, variable_name: str) -> bool: method clear (line 732) | def clear(self): method reversed (line 736) | def reversed(self) -> "EnvironmentModifications": method apply_modifications (line 767) | def apply_modifications(self, env: Optional[MutableMapping[str, str]] ... method shell_modifications (line 780) | def shell_modifications( method from_sourcing_file (line 816) | def from_sourcing_file( method from_environment_diff (line 909) | def from_environment_diff( function _set_or_unset_not_first (line 1017) | def _set_or_unset_not_first( function validate (line 1037) | def validate(env: EnvironmentModifications, errstream: Callable[[str], N... function inspect_path (line 1055) | def inspect_path( function preserve_environment (line 1109) | def preserve_environment(*variables: str): function environment_after_sourcing_files (line 1146) | def environment_after_sourcing_files( function sanitize (line 1219) | def sanitize( FILE: lib/spack/spack/util/executable.py function _process_cmd_output (line 25) | def _process_cmd_output( function _streamify_output (line 49) | def _streamify_output(arg: OutType, name: str) -> Tuple[Union[int, Binar... class Executable (line 60) | class Executable: method __init__ (line 78) | def __init__(self, name: Union[str, Path]) -> None: method add_default_arg (line 92) | def add_default_arg(self, *args: str) -> None: method with_default_args (line 96) | def with_default_args(self, *args: str) -> "Executable": method copy (line 102) | def copy(self) -> "Executable": method add_default_env (line 110) | def add_default_env(self, key: str, value: str) -> None: method add_default_envmod (line 119) | def add_default_envmod(self, envmod: EnvironmentModifications) -> None: method command (line 125) | def command(self) -> str: method name (line 130) | def name(self) -> str: method path (line 135) | def path(self) -> str: method __call__ (line 140) | def __call__( method __call__ (line 156) | def __call__( method __call__ (line 172) | def __call__( method __call__ (line 187) | def __call__( method __eq__ (line 348) | def __eq__(self, other): method __hash__ (line 351) | def __hash__(self): method __repr__ (line 354) | def __repr__(self): method __str__ (line 357) | def __str__(self): function which_string (line 362) | def which_string( function which_string (line 368) | def which_string( function which_string (line 373) | def which_string( function which (line 427) | def which( function which (line 433) | def which( function which (line 438) | def which( class ProcessError (line 458) | class ProcessError(spack.error.SpackError): class ProcessTimeoutError (line 462) | class ProcessTimeoutError(ProcessError): class CommandNotFoundError (line 466) | class CommandNotFoundError(spack.error.SpackError): FILE: lib/spack/spack/util/file_cache.py function _maybe_open (line 18) | def _maybe_open(path: Union[str, pathlib.Path]) -> Optional[IO[str]]: function _open_temp (line 29) | def _open_temp(context_dir: Union[str, pathlib.Path]) -> Tuple[IO[str], ... class ReadContextManager (line 45) | class ReadContextManager: method __init__ (line 46) | def __init__(self, path: Union[str, pathlib.Path]) -> None: method __enter__ (line 49) | def __enter__(self) -> Optional[IO[str]]: method __exit__ (line 54) | def __exit__(self, type, value, traceback): class WriteContextManager (line 59) | class WriteContextManager: method __init__ (line 60) | def __init__(self, path: Union[str, pathlib.Path]) -> None: method __enter__ (line 63) | def __enter__(self) -> Tuple[Optional[IO[str]], IO[str]]: method __exit__ (line 74) | def __exit__(self, type, value, traceback): class FileCache (line 88) | class FileCache: method __init__ (line 99) | def __init__(self, root: Union[str, pathlib.Path], timeout=120): method destroy (line 120) | def destroy(self): method cache_path (line 128) | def cache_path(self, key: Union[str, pathlib.Path]): method _get_lock_offsets (line 132) | def _get_lock_offsets(self, key: str) -> Tuple[int, int]: method _get_lock (line 140) | def _get_lock(self, key: Union[str, pathlib.Path]): method read_transaction (line 156) | def read_transaction(self, key: Union[str, pathlib.Path]) -> Iterator[... method write_transaction (line 176) | def write_transaction( method remove (line 199) | def remove(self, key: Union[str, pathlib.Path]): class CacheError (line 211) | class CacheError(SpackError): FILE: lib/spack/spack/util/file_permissions.py function set_permissions_by_spec (line 13) | def set_permissions_by_spec(path, spec): function set_permissions (line 24) | def set_permissions(path, perms, group=None): class InvalidPermissionsError (line 45) | class InvalidPermissionsError(SpackError): FILE: lib/spack/spack/util/filesystem.py function fix_darwin_install_name (line 17) | def fix_darwin_install_name(path: str) -> None: FILE: lib/spack/spack/util/format.py function get_version_lines (line 6) | def get_version_lines(version_hashes_dict: dict) -> str: FILE: lib/spack/spack/util/gcs.py function gcs_client (line 21) | def gcs_client(): class GCSBucket (line 41) | class GCSBucket: method __init__ (line 47) | def __init__(self, url, client=None): method exists (line 75) | def exists(self): method create (line 86) | def create(self): method get_blob (line 90) | def get_blob(self, blob_path): method blob (line 95) | def blob(self, blob_path): method get_all_blobs (line 100) | def get_all_blobs(self, recursive: bool = True, relative: bool = True)... method _relative_blob_name (line 130) | def _relative_blob_name(self, blob_name): method destroy (line 133) | def destroy(self, recursive=False, **kwargs): class GCSBlob (line 158) | class GCSBlob: method __init__ (line 164) | def __init__(self, url, client=None): method get (line 186) | def get(self): method exists (line 189) | def exists(self): method delete_blob (line 200) | def delete_blob(self): method upload_to_blob (line 209) | def upload_to_blob(self, local_file_path): method get_blob_byte_stream (line 213) | def get_blob_byte_stream(self): method get_blob_headers (line 216) | def get_blob_headers(self): function gcs_open (line 229) | def gcs_open(req, *args, **kwargs): class GCSHandler (line 242) | class GCSHandler(BaseHandler): method gs_open (line 243) | def gs_open(self, req): FILE: lib/spack/spack/util/git.py function is_git_commit_sha (line 26) | def is_git_commit_sha(string: str) -> bool: function _find_git (line 31) | def _find_git() -> Optional[str]: function extract_git_version_str (line 36) | def extract_git_version_str(git_exe: exe.Executable) -> str: class GitExecutable (line 41) | class GitExecutable(exe.Executable): method __init__ (line 44) | def __init__(self, name=None): method version (line 51) | def version(self): class VersionConditionalOption (line 59) | class VersionConditionalOption: method __init__ (line 60) | def __init__(self, key, value=None, min_version=(0, 0, 0), max_version... method __call__ (line 66) | def __call__(self, exe_version, value=None) -> List: function git (line 99) | def git(required: Literal[True]) -> GitExecutable: ... function git (line 103) | def git(required: bool = ...) -> Optional[GitExecutable]: ... function git (line 106) | def git(required: bool = False) -> Optional[GitExecutable]: function init_git_repo (line 141) | def init_git_repo( function pull_checkout_commit (line 154) | def pull_checkout_commit( function pull_checkout_tag (line 189) | def pull_checkout_tag( function pull_checkout_branch (line 208) | def pull_checkout_branch( function get_modified_files (line 233) | def get_modified_files( function get_commit_sha (line 249) | def get_commit_sha(path: str, ref: str) -> Optional[str]: function _exec_git_commands (line 280) | def _exec_git_commands(git_exe, cmds, debug, dest=None): function _exec_git_commands_unique_dir (line 287) | def _exec_git_commands_unique_dir(git_exe, cmds, debug, dest=None): function protocol_supports_shallow_clone (line 303) | def protocol_supports_shallow_clone(url): function git_init_fetch (line 310) | def git_init_fetch(url, ref, depth=None, debug=False, dest=None, git_exe... function git_checkout (line 354) | def git_checkout( function git_clone (line 385) | def git_clone( FILE: lib/spack/spack/util/gpg.py function clear (line 27) | def clear(): function init (line 33) | def init(gnupghome=None, force=False): function _autoinit (line 86) | def _autoinit(func): function gnupghome_override (line 103) | def gnupghome_override(dir): function _parse_secret_keys_output (line 126) | def _parse_secret_keys_output(output: str) -> List[str]: function _parse_public_keys_output (line 141) | def _parse_public_keys_output(output): function _get_unimported_public_keys (line 161) | def _get_unimported_public_keys(output): class SpackGPGError (line 169) | class SpackGPGError(spack.error.SpackError): function create (line 174) | def create(**kwargs): function signing_keys (line 197) | def signing_keys(*args) -> List[str]: function public_keys_to_fingerprint (line 205) | def public_keys_to_fingerprint(*args): function public_keys (line 212) | def public_keys(*args): function export_keys (line 219) | def export_keys(location, keys, secret=False): function trust (line 234) | def trust(keyfile): function untrust (line 263) | def untrust(signing, *keys): function sign (line 279) | def sign(key, file, output, clearsign=False): function verify (line 295) | def verify(signature, file=None, suppress_warnings=False): function list (line 313) | def list(trusted, signing): function _verify_exe_or_raise (line 327) | def _verify_exe_or_raise(exe): function _gpgconf (line 347) | def _gpgconf(): function _gpg (line 361) | def _gpg(): function _socket_dir (line 367) | def _socket_dir(gpgconf): FILE: lib/spack/spack/util/hash.py function b32_hash (line 11) | def b32_hash(content): function base32_prefix_bits (line 19) | def base32_prefix_bits(hash_string, bits): FILE: lib/spack/spack/util/ld_so_conf.py function parse_ld_so_conf (line 14) | def parse_ld_so_conf(conf_file="/etc/ld.so.conf"): function _process_ld_so_conf_queue (line 39) | def _process_ld_so_conf_queue(queue): function get_conf_file_from_dynamic_linker (line 83) | def get_conf_file_from_dynamic_linker(dynamic_linker_name): function host_dynamic_linker_search_paths (line 95) | def host_dynamic_linker_search_paths(): FILE: lib/spack/spack/util/libc.py function _env (line 20) | def _env() -> Dict[str, str]: function _libc_from_ldd (line 25) | def _libc_from_ldd(ldd: str) -> Optional["spack.spec.Spec"]: function default_search_paths_from_dynamic_linker (line 46) | def default_search_paths_from_dynamic_linker(dynamic_linker: str) -> Lis... function libc_from_dynamic_linker (line 62) | def libc_from_dynamic_linker(dynamic_linker: str) -> Optional["spack.spe... function _libc_from_dynamic_linker (line 71) | def _libc_from_dynamic_linker(dynamic_linker: str) -> Optional["spack.sp... function libc_from_current_python_process (line 146) | def libc_from_current_python_process() -> Optional["spack.spec.Spec"]: function parse_dynamic_linker (line 158) | def parse_dynamic_linker(output: str): FILE: lib/spack/spack/util/lock.py class Lock (line 23) | class Lock(Llnl_lock): method __init__ (line 31) | def __init__( method _reaffirm_lock (line 52) | def _reaffirm_lock(self) -> None: method _lock (line 56) | def _lock(self, op: int, timeout: Optional[float] = 0.0) -> Tuple[floa... method _poll_lock (line 61) | def _poll_lock(self, op: int) -> bool: method _unlock (line 66) | def _unlock(self) -> None: method cleanup (line 71) | def cleanup(self, *args) -> None: function check_lock_safety (line 76) | def check_lock_safety(path: str) -> None: FILE: lib/spack/spack/util/log_parse.py function parse_log_events (line 14) | def parse_log_events(stream: Union[str, TextIO], context: int = 6, profi... function make_log_context (line 45) | def make_log_context(log_events: List[LogEvent]) -> str: FILE: lib/spack/spack/util/module_cmd.py function module (line 26) | def module( function load_module (line 88) | def load_module(mod): function get_path_args_from_module_line (line 121) | def get_path_args_from_module_line(line): function path_from_modules (line 147) | def path_from_modules(modules): function get_path_from_module_contents (line 176) | def get_path_from_module_contents(text, module_name): class ModuleLoadError (line 257) | class ModuleLoadError(SpackError): method __init__ (line 260) | def __init__(self, module): FILE: lib/spack/spack/util/naming.py function pkg_name_to_class_name (line 65) | def pkg_name_to_class_name(pkg_name: str): function pkg_dir_to_pkg_name (line 92) | def pkg_dir_to_pkg_name(dirname: str, package_api: Tuple[int, int]) -> str: function pkg_name_to_pkg_dir (line 99) | def pkg_name_to_pkg_dir(name: str, package_api: Tuple[int, int]) -> str: function possible_spack_module_names (line 109) | def possible_spack_module_names(python_mod_name: str) -> List[str]: function simplify_name (line 126) | def simplify_name(name: str) -> str: function valid_module_name (line 174) | def valid_module_name(mod_name: str, package_api: Tuple[int, int]) -> bool: class NamespaceTrie (line 187) | class NamespaceTrie: class Element (line 188) | class Element: method __init__ (line 189) | def __init__(self, value): method __init__ (line 192) | def __init__(self, separator="."): method __setitem__ (line 197) | def __setitem__(self, namespace, value): method _get_helper (line 209) | def _get_helper(self, namespace, full_name): method __getitem__ (line 220) | def __getitem__(self, namespace): method is_prefix (line 223) | def is_prefix(self, namespace): method is_leaf (line 234) | def is_leaf(self, namespace): method has_value (line 244) | def has_value(self, namespace): method __contains__ (line 254) | def __contains__(self, namespace): method _str_helper (line 258) | def _str_helper(self, stream, level=0): method __str__ (line 266) | def __str__(self): FILE: lib/spack/spack/util/package_hash.py function unused_string (line 19) | def unused_string(node: ast.AST) -> bool: function unused_string (line 29) | def unused_string(node: ast.AST) -> bool: class RemoveDocstrings (line 34) | class RemoveDocstrings(ast.NodeTransformer): method remove_docstring (line 43) | def remove_docstring(self, node): method visit_FunctionDef (line 52) | def visit_FunctionDef(self, node): method visit_ClassDef (line 55) | def visit_ClassDef(self, node): method visit_Module (line 58) | def visit_Module(self, node): class RemoveDirectives (line 62) | class RemoveDirectives(ast.NodeTransformer): method __init__ (line 77) | def __init__(self, spec): method visit_Expr (line 94) | def visit_Expr(self, node): method visit_Assign (line 112) | def visit_Assign(self, node): method visit_With (line 124) | def visit_With(self, node): method visit_For (line 128) | def visit_For(self, node): method visit_While (line 132) | def visit_While(self, node): method visit_If (line 136) | def visit_If(self, node): method visit_FunctionDef (line 150) | def visit_FunctionDef(self, node): method visit_ClassDef (line 154) | def visit_ClassDef(self, node): function _is_when_decorator (line 173) | def _is_when_decorator(node: ast.Call) -> bool: class TagMultiMethods (line 178) | class TagMultiMethods(ast.NodeVisitor): method __init__ (line 181) | def __init__(self, spec: spack.spec.Spec) -> None: method _get_when_condition (line 188) | def _get_when_condition(self, node: ast.expr) -> Optional[Any]: method _get_when_condition (line 194) | def _get_when_condition(self, node: ast.expr) -> Optional[Any]: method _evaluate_decorator (line 202) | def _evaluate_decorator(self, dec: ast.AST) -> Optional[bool]: method visit_FunctionDef (line 222) | def visit_FunctionDef(self, node: ast.FunctionDef) -> ast.AST: class ResolveMultiMethods (line 236) | class ResolveMultiMethods(ast.NodeTransformer): method __init__ (line 281) | def __init__(self, methods): method resolve (line 284) | def resolve(self, impl_conditions): method visit_FunctionDef (line 312) | def visit_FunctionDef(self, node: ast.FunctionDef) -> Optional[ast.Fun... function canonical_source (line 337) | def canonical_source( function package_hash (line 350) | def package_hash(spec: spack.spec.Spec, source: Optional[bytes] = None) ... function package_ast (line 364) | def package_ast( class PackageHashError (line 397) | class PackageHashError(spack.error.SpackError): FILE: lib/spack/spack/util/parallel.py class ErrorFromWorker (line 17) | class ErrorFromWorker: method __init__ (line 20) | def __init__(self, exc_cls, exc, tb): method stacktrace (line 35) | def stacktrace(self): method __str__ (line 39) | def __str__(self): class Task (line 43) | class Task: method __init__ (line 51) | def __init__(self, func): method __call__ (line 54) | def __call__(self, *args, **kwargs): function imap_unordered (line 62) | def imap_unordered( class SequentialExecutor (line 96) | class SequentialExecutor(concurrent.futures.Executor): method submit (line 99) | def submit(self, fn, *args, **kwargs): function make_concurrent_executor (line 109) | def make_concurrent_executor( FILE: lib/spack/spack/util/path.py function architecture (line 28) | def architecture(): function get_user (line 40) | def get_user(): function replacements (line 57) | def replacements(): function win_exe_ext (line 112) | def win_exe_ext(): function sanitize_filename (line 116) | def sanitize_filename(filename: str) -> str: function get_system_path_max (line 139) | def get_system_path_max(): function substitute_config_variables (line 159) | def substitute_config_variables(path): function substitute_path_variables (line 198) | def substitute_path_variables(path): function _get_padding_string (line 206) | def _get_padding_string(length): function add_padding (line 218) | def add_padding(path, length): function canonicalize_path (line 245) | def canonicalize_path(path: str, default_wd: Optional[str] = None) -> str: function longest_prefix_re (line 302) | def longest_prefix_re(string, capture=True): function _build_padding_re (line 325) | def _build_padding_re(as_bytes: bool = False): class _PaddingFilter (line 346) | class _PaddingFilter: method __init__ (line 370) | def __init__(self, as_bytes: bool = False) -> None: method _replace (line 379) | def _replace(self, match): method __call__ (line 382) | def __call__(self, data): function filter_padding (line 396) | def filter_padding(): function debug_padded_filter (line 414) | def debug_padded_filter(string, level=1): FILE: lib/spack/spack/util/pattern.py class Bunch (line 6) | class Bunch: method __init__ (line 9) | def __init__(self, **kwargs): class Args (line 13) | class Args(Bunch): method __init__ (line 16) | def __init__(self, *flags, **kwargs): FILE: lib/spack/spack/util/prefix.py class Prefix (line 13) | class Prefix(str): method __getattr__ (line 40) | def __getattr__(self, name: str) -> "Prefix": method join (line 53) | def join(self, string: str) -> "Prefix": # type: ignore[override] method __getstate__ (line 67) | def __getstate__(self) -> Dict[str, str]: method __setstate__ (line 75) | def __setstate__(self, state: Dict[str, str]) -> None: FILE: lib/spack/spack/util/remote_file_cache.py function raw_github_gitlab_url (line 21) | def raw_github_gitlab_url(url: str) -> str: function fetch_remote_text_file (line 39) | def fetch_remote_text_file(url: str, dest_dir: str) -> str: function local_path (line 63) | def local_path(raw_path: str, sha256: str, dest: Optional[str] = None) -... FILE: lib/spack/spack/util/s3.py function get_s3_session (line 18) | def get_s3_session(url, method="fetch"): function _parse_s3_endpoint_url (line 79) | def _parse_s3_endpoint_url(endpoint_url): function get_mirror_s3_connection_info (line 86) | def get_mirror_s3_connection_info(mirror, method): class WrapStream (line 126) | class WrapStream(BufferedReader): method __init__ (line 127) | def __init__(self, raw): method detach (line 139) | def detach(self): method read (line 142) | def read(self, *args, **kwargs): method __getattr__ (line 145) | def __getattr__(self, key): function _s3_open (line 149) | def _s3_open(url, method="GET"): class UrllibS3Handler (line 180) | class UrllibS3Handler(urllib.request.BaseHandler): method s3_open (line 181) | def s3_open(self, req): FILE: lib/spack/spack/util/socket.py function _gethostname (line 12) | def _gethostname(): FILE: lib/spack/spack/util/spack_json.py function load (line 18) | def load(stream: Any) -> Dict: function dump (line 25) | def dump(data: Dict, stream: Optional[Any] = None, pretty: bool = False)... class SpackJSONError (line 34) | class SpackJSONError(spack.error.SpackError): method __init__ (line 37) | def __init__(self, msg: str, json_error: BaseException): FILE: lib/spack/spack/util/spack_yaml.py class syaml_dict (line 32) | class syaml_dict(dict): class syaml_list (line 36) | class syaml_list(list): class syaml_str (line 40) | class syaml_str(str): class syaml_int (line 44) | class syaml_int(int): function syaml_type (line 55) | def syaml_type(obj): class DictWithLineInfo (line 67) | class DictWithLineInfo(dict): method __init__ (line 72) | def __init__(self, *args, line_info: str = "", **kwargs): function _represent_dict_with_line_info (line 77) | def _represent_dict_with_line_info(dumper, data): function deepcopy_as_builtin (line 81) | def deepcopy_as_builtin(obj: Any, *, line_info: bool = False) -> Any: function markable (line 114) | def markable(obj): function mark (line 119) | def mark(obj, node): function marked (line 131) | def marked(obj): class OrderedLineConstructor (line 141) | class OrderedLineConstructor(constructor.RoundTripConstructor): method construct_yaml_str (line 164) | def construct_yaml_str(self, node): method construct_yaml_seq (line 178) | def construct_yaml_seq(self, node): method construct_yaml_map (line 187) | def construct_yaml_map(self, node): class OrderedLineRepresenter (line 209) | class OrderedLineRepresenter(representer.RoundTripRepresenter): method ignore_aliases (line 218) | def ignore_aliases(self, _data): method represent_data (line 222) | def represent_data(self, data): method represent_str (line 228) | def represent_str(self, data): class SafeRepresenter (line 234) | class SafeRepresenter(representer.RoundTripRepresenter): method ignore_aliases (line 235) | def ignore_aliases(self, _data): function return_string_when_no_stream (line 260) | def return_string_when_no_stream(func): function dump (line 273) | def dump(data, stream=None, default_flow_style=False): function _line_info (line 280) | def _line_info(obj): class LineAnnotationRepresenter (line 297) | class LineAnnotationRepresenter(OrderedLineRepresenter): method represent_data (line 314) | def represent_data(self, data): class LineAnnotationEmitter (line 326) | class LineAnnotationEmitter(emitter.Emitter): method __init__ (line 329) | def __init__(self, *args, **kwargs): method process_scalar (line 335) | def process_scalar(self): method write_line_break (line 340) | def write_line_break(self, data=None): method write_comment (line 364) | def write_comment(self, comment, pre=False): class YAMLType (line 368) | class YAMLType(enum.Enum): class ConfigYAML (line 379) | class ConfigYAML: method __init__ (line 382) | def __init__(self, yaml_type: YAMLType) -> None: method load (line 395) | def load(self, stream: IO): method dump (line 426) | def dump(self, data, stream: Optional[IO] = None, *, transform=None) -... method as_string (line 443) | def as_string(self, data) -> str: function load_config (line 450) | def load_config(str_or_file): function load (line 457) | def load(*args, **kwargs): function dump_config (line 463) | def dump_config(data, stream, *, default_flow_style=False, blame=False): function _dump_annotated (line 476) | def _dump_annotated(handler, data, stream=None): function sorted_dict (line 500) | def sorted_dict(data): function extract_comments (line 509) | def extract_comments(data): function set_comments (line 514) | def set_comments(data, *, data_comments): function name_mark (line 519) | def name_mark(name): function anchorify (line 524) | def anchorify(data: Union[dict, list], identifier: Callable[[Any], str] ... class SpackYAMLError (line 547) | class SpackYAMLError(spack.error.SpackError): method __init__ (line 550) | def __init__(self, msg, yaml_error, filename=None): function get_mark_from_yaml_data (line 555) | def get_mark_from_yaml_data(obj): FILE: lib/spack/spack/util/timer.py class BaseTimer (line 28) | class BaseTimer: method start (line 29) | def start(self, name=None): method stop (line 32) | def stop(self, name=None): method duration (line 35) | def duration(self, name=None): method measure (line 39) | def measure(self, name): method phases (line 43) | def phases(self): method write_json (line 46) | def write_json(self, out=sys.stdout): method write_tty (line 49) | def write_tty(self, out=sys.stdout): class NullTimer (line 53) | class NullTimer(BaseTimer): class Timer (line 60) | class Timer(BaseTimer): method __init__ (line 63) | def __init__(self, now: Callable[[], float] = time.time): method start (line 76) | def start(self, name=global_timer_name): method stop (line 86) | def stop(self, name=global_timer_name): method duration (line 97) | def duration(self, name=global_timer_name): method measure (line 118) | def measure(self, name): method phases (line 130) | def phases(self): method _flatten (line 135) | def _flatten(self): method write_json (line 166) | def write_json(self, out=sys.stdout, extra_attributes={}): method write_tty (line 188) | def write_tty(self, out=sys.stdout): FILE: lib/spack/spack/util/typing.py class SupportsRichComparison (line 20) | class SupportsRichComparison(Protocol): method __eq__ (line 23) | def __eq__(self, other: Any) -> bool: method __ne__ (line 26) | def __ne__(self, other: Any) -> bool: method __lt__ (line 29) | def __lt__(self, other: Any) -> bool: method __le__ (line 32) | def __le__(self, other: Any) -> bool: method __gt__ (line 35) | def __gt__(self, other: Any) -> bool: method __ge__ (line 38) | def __ge__(self, other: Any) -> bool: FILE: lib/spack/spack/util/unparse/__init__.py function unparse (line 10) | def unparse(tree, py_ver_consistent=False): FILE: lib/spack/spack/util/unparse/unparser.py function nullcontext (line 16) | def nullcontext(): function is_non_empty_non_star_tuple (line 20) | def is_non_empty_non_star_tuple(slice_value): function iter_fields (line 29) | def iter_fields(node): class NodeVisitor (line 41) | class NodeVisitor(object): method visit (line 61) | def visit(self, node): method generic_visit (line 67) | def generic_visit(self, node): class _Precedence (line 83) | class _Precedence(IntEnum): method next (line 107) | def next(self): class Unparser (line 119) | class Unparser(NodeVisitor): method __init__ (line 124) | def __init__(self, py_ver_consistent=False, _avoid_backslashes=False): method interleave (line 133) | def interleave(self, inter, f, seq): method items_view (line 145) | def items_view(self, traverser, items): method maybe_newline (line 155) | def maybe_newline(self): method fill (line 160) | def fill(self, text=""): method write (line 166) | def write(self, *text): method buffered (line 171) | def buffered(self, buffer=None): method block (line 181) | def block(self, *, extra=None): method delimit (line 195) | def delimit(self, start, end): method delimit_if (line 203) | def delimit_if(self, start, end, condition): method require_parens (line 209) | def require_parens(self, precedence, node): method get_precedence (line 213) | def get_precedence(self, node): method set_precedence (line 216) | def set_precedence(self, precedence, *nodes): method get_raw_docstring (line 220) | def get_raw_docstring(self, node): method get_type_comment (line 237) | def get_type_comment(self, node): method traverse (line 244) | def traverse(self, node): method visit (line 254) | def visit(self, node): method _write_docstring_and_traverse_body (line 261) | def _write_docstring_and_traverse_body(self, node): method visit_Module (line 269) | def visit_Module(self, node): method visit_FunctionType (line 277) | def visit_FunctionType(self, node): method visit_Expr (line 284) | def visit_Expr(self, node): method visit_NamedExpr (line 289) | def visit_NamedExpr(self, node): method visit_Import (line 296) | def visit_Import(self, node): method visit_ImportFrom (line 300) | def visit_ImportFrom(self, node): method visit_Assign (line 308) | def visit_Assign(self, node): method visit_AugAssign (line 319) | def visit_AugAssign(self, node): method visit_AnnAssign (line 325) | def visit_AnnAssign(self, node): method visit_Return (line 335) | def visit_Return(self, node): method visit_Pass (line 341) | def visit_Pass(self, node): method visit_Break (line 344) | def visit_Break(self, node): method visit_Continue (line 347) | def visit_Continue(self, node): method visit_Delete (line 350) | def visit_Delete(self, node): method visit_Assert (line 354) | def visit_Assert(self, node): method visit_Global (line 361) | def visit_Global(self, node): method visit_Nonlocal (line 365) | def visit_Nonlocal(self, node): method visit_Await (line 369) | def visit_Await(self, node): method visit_Yield (line 377) | def visit_Yield(self, node): method visit_YieldFrom (line 385) | def visit_YieldFrom(self, node): method visit_Raise (line 393) | def visit_Raise(self, node): method do_visit_try (line 405) | def do_visit_try(self, node): method visit_Try (line 420) | def visit_Try(self, node): method visit_TryStar (line 428) | def visit_TryStar(self, node): method visit_ExceptHandler (line 436) | def visit_ExceptHandler(self, node): method visit_ClassDef (line 447) | def visit_ClassDef(self, node): method visit_FunctionDef (line 473) | def visit_FunctionDef(self, node): method visit_AsyncFunctionDef (line 476) | def visit_AsyncFunctionDef(self, node): method _function_helper (line 479) | def _function_helper(self, node, fill_suffix): method _type_params_helper (line 496) | def _type_params_helper(self, type_params): method visit_TypeVar (line 501) | def visit_TypeVar(self, node): method visit_TypeVarTuple (line 511) | def visit_TypeVarTuple(self, node): method visit_ParamSpec (line 518) | def visit_ParamSpec(self, node): method visit_TypeAlias (line 525) | def visit_TypeAlias(self, node): method visit_For (line 532) | def visit_For(self, node): method visit_AsyncFor (line 535) | def visit_AsyncFor(self, node): method _for_helper (line 538) | def _for_helper(self, fill, node): method visit_If (line 551) | def visit_If(self, node): method visit_While (line 569) | def visit_While(self, node): method visit_With (line 579) | def visit_With(self, node): method visit_AsyncWith (line 585) | def visit_AsyncWith(self, node): method _str_literal_helper (line 591) | def _str_literal_helper( method _write_str_avoiding_backslashes (line 630) | def _write_str_avoiding_backslashes(self, string, *, quote_types=_ALL_... method visit_Num (line 640) | def visit_Num(self, node): method visit_Str (line 644) | def visit_Str(self, node): method visit_Bytes (line 647) | def visit_Bytes(self, node): method visit_NameConstant (line 650) | def visit_NameConstant(self, node): method visit_Ellipsis (line 653) | def visit_Ellipsis(self, node): method _ftstring_helper (line 656) | def _ftstring_helper(self, parts): method _write_ftstring (line 695) | def _write_ftstring(self, node, prefix): method visit_JoinedStr (line 710) | def visit_JoinedStr(self, node): method visit_TemplateStr (line 713) | def visit_TemplateStr(self, node): method _write_ftstring_inner (line 716) | def _write_ftstring_inner(self, node, is_format_spec=False): method _unparse_interpolation_value (line 739) | def _unparse_interpolation_value(self, inner): method _write_interpolation (line 745) | def _write_interpolation(self, node, use_str_attr=False): method visit_FormattedValue (line 766) | def visit_FormattedValue(self, node): method visit_Interpolation (line 769) | def visit_Interpolation(self, node): method visit_Name (line 773) | def visit_Name(self, node): method _write_docstring (line 776) | def _write_docstring(self, node): method _write_constant (line 788) | def _write_constant(self, value): method visit_Constant (line 801) | def visit_Constant(self, node): method visit_List (line 815) | def visit_List(self, node): method visit_ListComp (line 819) | def visit_ListComp(self, node): method visit_GeneratorExp (line 825) | def visit_GeneratorExp(self, node): method visit_SetComp (line 831) | def visit_SetComp(self, node): method visit_DictComp (line 837) | def visit_DictComp(self, node): method visit_comprehension (line 845) | def visit_comprehension(self, node): method visit_IfExp (line 859) | def visit_IfExp(self, node): method visit_Set (line 869) | def visit_Set(self, node): method visit_Dict (line 878) | def visit_Dict(self, node): method visit_Tuple (line 898) | def visit_Tuple(self, node): method visit_UnaryOp (line 917) | def visit_UnaryOp(self, node): method visit_BinOp (line 963) | def visit_BinOp(self, node): method visit_Compare (line 993) | def visit_Compare(self, node): method visit_BoolOp (line 1004) | def visit_BoolOp(self, node): method visit_Attribute (line 1018) | def visit_Attribute(self, node: ast.Attribute): method visit_Call (line 1029) | def visit_Call(self, node): method visit_Subscript (line 1047) | def visit_Subscript(self, node): method visit_Starred (line 1062) | def visit_Starred(self, node): method visit_Index (line 1069) | def visit_Index(self, node): method visit_Slice (line 1075) | def visit_Slice(self, node): method visit_Match (line 1085) | def visit_Match(self, node): method visit_ExtSlice (line 1094) | def visit_ExtSlice(self, node): method visit_arg (line 1097) | def visit_arg(self, node): method visit_arguments (line 1103) | def visit_arguments(self, node): method visit_keyword (line 1156) | def visit_keyword(self, node): method visit_Lambda (line 1164) | def visit_Lambda(self, node): method visit_alias (line 1177) | def visit_alias(self, node): method visit_withitem (line 1182) | def visit_withitem(self, node): method visit_match_case (line 1188) | def visit_match_case(self, node): method visit_MatchValue (line 1197) | def visit_MatchValue(self, node): method visit_MatchSingleton (line 1200) | def visit_MatchSingleton(self, node): method visit_MatchSequence (line 1203) | def visit_MatchSequence(self, node): method visit_MatchStar (line 1207) | def visit_MatchStar(self, node): method visit_MatchMapping (line 1213) | def visit_MatchMapping(self, node): method visit_MatchClass (line 1234) | def visit_MatchClass(self, node): method visit_MatchAs (line 1257) | def visit_MatchAs(self, node): method visit_MatchOr (line 1270) | def visit_MatchOr(self, node): function _is_int_literal (line 1278) | def _is_int_literal(node: ast.AST) -> bool: function _is_str_literal (line 1282) | def _is_str_literal(node: ast.AST) -> bool: function _get_str_literal_value (line 1286) | def _get_str_literal_value(node: ast.AST) -> Optional[str]: function _is_int_literal (line 1294) | def _is_int_literal(node: ast.AST) -> bool: function _is_str_literal (line 1298) | def _is_str_literal(node: ast.AST) -> bool: function _get_str_literal_value (line 1302) | def _get_str_literal_value(node: ast.AST) -> Optional[str]: function _is_interpolation (line 1309) | def _is_interpolation(node: ast.AST) -> bool: function _is_interpolation (line 1315) | def _is_interpolation(node: ast.AST) -> bool: FILE: lib/spack/spack/util/url.py function validate_scheme (line 19) | def validate_scheme(scheme): function local_file_path (line 27) | def local_file_path(url): function path_to_file_url (line 42) | def path_to_file_url(path): function file_url_string_to_path (line 46) | def file_url_string_to_path(url): function is_path_instead_of_url (line 50) | def is_path_instead_of_url(path_or_url): function format (line 57) | def format(parsed_url): function join (line 68) | def join(base: str, *components: str, resolve_href: bool = False, **kwar... function default_download_filename (line 97) | def default_download_filename(url: str) -> str: function parse_link_rel_next (line 116) | def parse_link_rel_next(link_value: str) -> Optional[str]: FILE: lib/spack/spack/util/web.py function is_transient_error (line 45) | def is_transient_error(e: Exception) -> bool: function retry_on_transient_error (line 70) | def retry_on_transient_error( class DetailedHTTPError (line 91) | class DetailedHTTPError(HTTPError): method __init__ (line 92) | def __init__( method __str__ (line 98) | def __str__(self): method __reduce__ (line 106) | def __reduce__(self): class DetailedURLError (line 111) | class DetailedURLError(URLError): method __init__ (line 112) | def __init__(self, req: Request, reason): method __str__ (line 116) | def __str__(self): method __reduce__ (line 119) | def __reduce__(self): class SpackHTTPDefaultErrorHandler (line 123) | class SpackHTTPDefaultErrorHandler(HTTPDefaultErrorHandler): method http_error_default (line 124) | def http_error_default(self, req, fp, code, msg, hdrs): class SpackHTTPSHandler (line 128) | class SpackHTTPSHandler(HTTPSHandler): method https_open (line 131) | def https_open(self, req): function custom_ssl_certs (line 140) | def custom_ssl_certs() -> Optional[Tuple[bool, str]]: function ssl_create_default_context (line 164) | def ssl_create_default_context(): function set_curl_env_for_ssl_certs (line 178) | def set_curl_env_for_ssl_certs(curl: Executable) -> None: function _urlopen (line 192) | def _urlopen(): class HTMLParseError (line 224) | class HTMLParseError(Exception): class LinkParser (line 228) | class LinkParser(HTMLParser): method __init__ (line 233) | def __init__(self): method handle_starttag (line 237) | def handle_starttag(self, tag, attrs): class ExtractMetadataParser (line 253) | class ExtractMetadataParser(HTMLParser): method __init__ (line 258) | def __init__(self): method handle_starttag (line 263) | def handle_starttag(self, tag, attrs): function read_from_url (line 277) | def read_from_url(url, accept_content_type=None): function _read_text (line 307) | def _read_text(url: str) -> str: function _read_json (line 313) | def _read_json(url: str): function read_text (line 323) | def read_text(url: str) -> str: function read_json (line 331) | def read_json(url: str): function push_to_url (line 339) | def push_to_url(local_file_path, remote_path, keep_original=True, extra_... function base_curl_fetch_args (line 384) | def base_curl_fetch_args(url, timeout=0): function check_curl_code (line 428) | def check_curl_code(returncode: int) -> None: function require_curl (line 455) | def require_curl() -> Executable: function fetch_url_text (line 465) | def fetch_url_text(url, curl: Optional[Executable] = None, dest_dir="."): function _url_exists_urllib_impl (line 526) | def _url_exists_urllib_impl(url): function url_exists (line 537) | def url_exists(url, curl=None): function _debug_print_delete_results (line 577) | def _debug_print_delete_results(result): function remove_url (line 586) | def remove_url(url, recursive=False): function _iter_s3_contents (line 642) | def _iter_s3_contents(contents, prefix): function _list_s3_objects (line 657) | def _list_s3_objects(client, bucket, prefix, num_entries, start_after=No... function _iter_s3_prefix (line 674) | def _iter_s3_prefix(client, url, num_entries=1024): function _iter_local_prefix (line 689) | def _iter_local_prefix(path): function list_url (line 695) | def list_url(url, recursive=False): function stat_url (line 721) | def stat_url(url: str) -> Optional[Tuple[int, float]]: function spider (line 761) | def spider( function _spider (line 810) | def _spider(url: urllib.parse.ParseResult, collect_nested: bool, _visite... function get_header (line 923) | def get_header(headers, header_name): function parse_etag (line 953) | def parse_etag(header_value): class SpackWebError (line 983) | class SpackWebError(spack.error.SpackError): class NoNetworkConnectionError (line 987) | class NoNetworkConnectionError(SpackWebError): method __init__ (line 990) | def __init__(self, message, url): FILE: lib/spack/spack/util/windows_registry.py class RegistryValue (line 20) | class RegistryValue: method __init__ (line 25) | def __init__(self, name, value, parent_key): class RegistryKey (line 31) | class RegistryKey: method __init__ (line 36) | def __init__(self, name, handle): method values (line 44) | def values(self): method subkeys (line 52) | def subkeys(self): method hkey (line 58) | def hkey(self): method winreg_error_handler (line 62) | def winreg_error_handler(self, name, *args, **kwargs): method OpenKeyEx (line 77) | def OpenKeyEx(self, subname, **kwargs): method QueryInfoKey (line 86) | def QueryInfoKey(self): method EnumKey (line 92) | def EnumKey(self, index): method EnumValue (line 101) | def EnumValue(self, index): method QueryValueEx (line 109) | def QueryValueEx(self, name, **kwargs): method __str__ (line 115) | def __str__(self): method _gather_subkey_info (line 118) | def _gather_subkey_info(self): method _gather_value_info (line 136) | def _gather_value_info(self): method get_subkey (line 145) | def get_subkey(self, sub_key): method get_value (line 151) | def get_value(self, val_name): class _HKEY_CONSTANT (line 156) | class _HKEY_CONSTANT(RegistryKey): method __init__ (line 159) | def __init__(self, hkey_constant): method _get_hkey (line 169) | def _get_hkey(self, key): method hkey (line 173) | def hkey(self): class HKEY (line 179) | class HKEY: class WindowsRegistryView (line 197) | class WindowsRegistryView: method __init__ (line 206) | def __init__(self, key, root_key=HKEY.HKEY_CURRENT_USER): class KeyMatchConditions (line 225) | class KeyMatchConditions: method regex_matcher (line 227) | def regex_matcher(subkey_name): method name_matcher (line 231) | def name_matcher(subkey_name): method invalid_reg_ref_error_handler (line 235) | def invalid_reg_ref_error_handler(self): method __bool__ (line 244) | def __bool__(self): method _load_key (line 247) | def _load_key(self): method _valid_reg_check (line 257) | def _valid_reg_check(self): method _regex_match_subkeys (line 263) | def _regex_match_subkeys(self, subkey): method reg (line 268) | def reg(self): method get_value (line 273) | def get_value(self, value_name): method get_subkey (line 280) | def get_subkey(self, subkey_name): method get_subkeys (line 286) | def get_subkeys(self): method get_matching_subkeys (line 292) | def get_matching_subkeys(self, subkey_name): method get_values (line 299) | def get_values(self): method _traverse_subkeys (line 305) | def _traverse_subkeys(self, stop_condition, collect_all_matching=False... method find_subkey (line 334) | def find_subkey(self, subkey_name: str, recursive: bool = True): method find_matching_subkey (line 348) | def find_matching_subkey(self, subkey_name: str, recursive: bool = True): method find_subkeys (line 362) | def find_subkeys(self, subkey_name: str, recursive: bool = True): method find_value (line 376) | def find_value(self, val_name: str, recursive: bool = True): class RegistryError (line 398) | class RegistryError(Exception): class InvalidKeyError (line 402) | class InvalidKeyError(RegistryError): method __init__ (line 405) | def __init__(self, key): class InvalidRegistryOperation (line 410) | class InvalidRegistryOperation(RegistryError): method __init__ (line 414) | def __init__(self, name, e, *args, **kwargs): FILE: lib/spack/spack/variant.py class VariantType (line 55) | class VariantType(enum.IntEnum): method string (line 64) | def string(self) -> str: class Variant (line 76) | class Variant: method __init__ (line 96) | def __init__( method values_defined_by_validator (line 157) | def values_defined_by_validator(self) -> bool: method validate_or_raise (line 160) | def validate_or_raise(self, vspec: "VariantValue", pkg_name: str): method allowed_values (line 200) | def allowed_values(self): method make_default (line 217) | def make_default(self) -> "VariantValue": method make_variant (line 223) | def make_variant(self, *value: Union[str, bool]) -> "VariantValue": method variant_type (line 228) | def variant_type(self) -> VariantType: method __str__ (line 237) | def __str__(self) -> str: function _flatten (line 251) | def _flatten(values) -> Collection: class VariantValue (line 275) | class VariantValue: method __init__ (line 292) | def __init__( method from_node_dict (line 311) | def from_node_dict( method from_string_or_bool (line 329) | def from_string_or_bool( method from_concretizer (line 352) | def from_concretizer(name: str, value: str, type: str) -> "VariantValue": method yaml_entry (line 361) | def yaml_entry(self) -> Tuple[str, SerializedValueType]: method values (line 372) | def values(self) -> ValueType: method value (line 376) | def value(self) -> Union[ValueType, bool, str]: method set (line 379) | def set(self, *value: Union[bool, str]) -> None: method _cmp_iter (line 398) | def _cmp_iter(self) -> Iterable: method copy (line 404) | def copy(self) -> "VariantValue": method satisfies (line 409) | def satisfies(self, other: "VariantValue") -> bool: method intersects (line 431) | def intersects(self, other: "VariantValue") -> bool: method constrain (line 444) | def constrain(self, other: "VariantValue") -> bool: method append (line 462) | def append(self, value: Union[str, bool]) -> None: method __contains__ (line 465) | def __contains__(self, item: Union[str, bool]) -> bool: method __str__ (line 468) | def __str__(self) -> str: method __repr__ (line 487) | def __repr__(self): function MultiValuedVariant (line 494) | def MultiValuedVariant(name: str, value: ValueType, propagate: bool = Fa... function SingleValuedVariant (line 498) | def SingleValuedVariant( function BoolValuedVariant (line 504) | def BoolValuedVariant(name: str, value: bool, propagate: bool = False) -... class VariantValueRemoval (line 508) | class VariantValueRemoval(VariantValue): method __init__ (line 511) | def __init__(self, name): class DisjointSetsOfValues (line 517) | class DisjointSetsOfValues(collections.abc.Sequence): method __init__ (line 529) | def __init__(self, *sets: Tuple[str, ...]) -> None: method with_default (line 561) | def with_default(self, default): method with_error (line 566) | def with_error(self, error_fmt): method with_non_feature_values (line 571) | def with_non_feature_values(self, *values): method allow_empty_set (line 576) | def allow_empty_set(self): method prohibit_empty_set (line 587) | def prohibit_empty_set(self): method __getitem__ (line 601) | def __getitem__(self, idx): method __len__ (line 604) | def __len__(self): method validator (line 608) | def validator(self): function _a_single_value_or_a_combination (line 622) | def _a_single_value_or_a_combination(single_value: str, *values: str) ->... function any_combination_of (line 637) | def any_combination_of(*values: str) -> DisjointSetsOfValues: function auto_or_any_combination_of (line 659) | def auto_or_any_combination_of(*values: str) -> DisjointSetsOfValues: function disjoint_sets (line 681) | def disjoint_sets(*sets: Tuple[str, ...]) -> DisjointSetsOfValues: class ConditionalValue (line 699) | class ConditionalValue: method __init__ (line 708) | def __init__(self, value: Any, when: Optional["spack.spec.Spec"]): method __repr__ (line 712) | def __repr__(self): method __str__ (line 715) | def __str__(self): method __hash__ (line 718) | def __hash__(self): method __eq__ (line 722) | def __eq__(self, other): method __lt__ (line 727) | def __lt__(self, other): function prevalidate_variant_value (line 733) | def prevalidate_variant_value( class ConditionalVariantValues (line 811) | class ConditionalVariantValues(lang.TypedMutableSequence): class DuplicateVariantError (line 815) | class DuplicateVariantError(spack.error.SpecError): class UnknownVariantError (line 819) | class UnknownVariantError(spack.error.SpecError): method __init__ (line 822) | def __init__(self, msg: str, unknown_variants: List[str]): class InconsistentValidationError (line 827) | class InconsistentValidationError(spack.error.SpecError): method __init__ (line 830) | def __init__(self, vspec, variant): class MultipleValuesInExclusiveVariantError (line 835) | class MultipleValuesInExclusiveVariantError(spack.error.SpecError, Value... method __init__ (line 840) | def __init__(self, variant: VariantValue, pkg_name: Optional[str] = No... class InvalidVariantValueError (line 847) | class InvalidVariantValueError(spack.error.SpecError): class UnsatisfiableVariantSpecError (line 851) | class UnsatisfiableVariantSpecError(spack.error.UnsatisfiableSpecError): method __init__ (line 854) | def __init__(self, provided, required): FILE: lib/spack/spack/vendor/altgraph/Dot.py class Dot (line 117) | class Dot(object): method __init__ (line 127) | def __init__( method style (line 190) | def style(self, **attr): method display (line 196) | def display(self, mode="dot"): method node_style (line 211) | def node_style(self, node, **kwargs): method all_node_style (line 219) | def all_node_style(self, **kwargs): method edge_style (line 226) | def edge_style(self, head, tail, **kwargs): method iterdot (line 240) | def iterdot(self): method __iter__ (line 280) | def __iter__(self): method save_dot (line 283) | def save_dot(self, file_name=None): method save_img (line 296) | def save_img(self, file_name=None, file_type="gif", mode="dot"): FILE: lib/spack/spack/vendor/altgraph/Graph.py class Graph (line 21) | class Graph(object): method __init__ (line 41) | def __init__(self, edges=None): method __repr__ (line 61) | def __repr__(self): method add_node (line 67) | def add_node(self, node, node_data=None): method add_edge (line 89) | def add_edge(self, head_id, tail_id, edge_data=1, create_nodes=True): method hide_edge (line 124) | def hide_edge(self, edge): method hide_node (line 137) | def hide_node(self, node): method restore_node (line 151) | def restore_node(self, node): method restore_edge (line 164) | def restore_edge(self, edge): method restore_all_edges (line 177) | def restore_all_edges(self): method restore_all_nodes (line 187) | def restore_all_nodes(self): method __contains__ (line 194) | def __contains__(self, node): method edge_by_id (line 200) | def edge_by_id(self, edge): method edge_by_node (line 212) | def edge_by_node(self, head, tail): method number_of_nodes (line 221) | def number_of_nodes(self): method number_of_edges (line 227) | def number_of_edges(self): method __iter__ (line 233) | def __iter__(self): method node_list (line 239) | def node_list(self): method edge_list (line 245) | def edge_list(self): method number_of_hidden_edges (line 251) | def number_of_hidden_edges(self): method number_of_hidden_nodes (line 257) | def number_of_hidden_nodes(self): method hidden_node_list (line 263) | def hidden_node_list(self): method hidden_edge_list (line 269) | def hidden_edge_list(self): method describe_node (line 275) | def describe_node(self, node): method describe_edge (line 282) | def describe_edge(self, edge): method node_data (line 289) | def node_data(self, node): method edge_data (line 295) | def edge_data(self, edge): method update_edge_data (line 301) | def update_edge_data(self, edge, edge_data): method head (line 307) | def head(self, edge): method tail (line 313) | def tail(self, edge): method out_nbrs (line 319) | def out_nbrs(self, node): method inc_nbrs (line 325) | def inc_nbrs(self, node): method all_nbrs (line 331) | def all_nbrs(self, node): method out_edges (line 337) | def out_edges(self, node): method inc_edges (line 346) | def inc_edges(self, node): method all_edges (line 355) | def all_edges(self, node): method out_degree (line 361) | def out_degree(self, node): method inc_degree (line 367) | def inc_degree(self, node): method all_degree (line 373) | def all_degree(self, node): method _topo_sort (line 379) | def _topo_sort(self, forward=True): method forw_topo_sort (line 426) | def forw_topo_sort(self): method back_topo_sort (line 435) | def back_topo_sort(self): method _bfs_subgraph (line 444) | def _bfs_subgraph(self, start_id, forward=True): method forw_bfs_subgraph (line 472) | def forw_bfs_subgraph(self, start_id): method back_bfs_subgraph (line 479) | def back_bfs_subgraph(self, start_id): method iterdfs (line 486) | def iterdfs(self, start, end=None, forward=True): method iterdata (line 513) | def iterdata(self, start, end=None, forward=True, condition=None): method _iterbfs (line 546) | def _iterbfs(self, start, end=None, forward=True): method forw_bfs (line 573) | def forw_bfs(self, start, end=None): method back_bfs (line 582) | def back_bfs(self, start, end=None): method forw_dfs (line 591) | def forw_dfs(self, start, end=None): method back_dfs (line 600) | def back_dfs(self, start, end=None): method connected (line 609) | def connected(self): method clust_coef (line 621) | def clust_coef(self, node): method get_hops (line 652) | def get_hops(self, start, end=None, forward=True): FILE: lib/spack/spack/vendor/altgraph/GraphAlgo.py function dijkstra (line 8) | def dijkstra(graph, start, end=None): function shortest_path (line 56) | def shortest_path(graph, start, end): class _priorityDictionary (line 79) | class _priorityDictionary(dict): method __init__ (line 98) | def __init__(self): method smallest (line 108) | def smallest(self): method __iter__ (line 132) | def __iter__(self): method __setitem__ (line 145) | def __setitem__(self, key, val): method setdefault (line 165) | def setdefault(self, key, val): FILE: lib/spack/spack/vendor/altgraph/GraphStat.py function degree_dist (line 7) | def degree_dist(graph, limits=(0, 0), bin_num=10, mode="out"): function _binning (line 40) | def _binning(values, limits=(0, 0), bin_num=10): FILE: lib/spack/spack/vendor/altgraph/GraphUtil.py function generate_random_graph (line 12) | def generate_random_graph(node_num, edge_num, self_loops=False, multi_ed... function generate_scale_free_graph (line 53) | def generate_scale_free_graph(steps, growth_num, self_loops=False, multi... function filter_stack (line 96) | def filter_stack(graph, head, filters): FILE: lib/spack/spack/vendor/altgraph/ObjectGraph.py class ObjectGraph (line 14) | class ObjectGraph(object): method __init__ (line 20) | def __init__(self, graph=None, debug=0): method __repr__ (line 29) | def __repr__(self): method flatten (line 32) | def flatten(self, condition=None, start=None): method nodes (line 42) | def nodes(self): method get_edges (line 48) | def get_edges(self, node): method edgeData (line 64) | def edgeData(self, fromNode, toNode): method updateEdgeData (line 72) | def updateEdgeData(self, fromNode, toNode, edgeData): method filterStack (line 80) | def filterStack(self, filters): method removeNode (line 98) | def removeNode(self, node): method removeReference (line 106) | def removeReference(self, fromnode, tonode): method getIdent (line 121) | def getIdent(self, node): method getRawIdent (line 133) | def getRawIdent(self, node): method __contains__ (line 142) | def __contains__(self, node): method findNode (line 145) | def findNode(self, node): method addNode (line 157) | def addNode(self, node): method createReference (line 168) | def createReference(self, fromnode, tonode, edge_data=None): method createNode (line 180) | def createNode(self, cls, name, *args, **kw): method msg (line 191) | def msg(self, level, s, *args): method msgin (line 198) | def msgin(self, level, s, *args): method msgout (line 206) | def msgout(self, level, s, *args): FILE: lib/spack/spack/vendor/altgraph/__init__.py class GraphError (line 146) | class GraphError(ValueError): FILE: lib/spack/spack/vendor/archspec/cli.py function _make_parser (line 16) | def _make_parser() -> argparse.ArgumentParser: function cpu (line 47) | def cpu() -> int: function main (line 57) | def main(argv: typing.Optional[typing.List[str]] = None) -> int: FILE: lib/spack/spack/vendor/archspec/cpu/alias.py class FeatureAliasTest (line 13) | class FeatureAliasTest: method __init__ (line 22) | def __init__(self, rules): method __call__ (line 28) | def __call__(self, microarchitecture): function _feature_aliases (line 32) | def _feature_aliases(): function alias_predicate (line 44) | def alias_predicate(func): function reason (line 61) | def reason(_): function any_of (line 69) | def any_of(list_of_features): function families (line 81) | def families(list_of_families): FILE: lib/spack/spack/vendor/archspec/cpu/detect.py function detection (line 35) | def detection(operating_system: str): function partial_uarch (line 49) | def partial_uarch( function proc_cpuinfo (line 69) | def proc_cpuinfo() -> Microarchitecture: class CpuidInfoCollector (line 123) | class CpuidInfoCollector: method __init__ (line 127) | def __init__(self): method _features (line 141) | def _features(self): method _is_bit_set (line 163) | def _is_bit_set(self, register: int, bit: int) -> bool: method brand_string (line 167) | def brand_string(self) -> Optional[str]: function cpuid_info (line 194) | def cpuid_info(): function _check_output (line 204) | def _check_output(args, env): function _machine (line 216) | def _machine() -> str: function sysctl_info (line 247) | def sysctl_info() -> Microarchitecture: function _ensure_bin_usrbin_in_path (line 286) | def _ensure_bin_usrbin_in_path(): function _canonicalize_aarch64_vendor (line 297) | def _canonicalize_aarch64_vendor(data: Dict[str, str]) -> str: function _feature_set (line 314) | def _feature_set(data: Dict[str, str], key: str) -> Set[str]: function detected_info (line 318) | def detected_info() -> Microarchitecture: function compatible_microarchitectures (line 335) | def compatible_microarchitectures(info: Microarchitecture) -> List[Micro... function host (line 347) | def host() -> Microarchitecture: function compatibility_check (line 381) | def compatibility_check(architecture_family: Union[str, Tuple[str, ...]]): function compatibility_check_for_power (line 403) | def compatibility_check_for_power(info, target): function compatibility_check_for_x86_64 (line 414) | def compatibility_check_for_x86_64(info, target): function compatibility_check_for_aarch64 (line 427) | def compatibility_check_for_aarch64(info, target): function compatibility_check_for_riscv64 (line 450) | def compatibility_check_for_riscv64(info, target): function brand_string (line 458) | def brand_string() -> Optional[str]: FILE: lib/spack/spack/vendor/archspec/cpu/microarchitecture.py function coerce_target_names (line 18) | def coerce_target_names(func): class Microarchitecture (line 36) | class Microarchitecture: method __init__ (line 43) | def __init__( method ancestors (line 101) | def ancestors(self) -> List["Microarchitecture"]: method _to_set (line 110) | def _to_set(self) -> Set[str]: method __eq__ (line 117) | def __eq__(self, other: Union[str, "Microarchitecture"]) -> bool: method __hash__ (line 131) | def __hash__(self) -> int: method __ne__ (line 135) | def __ne__(self, other: Union[str, "Microarchitecture"]) -> bool: method __lt__ (line 139) | def __lt__(self, other: Union[str, "Microarchitecture"]) -> bool: method __le__ (line 146) | def __le__(self, other: Union[str, "Microarchitecture"]) -> bool: method __gt__ (line 150) | def __gt__(self, other: Union[str, "Microarchitecture"]) -> bool: method __ge__ (line 157) | def __ge__(self, other: Union[str, "Microarchitecture"]) -> bool: method __repr__ (line 160) | def __repr__(self) -> str: method __str__ (line 163) | def __str__(self) -> str: method tree (line 166) | def tree(self, fp: IO[str] = sys.stdout, indent: int = 4) -> None: method __contains__ (line 180) | def __contains__(self, feature: str) -> bool: method family (line 196) | def family(self) -> "Microarchitecture": method generic (line 208) | def generic(self) -> "Microarchitecture": method to_dict (line 215) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 228) | def from_dict(data) -> "Microarchitecture": method optimization_flags (line 240) | def optimization_flags(self, compiler: str, version: str) -> str: function generic_microarchitecture (line 336) | def generic_microarchitecture(name: str) -> Microarchitecture: function version_components (line 345) | def version_components(version: str) -> Tuple[str, str]: function _known_microarchitectures (line 365) | def _known_microarchitectures(): class ArchspecError (line 420) | class ArchspecError(Exception): class UnsupportedMicroarchitecture (line 424) | class UnsupportedMicroarchitecture(ArchspecError, ValueError): class InvalidCompilerVersion (line 430) | class InvalidCompilerVersion(ArchspecError, ValueError): FILE: lib/spack/spack/vendor/archspec/cpu/schema.py class LazyDictionary (line 15) | class LazyDictionary(collections.abc.MutableMapping): method __init__ (line 22) | def __init__(self, factory, *args, **kwargs): method data (line 29) | def data(self): method __getitem__ (line 35) | def __getitem__(self, key): method __setitem__ (line 38) | def __setitem__(self, key, value): method __delitem__ (line 41) | def __delitem__(self, key): method __iter__ (line 44) | def __iter__(self): method __len__ (line 47) | def __len__(self): function _json_file (line 58) | def _json_file( function _load (line 83) | def _load(json_file: pathlib.Path, extension_file: pathlib.Path): FILE: lib/spack/spack/vendor/archspec/vendor/cpuid/cpuid.py class CPUID_struct (line 72) | class CPUID_struct(ctypes.Structure): method __getitem__ (line 76) | def __getitem__(self, item): method __repr__ (line 81) | def __repr__(self): class CPUID (line 85) | class CPUID(object): method __init__ (line 86) | def __init__(self): method __call__ (line 137) | def __call__(self, eax, ecx=0): method registers_for (line 141) | def registers_for(self, eax, ecx=0): method __del__ (line 149) | def __del__(self): function valid_inputs (line 160) | def valid_inputs(): FILE: lib/spack/spack/vendor/archspec/vendor/cpuid/example.py function cpu_vendor (line 12) | def cpu_vendor(cpu): function cpu_name (line 17) | def cpu_name(cpu): function is_set (line 24) | def is_set(cpu, leaf, subleaf, reg_idx, bit): FILE: lib/spack/spack/vendor/attr/__init__.pyi class AttrsInstance (line 63) | class AttrsInstance(Protocol): function Factory (line 76) | def Factory(factory: Callable[[], _T]) -> _T: ... function Factory (line 78) | def Factory( function Factory (line 83) | def Factory( function Factory (line 90) | def Factory(factory: Callable[[], _T]) -> _T: ... function Factory (line 92) | def Factory( function __dataclass_transform__ (line 105) | def __dataclass_transform__( class Attribute (line 113) | class Attribute(Generic[_T]): method evolve (line 128) | def evolve(self, **changes: Any) -> "Attribute[Any]": ... function attrib (line 155) | def attrib( function attrib (line 175) | def attrib( function attrib (line 194) | def attrib( function attrib (line 213) | def attrib( function field (line 230) | def field( function field (line 249) | def field( function field (line 267) | def field( function field (line 285) | def field( function attrs (line 302) | def attrs( function attrs (line 329) | def attrs( function define (line 356) | def define( function define (line 381) | def define( function fields (line 408) | def fields(cls: Type[AttrsInstance]) -> Any: ... function fields_dict (line 409) | def fields_dict(cls: Type[AttrsInstance]) -> Dict[str, Attribute[Any]]: ... function validate (line 410) | def validate(inst: AttrsInstance) -> None: ... function resolve_types (line 411) | def resolve_types( function make_class (line 421) | def make_class( function asdict (line 453) | def asdict( function astuple (line 466) | def astuple( function has (line 473) | def has(cls: type) -> bool: ... function assoc (line 474) | def assoc(inst: _T, **changes: Any) -> _T: ... function evolve (line 475) | def evolve(inst: _T, **changes: Any) -> _T: ... function set_run_validators (line 479) | def set_run_validators(run: bool) -> None: ... function get_run_validators (line 480) | def get_run_validators() -> bool: ... FILE: lib/spack/spack/vendor/attr/_cmp.py function cmp_using (line 13) | def cmp_using( function _make_init (line 104) | def _make_init(): function _make_operator (line 118) | def _make_operator(name, func): function _is_comparable_to (line 141) | def _is_comparable_to(self, other): function _check_same_type (line 151) | def _check_same_type(self, other): FILE: lib/spack/spack/vendor/attr/_cmp.pyi function cmp_using (line 5) | def cmp_using( FILE: lib/spack/spack/vendor/attr/_compat.py function just_warn (line 28) | def just_warn(*args, **kw): class _AnnotationExtractor (line 38) | class _AnnotationExtractor: method __init__ (line 46) | def __init__(self, callable): method get_first_param_type (line 52) | def get_first_param_type(self): method get_return_type (line 65) | def get_return_type(self): function make_set_closure_cell (line 78) | def make_set_closure_cell(): FILE: lib/spack/spack/vendor/attr/_config.py function set_run_validators (line 9) | def set_run_validators(run): function get_run_validators (line 23) | def get_run_validators(): FILE: lib/spack/spack/vendor/attr/_funcs.py function asdict (line 10) | def asdict( function _asdict_anything (line 117) | def _asdict_anything( function astuple (line 190) | def astuple( function has (line 290) | def has(cls): function assoc (line 302) | def assoc(inst, **changes): function evolve (line 342) | def evolve(inst, **changes): function resolve_types (line 371) | def resolve_types(cls, globalns=None, localns=None, attribs=None): FILE: lib/spack/spack/vendor/attr/_make.py class _Nothing (line 56) | class _Nothing: method __new__ (line 67) | def __new__(cls): method __repr__ (line 72) | def __repr__(self): method __bool__ (line 75) | def __bool__(self): class _CacheHashWrapper (line 85) | class _CacheHashWrapper(int): method __reduce__ (line 97) | def __reduce__(self, _none_constructor=type(None), _args=()): function attrib (line 101) | def attrib( function _compile_and_eval (line 297) | def _compile_and_eval(script, globs, locs=None, filename=""): function _make_method (line 305) | def _make_method(name, script, filename, globs): function _make_attr_tuple_class (line 334) | def _make_attr_tuple_class(cls_name, attr_names): function _is_class_var (line 376) | def _is_class_var(annot): function _has_own_attribute (line 393) | def _has_own_attribute(cls, attrib_name): function _get_annotations (line 411) | def _get_annotations(cls): function _counter_getter (line 421) | def _counter_getter(e): function _collect_base_attrs (line 428) | def _collect_base_attrs(cls, taken_attr_names): function _collect_base_attrs_broken (line 459) | def _collect_base_attrs_broken(cls, taken_attr_names): function _transform_attrs (line 487) | def _transform_attrs( function _frozen_setattrs (line 598) | def _frozen_setattrs(self, name, value): function _frozen_setattrs (line 613) | def _frozen_setattrs(self, name, value): function _frozen_delattrs (line 620) | def _frozen_delattrs(self, name): class _ClassBuilder (line 627) | class _ClassBuilder: method __init__ (line 652) | def __init__( method __repr__ (line 737) | def __repr__(self): method build_class (line 740) | def build_class(self): method _patch_original_class (line 751) | def _patch_original_class(self): method _create_slots_class (line 789) | def _create_slots_class(self): method add_repr (line 895) | def add_repr(self, ns): method add_str (line 901) | def add_str(self): method _make_getstate_setstate (line 914) | def _make_getstate_setstate(self): method make_unhashable (line 948) | def make_unhashable(self): method add_hash (line 952) | def add_hash(self): method add_init (line 964) | def add_init(self): method add_match_args (line 983) | def add_match_args(self): method add_attrs_init (line 990) | def add_attrs_init(self): method add_eq (line 1009) | def add_eq(self): method add_order (line 1019) | def add_order(self): method add_setattr (line 1029) | def add_setattr(self): method _add_method_dunders (line 1065) | def _add_method_dunders(self, method): function _determine_attrs_eq_order (line 1091) | def _determine_attrs_eq_order(cmp, eq, order, default_eq): function _determine_attrib_eq_order (line 1117) | def _determine_attrib_eq_order(cmp, eq, order, default_eq): function _determine_whether_to_implement (line 1158) | def _determine_whether_to_implement( function attrs (line 1184) | def attrs( function _has_frozen_base_class (line 1595) | def _has_frozen_base_class(cls): function _generate_unique_filename (line 1603) | def _generate_unique_filename(cls, func_name): function _make_hash (line 1615) | def _make_hash(cls, attrs, frozen, cache_hash): function _add_hash (line 1689) | def _add_hash(cls, attrs): function _make_ne (line 1697) | def _make_ne(): function _make_eq (line 1716) | def _make_eq(cls, attrs): function _make_order (line 1768) | def _make_order(cls, attrs): function _add_eq (line 1824) | def _add_eq(cls, attrs=None): function _make_repr (line 1839) | def _make_repr(attrs, ns, cls): function _make_repr (line 1903) | def _make_repr(attrs, ns, _): function _add_repr (line 1959) | def _add_repr(cls, ns=None, attrs=None): function fields (line 1970) | def fields(cls): function fields_dict (line 1998) | def fields_dict(cls): function validate (line 2026) | def validate(inst): function _is_slot_cls (line 2043) | def _is_slot_cls(cls): function _is_slot_attr (line 2047) | def _is_slot_attr(a_name, base_attr_map): function _make_init (line 2054) | def _make_init( function _setattr (line 2128) | def _setattr(attr_name, value_var, has_on_setattr): function _setattr_with_converter (line 2135) | def _setattr_with_converter(attr_name, value_var, has_on_setattr): function _assign (line 2147) | def _assign(attr_name, value, has_on_setattr): function _assign_with_converter (line 2158) | def _assign_with_converter(attr_name, value_var, has_on_setattr): function _attrs_to_init_script (line 2173) | def _attrs_to_init_script( class Attribute (line 2446) | class Attribute: method __init__ (line 2499) | def __init__( method __setattr__ (line 2552) | def __setattr__(self, name, value): method from_counting_attr (line 2556) | def from_counting_attr(cls, name, ca, type=None): method evolve (line 2587) | def evolve(self, **changes): method __getstate__ (line 2605) | def __getstate__(self): method __setstate__ (line 2614) | def __setstate__(self, state): method _setattrs (line 2620) | def _setattrs(self, name_values_pairs): class _CountingAttr (line 2659) | class _CountingAttr: method __init__ (line 2732) | def __init__( method validator (line 2767) | def validator(self, meth): method default (line 2781) | def default(self, meth): class Factory (line 2802) | class Factory: method __init__ (line 2819) | def __init__(self, factory, takes_self=False): method __getstate__ (line 2827) | def __getstate__(self): method __setstate__ (line 2833) | def __setstate__(self, state): function make_class (line 2860) | def make_class(name, attrs, bases=(object,), **attributes_arguments): class _AndValidator (line 2937) | class _AndValidator: method __call__ (line 2944) | def __call__(self, inst, attr, value): function and_ (line 2949) | def and_(*validators): function pipe (line 2970) | def pipe(*converters): FILE: lib/spack/spack/vendor/attr/_next_gen.py function define (line 24) | def define( function field (line 158) | def field( function asdict (line 195) | def asdict(inst, *, recurse=True, filter=None, value_serializer=None): function astuple (line 211) | def astuple(inst, *, recurse=True, filter=None): FILE: lib/spack/spack/vendor/attr/_version_info.py class VersionInfo (line 12) | class VersionInfo: method _from_version_string (line 39) | def _from_version_string(cls, s): method _ensure_tuple (line 51) | def _ensure_tuple(self, other): method __eq__ (line 70) | def __eq__(self, other): method __lt__ (line 78) | def __lt__(self, other): FILE: lib/spack/spack/vendor/attr/_version_info.pyi class VersionInfo (line 1) | class VersionInfo: method year (line 3) | def year(self) -> int: ... method minor (line 5) | def minor(self) -> int: ... method micro (line 7) | def micro(self) -> int: ... method releaselevel (line 9) | def releaselevel(self) -> str: ... FILE: lib/spack/spack/vendor/attr/converters.py function optional (line 22) | def optional(converter): function default_if_none (line 54) | def default_if_none(default=NOTHING, factory=None): function to_bool (line 106) | def to_bool(val): FILE: lib/spack/spack/vendor/attr/converters.pyi function pipe (line 7) | def pipe(*validators: _ConverterType) -> _ConverterType: ... function optional (line 8) | def optional(converter: _ConverterType) -> _ConverterType: ... function default_if_none (line 10) | def default_if_none(default: _T) -> _ConverterType: ... function default_if_none (line 12) | def default_if_none(*, factory: Callable[[], _T]) -> _ConverterType: ... function to_bool (line 13) | def to_bool(val: str) -> bool: ... FILE: lib/spack/spack/vendor/attr/exceptions.py class FrozenError (line 4) | class FrozenError(AttributeError): class FrozenInstanceError (line 19) | class FrozenInstanceError(FrozenError): class FrozenAttributeError (line 27) | class FrozenAttributeError(FrozenError): class AttrsAttributeNotFoundError (line 35) | class AttrsAttributeNotFoundError(ValueError): class NotAnAttrsClassError (line 43) | class NotAnAttrsClassError(ValueError): class DefaultAlreadySetError (line 51) | class DefaultAlreadySetError(RuntimeError): class UnannotatedAttributeError (line 60) | class UnannotatedAttributeError(RuntimeError): class PythonTooOldError (line 69) | class PythonTooOldError(RuntimeError): class NotCallableError (line 78) | class NotCallableError(TypeError): method __init__ (line 86) | def __init__(self, msg, value): method __str__ (line 91) | def __str__(self): FILE: lib/spack/spack/vendor/attr/exceptions.pyi class FrozenError (line 3) | class FrozenError(AttributeError): class FrozenInstanceError (line 6) | class FrozenInstanceError(FrozenError): ... class FrozenAttributeError (line 7) | class FrozenAttributeError(FrozenError): ... class AttrsAttributeNotFoundError (line 8) | class AttrsAttributeNotFoundError(ValueError): ... class NotAnAttrsClassError (line 9) | class NotAnAttrsClassError(ValueError): ... class DefaultAlreadySetError (line 10) | class DefaultAlreadySetError(RuntimeError): ... class UnannotatedAttributeError (line 11) | class UnannotatedAttributeError(RuntimeError): ... class PythonTooOldError (line 12) | class PythonTooOldError(RuntimeError): ... class NotCallableError (line 14) | class NotCallableError(TypeError): method __init__ (line 17) | def __init__(self, msg: str, value: Any) -> None: ... FILE: lib/spack/spack/vendor/attr/filters.py function _split_what (line 10) | def _split_what(what): function include (line 20) | def include(*what): function exclude (line 37) | def exclude(*what): FILE: lib/spack/spack/vendor/attr/filters.pyi function include (line 5) | def include(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ... function exclude (line 6) | def exclude(*what: Union[type, Attribute[Any]]) -> _FilterType[Any]: ... FILE: lib/spack/spack/vendor/attr/setters.py function pipe (line 12) | def pipe(*setters): function frozen (line 30) | def frozen(_, __, ___): function validate (line 39) | def validate(instance, attrib, new_value): function convert (line 57) | def convert(instance, attrib, new_value): FILE: lib/spack/spack/vendor/attr/setters.pyi function frozen (line 7) | def frozen( function pipe (line 10) | def pipe(*setters: _OnSetAttrType) -> _OnSetAttrType: ... function validate (line 11) | def validate(instance: Any, attribute: Attribute[_T], new_value: _T) -> ... function convert (line 14) | def convert( FILE: lib/spack/spack/vendor/attr/validators.py function set_disabled (line 46) | def set_disabled(disabled): function get_disabled (line 64) | def get_disabled(): function disabled (line 77) | def disabled(): class _InstanceOfValidator (line 95) | class _InstanceOfValidator: method __call__ (line 98) | def __call__(self, inst, attr, value): method __repr__ (line 116) | def __repr__(self): function instance_of (line 122) | def instance_of(type): class _MatchesReValidator (line 139) | class _MatchesReValidator: method __call__ (line 143) | def __call__(self, inst, attr, value): method __repr__ (line 158) | def __repr__(self): function matches_re (line 164) | def matches_re(regex, flags=0, func=None): class _ProvidesValidator (line 213) | class _ProvidesValidator: method __call__ (line 216) | def __call__(self, inst, attr, value): method __repr__ (line 231) | def __repr__(self): function provides (line 237) | def provides(interface): class _OptionalValidator (line 255) | class _OptionalValidator: method __call__ (line 258) | def __call__(self, inst, attr, value): method __repr__ (line 264) | def __repr__(self): function optional (line 270) | def optional(validator): class _InValidator (line 289) | class _InValidator: method __call__ (line 292) | def __call__(self, inst, attr, value): method __repr__ (line 308) | def __repr__(self): function in_ (line 314) | def in_(options): class _IsCallableValidator (line 337) | class _IsCallableValidator: method __call__ (line 338) | def __call__(self, inst, attr, value): method __repr__ (line 354) | def __repr__(self): function is_callable (line 358) | def is_callable(): class _DeepIterable (line 374) | class _DeepIterable: method __call__ (line 380) | def __call__(self, inst, attr, value): method __repr__ (line 390) | def __repr__(self): function deep_iterable (line 405) | def deep_iterable(member_validator, iterable_validator=None): class _DeepMapping (line 423) | class _DeepMapping: method __call__ (line 428) | def __call__(self, inst, attr, value): method __repr__ (line 439) | def __repr__(self): function deep_mapping (line 445) | def deep_mapping(key_validator, value_validator, mapping_validator=None): class _NumberValidator (line 462) | class _NumberValidator: method __call__ (line 467) | def __call__(self, inst, attr, value): method __repr__ (line 481) | def __repr__(self): function lt (line 487) | def lt(val): function le (line 499) | def le(val): function ge (line 511) | def ge(val): function gt (line 523) | def gt(val): class _MaxLengthValidator (line 536) | class _MaxLengthValidator: method __call__ (line 539) | def __call__(self, inst, attr, value): method __repr__ (line 550) | def __repr__(self): function max_len (line 554) | def max_len(length): class _MinLengthValidator (line 567) | class _MinLengthValidator: method __call__ (line 570) | def __call__(self, inst, attr, value): method __repr__ (line 581) | def __repr__(self): function min_len (line 585) | def min_len(length): FILE: lib/spack/spack/vendor/attr/validators.pyi function set_disabled (line 32) | def set_disabled(run: bool) -> None: ... function get_disabled (line 33) | def get_disabled() -> bool: ... function disabled (line 34) | def disabled() -> ContextManager[None]: ... function instance_of (line 39) | def instance_of(type: Type[_T]) -> _ValidatorType[_T]: ... function instance_of (line 41) | def instance_of(type: Tuple[Type[_T]]) -> _ValidatorType[_T]: ... function instance_of (line 43) | def instance_of( function instance_of (line 47) | def instance_of( function instance_of (line 51) | def instance_of(type: Tuple[type, ...]) -> _ValidatorType[Any]: ... function provides (line 52) | def provides(interface: Any) -> _ValidatorType[Any]: ... function optional (line 53) | def optional( function in_ (line 56) | def in_(options: Container[_T]) -> _ValidatorType[_T]: ... function and_ (line 57) | def and_(*validators: _ValidatorType[_T]) -> _ValidatorType[_T]: ... function matches_re (line 58) | def matches_re( function deep_iterable (line 65) | def deep_iterable( function deep_mapping (line 69) | def deep_mapping( function is_callable (line 74) | def is_callable() -> _ValidatorType[_T]: ... function lt (line 75) | def lt(val: _T) -> _ValidatorType[_T]: ... function le (line 76) | def le(val: _T) -> _ValidatorType[_T]: ... function ge (line 77) | def ge(val: _T) -> _ValidatorType[_T]: ... function gt (line 78) | def gt(val: _T) -> _ValidatorType[_T]: ... function max_len (line 79) | def max_len(length: int) -> _ValidatorType[_T]: ... function min_len (line 80) | def min_len(length: int) -> _ValidatorType[_T]: ... FILE: lib/spack/spack/vendor/attrs/__init__.pyi function asdict (line 47) | def asdict( function astuple (line 60) | def astuple( FILE: lib/spack/spack/vendor/distro/distro.py class VersionDict (line 61) | class VersionDict(TypedDict): class InfoDict (line 67) | class InfoDict(TypedDict): function linux_distribution (line 157) | def linux_distribution(full_distribution_name: bool = True) -> Tuple[str... function id (line 200) | def id() -> str: function name (line 283) | def name(pretty: bool = False) -> str: function version (line 322) | def version(pretty: bool = False, best: bool = False) -> str: function version_parts (line 370) | def version_parts(best: bool = False) -> Tuple[str, str, str]: function major_version (line 387) | def major_version(best: bool = False) -> str: function minor_version (line 400) | def minor_version(best: bool = False) -> str: function build_number (line 413) | def build_number(best: bool = False) -> str: function like (line 426) | def like() -> str: function codename (line 443) | def codename() -> str: function info (line 467) | def info(pretty: bool = False, best: bool = False) -> InfoDict: function os_release_info (line 511) | def os_release_info() -> Dict[str, str]: function lsb_release_info (line 521) | def lsb_release_info() -> Dict[str, str]: function distro_release_info (line 532) | def distro_release_info() -> Dict[str, str]: function uname_info (line 542) | def uname_info() -> Dict[str, str]: function os_release_attr (line 550) | def os_release_attr(attribute: str) -> str: function lsb_release_attr (line 569) | def lsb_release_attr(attribute: str) -> str: function distro_release_attr (line 589) | def distro_release_attr(attribute: str) -> str: function uname_attr (line 608) | def uname_attr(attribute: str) -> str: class cached_property (line 629) | class cached_property: # type: ignore method __init__ (line 635) | def __init__(self, f: Callable[[Any], Any]) -> None: method __get__ (line 639) | def __get__(self, obj: Any, owner: Type[Any]) -> Any: class LinuxDistribution (line 645) | class LinuxDistribution: method __init__ (line 663) | def __init__( method __repr__ (line 796) | def __repr__(self) -> str: method linux_distribution (line 813) | def linux_distribution( method id (line 829) | def id(self) -> str: method name (line 857) | def name(self, pretty: bool = False) -> str: method version (line 880) | def version(self, pretty: bool = False, best: bool = False) -> str: method version_parts (line 922) | def version_parts(self, best: bool = False) -> Tuple[str, str, str]: method major_version (line 938) | def major_version(self, best: bool = False) -> str: method minor_version (line 946) | def minor_version(self, best: bool = False) -> str: method build_number (line 954) | def build_number(self, best: bool = False) -> str: method like (line 962) | def like(self) -> str: method codename (line 970) | def codename(self) -> str: method info (line 987) | def info(self, pretty: bool = False, best: bool = False) -> InfoDict: method os_release_info (line 1006) | def os_release_info(self) -> Dict[str, str]: method lsb_release_info (line 1015) | def lsb_release_info(self) -> Dict[str, str]: method distro_release_info (line 1025) | def distro_release_info(self) -> Dict[str, str]: method uname_info (line 1035) | def uname_info(self) -> Dict[str, str]: method oslevel_info (line 1044) | def oslevel_info(self) -> str: method os_release_attr (line 1050) | def os_release_attr(self, attribute: str) -> str: method lsb_release_attr (line 1059) | def lsb_release_attr(self, attribute: str) -> str: method distro_release_attr (line 1068) | def distro_release_attr(self, attribute: str) -> str: method uname_attr (line 1077) | def uname_attr(self, attribute: str) -> str: method _os_release_info (line 1087) | def _os_release_info(self) -> Dict[str, str]: method _parse_os_release_content (line 1100) | def _parse_os_release_content(lines: TextIO) -> Dict[str, str]: method _lsb_release_info (line 1150) | def _lsb_release_info(self) -> Dict[str, str]: method _parse_lsb_release_content (line 1169) | def _parse_lsb_release_content(lines: Iterable[str]) -> Dict[str, str]: method _uname_info (line 1193) | def _uname_info(self) -> Dict[str, str]: method _oslevel_info (line 1205) | def _oslevel_info(self) -> str: method _debian_version (line 1215) | def _debian_version(self) -> str: method _parse_uname_content (line 1225) | def _parse_uname_content(lines: Sequence[str]) -> Dict[str, str]: method _to_str (line 1244) | def _to_str(bytestring: bytes) -> str: method _distro_release_info (line 1249) | def _distro_release_info(self) -> Dict[str, str]: method _parse_distro_release_file (line 1309) | def _parse_distro_release_file(self, filepath: str) -> Dict[str, str]: method _parse_distro_release_content (line 1332) | def _parse_distro_release_content(line: str) -> Dict[str, str]: function main (line 1360) | def main() -> None: FILE: lib/spack/spack/vendor/jinja2/async_utils.py function async_variant (line 11) | def async_variant(normal_func): # type: ignore function auto_await (line 50) | async def auto_await(value: t.Union[t.Awaitable["V"], "V"]) -> "V": function auto_aiter (line 61) | async def auto_aiter( function auto_to_list (line 72) | async def auto_to_list( FILE: lib/spack/spack/vendor/jinja2/bccache.py class _MemcachedClient (line 25) | class _MemcachedClient(te.Protocol): method get (line 26) | def get(self, key: str) -> bytes: method set (line 29) | def set(self, key: str, value: bytes, timeout: t.Optional[int] = None)... class Bucket (line 44) | class Bucket: method __init__ (line 53) | def __init__(self, environment: "Environment", key: str, checksum: str... method reset (line 59) | def reset(self) -> None: method load_bytecode (line 63) | def load_bytecode(self, f: t.BinaryIO) -> None: method write_bytecode (line 82) | def write_bytecode(self, f: t.BinaryIO) -> None: method bytecode_from_string (line 90) | def bytecode_from_string(self, string: bytes) -> None: method bytecode_to_string (line 94) | def bytecode_to_string(self) -> bytes: class BytecodeCache (line 101) | class BytecodeCache: method load_bytecode (line 130) | def load_bytecode(self, bucket: Bucket) -> None: method dump_bytecode (line 137) | def dump_bytecode(self, bucket: Bucket) -> None: method clear (line 144) | def clear(self) -> None: method get_cache_key (line 150) | def get_cache_key( method get_source_checksum (line 161) | def get_source_checksum(self, source: str) -> str: method get_bucket (line 165) | def get_bucket( method set_bucket (line 181) | def set_bucket(self, bucket: Bucket) -> None: class FileSystemBytecodeCache (line 186) | class FileSystemBytecodeCache(BytecodeCache): method __init__ (line 204) | def __init__( method _get_default_cache_dir (line 212) | def _get_default_cache_dir(self) -> str: method _get_cache_filename (line 259) | def _get_cache_filename(self, bucket: Bucket) -> str: method load_bytecode (line 262) | def load_bytecode(self, bucket: Bucket) -> None: method dump_bytecode (line 269) | def dump_bytecode(self, bucket: Bucket) -> None: method clear (line 273) | def clear(self) -> None: class MemcachedBytecodeCache (line 287) | class MemcachedBytecodeCache(BytecodeCache): method __init__ (line 332) | def __init__( method load_bytecode (line 344) | def load_bytecode(self, bucket: Bucket) -> None: method dump_bytecode (line 353) | def dump_bytecode(self, bucket: Bucket) -> None: FILE: lib/spack/spack/vendor/jinja2/compiler.py function optimizeconst (line 43) | def optimizeconst(f: F) -> F: function _make_binop (line 59) | def _make_binop(op: str) -> t.Callable[["CodeGenerator", nodes.BinExpr, ... function _make_unop (line 81) | def _make_unop( function generate (line 101) | def generate( function has_safe_repr (line 125) | def has_safe_repr(value: t.Any) -> bool: function find_undeclared (line 142) | def find_undeclared( class MacroRef (line 157) | class MacroRef: method __init__ (line 158) | def __init__(self, node: t.Union[nodes.Macro, nodes.CallBlock]) -> None: class Frame (line 165) | class Frame: method __init__ (line 168) | def __init__( method copy (line 219) | def copy(self) -> "Frame": method inner (line 226) | def inner(self, isolated: bool = False) -> "Frame": method soft (line 232) | def soft(self) -> "Frame": class VisitorExit (line 248) | class VisitorExit(RuntimeError): class DependencyFinderVisitor (line 252) | class DependencyFinderVisitor(NodeVisitor): method __init__ (line 255) | def __init__(self) -> None: method visit_Filter (line 259) | def visit_Filter(self, node: nodes.Filter) -> None: method visit_Test (line 263) | def visit_Test(self, node: nodes.Test) -> None: method visit_Block (line 267) | def visit_Block(self, node: nodes.Block) -> None: class UndeclaredNameVisitor (line 271) | class UndeclaredNameVisitor(NodeVisitor): method __init__ (line 277) | def __init__(self, names: t.Iterable[str]) -> None: method visit_Name (line 281) | def visit_Name(self, node: nodes.Name) -> None: method visit_Block (line 289) | def visit_Block(self, node: nodes.Block) -> None: class CompilerExit (line 293) | class CompilerExit(Exception): class CodeGenerator (line 300) | class CodeGenerator(NodeVisitor): method __init__ (line 301) | def __init__( method optimized (line 375) | def optimized(self) -> bool: method fail (line 380) | def fail(self, msg: str, lineno: int) -> "te.NoReturn": method temporary_identifier (line 384) | def temporary_identifier(self) -> str: method buffer (line 389) | def buffer(self, frame: Frame) -> None: method return_buffer_contents (line 394) | def return_buffer_contents( method indent (line 414) | def indent(self) -> None: method outdent (line 418) | def outdent(self, step: int = 1) -> None: method start_write (line 422) | def start_write(self, frame: Frame, node: t.Optional[nodes.Node] = Non... method end_write (line 429) | def end_write(self, frame: Frame) -> None: method simple_write (line 434) | def simple_write( method blockvisit (line 442) | def blockvisit(self, nodes: t.Iterable[nodes.Node], frame: Frame) -> N... method write (line 453) | def write(self, x: str) -> None: method writeline (line 467) | def writeline( method newline (line 474) | def newline(self, node: t.Optional[nodes.Node] = None, extra: int = 0)... method signature (line 481) | def signature( method pull_dependencies (line 538) | def pull_dependencies(self, nodes: t.Iterable[nodes.Node]) -> None: method enter_frame (line 581) | def enter_frame(self, frame: Frame) -> None: method leave_frame (line 597) | def leave_frame(self, frame: Frame, with_python_scope: bool = False) -... method choose_async (line 605) | def choose_async(self, async_value: str = "async ", sync_value: str = ... method func (line 608) | def func(self, name: str) -> str: method macro_body (line 611) | def macro_body( method macro_def (line 694) | def macro_def(self, macro_ref: MacroRef, frame: Frame) -> None: method position (line 706) | def position(self, node: nodes.Node) -> str: method dump_local_context (line 713) | def dump_local_context(self, frame: Frame) -> str: method write_commons (line 720) | def write_commons(self) -> None: method push_parameter_definitions (line 732) | def push_parameter_definitions(self, frame: Frame) -> None: method pop_parameter_definitions (line 741) | def pop_parameter_definitions(self) -> None: method mark_parameter_stored (line 745) | def mark_parameter_stored(self, target: str) -> None: method push_context_reference (line 752) | def push_context_reference(self, target: str) -> None: method pop_context_reference (line 755) | def pop_context_reference(self) -> None: method get_context_ref (line 758) | def get_context_ref(self) -> str: method get_resolve_func (line 761) | def get_resolve_func(self) -> str: method derive_context (line 767) | def derive_context(self, frame: Frame) -> str: method parameter_is_undeclared (line 770) | def parameter_is_undeclared(self, target: str) -> bool: method push_assign_tracking (line 776) | def push_assign_tracking(self) -> None: method pop_assign_tracking (line 780) | def pop_assign_tracking(self, frame: Frame) -> None: method visit_Template (line 825) | def visit_Template( method visit_Block (line 944) | def visit_Block(self, node: nodes.Block, frame: Frame) -> None: method visit_Extends (line 987) | def visit_Extends(self, node: nodes.Extends, frame: Frame) -> None: method visit_Include (line 1030) | def visit_Include(self, node: nodes.Include, frame: Frame) -> None: method _import_common (line 1081) | def _import_common( method visit_Import (line 1096) | def visit_Import(self, node: nodes.Import, frame: Frame) -> None: method visit_FromImport (line 1107) | def visit_FromImport(self, node: nodes.FromImport, frame: Frame) -> None: method visit_For (line 1157) | def visit_For(self, node: nodes.For, frame: Frame) -> None: method visit_If (line 1296) | def visit_If(self, node: nodes.If, frame: Frame) -> None: method visit_Macro (line 1317) | def visit_Macro(self, node: nodes.Macro, frame: Frame) -> None: method visit_CallBlock (line 1327) | def visit_CallBlock(self, node: nodes.CallBlock, frame: Frame) -> None: method visit_FilterBlock (line 1335) | def visit_FilterBlock(self, node: nodes.FilterBlock, frame: Frame) -> ... method visit_With (line 1346) | def visit_With(self, node: nodes.With, frame: Frame) -> None: method visit_ExprStmt (line 1358) | def visit_ExprStmt(self, node: nodes.ExprStmt, frame: Frame) -> None: class _FinalizeInfo (line 1362) | class _FinalizeInfo(t.NamedTuple): method _default_finalize (line 1367) | def _default_finalize(value: t.Any) -> t.Any: method _make_finalize (line 1376) | def _make_finalize(self) -> _FinalizeInfo: method _output_const_repr (line 1424) | def _output_const_repr(self, group: t.Iterable[t.Any]) -> str: method _output_child_to_const (line 1431) | def _output_child_to_const( method _output_child_pre (line 1452) | def _output_child_pre( method _output_child_post (line 1468) | def _output_child_post( method visit_Output (line 1479) | def visit_Output(self, node: nodes.Output, frame: Frame) -> None: method visit_Assign (line 1558) | def visit_Assign(self, node: nodes.Assign, frame: Frame) -> None: method visit_AssignBlock (line 1566) | def visit_AssignBlock(self, node: nodes.AssignBlock, frame: Frame) -> ... method visit_Name (line 1590) | def visit_Name(self, node: nodes.Name, frame: Frame) -> None: method visit_NSRef (line 1615) | def visit_NSRef(self, node: nodes.NSRef, frame: Frame) -> None: method visit_Const (line 1629) | def visit_Const(self, node: nodes.Const, frame: Frame) -> None: method visit_TemplateData (line 1636) | def visit_TemplateData(self, node: nodes.TemplateData, frame: Frame) -... method visit_Tuple (line 1644) | def visit_Tuple(self, node: nodes.Tuple, frame: Frame) -> None: method visit_List (line 1653) | def visit_List(self, node: nodes.List, frame: Frame) -> None: method visit_Dict (line 1661) | def visit_Dict(self, node: nodes.Dict, frame: Frame) -> None: method visit_Concat (line 1685) | def visit_Concat(self, node: nodes.Concat, frame: Frame) -> None: method visit_Compare (line 1699) | def visit_Compare(self, node: nodes.Compare, frame: Frame) -> None: method visit_Operand (line 1706) | def visit_Operand(self, node: nodes.Operand, frame: Frame) -> None: method visit_Getattr (line 1711) | def visit_Getattr(self, node: nodes.Getattr, frame: Frame) -> None: method visit_Getitem (line 1723) | def visit_Getitem(self, node: nodes.Getitem, frame: Frame) -> None: method visit_Slice (line 1743) | def visit_Slice(self, node: nodes.Slice, frame: Frame) -> None: method _filter_test_common (line 1754) | def _filter_test_common( method visit_Filter (line 1796) | def visit_Filter(self, node: nodes.Filter, frame: Frame) -> None: method visit_Test (line 1813) | def visit_Test(self, node: nodes.Test, frame: Frame) -> None: method visit_CondExpr (line 1818) | def visit_CondExpr(self, node: nodes.CondExpr, frame: Frame) -> None: method visit_Call (line 1841) | def visit_Call( method visit_Keyword (line 1863) | def visit_Keyword(self, node: nodes.Keyword, frame: Frame) -> None: method visit_MarkSafe (line 1869) | def visit_MarkSafe(self, node: nodes.MarkSafe, frame: Frame) -> None: method visit_MarkSafeIfAutoescape (line 1874) | def visit_MarkSafeIfAutoescape( method visit_EnvironmentAttribute (line 1881) | def visit_EnvironmentAttribute( method visit_ExtensionAttribute (line 1886) | def visit_ExtensionAttribute( method visit_ImportedName (line 1891) | def visit_ImportedName(self, node: nodes.ImportedName, frame: Frame) -... method visit_InternalName (line 1894) | def visit_InternalName(self, node: nodes.InternalName, frame: Frame) -... method visit_ContextReference (line 1897) | def visit_ContextReference( method visit_DerivedContextReference (line 1902) | def visit_DerivedContextReference( method visit_Continue (line 1907) | def visit_Continue(self, node: nodes.Continue, frame: Frame) -> None: method visit_Break (line 1910) | def visit_Break(self, node: nodes.Break, frame: Frame) -> None: method visit_Scope (line 1913) | def visit_Scope(self, node: nodes.Scope, frame: Frame) -> None: method visit_OverlayScope (line 1920) | def visit_OverlayScope(self, node: nodes.OverlayScope, frame: Frame) -... method visit_EvalContextModifier (line 1934) | def visit_EvalContextModifier( method visit_ScopedEvalContextModifier (line 1947) | def visit_ScopedEvalContextModifier( FILE: lib/spack/spack/vendor/jinja2/debug.py function rewrite_traceback_stack (line 15) | def rewrite_traceback_stack(source: t.Optional[str] = None) -> BaseExcep... function fake_traceback (line 76) | def fake_traceback( # type: ignore function get_template_locals (line 150) | def get_template_locals(real_locals: t.Mapping[str, t.Any]) -> t.Dict[st... function tb_set_next (line 196) | def tb_set_next( function tb_set_next (line 209) | def tb_set_next( function tb_set_next (line 217) | def tb_set_next( class _CTraceback (line 234) | class _CTraceback(ctypes.Structure): function tb_set_next (line 242) | def tb_set_next( FILE: lib/spack/spack/vendor/jinja2/environment.py function get_spontaneous_environment (line 68) | def get_spontaneous_environment(cls: t.Type[_env_bound], *args: t.Any) -... function create_cache (line 81) | def create_cache( function copy_cache (line 94) | def copy_cache( function load_extensions (line 107) | def load_extensions( function _environment_config_check (line 125) | def _environment_config_check(environment: "Environment") -> "Environment": class Environment (line 143) | class Environment: method __init__ (line 291) | def __init__( method add_extension (line 367) | def add_extension(self, extension: t.Union[str, t.Type["Extension"]]) ... method extend (line 374) | def extend(self, **attributes: t.Any) -> None: method overlay (line 383) | def overlay( method lexer (line 442) | def lexer(self) -> Lexer: method iter_extensions (line 446) | def iter_extensions(self) -> t.Iterator["Extension"]: method getitem (line 450) | def getitem( method getattr (line 469) | def getattr(self, obj: t.Any, attribute: str) -> t.Any: method _filter_test_common (line 482) | def _filter_test_common( method call_filter (line 536) | def call_filter( method call_test (line 557) | def call_test( method parse (line 583) | def parse( method _parse (line 602) | def _parse( method lex (line 608) | def lex( method preprocess (line 629) | def preprocess( method _tokenize (line 645) | def _tokenize( method _generate (line 666) | def _generate( method _compile (line 687) | def _compile(self, source: str, filename: str) -> CodeType: method compile (line 696) | def compile( # type: ignore method compile (line 707) | def compile( method compile (line 718) | def compile( method compile_expression (line 759) | def compile_expression( method compile_templates (line 804) | def compile_templates( method list_templates (line 882) | def list_templates( method handle_exception (line 919) | def handle_exception(self, source: t.Optional[str] = None) -> "te.NoRe... method join_path (line 927) | def join_path(self, template: str, parent: str) -> str: method _load_template (line 940) | def _load_template( method get_template (line 965) | def get_template( method select_template (line 1000) | def select_template( method get_or_select_template (line 1054) | def get_or_select_template( method from_string (line 1073) | def from_string( method make_globals (line 1094) | def make_globals( class Template (line 1117) | class Template: method __new__ (line 1148) | def __new__( method from_code (line 1198) | def from_code( method from_module_dict (line 1215) | def from_module_dict( method _from_namespace (line 1229) | def _from_namespace( method render (line 1256) | def render(self, *args: t.Any, **kwargs: t.Any) -> str: method render_async (line 1293) | async def render_async(self, *args: t.Any, **kwargs: t.Any) -> str: method stream (line 1314) | def stream(self, *args: t.Any, **kwargs: t.Any) -> "TemplateStream": method generate (line 1320) | def generate(self, *args: t.Any, **kwargs: t.Any) -> t.Iterator[str]: method generate_async (line 1350) | async def generate_async( method new_context (line 1369) | def new_context( method make_module (line 1386) | def make_module( method make_module_async (line 1401) | async def make_module_async( method _get_default_module (line 1418) | def _get_default_module(self, ctx: t.Optional[Context] = None) -> "Tem... method _get_default_module_async (line 1444) | async def _get_default_module_async( method module (line 1459) | def module(self) -> "TemplateModule": method get_corresponding_lineno (line 1474) | def get_corresponding_lineno(self, lineno: int) -> int: method is_up_to_date (line 1484) | def is_up_to_date(self) -> bool: method debug_info (line 1491) | def debug_info(self) -> t.List[t.Tuple[int, int]]: method __repr__ (line 1501) | def __repr__(self) -> str: class TemplateModule (line 1509) | class TemplateModule: method __init__ (line 1515) | def __init__( method __html__ (line 1535) | def __html__(self) -> Markup: method __str__ (line 1538) | def __str__(self) -> str: method __repr__ (line 1541) | def __repr__(self) -> str: class TemplateExpression (line 1549) | class TemplateExpression: method __init__ (line 1555) | def __init__(self, template: Template, undefined_to_none: bool) -> None: method __call__ (line 1559) | def __call__(self, *args: t.Any, **kwargs: t.Any) -> t.Optional[t.Any]: class TemplateStream (line 1568) | class TemplateStream: method __init__ (line 1579) | def __init__(self, gen: t.Iterator[str]) -> None: method dump (line 1583) | def dump( method disable_buffering (line 1620) | def disable_buffering(self) -> None: method _buffered_generator (line 1625) | def _buffered_generator(self, size: int) -> t.Iterator[str]: method enable_buffering (line 1644) | def enable_buffering(self, size: int = 5) -> None: method __iter__ (line 1652) | def __iter__(self) -> "TemplateStream": method __next__ (line 1655) | def __next__(self) -> str: FILE: lib/spack/spack/vendor/jinja2/exceptions.py class TemplateError (line 7) | class TemplateError(Exception): method __init__ (line 10) | def __init__(self, message: t.Optional[str] = None) -> None: method message (line 14) | def message(self) -> t.Optional[str]: class TemplateNotFound (line 18) | class TemplateNotFound(IOError, LookupError, TemplateError): method __init__ (line 30) | def __init__( method __str__ (line 49) | def __str__(self) -> str: class TemplatesNotFound (line 53) | class TemplatesNotFound(TemplateNotFound): method __init__ (line 65) | def __init__( class TemplateSyntaxError (line 88) | class TemplateSyntaxError(TemplateError): method __init__ (line 91) | def __init__( method __str__ (line 108) | def __str__(self) -> str: method __reduce__ (line 131) | def __reduce__(self): # type: ignore class TemplateAssertionError (line 139) | class TemplateAssertionError(TemplateSyntaxError): class TemplateRuntimeError (line 147) | class TemplateRuntimeError(TemplateError): class UndefinedError (line 153) | class UndefinedError(TemplateRuntimeError): class SecurityError (line 157) | class SecurityError(TemplateRuntimeError): class FilterArgumentError (line 163) | class FilterArgumentError(TemplateRuntimeError): FILE: lib/spack/spack/vendor/jinja2/ext.py class _TranslationsBasic (line 26) | class _TranslationsBasic(te.Protocol): method gettext (line 27) | def gettext(self, message: str) -> str: method ngettext (line 30) | def ngettext(self, singular: str, plural: str, n: int) -> str: class _TranslationsContext (line 33) | class _TranslationsContext(_TranslationsBasic): method pgettext (line 34) | def pgettext(self, context: str, message: str) -> str: method npgettext (line 37) | def npgettext(self, context: str, singular: str, plural: str, n: int) ... class Extension (line 55) | class Extension: method __init_subclass__ (line 76) | def __init_subclass__(cls) -> None: method __init__ (line 89) | def __init__(self, environment: Environment) -> None: method bind (line 92) | def bind(self, environment: Environment) -> "Extension": method preprocess (line 99) | def preprocess( method filter_stream (line 108) | def filter_stream( method parse (line 118) | def parse(self, parser: "Parser") -> t.Union[nodes.Node, t.List[nodes.... method attr (line 126) | def attr( method call_method (line 138) | def call_method( function _gettext_alias (line 165) | def _gettext_alias( function _make_new_gettext (line 171) | def _make_new_gettext(func: t.Callable[[str], str]) -> t.Callable[..., s... function _make_new_ngettext (line 185) | def _make_new_ngettext(func: t.Callable[[str, str, int], str]) -> t.Call... function _make_new_pgettext (line 204) | def _make_new_pgettext(func: t.Callable[[str, str], str]) -> t.Callable[... function _make_new_npgettext (line 221) | def _make_new_npgettext( class InternationalizationExtension (line 246) | class InternationalizationExtension(Extension): method __init__ (line 258) | def __init__(self, environment: Environment) -> None: method _install (line 270) | def _install( method _install_null (line 288) | def _install_null(self, newstyle: t.Optional[bool] = None) -> None: method _install_callables (line 316) | def _install_callables( method _uninstall (line 340) | def _uninstall(self, translations: "_SupportedTranslations") -> None: method _extract (line 344) | def _extract( method parse (line 355) | def parse(self, parser: "Parser") -> t.Union[nodes.Node, t.List[nodes.... method _trim_whitespace (line 470) | def _trim_whitespace(self, string: str, _ws_re: t.Pattern[str] = _ws_r... method _parse_block (line 473) | def _parse_block( method _make_node (line 510) | def _make_node( class ExprStmtExtension (line 575) | class ExprStmtExtension(Extension): method parse (line 582) | def parse(self, parser: "Parser") -> nodes.ExprStmt: class LoopControlExtension (line 588) | class LoopControlExtension(Extension): method parse (line 593) | def parse(self, parser: "Parser") -> t.Union[nodes.Break, nodes.Contin... class WithExtension (line 600) | class WithExtension(Extension): method __init__ (line 601) | def __init__(self, environment: Environment) -> None: class AutoEscapeExtension (line 611) | class AutoEscapeExtension(Extension): method __init__ (line 612) | def __init__(self, environment: Environment) -> None: class DebugExtension (line 622) | class DebugExtension(Extension): method parse (line 645) | def parse(self, parser: "Parser") -> nodes.Output: method _render (line 651) | def _render(self, context: Context) -> str: function extract_from_ast (line 662) | def extract_from_ast( class _CommentFinder (line 741) | class _CommentFinder: method __init__ (line 748) | def __init__( method find_backwards (line 756) | def find_backwards(self, offset: int) -> t.List[str]: method find_comments (line 772) | def find_comments(self, lineno: int) -> t.List[str]: function babel_extract (line 781) | def babel_extract( FILE: lib/spack/spack/vendor/jinja2/filters.py class HasHTML (line 37) | class HasHTML(te.Protocol): method __html__ (line 38) | def __html__(self) -> str: function contextfilter (line 47) | def contextfilter(f: F) -> F: function evalcontextfilter (line 63) | def evalcontextfilter(f: F) -> F: function environmentfilter (line 82) | def environmentfilter(f: F) -> F: function ignore_case (line 99) | def ignore_case(value: V) -> V: function make_attrgetter (line 108) | def make_attrgetter( function make_multi_attrgetter (line 136) | def make_multi_attrgetter( function _prepare_attribute_parts (line 177) | def _prepare_attribute_parts( function do_forceescape (line 189) | def do_forceescape(value: "t.Union[str, HasHTML]") -> Markup: function do_urlencode (line 197) | def do_urlencode( function do_replace (line 229) | def do_replace( function do_upper (line 264) | def do_upper(s: str) -> str: function do_lower (line 269) | def do_lower(s: str) -> str: function do_xmlattr (line 275) | def do_xmlattr( function do_capitalize (line 315) | def do_capitalize(s: str) -> str: function do_title (line 325) | def do_title(s: str) -> str: function do_dictsort (line 338) | def do_dictsort( function do_sort (line 380) | def do_sort( function do_unique (line 436) | def do_unique( function _min_or_max (line 468) | def _min_or_max( function do_min (line 489) | def do_min( function do_max (line 509) | def do_max( function do_default (line 528) | def do_default( function sync_do_join (line 562) | def sync_do_join( function do_join (line 620) | async def do_join( function do_center (line 629) | def do_center(value: str, width: int = 80) -> str: function sync_do_first (line 635) | def sync_do_first( function do_first (line 646) | async def do_first( function do_last (line 656) | def do_last( function do_random (line 678) | def do_random(context: "Context", seq: "t.Sequence[V]") -> "t.Union[V, U... function do_filesizeformat (line 686) | def do_filesizeformat(value: t.Union[str, float, int], binary: bool = Fa... function do_pprint (line 719) | def do_pprint(value: t.Any) -> str: function do_urlize (line 728) | def do_urlize( function do_indent (line 807) | def do_indent( function do_truncate (line 856) | def do_truncate( function do_wordwrap (line 904) | def do_wordwrap( function do_wordcount (line 962) | def do_wordcount(s: str) -> int: function do_int (line 967) | def do_int(value: t.Any, default: int = 0, base: int = 10) -> int: function do_float (line 989) | def do_float(value: t.Any, default: float = 0.0) -> float: function do_format (line 1000) | def do_format(value: str, *args: t.Any, **kwargs: t.Any) -> str: function do_trim (line 1028) | def do_trim(value: str, chars: t.Optional[str] = None) -> str: function do_striptags (line 1033) | def do_striptags(value: "t.Union[str, HasHTML]") -> str: function sync_do_slice (line 1041) | def sync_do_slice( function do_slice (line 1085) | async def do_slice( function do_batch (line 1093) | def do_batch( function do_round (line 1130) | def do_round( class _GroupTuple (line 1170) | class _GroupTuple(t.NamedTuple): method __repr__ (line 1176) | def __repr__(self) -> str: method __str__ (line 1179) | def __str__(self) -> str: function sync_do_groupby (line 1184) | def sync_do_groupby( function do_groupby (line 1243) | async def do_groupby( function sync_do_sum (line 1257) | def sync_do_sum( function do_sum (line 1284) | async def do_sum( function sync_do_list (line 1305) | def sync_do_list(value: "t.Iterable[V]") -> "t.List[V]": function do_list (line 1313) | async def do_list(value: "t.Union[t.AsyncIterable[V], t.Iterable[V]]") -... function do_mark_safe (line 1317) | def do_mark_safe(value: str) -> Markup: function do_mark_unsafe (line 1324) | def do_mark_unsafe(value: str) -> str: function do_reverse (line 1330) | def do_reverse(value: str) -> str: function do_reverse (line 1335) | def do_reverse(value: "t.Iterable[V]") -> "t.Iterable[V]": function do_reverse (line 1339) | def do_reverse(value: t.Union[str, t.Iterable[V]]) -> t.Union[str, t.Ite... function do_attr (line 1358) | def do_attr( function sync_do_map (line 1389) | def sync_do_map( function sync_do_map (line 1396) | def sync_do_map( function sync_do_map (line 1407) | def sync_do_map( function do_map (line 1457) | def do_map( function do_map (line 1468) | def do_map( function do_map (line 1479) | async def do_map( function sync_do_select (line 1493) | def sync_do_select( function do_select (line 1524) | async def do_select( function sync_do_reject (line 1534) | def sync_do_reject( function do_reject (line 1560) | async def do_reject( function sync_do_selectattr (line 1570) | def sync_do_selectattr( function do_selectattr (line 1600) | async def do_selectattr( function sync_do_rejectattr (line 1610) | def sync_do_rejectattr( function do_rejectattr (line 1638) | async def do_rejectattr( function do_tojson (line 1648) | def do_tojson( function prepare_map (line 1676) | def prepare_map( function prepare_select_or_reject (line 1704) | def prepare_select_or_reject( function select_or_reject (line 1738) | def select_or_reject( function async_select_or_reject (line 1754) | async def async_select_or_reject( FILE: lib/spack/spack/vendor/jinja2/idtracking.py function find_symbols (line 12) | def find_symbols( function symbols_for_node (line 22) | def symbols_for_node( class Symbols (line 30) | class Symbols: method __init__ (line 31) | def __init__( method analyze_node (line 46) | def analyze_node(self, node: nodes.Node, **kwargs: t.Any) -> None: method _define_ref (line 50) | def _define_ref( method find_load (line 59) | def find_load(self, target: str) -> t.Optional[t.Any]: method find_ref (line 68) | def find_ref(self, name: str) -> t.Optional[str]: method ref (line 77) | def ref(self, name: str) -> str: method copy (line 86) | def copy(self) -> "Symbols": method store (line 94) | def store(self, name: str) -> None: method declare_parameter (line 112) | def declare_parameter(self, name: str) -> str: method load (line 116) | def load(self, name: str) -> None: method branch_update (line 120) | def branch_update(self, branch_symbols: t.Sequence["Symbols"]) -> None: method dump_stores (line 147) | def dump_stores(self) -> t.Dict[str, str]: method dump_param_targets (line 160) | def dump_param_targets(self) -> t.Set[str]: class RootVisitor (line 174) | class RootVisitor(NodeVisitor): method __init__ (line 175) | def __init__(self, symbols: "Symbols") -> None: method _simple_visit (line 178) | def _simple_visit(self, node: nodes.Node, **kwargs: t.Any) -> None: method visit_AssignBlock (line 190) | def visit_AssignBlock(self, node: nodes.AssignBlock, **kwargs: t.Any) ... method visit_CallBlock (line 194) | def visit_CallBlock(self, node: nodes.CallBlock, **kwargs: t.Any) -> N... method visit_OverlayScope (line 198) | def visit_OverlayScope(self, node: nodes.OverlayScope, **kwargs: t.Any... method visit_For (line 202) | def visit_For( method visit_With (line 222) | def visit_With(self, node: nodes.With, **kwargs: t.Any) -> None: method generic_visit (line 228) | def generic_visit(self, node: nodes.Node, *args: t.Any, **kwargs: t.An... class FrameSymbolVisitor (line 232) | class FrameSymbolVisitor(NodeVisitor): method __init__ (line 235) | def __init__(self, symbols: "Symbols") -> None: method visit_Name (line 238) | def visit_Name( method visit_NSRef (line 249) | def visit_NSRef(self, node: nodes.NSRef, **kwargs: t.Any) -> None: method visit_If (line 252) | def visit_If(self, node: nodes.If, **kwargs: t.Any) -> None: method visit_Macro (line 270) | def visit_Macro(self, node: nodes.Macro, **kwargs: t.Any) -> None: method visit_Import (line 273) | def visit_Import(self, node: nodes.Import, **kwargs: t.Any) -> None: method visit_FromImport (line 277) | def visit_FromImport(self, node: nodes.FromImport, **kwargs: t.Any) ->... method visit_Assign (line 286) | def visit_Assign(self, node: nodes.Assign, **kwargs: t.Any) -> None: method visit_For (line 291) | def visit_For(self, node: nodes.For, **kwargs: t.Any) -> None: method visit_CallBlock (line 297) | def visit_CallBlock(self, node: nodes.CallBlock, **kwargs: t.Any) -> N... method visit_FilterBlock (line 300) | def visit_FilterBlock(self, node: nodes.FilterBlock, **kwargs: t.Any) ... method visit_With (line 303) | def visit_With(self, node: nodes.With, **kwargs: t.Any) -> None: method visit_AssignBlock (line 307) | def visit_AssignBlock(self, node: nodes.AssignBlock, **kwargs: t.Any) ... method visit_Scope (line 311) | def visit_Scope(self, node: nodes.Scope, **kwargs: t.Any) -> None: method visit_Block (line 314) | def visit_Block(self, node: nodes.Block, **kwargs: t.Any) -> None: method visit_OverlayScope (line 317) | def visit_OverlayScope(self, node: nodes.OverlayScope, **kwargs: t.Any... FILE: lib/spack/spack/vendor/jinja2/lexer.py function _describe_token_type (line 163) | def _describe_token_type(token_type: str) -> str: function describe_token (line 183) | def describe_token(token: "Token") -> str: function describe_token_expr (line 191) | def describe_token_expr(expr: str) -> str: function count_newlines (line 204) | def count_newlines(value: str) -> int: function compile_rules (line 211) | def compile_rules(environment: "Environment") -> t.List[t.Tuple[str, str]]: class Failure (line 252) | class Failure: method __init__ (line 257) | def __init__( method __call__ (line 263) | def __call__(self, lineno: int, filename: str) -> "te.NoReturn": class Token (line 267) | class Token(t.NamedTuple): method __str__ (line 272) | def __str__(self) -> str: method test (line 275) | def test(self, expr: str) -> bool: method test_any (line 290) | def test_any(self, *iterable: str) -> bool: class TokenStreamIterator (line 295) | class TokenStreamIterator: method __init__ (line 300) | def __init__(self, stream: "TokenStream") -> None: method __iter__ (line 303) | def __iter__(self) -> "TokenStreamIterator": method __next__ (line 306) | def __next__(self) -> Token: class TokenStream (line 317) | class TokenStream: method __init__ (line 323) | def __init__( method __iter__ (line 337) | def __iter__(self) -> TokenStreamIterator: method __bool__ (line 340) | def __bool__(self) -> bool: method eos (line 344) | def eos(self) -> bool: method push (line 348) | def push(self, token: Token) -> None: method look (line 352) | def look(self) -> Token: method skip (line 360) | def skip(self, n: int = 1) -> None: method next_if (line 365) | def next_if(self, expr: str) -> t.Optional[Token]: method skip_if (line 374) | def skip_if(self, expr: str) -> bool: method __next__ (line 378) | def __next__(self) -> Token: method close (line 395) | def close(self) -> None: method expect (line 401) | def expect(self, expr: str) -> Token: function get_lexer (line 426) | def get_lexer(environment: "Environment") -> "Lexer": class OptionalLStrip (line 450) | class OptionalLStrip(tuple): method __new__ (line 459) | def __new__(cls, *members, **kwargs): # type: ignore class _Rule (line 463) | class _Rule(t.NamedTuple): class Lexer (line 469) | class Lexer: method __init__ (line 477) | def __init__(self, environment: "Environment") -> None: method _normalize_newlines (line 598) | def _normalize_newlines(self, value: str) -> str: method tokenize (line 604) | def tokenize( method wrap (line 615) | def wrap( method tokeniter (line 669) | def tokeniter( FILE: lib/spack/spack/vendor/jinja2/loaders.py function split_template_path (line 24) | def split_template_path(template: str) -> t.List[str]: class BaseLoader (line 41) | class BaseLoader: method get_source (line 74) | def get_source( method list_templates (line 100) | def list_templates(self) -> t.List[str]: method load (line 107) | def load( class FileSystemLoader (line 151) | class FileSystemLoader(BaseLoader): method __init__ (line 178) | def __init__( method get_source (line 191) | def get_source( method list_templates (line 216) | def list_templates(self) -> t.List[str]: class PackageLoader (line 234) | class PackageLoader(BaseLoader): method __init__ (line 267) | def __init__( method get_source (line 326) | def get_source( method list_templates (line 359) | def list_templates(self) -> t.List[str]: class DictLoader (line 395) | class DictLoader(BaseLoader): method __init__ (line 404) | def __init__(self, mapping: t.Mapping[str, str]) -> None: method get_source (line 407) | def get_source( method list_templates (line 415) | def list_templates(self) -> t.List[str]: class FunctionLoader (line 419) | class FunctionLoader(BaseLoader): method __init__ (line 437) | def __init__( method get_source (line 450) | def get_source( class PrefixLoader (line 464) | class PrefixLoader(BaseLoader): method __init__ (line 479) | def __init__( method get_loader (line 485) | def get_loader(self, template: str) -> t.Tuple[BaseLoader, str]: method get_source (line 493) | def get_source( method load (line 505) | def load( method list_templates (line 519) | def list_templates(self) -> t.List[str]: class ChoiceLoader (line 527) | class ChoiceLoader(BaseLoader): method __init__ (line 541) | def __init__(self, loaders: t.Sequence[BaseLoader]) -> None: method get_source (line 544) | def get_source( method load (line 555) | def load( method list_templates (line 568) | def list_templates(self) -> t.List[str]: class _TemplateModule (line 575) | class _TemplateModule(ModuleType): class ModuleLoader (line 579) | class ModuleLoader(BaseLoader): method __init__ (line 594) | def __init__( method get_template_key (line 619) | def get_template_key(name: str) -> str: method get_module_filename (line 623) | def get_module_filename(name: str) -> str: method load (line 627) | def load( FILE: lib/spack/spack/vendor/jinja2/meta.py class TrackingCodeGenerator (line 14) | class TrackingCodeGenerator(CodeGenerator): method __init__ (line 17) | def __init__(self, environment: "Environment") -> None: method write (line 21) | def write(self, x: str) -> None: method enter_frame (line 24) | def enter_frame(self, frame: Frame) -> None: function find_undeclared_variables (line 33) | def find_undeclared_variables(ast: nodes.Template) -> t.Set[str]: function find_referenced_templates (line 61) | def find_referenced_templates(ast: nodes.Template) -> t.Iterator[t.Optio... FILE: lib/spack/spack/vendor/jinja2/nativetypes.py function native_concat (line 15) | def native_concat(values: t.Iterable[t.Any]) -> t.Optional[t.Any]: class NativeCodeGenerator (line 47) | class NativeCodeGenerator(CodeGenerator): method _default_finalize (line 53) | def _default_finalize(value: t.Any) -> t.Any: method _output_const_repr (line 56) | def _output_const_repr(self, group: t.Iterable[t.Any]) -> str: method _output_child_to_const (line 59) | def _output_child_to_const( method _output_child_pre (line 72) | def _output_child_pre( method _output_child_post (line 78) | def _output_child_post( class NativeEnvironment (line 85) | class NativeEnvironment(Environment): class NativeTemplate (line 91) | class NativeTemplate(Template): method render (line 94) | def render(self, *args: t.Any, **kwargs: t.Any) -> t.Any: method render_async (line 108) | async def render_async(self, *args: t.Any, **kwargs: t.Any) -> t.Any: FILE: lib/spack/spack/vendor/jinja2/nodes.py class Impossible (line 48) | class Impossible(Exception): class NodeType (line 52) | class NodeType(type): method __new__ (line 57) | def __new__(mcs, name, bases, d): # type: ignore class EvalContext (line 69) | class EvalContext: method __init__ (line 74) | def __init__( method save (line 84) | def save(self) -> t.Mapping[str, t.Any]: method revert (line 87) | def revert(self, old: t.Mapping[str, t.Any]) -> None: function get_eval_context (line 92) | def get_eval_context(node: "Node", ctx: t.Optional[EvalContext]) -> Eval... class Node (line 103) | class Node(metaclass=NodeType): method __init__ (line 127) | def __init__(self, *fields: t.Any, **attributes: t.Any) -> None: method iter_fields (line 145) | def iter_fields( method iter_child_nodes (line 167) | def iter_child_nodes( method find (line 184) | def find(self, node_type: t.Type[_NodeBound]) -> t.Optional[_NodeBound]: method find_all (line 193) | def find_all( method set_ctx (line 204) | def set_ctx(self, ctx: str) -> "Node": method set_lineno (line 218) | def set_lineno(self, lineno: int, override: bool = False) -> "Node": method set_environment (line 229) | def set_environment(self, environment: "Environment") -> "Node": method __eq__ (line 238) | def __eq__(self, other: t.Any) -> bool: method __repr__ (line 246) | def __repr__(self) -> str: method dump (line 250) | def dump(self) -> str: class Stmt (line 280) | class Stmt(Node): class Helper (line 286) | class Helper(Node): class Template (line 292) | class Template(Node): class Output (line 301) | class Output(Stmt): class Extends (line 310) | class Extends(Stmt): class For (line 317) | class For(Stmt): class If (line 335) | class If(Stmt): class Macro (line 345) | class Macro(Stmt): class CallBlock (line 358) | class CallBlock(Stmt): class FilterBlock (line 370) | class FilterBlock(Stmt): class With (line 378) | class With(Stmt): class Block (line 391) | class Block(Stmt): class Include (line 405) | class Include(Stmt): class Import (line 414) | class Import(Stmt): class FromImport (line 423) | class FromImport(Stmt): class ExprStmt (line 441) | class ExprStmt(Stmt): class Assign (line 448) | class Assign(Stmt): class AssignBlock (line 456) | class AssignBlock(Stmt): class Expr (line 465) | class Expr(Node): method as_const (line 470) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: method can_assign (line 483) | def can_assign(self) -> bool: class BinExpr (line 488) | class BinExpr(Expr): method as_const (line 497) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class UnaryExpr (line 513) | class UnaryExpr(Expr): method as_const (line 521) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Name (line 537) | class Name(Expr): method can_assign (line 550) | def can_assign(self) -> bool: class NSRef (line 554) | class NSRef(Expr): method can_assign (line 561) | def can_assign(self) -> bool: class Literal (line 569) | class Literal(Expr): class Const (line 575) | class Const(Literal): method as_const (line 585) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: method from_untrusted (line 589) | def from_untrusted( class TemplateData (line 606) | class TemplateData(Literal): method as_const (line 612) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> str: class Tuple (line 621) | class Tuple(Literal): method as_const (line 631) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Tupl... method can_assign (line 635) | def can_assign(self) -> bool: class List (line 642) | class List(Literal): method as_const (line 648) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.List... class Dict (line 653) | class Dict(Literal): method as_const (line 661) | def as_const( class Pair (line 668) | class Pair(Helper): method as_const (line 675) | def as_const( class Keyword (line 682) | class Keyword(Helper): method as_const (line 689) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Tupl... class CondExpr (line 694) | class CondExpr(Expr): method as_const (line 704) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: function args_as_const (line 716) | def args_as_const( class _FilterTestCommon (line 737) | class _FilterTestCommon(Expr): method as_const (line 748) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Filter (line 785) | class Filter(_FilterTestCommon): method as_const (line 795) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Test (line 802) | class Test(_FilterTestCommon): class Call (line 815) | class Call(Expr): class Getitem (line 831) | class Getitem(Expr): method as_const (line 839) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Getattr (line 853) | class Getattr(Expr): method as_const (line 863) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Slice (line 875) | class Slice(Expr): method as_const (line 885) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> slice: class Concat (line 896) | class Concat(Expr): method as_const (line 904) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> str: class Compare (line 909) | class Compare(Expr): method as_const (line 918) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Operand (line 937) | class Operand(Helper): class Mul (line 945) | class Mul(BinExpr): class Div (line 951) | class Div(BinExpr): class FloorDiv (line 957) | class FloorDiv(BinExpr): class Add (line 965) | class Add(BinExpr): class Sub (line 971) | class Sub(BinExpr): class Mod (line 977) | class Mod(BinExpr): class Pow (line 983) | class Pow(BinExpr): class And (line 989) | class And(BinExpr): method as_const (line 994) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Or (line 999) | class Or(BinExpr): method as_const (line 1004) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> t.Any: class Not (line 1009) | class Not(UnaryExpr): class Neg (line 1015) | class Neg(UnaryExpr): class Pos (line 1021) | class Pos(UnaryExpr): class EnvironmentAttribute (line 1030) | class EnvironmentAttribute(Expr): class ExtensionAttribute (line 1039) | class ExtensionAttribute(Expr): class ImportedName (line 1052) | class ImportedName(Expr): class InternalName (line 1063) | class InternalName(Expr): method __init__ (line 1074) | def __init__(self) -> None: class MarkSafe (line 1081) | class MarkSafe(Expr): method as_const (line 1087) | def as_const(self, eval_ctx: t.Optional[EvalContext] = None) -> Markup: class MarkSafeIfAutoescape (line 1092) | class MarkSafeIfAutoescape(Expr): method as_const (line 1102) | def as_const( class ContextReference (line 1114) | class ContextReference(Expr): class DerivedContextReference (line 1132) | class DerivedContextReference(Expr): class Continue (line 1141) | class Continue(Stmt): class Break (line 1145) | class Break(Stmt): class Scope (line 1149) | class Scope(Stmt): class OverlayScope (line 1156) | class OverlayScope(Stmt): class EvalContextModifier (line 1175) | class EvalContextModifier(Stmt): class ScopedEvalContextModifier (line 1188) | class ScopedEvalContextModifier(EvalContextModifier): function _failing_new (line 1199) | def _failing_new(*args: t.Any, **kwargs: t.Any) -> "te.NoReturn": FILE: lib/spack/spack/vendor/jinja2/optimizer.py function optimize (line 19) | def optimize(node: nodes.Node, environment: "Environment") -> nodes.Node: class Optimizer (line 26) | class Optimizer(NodeTransformer): method __init__ (line 27) | def __init__(self, environment: "t.Optional[Environment]") -> None: method generic_visit (line 30) | def generic_visit( FILE: lib/spack/spack/vendor/jinja2/parser.py class Parser (line 46) | class Parser: method __init__ (line 51) | def __init__( method fail (line 74) | def fail( method _fail_ut_eof (line 88) | def _fail_ut_eof( method fail_unknown_tag (line 128) | def fail_unknown_tag( method fail_eof (line 137) | def fail_eof( method is_tuple_end (line 148) | def is_tuple_end( method free_identifier (line 158) | def free_identifier(self, lineno: t.Optional[int] = None) -> nodes.Int... method parse_statement (line 165) | def parse_statement(self) -> t.Union[nodes.Node, t.List[nodes.Node]]: method parse_statements (line 194) | def parse_statements( method parse_set (line 223) | def parse_set(self) -> t.Union[nodes.Assign, nodes.AssignBlock]: method parse_for (line 234) | def parse_for(self) -> nodes.For: method parse_if (line 253) | def parse_if(self) -> nodes.If: method parse_with (line 271) | def parse_with(self) -> nodes.With: method parse_autoescape (line 288) | def parse_autoescape(self) -> nodes.Scope: method parse_block (line 294) | def parse_block(self) -> nodes.Block: method parse_extends (line 324) | def parse_extends(self) -> nodes.Extends: method parse_import_context (line 329) | def parse_import_context( method parse_include (line 341) | def parse_include(self) -> nodes.Include: method parse_import (line 353) | def parse_import(self) -> nodes.Import: method parse_from (line 360) | def parse_from(self) -> nodes.FromImport: method parse_signature (line 406) | def parse_signature(self, node: _MacroCall) -> None: method parse_call_block (line 422) | def parse_call_block(self) -> nodes.CallBlock: method parse_filter_block (line 437) | def parse_filter_block(self) -> nodes.FilterBlock: method parse_macro (line 443) | def parse_macro(self) -> nodes.Macro: method parse_print (line 450) | def parse_print(self) -> nodes.Output: method parse_assign_target (line 460) | def parse_assign_target( method parse_assign_target (line 466) | def parse_assign_target( method parse_assign_target (line 475) | def parse_assign_target( method parse_expression (line 517) | def parse_expression(self, with_condexpr: bool = True) -> nodes.Expr: method parse_condexpr (line 526) | def parse_condexpr(self) -> nodes.Expr: method parse_or (line 541) | def parse_or(self) -> nodes.Expr: method parse_and (line 550) | def parse_and(self) -> nodes.Expr: method parse_not (line 559) | def parse_not(self) -> nodes.Expr: method parse_compare (line 565) | def parse_compare(self) -> nodes.Expr: method parse_math1 (line 588) | def parse_math1(self) -> nodes.Expr: method parse_concat (line 599) | def parse_concat(self) -> nodes.Expr: method parse_math2 (line 609) | def parse_math2(self) -> nodes.Expr: method parse_pow (line 620) | def parse_pow(self) -> nodes.Expr: method parse_unary (line 630) | def parse_unary(self, with_filter: bool = True) -> nodes.Expr: method parse_primary (line 648) | def parse_primary(self) -> nodes.Expr: method parse_tuple (line 682) | def parse_tuple( method parse_list (line 748) | def parse_list(self) -> nodes.List: method parse_dict (line 760) | def parse_dict(self) -> nodes.Dict: method parse_postfix (line 775) | def parse_postfix(self, node: nodes.Expr) -> nodes.Expr: method parse_filter_expr (line 788) | def parse_filter_expr(self, node: nodes.Expr) -> nodes.Expr: method parse_subscript (line 803) | def parse_subscript( method parse_subscribed (line 834) | def parse_subscribed(self) -> nodes.Expr: method parse_call_args (line 866) | def parse_call_args(self) -> t.Tuple: method parse_call (line 915) | def parse_call(self, node: nodes.Expr) -> nodes.Call: method parse_filter (line 922) | def parse_filter( method parse_test (line 945) | def parse_test(self, node: nodes.Expr) -> nodes.Expr: method subparse (line 987) | def subparse( method parse (line 1036) | def parse(self) -> nodes.Template: FILE: lib/spack/spack/vendor/jinja2/runtime.py class LoopRenderFunc (line 34) | class LoopRenderFunc(te.Protocol): method __call__ (line 35) | def __call__( function identity (line 69) | def identity(x: V) -> V: function markup_join (line 76) | def markup_join(seq: t.Iterable[t.Any]) -> str: function str_join (line 87) | def str_join(seq: t.Iterable[t.Any]) -> str: function unicode_join (line 92) | def unicode_join(seq: t.Iterable[t.Any]) -> str: function new_context (line 104) | def new_context( class TemplateReference (line 133) | class TemplateReference: method __init__ (line 136) | def __init__(self, context: "Context") -> None: method __getitem__ (line 139) | def __getitem__(self, name: str) -> t.Any: method __repr__ (line 143) | def __repr__(self) -> str: function _dict_method_all (line 147) | def _dict_method_all(dict_method: F) -> F: class Context (line 156) | class Context: method __init_subclass__ (line 178) | def __init_subclass__(cls) -> None: method __init__ (line 197) | def __init__( method super (line 218) | def super( method get (line 232) | def get(self, key: str, default: t.Any = None) -> t.Any: method resolve (line 244) | def resolve(self, key: str) -> t.Union[t.Any, "Undefined"]: method resolve_or_missing (line 270) | def resolve_or_missing(self, key: str) -> t.Any: method get_exported (line 296) | def get_exported(self) -> t.Dict[str, t.Any]: method get_all (line 300) | def get_all(self) -> t.Dict[str, t.Any]: method call (line 312) | def call( method derived (line 356) | def derived(self, locals: t.Optional[t.Dict[str, t.Any]] = None) -> "C... method __contains__ (line 372) | def __contains__(self, name: str) -> bool: method __getitem__ (line 375) | def __getitem__(self, key: str) -> t.Any: method __repr__ (line 386) | def __repr__(self) -> str: class BlockReference (line 390) | class BlockReference: method __init__ (line 393) | def __init__( method super (line 406) | def super(self) -> t.Union["BlockReference", "Undefined"]: method _async_call (line 415) | async def _async_call(self) -> str: method __call__ (line 426) | def __call__(self) -> str: class LoopContext (line 438) | class LoopContext: method __init__ (line 452) | def __init__( method _to_iterator (line 475) | def _to_iterator(iterable: t.Iterable[V]) -> t.Iterator[V]: method length (line 479) | def length(self) -> int: method __len__ (line 497) | def __len__(self) -> int: method depth (line 501) | def depth(self) -> int: method index (line 506) | def index(self) -> int: method revindex0 (line 511) | def revindex0(self) -> int: method revindex (line 519) | def revindex(self) -> int: method first (line 527) | def first(self) -> bool: method _peek_next (line 531) | def _peek_next(self) -> t.Any: method last (line 544) | def last(self) -> bool: method previtem (line 554) | def previtem(self) -> t.Union[t.Any, "Undefined"]: method nextitem (line 564) | def nextitem(self) -> t.Union[t.Any, "Undefined"]: method cycle (line 579) | def cycle(self, *args: V) -> V: method changed (line 590) | def changed(self, *value: t.Any) -> bool: method __iter__ (line 602) | def __iter__(self) -> "LoopContext": method __next__ (line 605) | def __next__(self) -> t.Tuple[t.Any, "LoopContext"]: method __call__ (line 618) | def __call__(self, iterable: t.Iterable[V]) -> str: method __repr__ (line 631) | def __repr__(self) -> str: class AsyncLoopContext (line 635) | class AsyncLoopContext(LoopContext): method _to_iterator (line 639) | def _to_iterator( # type: ignore method length (line 645) | async def length(self) -> int: # type: ignore method revindex0 (line 659) | async def revindex0(self) -> int: # type: ignore method revindex (line 663) | async def revindex(self) -> int: # type: ignore method _peek_next (line 666) | async def _peek_next(self) -> t.Any: method last (line 678) | async def last(self) -> bool: # type: ignore method nextitem (line 682) | async def nextitem(self) -> t.Union[t.Any, "Undefined"]: method __aiter__ (line 690) | def __aiter__(self) -> "AsyncLoopContext": method __anext__ (line 693) | async def __anext__(self) -> t.Tuple[t.Any, "AsyncLoopContext"]: class Macro (line 706) | class Macro: method __init__ (line 709) | def __init__( method __call__ (line 740) | def __call__(self, *args: t.Any, **kwargs: t.Any) -> str: method _async_invoke (line 816) | async def _async_invoke(self, arguments: t.List[t.Any], autoescape: bo... method _invoke (line 824) | def _invoke(self, arguments: t.List[t.Any], autoescape: bool) -> str: method __repr__ (line 835) | def __repr__(self) -> str: class Undefined (line 840) | class Undefined: method __init__ (line 862) | def __init__( method _undefined_message (line 875) | def _undefined_message(self) -> str: method _fail_with_undefined_error (line 897) | def _fail_with_undefined_error( method __getattr__ (line 906) | def __getattr__(self, name: str) -> t.Any: method __eq__ (line 923) | def __eq__(self, other: t.Any) -> bool: method __ne__ (line 926) | def __ne__(self, other: t.Any) -> bool: method __hash__ (line 929) | def __hash__(self) -> int: method __str__ (line 932) | def __str__(self) -> str: method __len__ (line 935) | def __len__(self) -> int: method __iter__ (line 938) | def __iter__(self) -> t.Iterator[t.Any]: method __aiter__ (line 941) | async def __aiter__(self) -> t.AsyncIterator[t.Any]: method __bool__ (line 945) | def __bool__(self) -> bool: method __repr__ (line 948) | def __repr__(self) -> str: function make_logging_undefined (line 952) | def make_logging_undefined( class ChainableUndefined (line 1012) | class ChainableUndefined(Undefined): method __html__ (line 1030) | def __html__(self) -> str: method __getattr__ (line 1033) | def __getattr__(self, _: str) -> "ChainableUndefined": class DebugUndefined (line 1039) | class DebugUndefined(Undefined): method __str__ (line 1055) | def __str__(self) -> str: class StrictUndefined (line 1071) | class StrictUndefined(Undefined): FILE: lib/spack/spack/vendor/jinja2/sandbox.py function inspect_format_method (line 83) | def inspect_format_method(callable: t.Callable) -> t.Optional[str]: function safe_range (line 97) | def safe_range(*args: int) -> range: function unsafe (line 112) | def unsafe(f: F) -> F: function is_internal_attribute (line 125) | def is_internal_attribute(obj: t.Any, attr: str) -> bool: function modifies_known_mutable (line 162) | def modifies_known_mutable(obj: t.Any, attr: str) -> bool: class SandboxedEnvironment (line 187) | class SandboxedEnvironment(Environment): method __init__ (line 252) | def __init__(self, *args: t.Any, **kwargs: t.Any) -> None: method is_safe_attribute (line 258) | def is_safe_attribute(self, obj: t.Any, attr: str, value: t.Any) -> bool: method is_safe_callable (line 267) | def is_safe_callable(self, obj: t.Any) -> bool: method call_binop (line 278) | def call_binop( method call_unop (line 289) | def call_unop(self, context: Context, operator: str, arg: t.Any) -> t.... method getitem (line 298) | def getitem( method getattr (line 321) | def getattr(self, obj: t.Any, attribute: str) -> t.Union[t.Any, Undefi... method unsafe_undefined (line 338) | def unsafe_undefined(self, obj: t.Any, attribute: str) -> Undefined: method format_string (line 348) | def format_string( method call (line 377) | def call( class ImmutableSandboxedEnvironment (line 396) | class ImmutableSandboxedEnvironment(SandboxedEnvironment): method is_safe_attribute (line 402) | def is_safe_attribute(self, obj: t.Any, attr: str, value: t.Any) -> bool: class SandboxedFormatter (line 409) | class SandboxedFormatter(Formatter): method __init__ (line 410) | def __init__(self, env: Environment, **kwargs: t.Any) -> None: method get_field (line 414) | def get_field( class SandboxedEscapeFormatter (line 427) | class SandboxedEscapeFormatter(SandboxedFormatter, EscapeFormatter): FILE: lib/spack/spack/vendor/jinja2/tests.py function test_odd (line 14) | def test_odd(value: int) -> bool: function test_even (line 19) | def test_even(value: int) -> bool: function test_divisibleby (line 24) | def test_divisibleby(value: int, num: int) -> bool: function test_defined (line 29) | def test_defined(value: t.Any) -> bool: function test_undefined (line 46) | def test_undefined(value: t.Any) -> bool: function test_filter (line 52) | def test_filter(env: "Environment", value: str) -> bool: function test_test (line 70) | def test_test(env: "Environment", value: str) -> bool: function test_none (line 91) | def test_none(value: t.Any) -> bool: function test_boolean (line 96) | def test_boolean(value: t.Any) -> bool: function test_false (line 104) | def test_false(value: t.Any) -> bool: function test_true (line 112) | def test_true(value: t.Any) -> bool: function test_integer (line 121) | def test_integer(value: t.Any) -> bool: function test_float (line 130) | def test_float(value: t.Any) -> bool: function test_lower (line 138) | def test_lower(value: str) -> bool: function test_upper (line 143) | def test_upper(value: str) -> bool: function test_string (line 148) | def test_string(value: t.Any) -> bool: function test_mapping (line 153) | def test_mapping(value: t.Any) -> bool: function test_number (line 161) | def test_number(value: t.Any) -> bool: function test_sequence (line 166) | def test_sequence(value: t.Any) -> bool: function test_sameas (line 179) | def test_sameas(value: t.Any, other: t.Any) -> bool: function test_iterable (line 192) | def test_iterable(value: t.Any) -> bool: function test_escaped (line 202) | def test_escaped(value: t.Any) -> bool: function test_in (line 207) | def test_in(value: t.Any, seq: t.Container) -> bool: FILE: lib/spack/spack/vendor/jinja2/utils.py function pass_context (line 30) | def pass_context(f: F) -> F: function pass_eval_context (line 47) | def pass_eval_context(f: F) -> F: function pass_environment (line 64) | def pass_environment(f: F) -> F: class _PassArg (line 77) | class _PassArg(enum.Enum): method from_obj (line 83) | def from_obj(cls, obj: F) -> t.Optional["_PassArg"]: function contextfunction (line 103) | def contextfunction(f: F) -> F: function evalcontextfunction (line 119) | def evalcontextfunction(f: F) -> F: function environmentfunction (line 138) | def environmentfunction(f: F) -> F: function internalcode (line 155) | def internalcode(f: F) -> F: function is_undefined (line 161) | def is_undefined(obj: t.Any) -> bool: function consume (line 178) | def consume(iterable: t.Iterable[t.Any]) -> None: function clear_caches (line 184) | def clear_caches() -> None: function import_string (line 197) | def import_string(import_name: str, silent: bool = False) -> t.Any: function open_if_exists (line 221) | def open_if_exists(filename: str, mode: str = "rb") -> t.Optional[t.IO]: function object_type_repr (line 231) | def object_type_repr(obj: t.Any) -> str: function pformat (line 249) | def pformat(obj: t.Any) -> str: function urlize (line 287) | def urlize( function generate_lorem_ipsum (line 408) | def generate_lorem_ipsum( function url_quote (line 463) | def url_quote(obj: t.Any, charset: str = "utf-8", for_qs: bool = False) ... function unicode_urlencode (line 486) | def unicode_urlencode(obj: t.Any, charset: str = "utf-8", for_qs: bool =... class LRUCache (line 499) | class LRUCache: method __init__ (line 506) | def __init__(self, capacity: int) -> None: method _postinit (line 512) | def _postinit(self) -> None: method __getstate__ (line 520) | def __getstate__(self) -> t.Mapping[str, t.Any]: method __setstate__ (line 527) | def __setstate__(self, d: t.Mapping[str, t.Any]) -> None: method __getnewargs__ (line 531) | def __getnewargs__(self) -> t.Tuple: method copy (line 534) | def copy(self) -> "LRUCache": method get (line 541) | def get(self, key: t.Any, default: t.Any = None) -> t.Any: method setdefault (line 548) | def setdefault(self, key: t.Any, default: t.Any = None) -> t.Any: method clear (line 558) | def clear(self) -> None: method __contains__ (line 564) | def __contains__(self, key: t.Any) -> bool: method __len__ (line 568) | def __len__(self) -> int: method __repr__ (line 572) | def __repr__(self) -> str: method __getitem__ (line 575) | def __getitem__(self, key: t.Any) -> t.Any: method __setitem__ (line 597) | def __setitem__(self, key: t.Any, value: t.Any) -> None: method __delitem__ (line 610) | def __delitem__(self, key: t.Any) -> None: method items (line 622) | def items(self) -> t.Iterable[t.Tuple[t.Any, t.Any]]: method values (line 628) | def values(self) -> t.Iterable[t.Any]: method keys (line 632) | def keys(self) -> t.Iterable[t.Any]: method __iter__ (line 636) | def __iter__(self) -> t.Iterator[t.Any]: method __reversed__ (line 639) | def __reversed__(self) -> t.Iterator[t.Any]: function select_autoescape (line 648) | def select_autoescape( function htmlsafe_json_dumps (line 704) | def htmlsafe_json_dumps( class Cycler (line 744) | class Cycler: method __init__ (line 770) | def __init__(self, *items: t.Any) -> None: method reset (line 776) | def reset(self) -> None: method current (line 781) | def current(self) -> t.Any: method next (line 787) | def next(self) -> t.Any: class Joiner (line 798) | class Joiner: method __init__ (line 801) | def __init__(self, sep: str = ", ") -> None: method __call__ (line 805) | def __call__(self) -> str: class Namespace (line 812) | class Namespace: method __init__ (line 816) | def __init__(*args: t.Any, **kwargs: t.Any) -> None: # noqa: B902 method __getattribute__ (line 820) | def __getattribute__(self, name: str) -> t.Any: method __setitem__ (line 829) | def __setitem__(self, name: str, value: t.Any) -> None: method __repr__ (line 832) | def __repr__(self) -> str: class Markup (line 836) | class Markup(spack.vendor.markupsafe.Markup): method __new__ (line 837) | def __new__(cls, base="", encoding=None, errors="strict"): # type: ig... function escape (line 847) | def escape(s: t.Any) -> str: FILE: lib/spack/spack/vendor/jinja2/visitor.py class VisitCallable (line 11) | class VisitCallable(te.Protocol): method __call__ (line 12) | def __call__(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any: class NodeVisitor (line 16) | class NodeVisitor: method get_visitor (line 28) | def get_visitor(self, node: Node) -> "t.Optional[VisitCallable]": method visit (line 35) | def visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.Any: method generic_visit (line 44) | def generic_visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> ... class NodeTransformer (line 50) | class NodeTransformer(NodeVisitor): method generic_visit (line 61) | def generic_visit(self, node: Node, *args: t.Any, **kwargs: t.Any) -> ... method visit_list (line 83) | def visit_list(self, node: Node, *args: t.Any, **kwargs: t.Any) -> t.L... FILE: lib/spack/spack/vendor/jsonschema/_format.py class FormatChecker (line 10) | class FormatChecker(object): method __init__ (line 35) | def __init__(self, formats=None): method __repr__ (line 41) | def __repr__(self): method checks (line 44) | def checks(self, format, raises=()): method check (line 71) | def check(self, instance, format): method conforms (line 105) | def conforms(self, instance, format): function _checks_drafts (line 146) | def _checks_drafts( function is_email (line 181) | def is_email(instance): function is_ipv4 (line 193) | def is_ipv4(instance): function is_ipv6 (line 207) | def is_ipv6(instance): function is_host_name (line 222) | def is_host_name(instance): function is_regex (line 235) | def is_regex(instance): function is_date (line 242) | def is_date(instance): function is_draft3_time (line 249) | def is_draft3_time(instance): FILE: lib/spack/spack/vendor/jsonschema/_legacy_validators.py function dependencies_draft3 (line 6) | def dependencies_draft3(validator, dependencies, instance, schema): function disallow_draft3 (line 31) | def disallow_draft3(validator, disallow, instance, schema): function extends_draft3 (line 39) | def extends_draft3(validator, extends, instance, schema): function items_draft3_draft4 (line 49) | def items_draft3_draft4(validator, items, instance, schema): function minimum_draft3_draft4 (line 65) | def minimum_draft3_draft4(validator, minimum, instance, schema): function maximum_draft3_draft4 (line 82) | def maximum_draft3_draft4(validator, maximum, instance, schema): function properties_draft3 (line 99) | def properties_draft3(validator, properties, instance, schema): function type_draft3 (line 125) | def type_draft3(validator, types, instance, schema): FILE: lib/spack/spack/vendor/jsonschema/_reflect.py class _NoModuleFound (line 15) | class _NoModuleFound(Exception): class InvalidName (line 22) | class InvalidName(ValueError): class ModuleNotFound (line 29) | class ModuleNotFound(InvalidName): class ObjectNotFound (line 37) | class ObjectNotFound(InvalidName): function reraise (line 46) | def reraise(exception, traceback): function _importAndCheckStack (line 64) | def _importAndCheckStack(importName): function namedAny (line 95) | def namedAny(name): FILE: lib/spack/spack/vendor/jsonschema/_types.py function is_array (line 10) | def is_array(checker, instance): function is_bool (line 14) | def is_bool(checker, instance): function is_integer (line 18) | def is_integer(checker, instance): function is_null (line 25) | def is_null(checker, instance): function is_number (line 29) | def is_number(checker, instance): function is_object (line 36) | def is_object(checker, instance): function is_string (line 40) | def is_string(checker, instance): function is_any (line 44) | def is_any(checker, instance): class TypeChecker (line 49) | class TypeChecker(object): method is_type (line 66) | def is_type(self, instance, type): method redefine (line 97) | def redefine(self, type, fn): method redefine_many (line 120) | def redefine_many(self, definitions=()): method remove (line 138) | def remove(self, *types): FILE: lib/spack/spack/vendor/jsonschema/_utils.py class URIDict (line 9) | class URIDict(MutableMapping): method normalize (line 14) | def normalize(self, uri): method __init__ (line 17) | def __init__(self, *args, **kwargs): method __getitem__ (line 21) | def __getitem__(self, uri): method __setitem__ (line 24) | def __setitem__(self, uri, value): method __delitem__ (line 27) | def __delitem__(self, uri): method __iter__ (line 30) | def __iter__(self): method __len__ (line 33) | def __len__(self): method __repr__ (line 36) | def __repr__(self): class Unset (line 40) | class Unset(object): method __repr__ (line 45) | def __repr__(self): function load_schema (line 49) | def load_schema(name): function indent (line 58) | def indent(string, times=1): function format_as_index (line 66) | def format_as_index(indices): function find_additional_properties (line 84) | def find_additional_properties(instance, schema): function extras_msg (line 103) | def extras_msg(extras): function types_msg (line 115) | def types_msg(instance, types): function flatten (line 134) | def flatten(suitable_for_isinstance): function ensure_list (line 156) | def ensure_list(thing): function equal (line 168) | def equal(one, two): function unbool (line 175) | def unbool(element, true=object(), false=object()): function uniq (line 187) | def uniq(container): FILE: lib/spack/spack/vendor/jsonschema/_validators.py function patternProperties (line 16) | def patternProperties(validator, patternProperties, instance, schema): function propertyNames (line 29) | def propertyNames(validator, propertyNames, instance, schema): function additionalProperties (line 41) | def additionalProperties(validator, aP, instance, schema): function items (line 69) | def items(validator, items, instance, schema): function additionalItems (line 85) | def additionalItems(validator, aI, instance, schema): function const (line 105) | def const(validator, const, instance, schema): function contains (line 110) | def contains(validator, contains, instance, schema): function exclusiveMinimum (line 120) | def exclusiveMinimum(validator, minimum, instance, schema): function exclusiveMaximum (line 132) | def exclusiveMaximum(validator, maximum, instance, schema): function minimum (line 144) | def minimum(validator, minimum, instance, schema): function maximum (line 154) | def maximum(validator, maximum, instance, schema): function multipleOf (line 164) | def multipleOf(validator, dB, instance, schema): function minItems (line 178) | def minItems(validator, mI, instance, schema): function maxItems (line 183) | def maxItems(validator, mI, instance, schema): function uniqueItems (line 188) | def uniqueItems(validator, uI, instance, schema): function pattern (line 197) | def pattern(validator, patrn, instance, schema): function format (line 205) | def format(validator, format, instance, schema): function minLength (line 213) | def minLength(validator, mL, instance, schema): function maxLength (line 218) | def maxLength(validator, mL, instance, schema): function dependencies (line 223) | def dependencies(validator, dependencies, instance, schema): function enum (line 243) | def enum(validator, enums, instance, schema): function ref (line 252) | def ref(validator, ref, instance, schema): function type (line 269) | def type(validator, types, instance, schema): function properties (line 276) | def properties(validator, properties, instance, schema): function required (line 291) | def required(validator, required, instance, schema): function minProperties (line 299) | def minProperties(validator, mP, instance, schema): function maxProperties (line 306) | def maxProperties(validator, mP, instance, schema): function allOf (line 313) | def allOf(validator, allOf, instance, schema): function anyOf (line 319) | def anyOf(validator, anyOf, instance, schema): function oneOf (line 333) | def oneOf(validator, oneOf, instance, schema): function not_ (line 357) | def not_(validator, not_schema, instance, schema): function if_ (line 364) | def if_(validator, if_schema, instance, schema): FILE: lib/spack/spack/vendor/jsonschema/cli.py function _namedAnyWithDefault (line 14) | def _namedAnyWithDefault(name): function _json_file (line 20) | def _json_file(path): function parse_args (line 68) | def parse_args(args): function main (line 75) | def main(args=sys.argv[1:]): function run (line 79) | def run(arguments, stdout=sys.stdout, stderr=sys.stderr): FILE: lib/spack/spack/vendor/jsonschema/compat.py function urlopen (line 35) | def urlopen(*args, **kwargs): function urldefrag (line 45) | def urldefrag(url): FILE: lib/spack/spack/vendor/jsonschema/exceptions.py class _Error (line 21) | class _Error(Exception): method __init__ (line 22) | def __init__( method __repr__ (line 61) | def __repr__(self): method __unicode__ (line 64) | def __unicode__(self): method __str__ (line 94) | def __str__(self): method create_from (line 98) | def create_from(cls, other): method absolute_path (line 102) | def absolute_path(self): method absolute_schema_path (line 112) | def absolute_schema_path(self): method _set (line 121) | def _set(self, **kwargs): method _contents (line 126) | def _contents(self): class ValidationError (line 134) | class ValidationError(_Error): class SchemaError (line 143) | class SchemaError(_Error): class RefResolutionError (line 153) | class RefResolutionError(Exception): method __str__ (line 160) | def __str__(self): class UndefinedTypeCheck (line 164) | class UndefinedTypeCheck(Exception): method __init__ (line 169) | def __init__(self, type): method __unicode__ (line 172) | def __unicode__(self): method __str__ (line 178) | def __str__(self): class UnknownType (line 182) | class UnknownType(Exception): method __init__ (line 187) | def __init__(self, type, instance, schema): method __unicode__ (line 192) | def __unicode__(self): method __str__ (line 207) | def __str__(self): class FormatError (line 211) | class FormatError(Exception): method __init__ (line 216) | def __init__(self, message, cause=None): method __unicode__ (line 221) | def __unicode__(self): method __str__ (line 227) | def __str__(self): class ErrorTree (line 231) | class ErrorTree(object): method __init__ (line 238) | def __init__(self, errors=()): method __contains__ (line 250) | def __contains__(self, index): method __getitem__ (line 257) | def __getitem__(self, index): method __setitem__ (line 271) | def __setitem__(self, index, value): method __iter__ (line 277) | def __iter__(self): method __len__ (line 284) | def __len__(self): method __repr__ (line 290) | def __repr__(self): method total_errors (line 294) | def total_errors(self): function by_relevance (line 303) | def by_relevance(weak=WEAK_MATCHES, strong=STRONG_MATCHES): function best_match (line 328) | def best_match(errors, key=relevance): FILE: lib/spack/spack/vendor/jsonschema/validators.py class _DontDoThat (line 40) | class _DontDoThat(Exception): method __str__ (line 49) | def __str__(self): function _generate_legacy_type_checks (line 57) | def _generate_legacy_type_checks(types=()): function validates (line 105) | def validates(version): function _DEFAULT_TYPES (line 134) | def _DEFAULT_TYPES(self): class _DefaultTypesDeprecatingMetaClass (line 149) | class _DefaultTypesDeprecatingMetaClass(type): function _id_of (line 153) | def _id_of(schema): function create (line 159) | def create( function extend (line 372) | def extend(validator, validators=(), version=None, type_checker=None): class RefResolver (line 592) | class RefResolver(object): method __init__ (line 636) | def __init__( method from_schema (line 667) | def from_schema(cls, schema, id_of=_id_of, *args, **kwargs): method push_scope (line 684) | def push_scope(self, scope): method pop_scope (line 695) | def pop_scope(self): method resolution_scope (line 715) | def resolution_scope(self): method base_uri (line 722) | def base_uri(self): method in_scope (line 730) | def in_scope(self, scope): method resolving (line 741) | def resolving(self, ref): method resolve (line 761) | def resolve(self, ref): method resolve_from_url (line 768) | def resolve_from_url(self, url): method resolve_fragment (line 783) | def resolve_fragment(self, document, fragment): method resolve_remote (line 819) | def resolve_remote(self, uri): function validate (line 871) | def validate(instance, schema, cls=None, *args, **kwargs): function validator_for (line 937) | def validator_for(schema, default=_LATEST_VERSION): FILE: lib/spack/spack/vendor/macholib/MachO.py function _shouldRelocateCommand (line 76) | def _shouldRelocateCommand(cmd): function lc_str_value (line 83) | def lc_str_value(offset, cmd_info): class MachO (line 93) | class MachO(object): method __init__ (line 110) | def __init__(self, filename, allow_unknown_load_commands=False): method __repr__ (line 124) | def __repr__(self): method load (line 127) | def load(self, fh): method load_fat (line 139) | def load_fat(self, fh): method rewriteLoadCommands (line 151) | def rewriteLoadCommands(self, *args, **kw): method load_header (line 158) | def load_header(self, fh, offset, size): method write (line 177) | def write(self, f): class MachOHeader (line 182) | class MachOHeader(object): method __init__ (line 199) | def __init__( method __repr__ (line 232) | def __repr__(self): method load (line 241) | def load(self, fh): method walkRelocatables (line 353) | def walkRelocatables(self, shouldRelocateCommand=_shouldRelocateCommand): method rewriteInstallNameCommand (line 366) | def rewriteInstallNameCommand(self, loadcmd): method changedHeaderSizeBy (line 373) | def changedHeaderSizeBy(self, bytes): method rewriteLoadCommands (line 381) | def rewriteLoadCommands(self, changefunc): method rewriteDataForCommand (line 399) | def rewriteDataForCommand(self, idx, data): method synchronize_size (line 410) | def synchronize_size(self): method write (line 428) | def write(self, fileobj): method getSymbolTableCommand (line 466) | def getSymbolTableCommand(self): method getDynamicSymbolTableCommand (line 472) | def getDynamicSymbolTableCommand(self): method get_filetype_shortname (line 478) | def get_filetype_shortname(self, filetype): function main (line 485) | def main(fn): FILE: lib/spack/spack/vendor/macholib/MachOGraph.py class MissingMachO (line 22) | class MissingMachO(object): method __init__ (line 23) | def __init__(self, filename): method __repr__ (line 27) | def __repr__(self): class MachOGraph (line 31) | class MachOGraph(ObjectGraph): method __init__ (line 36) | def __init__(self, debug=0, graph=None, env=None, executable_path=None): method locate (line 42) | def locate(self, filename, loader=None): method findNode (line 73) | def findNode(self, name, loader=None): method run_file (line 83) | def run_file(self, pathname, caller=None): method load_file (line 96) | def load_file(self, name, caller=None): method scan_node (line 112) | def scan_node(self, node): method itergraphreport (line 122) | def itergraphreport(self, name="G"): method graphreport (line 127) | def graphreport(self, fileobj=None): function main (line 133) | def main(args): FILE: lib/spack/spack/vendor/macholib/MachOStandalone.py class ExcludedMachO (line 16) | class ExcludedMachO(MissingMachO): class FilteredMachOGraph (line 20) | class FilteredMachOGraph(MachOGraph): method __init__ (line 21) | def __init__(self, delegate, *args, **kwargs): method createNode (line 25) | def createNode(self, cls, name): method locate (line 30) | def locate(self, filename, loader=None): class MachOStandalone (line 37) | class MachOStandalone(object): method __init__ (line 38) | def __init__(self, base, dest=None, graph=None, env=None, executable_p... method update_node (line 50) | def update_node(self, m): method getClass (line 53) | def getClass(self, name, cls): method locate (line 61) | def locate(self, filename, loader=None): method copy_dylib (line 81) | def copy_dylib(self, filename): method mergecopy (line 95) | def mergecopy(self, src, dest): method mergetree (line 98) | def mergetree(self, src, dest): method copy_framework (line 101) | def copy_framework(self, info): method run (line 110) | def run(self, platfiles=None, contents=None): FILE: lib/spack/spack/vendor/macholib/SymbolTable.py class SymbolTable (line 25) | class SymbolTable(object): method __init__ (line 26) | def __init__(self, macho, header=None, openfile=None): method readSymbolTable (line 42) | def readSymbolTable(self, fh): method readDynamicSymbolTable (line 67) | def readDynamicSymbolTable(self, fh): method readtoc (line 85) | def readtoc(self, fh, off, n): method readmodtab (line 89) | def readmodtab(self, fh, off, n): method readsym (line 93) | def readsym(self, fh, off, n): method readrel (line 102) | def readrel(self, fh, off, n): FILE: lib/spack/spack/vendor/macholib/__main__.py function check_file (line 12) | def check_file(fp, path, callback): function walk_tree (line 30) | def walk_tree(callback, paths): function print_usage (line 44) | def print_usage(fp): function main (line 52) | def main(): FILE: lib/spack/spack/vendor/macholib/_cmdline.py function check_file (line 12) | def check_file(fp, path, callback): function main (line 32) | def main(callback): FILE: lib/spack/spack/vendor/macholib/dyld.py function _dyld_shared_cache_contains_path (line 38) | def _dyld_shared_cache_contains_path(path): function _ensure_utf8 (line 62) | def _ensure_utf8(s): function _ensure_utf8 (line 69) | def _ensure_utf8(s): function _dyld_env (line 75) | def _dyld_env(env, var): function dyld_image_suffix (line 84) | def dyld_image_suffix(env=None): function dyld_framework_path (line 90) | def dyld_framework_path(env=None): function dyld_library_path (line 94) | def dyld_library_path(env=None): function dyld_fallback_framework_path (line 98) | def dyld_fallback_framework_path(env=None): function dyld_fallback_library_path (line 102) | def dyld_fallback_library_path(env=None): function dyld_image_suffix_search (line 106) | def dyld_image_suffix_search(iterator, env=None): function dyld_override_search (line 123) | def dyld_override_search(name, env=None): function dyld_executable_path_search (line 141) | def dyld_executable_path_search(name, executable_path=None): function dyld_loader_search (line 151) | def dyld_loader_search(name, loader_path=None): function dyld_default_search (line 159) | def dyld_default_search(name, env=None): function dyld_find (line 185) | def dyld_find(name, executable_path=None, env=None, loader_path=None): function framework_find (line 210) | def framework_find(fn, executable_path=None, env=None): FILE: lib/spack/spack/vendor/macholib/dylib.py function dylib_info (line 22) | def dylib_info(filename): FILE: lib/spack/spack/vendor/macholib/framework.py function framework_info (line 22) | def framework_info(filename): FILE: lib/spack/spack/vendor/macholib/itergraphreport.py function itergraphreport (line 15) | def itergraphreport(nodes, describe_edge, name="G"): FILE: lib/spack/spack/vendor/macholib/mach_o.py function get_cpu_subtype (line 168) | def get_cpu_subtype(cpu_type, cpu_subtype): class mach_version_helper (line 363) | class mach_version_helper(Structure): method major (line 367) | def major(self): method major (line 371) | def major(self, v): method minor (line 375) | def minor(self): method minor (line 379) | def minor(self, v): method rev (line 383) | def rev(self): method rev (line 387) | def rev(self, v): method __str__ (line 390) | def __str__(self): class mach_timestamp_helper (line 394) | class mach_timestamp_helper(p_uint32): method __str__ (line 395) | def __str__(self): function read_struct (line 399) | def read_struct(f, s, **kw): class mach_header (line 403) | class mach_header(Structure): method _describe (line 414) | def _describe(self): class mach_header_64 (line 443) | class mach_header_64(mach_header): class load_command (line 447) | class load_command(Structure): method get_cmd_name (line 450) | def get_cmd_name(self): class lc_str (line 517) | class lc_str(p_uint32): class segment_command (line 526) | class segment_command(Structure): method describe (line 539) | def describe(self): method get_initial_virtual_memory_protections (line 554) | def get_initial_virtual_memory_protections(self): method get_max_virtual_memory_protections (line 566) | def get_max_virtual_memory_protections(self): class segment_command_64 (line 579) | class segment_command_64(Structure): method describe (line 592) | def describe(self): method get_initial_virtual_memory_protections (line 607) | def get_initial_virtual_memory_protections(self): method get_max_virtual_memory_protections (line 619) | def get_max_virtual_memory_protections(self): class section (line 638) | class section(Structure): method describe (line 653) | def describe(self): method add_section_data (line 676) | def add_section_data(self, data): class section_64 (line 680) | class section_64(Structure): method describe (line 696) | def describe(self): method add_section_data (line 720) | def add_section_data(self, data): class fvmlib (line 829) | class fvmlib(Structure): class fvmlib_command (line 837) | class fvmlib_command(Structure): method describe (line 840) | def describe(self): class dylib (line 846) | class dylib(Structure): class dylib_command (line 856) | class dylib_command(Structure): method describe (line 859) | def describe(self): class sub_framework_command (line 867) | class sub_framework_command(Structure): method describe (line 870) | def describe(self): class sub_client_command (line 874) | class sub_client_command(Structure): method describe (line 877) | def describe(self): class sub_umbrella_command (line 881) | class sub_umbrella_command(Structure): method describe (line 884) | def describe(self): class sub_library_command (line 888) | class sub_library_command(Structure): method describe (line 891) | def describe(self): class prebound_dylib_command (line 895) | class prebound_dylib_command(Structure): method describe (line 898) | def describe(self): class dylinker_command (line 902) | class dylinker_command(Structure): method describe (line 905) | def describe(self): class thread_command (line 909) | class thread_command(Structure): method describe (line 912) | def describe(self): class entry_point_command (line 919) | class entry_point_command(Structure): method describe (line 922) | def describe(self): class routines_command (line 929) | class routines_command(Structure): method describe (line 941) | def describe(self): class routines_command_64 (line 954) | class routines_command_64(Structure): method describe (line 966) | def describe(self): class symtab_command (line 979) | class symtab_command(Structure): method describe (line 987) | def describe(self): class dysymtab_command (line 996) | class dysymtab_command(Structure): method describe (line 1018) | def describe(self): class dylib_table_of_contents (line 1045) | class dylib_table_of_contents(Structure): class dylib_module (line 1049) | class dylib_module(Structure): class dylib_module_64 (line 1067) | class dylib_module_64(Structure): class dylib_reference (line 1085) | class dylib_reference(Structure): class twolevel_hints_command (line 1093) | class twolevel_hints_command(Structure): method describe (line 1096) | def describe(self): class twolevel_hint (line 1103) | class twolevel_hint(Structure): class prebind_cksum_command (line 1111) | class prebind_cksum_command(Structure): method describe (line 1114) | def describe(self): class symseg_command (line 1118) | class symseg_command(Structure): method describe (line 1121) | def describe(self): class ident_command (line 1127) | class ident_command(Structure): method describe (line 1130) | def describe(self): class fvmfile_command (line 1134) | class fvmfile_command(Structure): method describe (line 1137) | def describe(self): class uuid_command (line 1141) | class uuid_command(Structure): method describe (line 1144) | def describe(self): class rpath_command (line 1148) | class rpath_command(Structure): method describe (line 1151) | def describe(self): class linkedit_data_command (line 1155) | class linkedit_data_command(Structure): method describe (line 1158) | def describe(self): class version_min_command (line 1165) | class version_min_command(Structure): method describe (line 1171) | def describe(self): class source_version_command (line 1190) | class source_version_command(Structure): method describe (line 1193) | def describe(self): class note_command (line 1204) | class note_command(Structure): class build_version_command (line 1208) | class build_version_command(Structure): method describe (line 1216) | def describe(self): class build_tool_version (line 1220) | class build_tool_version(Structure): class data_in_code_entry (line 1224) | class data_in_code_entry(Structure): method describe (line 1227) | def describe(self): class tlv_descriptor (line 1246) | class tlv_descriptor(Structure): method describe (line 1253) | def describe(self): class encryption_info_command (line 1257) | class encryption_info_command(Structure): method describe (line 1260) | def describe(self): class encryption_info_command_64 (line 1268) | class encryption_info_command_64(Structure): method describe (line 1276) | def describe(self): class dyld_info_command (line 1285) | class dyld_info_command(Structure): method describe (line 1299) | def describe(self): class linker_option_command (line 1314) | class linker_option_command(Structure): method describe (line 1317) | def describe(self): class fileset_entry_command (line 1321) | class fileset_entry_command(Structure): class n_un (line 1445) | class n_un(p_int32): class nlist (line 1449) | class nlist(Structure): class nlist_64 (line 1459) | class nlist_64(Structure): class relocation_info (line 1484) | class relocation_info(Structure): method _describe (line 1487) | def _describe(self): function GET_COMM_ALIGN (line 1491) | def GET_COMM_ALIGN(n_desc): function SET_COMM_ALIGN (line 1495) | def SET_COMM_ALIGN(n_desc, align): function GET_LIBRARY_ORDINAL (line 1510) | def GET_LIBRARY_ORDINAL(n_desc): function SET_LIBRARY_ORDINAL (line 1514) | def SET_LIBRARY_ORDINAL(n_desc, ordinal): class fat_header (line 1539) | class fat_header(Structure): class fat_arch (line 1543) | class fat_arch(Structure): class fat_arch64 (line 1553) | class fat_arch64(Structure): FILE: lib/spack/spack/vendor/macholib/macho_dump.py function print_file (line 19) | def print_file(fp, path): function main (line 46) | def main(): FILE: lib/spack/spack/vendor/macholib/macho_find.py function print_file (line 7) | def print_file(fp, path): function main (line 11) | def main(): FILE: lib/spack/spack/vendor/macholib/macho_standalone.py function standaloneApp (line 10) | def standaloneApp(path): function main (line 18) | def main(): FILE: lib/spack/spack/vendor/macholib/ptypes.py function sizeof (line 43) | def sizeof(s): class MetaPackable (line 56) | class MetaPackable(type): method from_mmap (line 62) | def from_mmap(cls, mm, ptr, **kw): method from_fileobj (line 65) | def from_fileobj(cls, f, **kw): method from_str (line 68) | def from_str(cls, s, **kw): method from_tuple (line 72) | def from_tuple(cls, tpl, **kw): class BasePackable (line 76) | class BasePackable(object): method to_str (line 79) | def to_str(self): method to_fileobj (line 82) | def to_fileobj(self, f): method to_mmap (line 85) | def to_mmap(self, mm, ptr): function _make (line 93) | def _make(): function pypackable (line 106) | def pypackable(name, pytype, format): function _formatinfo (line 130) | def _formatinfo(format): class MetaStructure (line 138) | class MetaStructure(MetaPackable): method __new__ (line 147) | def __new__(cls, clsname, bases, dct): method from_tuple (line 185) | def from_tuple(cls, tpl, **kw): function _make (line 198) | def _make(): FILE: lib/spack/spack/vendor/macholib/util.py function fsencoding (line 23) | def fsencoding(s, encoding=sys.getfilesystemencoding()): # noqa: M511,B008 function move (line 32) | def move(src, dst): function copy2 (line 39) | def copy2(src, dst): function flipwritable (line 46) | def flipwritable(fn, mode=None): class fileview (line 58) | class fileview(object): method __init__ (line 63) | def __init__(self, fileobj, start, size): method __repr__ (line 68) | def __repr__(self): method tell (line 71) | def tell(self): method _checkwindow (line 74) | def _checkwindow(self, seekto, op): method seek (line 81) | def seek(self, offset, whence=0): method write (line 94) | def write(self, bytes): method read (line 100) | def read(self, size=sys.maxsize): function mergecopy (line 111) | def mergecopy(src, dest): function mergetree (line 121) | def mergetree(src, dst, condition=None, copyfn=mergecopy, srcbase=None): function sdk_normalize (line 160) | def sdk_normalize(filename): function in_system_path (line 175) | def in_system_path(filename): function has_filename_filter (line 190) | def has_filename_filter(module): function get_magic (line 197) | def get_magic(): function is_platform_file (line 204) | def is_platform_file(path): function iter_platform_files (line 230) | def iter_platform_files(dst): function strip_files (line 241) | def strip_files(files, argv_max=(256 * 1024)): FILE: lib/spack/spack/vendor/markupsafe/__init__.py class HasHTML (line 9) | class HasHTML(te.Protocol): method __html__ (line 10) | def __html__(self) -> str: function _simple_escaping_wrapper (line 19) | def _simple_escaping_wrapper(name: str) -> t.Callable[..., "Markup"]: class Markup (line 31) | class Markup(str): method __new__ (line 69) | def __new__( method __html__ (line 80) | def __html__(self) -> "Markup": method __add__ (line 83) | def __add__(self, other: t.Union[str, "HasHTML"]) -> "Markup": method __radd__ (line 89) | def __radd__(self, other: t.Union[str, "HasHTML"]) -> "Markup": method __mul__ (line 95) | def __mul__(self, num: int) -> "Markup": method __mod__ (line 103) | def __mod__(self, arg: t.Any) -> "Markup": method __repr__ (line 111) | def __repr__(self) -> str: method join (line 114) | def join(self, seq: t.Iterable[t.Union[str, "HasHTML"]]) -> "Markup": method split (line 119) | def split( # type: ignore method rsplit (line 126) | def rsplit( # type: ignore method splitlines (line 133) | def splitlines(self, keepends: bool = False) -> t.List["Markup"]: # t... method unescape (line 138) | def unescape(self) -> str: method striptags (line 149) | def striptags(self) -> str: method escape (line 160) | def escape(cls, s: t.Any) -> "Markup": method partition (line 193) | def partition(self, sep: str) -> t.Tuple["Markup", "Markup", "Markup"]: method rpartition (line 198) | def rpartition(self, sep: str) -> t.Tuple["Markup", "Markup", "Markup"]: method format (line 203) | def format(self, *args: t.Any, **kwargs: t.Any) -> "Markup": method __html_format__ (line 207) | def __html_format__(self, format_spec: str) -> "Markup": class EscapeFormatter (line 214) | class EscapeFormatter(string.Formatter): method __init__ (line 217) | def __init__(self, escape: t.Callable[[t.Any], Markup]) -> None: method format_field (line 221) | def format_field(self, value: t.Any, format_spec: str) -> str: function _escape_argspec (line 242) | def _escape_argspec( class _MarkupEscapeHelper (line 253) | class _MarkupEscapeHelper: method __init__ (line 258) | def __init__(self, obj: t.Any, escape: t.Callable[[t.Any], Markup]) ->... method __getitem__ (line 262) | def __getitem__(self, item: t.Any) -> "_MarkupEscapeHelper": method __str__ (line 265) | def __str__(self) -> str: method __repr__ (line 268) | def __repr__(self) -> str: method __int__ (line 271) | def __int__(self) -> int: method __float__ (line 274) | def __float__(self) -> float: FILE: lib/spack/spack/vendor/markupsafe/_native.py function escape (line 6) | def escape(s: t.Any) -> Markup: function escape_silent (line 30) | def escape_silent(s: t.Optional[t.Any]) -> Markup: function soft_str (line 46) | def soft_str(s: t.Any) -> str: function soft_unicode (line 66) | def soft_unicode(s: t.Any) -> str: FILE: lib/spack/spack/vendor/markupsafe/_speedups.c function init_constants (line 5) | static int function PyObject (line 91) | static PyObject* function PyObject (line 117) | static PyObject* function PyObject (line 143) | static PyObject* function PyObject (line 168) | static PyObject* function PyObject (line 186) | static PyObject* function PyObject (line 238) | static PyObject* function PyObject (line 247) | static PyObject* function PyObject (line 257) | static PyObject* type PyModuleDef (line 320) | struct PyModuleDef function PyMODINIT_FUNC (line 332) | PyMODINIT_FUNC FILE: lib/spack/spack/vendor/markupsafe/_speedups.pyi function escape (line 6) | def escape(s: Any) -> Markup: ... function escape_silent (line 7) | def escape_silent(s: Optional[Any]) -> Markup: ... function soft_str (line 8) | def soft_str(s: Any) -> str: ... function soft_unicode (line 9) | def soft_unicode(s: Any) -> str: ... FILE: lib/spack/spack/vendor/pyrsistent/_checked_types.py class CheckedType (line 11) | class CheckedType(object): method create (line 19) | def create(cls, source_data, _factory_fields=None): method serialize (line 23) | def serialize(self, format=None): function _restore_pickle (line 27) | def _restore_pickle(cls, data): class InvariantException (line 31) | class InvariantException(Exception): method __init__ (line 41) | def __init__(self, error_codes=(), missing_fields=(), *args, **kwargs): method __str__ (line 46) | def __str__(self): function maybe_parse_user_type (line 65) | def maybe_parse_user_type(t): function maybe_parse_many_user_types (line 95) | def maybe_parse_many_user_types(ts): function _store_types (line 101) | def _store_types(dct, bases, destination_name, source_name): function _merge_invariant_results (line 110) | def _merge_invariant_results(result): function wrap_invariant (line 121) | def wrap_invariant(invariant): function _all_dicts (line 135) | def _all_dicts(bases, seen=None): function store_invariants (line 150) | def store_invariants(dct, bases, destination_name, source_name): class _CheckedTypeMeta (line 165) | class _CheckedTypeMeta(ABCMeta): method __new__ (line 166) | def __new__(mcs, name, bases, dct): class CheckedTypeError (line 182) | class CheckedTypeError(TypeError): method __init__ (line 183) | def __init__(self, source_class, expected_types, actual_type, actual_v... class CheckedKeyTypeError (line 191) | class CheckedKeyTypeError(CheckedTypeError): class CheckedValueTypeError (line 204) | class CheckedValueTypeError(CheckedTypeError): function _get_class (line 217) | def _get_class(type_name): function get_type (line 223) | def get_type(typ): function get_types (line 230) | def get_types(typs): function _check_types (line 234) | def _check_types(it, expected_types, source_class, exception_type=Checke... function _invariant_errors (line 246) | def _invariant_errors(elem, invariants): function _invariant_errors_iterable (line 250) | def _invariant_errors_iterable(it, invariants): function optional (line 254) | def optional(*typs): function _checked_type_create (line 259) | def _checked_type_create(cls, source_data, _factory_fields=None, ignore_... class CheckedPVector (line 274) | class CheckedPVector(PythonPVector, CheckedType, metaclass=_CheckedTypeM... method __new__ (line 288) | def __new__(cls, initial=()): method set (line 294) | def set(self, key, value): method append (line 297) | def append(self, val): method extend (line 300) | def extend(self, it): method serialize (line 305) | def serialize(self, format=None): method __reduce__ (line 309) | def __reduce__(self): class Evolver (line 313) | class Evolver(PythonPVector.Evolver): method __init__ (line 316) | def __init__(self, destination_class, vector): method _check (line 321) | def _check(self, it): method __setitem__ (line 326) | def __setitem__(self, key, value): method append (line 330) | def append(self, elem): method extend (line 334) | def extend(self, it): method persistent (line 339) | def persistent(self): method __repr__ (line 351) | def __repr__(self): method evolver (line 356) | def evolver(self): class CheckedPSet (line 360) | class CheckedPSet(PSet, CheckedType, metaclass=_CheckedTypeMeta): method __new__ (line 374) | def __new__(cls, initial=()): method __repr__ (line 384) | def __repr__(self): method __str__ (line 387) | def __str__(self): method serialize (line 390) | def serialize(self, format=None): method __reduce__ (line 396) | def __reduce__(self): method evolver (line 400) | def evolver(self): class Evolver (line 403) | class Evolver(PSet._Evolver): method __init__ (line 406) | def __init__(self, destination_class, original_set): method _check (line 411) | def _check(self, it): method add (line 416) | def add(self, element): method persistent (line 421) | def persistent(self): class _CheckedMapTypeMeta (line 431) | class _CheckedMapTypeMeta(type): method __new__ (line 432) | def __new__(mcs, name, bases, dct): class CheckedPMap (line 458) | class CheckedPMap(PMap, CheckedType, metaclass=_CheckedMapTypeMeta): method __new__ (line 473) | def __new__(cls, initial={}, size=_UNDEFINED_CHECKED_PMAP_SIZE): method evolver (line 483) | def evolver(self): method __repr__ (line 486) | def __repr__(self): method serialize (line 491) | def serialize(self, format=None): method create (line 496) | def create(cls, source_data, _factory_fields=None): method __reduce__ (line 514) | def __reduce__(self): class Evolver (line 518) | class Evolver(PMap._Evolver): method __init__ (line 521) | def __init__(self, destination_class, original_map): method set (line 526) | def set(self, key, value): method persistent (line 535) | def persistent(self): FILE: lib/spack/spack/vendor/pyrsistent/_field_common.py function set_fields (line 21) | def set_fields(dct, bases, name): function check_global_invariants (line 30) | def check_global_invariants(subject, invariants): function serialize (line 37) | def serialize(serializer, format, value): function check_type (line 44) | def check_type(destination_cls, field, name, value): function is_type_cls (line 51) | def is_type_cls(type_cls, field_type): function is_field_ignore_extra_complaint (line 60) | def is_field_ignore_extra_complaint(type_cls, field, ignore_extra): class _PField (line 75) | class _PField(object): method __init__ (line 78) | def __init__(self, type, invariant, initial, mandatory, factory, seria... method factory (line 87) | def factory(self): function field (line 103) | def field(type=PFIELD_NO_TYPE, invariant=PFIELD_NO_INVARIANT, initial=PF... function _check_field_parameters (line 139) | def _check_field_parameters(field): class PTypeError (line 159) | class PTypeError(TypeError): method __init__ (line 169) | def __init__(self, source_class, field, expected_types, actual_type, *... function _restore_seq_field_pickle (line 185) | def _restore_seq_field_pickle(checked_class, item_type, data): function _types_to_names (line 190) | def _types_to_names(types): function _make_seq_field_type (line 194) | def _make_seq_field_type(checked_class, item_type): function _sequence_field (line 212) | def _sequence_field(checked_class, item_type, optional, initial): function pset_field (line 240) | def pset_field(item_type, optional=False, initial=()): function pvector_field (line 256) | def pvector_field(item_type, optional=False, initial=()): function _restore_pmap_field_pickle (line 278) | def _restore_pmap_field_pickle(key_type, value_type, data): function _make_pmap_field_type (line 283) | def _make_pmap_field_type(key_type, value_type): function pmap_field (line 304) | def pmap_field(key_type, value_type, optional=False, invariant=PFIELD_NO... FILE: lib/spack/spack/vendor/pyrsistent/_helpers.py function freeze (line 6) | def freeze(o, strict=True): function thaw (line 48) | def thaw(o, strict=True): function mutant (line 85) | def mutant(fn): FILE: lib/spack/spack/vendor/pyrsistent/_immutable.py function immutable (line 4) | def immutable(members='', name='Immutable', verbose=False): FILE: lib/spack/spack/vendor/pyrsistent/_pbag.py function _add_to_counters (line 6) | def _add_to_counters(counters, element): class PBag (line 10) | class PBag(object): method __init__ (line 35) | def __init__(self, counts): method add (line 38) | def add(self, element): method update (line 52) | def update(self, iterable): method remove (line 65) | def remove(self, element): method count (line 85) | def count(self, element): method __len__ (line 97) | def __len__(self): method __iter__ (line 106) | def __iter__(self): method __contains__ (line 119) | def __contains__(self, elt): method __repr__ (line 130) | def __repr__(self): method __eq__ (line 133) | def __eq__(self, other): method __lt__ (line 147) | def __lt__(self, other): method __add__ (line 156) | def __add__(self, other): method __sub__ (line 170) | def __sub__(self, other): method __or__ (line 188) | def __or__(self, other): method __and__ (line 204) | def __and__(self, other): method __hash__ (line 220) | def __hash__(self): function b (line 239) | def b(*elements): function pbag (line 252) | def pbag(elements): FILE: lib/spack/spack/vendor/pyrsistent/_pclass.py function _is_pclass (line 8) | def _is_pclass(bases): class PClassMeta (line 12) | class PClassMeta(type): method __new__ (line 13) | def __new__(mcs, name, bases, dct): function _check_and_set_attr (line 28) | def _check_and_set_attr(cls, field, name, value, result, invariant_errors): class PClass (line 37) | class PClass(CheckedType, metaclass=PClassMeta): method __new__ (line 46) | def __new__(cls, **kwargs): # Support *args? method set (line 82) | def set(self, *args, **kwargs): method create (line 115) | def create(cls, kwargs, _factory_fields=None, ignore_extra=False): method serialize (line 131) | def serialize(self, format=None): method transform (line 144) | def transform(self, *transformations): method __eq__ (line 153) | def __eq__(self, other): method __ne__ (line 163) | def __ne__(self, other): method __hash__ (line 166) | def __hash__(self): method __setattr__ (line 170) | def __setattr__(self, key, value): method __delattr__ (line 176) | def __delattr__(self, key): method _to_dict (line 179) | def _to_dict(self): method __repr__ (line 188) | def __repr__(self): method __reduce__ (line 192) | def __reduce__(self): method evolver (line 197) | def evolver(self): method remove (line 203) | def remove(self, name): class _PClassEvolver (line 213) | class _PClassEvolver(object): method __init__ (line 216) | def __init__(self, original, initial_dict): method __getitem__ (line 222) | def __getitem__(self, item): method set (line 225) | def set(self, key, value): method __setitem__ (line 233) | def __setitem__(self, key, value): method remove (line 236) | def remove(self, item): method __delitem__ (line 245) | def __delitem__(self, item): method persistent (line 248) | def persistent(self): method __setattr__ (line 255) | def __setattr__(self, key, value): method __getattr__ (line 261) | def __getattr__(self, item): FILE: lib/spack/spack/vendor/pyrsistent/_pdeque.py class PDeque (line 7) | class PDeque(object): method __new__ (line 50) | def __new__(cls, left_list, right_list, length, maxlen=None): method right (line 67) | def right(self): method left (line 74) | def left(self): method _tip_from_lists (line 81) | def _tip_from_lists(primary_list, secondary_list): method __iter__ (line 90) | def __iter__(self): method __repr__ (line 93) | def __repr__(self): method maxlen (line 99) | def maxlen(self): method pop (line 105) | def pop(self, count=1): method popleft (line 125) | def popleft(self, count=1): method _pop_lists (line 140) | def _pop_lists(primary_list, secondary_list, count): method _is_empty (line 157) | def _is_empty(self): method __lt__ (line 160) | def __lt__(self, other): method __eq__ (line 166) | def __eq__(self, other): method __hash__ (line 177) | def __hash__(self): method __len__ (line 180) | def __len__(self): method append (line 183) | def append(self, elem): method appendleft (line 193) | def appendleft(self, elem): method _append (line 203) | def _append(self, primary_list, secondary_list, elem): method _extend_list (line 213) | def _extend_list(the_list, iterable): method _extend (line 221) | def _extend(self, primary_list, secondary_list, iterable): method extend (line 232) | def extend(self, iterable): method extendleft (line 242) | def extendleft(self, iterable): method count (line 254) | def count(self, elem): method remove (line 263) | def remove(self, elem): method reverse (line 282) | def reverse(self): method rotate (line 297) | def rotate(self, steps): method __reduce__ (line 313) | def __reduce__(self): method __getitem__ (line 317) | def __getitem__(self, index): function pdeque (line 350) | def pdeque(iterable=(), maxlen=None): function dq (line 369) | def dq(*elements): FILE: lib/spack/spack/vendor/pyrsistent/_plist.py class _PListBuilder (line 6) | class _PListBuilder(object): method __init__ (line 13) | def __init__(self): method _append (line 17) | def _append(self, elem, constructor): method append_elem (line 27) | def append_elem(self, elem): method append_plist (line 30) | def append_plist(self, pl): method build (line 33) | def build(self): class _PListBase (line 37) | class _PListBase(object): method __reduce__ (line 46) | def __reduce__(self): method __len__ (line 50) | def __len__(self): method __repr__ (line 60) | def __repr__(self): method cons (line 64) | def cons(self, elem): method mcons (line 73) | def mcons(self, iterable): method reverse (line 88) | def reverse(self): method split (line 109) | def split(self, index): method __iter__ (line 131) | def __iter__(self): method __lt__ (line 137) | def __lt__(self, other): method __eq__ (line 143) | def __eq__(self, other): method __getitem__ (line 162) | def __getitem__(self, index): method _drop (line 185) | def _drop(self, count): method __hash__ (line 196) | def __hash__(self): method remove (line 199) | def remove(self, elem): class PList (line 222) | class PList(_PListBase): method __new__ (line 251) | def __new__(cls, first, rest): method __bool__ (line 257) | def __bool__(self): class _EmptyPList (line 266) | class _EmptyPList(_PListBase): method __bool__ (line 269) | def __bool__(self): method first (line 274) | def first(self): method rest (line 278) | def rest(self): function plist (line 288) | def plist(iterable=(), reverse=False): function l (line 306) | def l(*elements): FILE: lib/spack/spack/vendor/pyrsistent/_pmap.py class PMap (line 7) | class PMap(object): method __new__ (line 47) | def __new__(cls, size, buckets): method _get_bucket (line 54) | def _get_bucket(buckets, key): method _getitem (line 60) | def _getitem(buckets, key): method __getitem__ (line 69) | def __getitem__(self, key): method _contains (line 73) | def _contains(buckets, key): method __contains__ (line 84) | def __contains__(self, key): method __iter__ (line 89) | def __iter__(self): method __getattr__ (line 92) | def __getattr__(self, key): method iterkeys (line 100) | def iterkeys(self): method itervalues (line 107) | def itervalues(self): method iteritems (line 111) | def iteritems(self): method values (line 117) | def values(self): method keys (line 120) | def keys(self): method items (line 123) | def items(self): method __len__ (line 126) | def __len__(self): method __repr__ (line 129) | def __repr__(self): method __eq__ (line 132) | def __eq__(self, other): method __lt__ (line 152) | def __lt__(self, other): method __str__ (line 159) | def __str__(self): method __hash__ (line 162) | def __hash__(self): method set (line 167) | def set(self, key, val): method remove (line 183) | def remove(self, key): method discard (line 194) | def discard(self, key): method update (line 210) | def update(self, *maps): method update_with (line 221) | def update_with(self, update_fn, *maps): method __add__ (line 244) | def __add__(self, other): method __reduce__ (line 249) | def __reduce__(self): method transform (line 253) | def transform(self, *transformations): method copy (line 281) | def copy(self): class _Evolver (line 284) | class _Evolver(object): method __init__ (line 287) | def __init__(self, original_pmap): method __getitem__ (line 292) | def __getitem__(self, key): method __setitem__ (line 295) | def __setitem__(self, key, val): method set (line 298) | def set(self, key, val): method _reallocate (line 323) | def _reallocate(self, new_size): method is_dirty (line 338) | def is_dirty(self): method persistent (line 341) | def persistent(self): method __len__ (line 347) | def __len__(self): method __contains__ (line 350) | def __contains__(self, key): method __delitem__ (line 353) | def __delitem__(self, key): method remove (line 356) | def remove(self, key): method evolver (line 368) | def evolver(self): function _turbo_mapping (line 403) | def _turbo_mapping(initial, pre_size): function pmap (line 438) | def pmap(initial={}, pre_size=0): function m (line 454) | def m(**kwargs): FILE: lib/spack/spack/vendor/pyrsistent/_precord.py class _PRecordMeta (line 8) | class _PRecordMeta(type): method __new__ (line 9) | def __new__(mcs, name, bases, dct): class PRecord (line 25) | class PRecord(PMap, CheckedType, metaclass=_PRecordMeta): method __new__ (line 33) | def __new__(cls, **kwargs): method set (line 55) | def set(self, *args, **kwargs): method evolver (line 69) | def evolver(self): method __repr__ (line 75) | def __repr__(self): method create (line 80) | def create(cls, kwargs, _factory_fields=None, ignore_extra=False): method __reduce__ (line 96) | def __reduce__(self): method serialize (line 100) | def serialize(self, format=None): class _PRecordEvolver (line 108) | class _PRecordEvolver(PMap._Evolver): method __init__ (line 111) | def __init__(self, cls, original_pmap, _factory_fields=None, _ignore_e... method __setitem__ (line 119) | def __setitem__(self, key, original_value): method set (line 122) | def set(self, key, original_value): method persistent (line 148) | def persistent(self): FILE: lib/spack/spack/vendor/pyrsistent/_pset.py class PSet (line 6) | class PSet(object): method __new__ (line 30) | def __new__(cls, m): method __contains__ (line 35) | def __contains__(self, element): method __iter__ (line 38) | def __iter__(self): method __len__ (line 41) | def __len__(self): method __repr__ (line 44) | def __repr__(self): method __str__ (line 50) | def __str__(self): method __hash__ (line 53) | def __hash__(self): method __reduce__ (line 56) | def __reduce__(self): method _from_iterable (line 61) | def _from_iterable(cls, it, pre_size=8): method add (line 64) | def add(self, element): method update (line 74) | def update(self, iterable): method remove (line 88) | def remove(self, element): method discard (line 101) | def discard(self, element): class _Evolver (line 110) | class _Evolver(object): method __init__ (line 113) | def __init__(self, original_pset): method add (line 117) | def add(self, element): method remove (line 121) | def remove(self, element): method is_dirty (line 125) | def is_dirty(self): method persistent (line 128) | def persistent(self): method __len__ (line 134) | def __len__(self): method copy (line 137) | def copy(self): method evolver (line 140) | def evolver(self): function pset (line 202) | def pset(iterable=(), pre_size=8): function s (line 217) | def s(*elements): FILE: lib/spack/spack/vendor/pyrsistent/_pvector.py function _bitcount (line 8) | def _bitcount(val): function compare_pvector (line 16) | def compare_pvector(v, other, operator): function _index_or_slice (line 20) | def _index_or_slice(index, stop): class PythonPVector (line 27) | class PythonPVector(object): method __new__ (line 33) | def __new__(cls, count, shift, root, tail): method __len__ (line 44) | def __len__(self): method __getitem__ (line 47) | def __getitem__(self, index): method __add__ (line 63) | def __add__(self, other): method __repr__ (line 66) | def __repr__(self): method __str__ (line 69) | def __str__(self): method __iter__ (line 72) | def __iter__(self): method __ne__ (line 77) | def __ne__(self, other): method __eq__ (line 80) | def __eq__(self, other): method __gt__ (line 83) | def __gt__(self, other): method __lt__ (line 86) | def __lt__(self, other): method __ge__ (line 89) | def __ge__(self, other): method __le__ (line 92) | def __le__(self, other): method __mul__ (line 95) | def __mul__(self, times): method _fill_list (line 106) | def _fill_list(self, node, shift, the_list): method tolist (line 114) | def tolist(self): method _totuple (line 123) | def _totuple(self): method __hash__ (line 129) | def __hash__(self): method transform (line 133) | def transform(self, *transformations): method __reduce__ (line 136) | def __reduce__(self): method mset (line 140) | def mset(self, *args): class Evolver (line 150) | class Evolver(object): method __init__ (line 154) | def __init__(self, v): method __getitem__ (line 157) | def __getitem__(self, index): method _reset (line 169) | def _reset(self, v): method append (line 180) | def append(self, element): method extend (line 184) | def extend(self, iterable): method set (line 188) | def set(self, index, val): method __setitem__ (line 192) | def __setitem__(self, index, val): method _do_set (line 218) | def _do_set(self, level, node, i, val): method delete (line 234) | def delete(self, index): method __delitem__ (line 238) | def __delitem__(self, key): method persistent (line 248) | def persistent(self): method __len__ (line 256) | def __len__(self): method is_dirty (line 259) | def is_dirty(self): method evolver (line 262) | def evolver(self): method set (line 265) | def set(self, i, val): method _do_set (line 289) | def _do_set(self, level, node, i, val): method _node_for (line 300) | def _node_for(pvector_like, i): method _create_new_root (line 313) | def _create_new_root(self): method append (line 325) | def append(self, val): method _new_path (line 335) | def _new_path(self, level, node): method _mutating_insert_tail (line 341) | def _mutating_insert_tail(self): method _mutating_fill_tail (line 345) | def _mutating_fill_tail(self, offset, sequence): method _mutating_extend (line 353) | def _mutating_extend(self, sequence): method extend (line 363) | def extend(self, obj): method _push_tail (line 374) | def _push_tail(self, level, parent, tail_node): method index (line 397) | def index(self, value, *args, **kwargs): method count (line 400) | def count(self, value): method delete (line 403) | def delete(self, index, stop=None): method remove (line 408) | def remove(self, value): class PVector (line 413) | class PVector(metaclass=ABCMeta): method __len__ (line 456) | def __len__(self): method __getitem__ (line 463) | def __getitem__(self, index): method __add__ (line 475) | def __add__(self, other): method __mul__ (line 484) | def __mul__(self, times): method __hash__ (line 492) | def __hash__(self): method evolver (line 501) | def evolver(self): method mset (line 549) | def mset(self, *args): method set (line 562) | def set(self, i, val): method append (line 579) | def append(self, val): method extend (line 589) | def extend(self, obj): method index (line 600) | def index(self, value, *args, **kwargs): method count (line 613) | def count(self, value): method transform (line 623) | def transform(self, *transformations): method delete (line 651) | def delete(self, index, stop=None): method remove (line 663) | def remove(self, value): function python_pvector (line 681) | def python_pvector(iterable=()): function v (line 703) | def v(*elements): FILE: lib/spack/spack/vendor/pyrsistent/_toolz.py function get_in (line 45) | def get_in(keys, coll, default=None, no_default=False): FILE: lib/spack/spack/vendor/pyrsistent/_transformations.py function inc (line 12) | def inc(x): function dec (line 17) | def dec(x): function discard (line 22) | def discard(evolver, key): function rex (line 31) | def rex(expr): function ny (line 37) | def ny(_): function _chunks (line 43) | def _chunks(l, n): function transform (line 48) | def transform(structure, transformations): function _do_to_path (line 55) | def _do_to_path(structure, path, command): function _items (line 63) | def _items(structure): function _get (line 71) | def _get(structure, key, default): function _get_keys_and_values (line 82) | def _get_keys_and_values(structure, key_spec): function _get_arity (line 105) | def _get_arity(f): function _get_arity (line 109) | def _get_arity(f): function _update_structure (line 119) | def _update_structure(structure, kvs, path, command): FILE: lib/spack/spack/vendor/pyrsistent/typing.py class CheckedPMap (line 42) | class CheckedPMap(Mapping[KT, VT], Hashable): class CheckedPSet (line 46) | class CheckedPSet(Generic[T], Hashable): class CheckedPVector (line 49) | class CheckedPVector(Sequence[T], Hashable): class PBag (line 52) | class PBag(Container[T], Iterable[T], Sized, Hashable): class PDeque (line 55) | class PDeque(Sequence[T], Hashable): class PList (line 58) | class PList(Sequence[T], Hashable): class PMap (line 61) | class PMap(Mapping[KT, VT], Hashable): class PSet (line 65) | class PSet(Generic[T], Hashable): class PVector (line 68) | class PVector(Sequence[T], Hashable): class PVectorEvolver (line 71) | class PVectorEvolver(Generic[T]): class PMapEvolver (line 74) | class PMapEvolver(Generic[KT, VT]): class PSetEvolver (line 77) | class PSetEvolver(Generic[T]): FILE: lib/spack/spack/vendor/pyrsistent/typing.pyi class PMap (line 30) | class PMap(Mapping[KT, VT], Hashable): method __add__ (line 31) | def __add__(self, other: PMap[KT, VT]) -> PMap[KT, VT]: ... method __getitem__ (line 32) | def __getitem__(self, key: KT) -> VT: ... method __getattr__ (line 33) | def __getattr__(self, key: str) -> VT: ... method __hash__ (line 34) | def __hash__(self) -> int: ... method __iter__ (line 35) | def __iter__(self) -> Iterator[KT]: ... method __len__ (line 36) | def __len__(self) -> int: ... method copy (line 37) | def copy(self) -> PMap[KT, VT]: ... method discard (line 38) | def discard(self, key: KT) -> PMap[KT, VT]: ... method evolver (line 39) | def evolver(self) -> PMapEvolver[KT, VT]: ... method iteritems (line 40) | def iteritems(self) -> Iterable[Tuple[KT, VT]]: ... method iterkeys (line 41) | def iterkeys(self) -> Iterable[KT]: ... method itervalues (line 42) | def itervalues(self) -> Iterable[VT]: ... method remove (line 43) | def remove(self, key: KT) -> PMap[KT, VT]: ... method set (line 44) | def set(self, key: KT, val: VT) -> PMap[KT, VT]: ... method transform (line 45) | def transform(self, *transformations: Any) -> PMap[KT, VT]: ... method update (line 46) | def update(self, *args: Mapping): ... method update_with (line 47) | def update_with(self, update_fn: Callable[[VT, VT], VT], *args: Mappin... class PMapEvolver (line 50) | class PMapEvolver(Generic[KT, VT]): method __delitem__ (line 51) | def __delitem__(self, key: KT) -> None: ... method __getitem__ (line 52) | def __getitem__(self, key: KT) -> VT: ... method __len__ (line 53) | def __len__(self) -> int: ... method __setitem__ (line 54) | def __setitem__(self, key: KT, val: VT) -> None: ... method is_dirty (line 55) | def is_dirty(self) -> bool: ... method persistent (line 56) | def persistent(self) -> PMap[KT, VT]: ... method remove (line 57) | def remove(self, key: KT) -> PMapEvolver[KT, VT]: ... method set (line 58) | def set(self, key: KT, val: VT) -> PMapEvolver[KT, VT]: ... class PVector (line 61) | class PVector(Sequence[T], Hashable): method __add__ (line 62) | def __add__(self, other: PVector[T]) -> PVector[T]: ... method __getitem__ (line 64) | def __getitem__(self, index: int) -> T: ... method __getitem__ (line 66) | def __getitem__(self, index: slice) -> PVector[T]: ... method __hash__ (line 67) | def __hash__(self) -> int: ... method __len__ (line 68) | def __len__(self) -> int: ... method __mul__ (line 69) | def __mul__(self, other: PVector[T]) -> PVector[T]: ... method append (line 70) | def append(self, val: T) -> PVector[T]: ... method delete (line 71) | def delete(self, index: int, stop: Optional[int]) -> PVector[T]: ... method evolver (line 72) | def evolver(self) -> PVectorEvolver[T]: ... method extend (line 73) | def extend(self, obj: Iterable[T]) -> PVector[T]: ... method tolist (line 74) | def tolist(self) -> List[T]: ... method mset (line 75) | def mset(self, *args: Iterable[Union[T, int]]) -> PVector[T]: ... method remove (line 76) | def remove(self, value: T) -> PVector[T]: ... method set (line 78) | def set(self, i: int, val: T) -> PVector[T]: ... method transform (line 79) | def transform(self, *transformations: Any) -> PVector[T]: ... class PVectorEvolver (line 82) | class PVectorEvolver(Sequence[T], Sized): method __delitem__ (line 83) | def __delitem__(self, i: Union[int, slice]) -> None: ... method __getitem__ (line 85) | def __getitem__(self, index: int) -> T: ... method __getitem__ (line 88) | def __getitem__(self, index: slice) -> PVectorEvolver[T]: ... method __len__ (line 89) | def __len__(self) -> int: ... method __setitem__ (line 90) | def __setitem__(self, index: int, val: T) -> None: ... method append (line 91) | def append(self, val: T) -> PVectorEvolver[T]: ... method delete (line 92) | def delete(self, value: T) -> PVectorEvolver[T]: ... method extend (line 93) | def extend(self, obj: Iterable[T]) -> PVectorEvolver[T]: ... method is_dirty (line 94) | def is_dirty(self) -> bool: ... method persistent (line 95) | def persistent(self) -> PVector[T]: ... method set (line 96) | def set(self, i: int, val: T) -> PVectorEvolver[T]: ... class PSet (line 99) | class PSet(AbstractSet[T], Hashable): method __contains__ (line 100) | def __contains__(self, element: object) -> bool: ... method __hash__ (line 101) | def __hash__(self) -> int: ... method __iter__ (line 102) | def __iter__(self) -> Iterator[T]: ... method __len__ (line 103) | def __len__(self) -> int: ... method add (line 104) | def add(self, element: T) -> PSet[T]: ... method copy (line 105) | def copy(self) -> PSet[T]: ... method difference (line 106) | def difference(self, iterable: Iterable) -> PSet[T]: ... method discard (line 107) | def discard(self, element: T) -> PSet[T]: ... method evolver (line 108) | def evolver(self) -> PSetEvolver[T]: ... method intersection (line 109) | def intersection(self, iterable: Iterable) -> PSet[T]: ... method issubset (line 110) | def issubset(self, iterable: Iterable) -> bool: ... method issuperset (line 111) | def issuperset(self, iterable: Iterable) -> bool: ... method remove (line 112) | def remove(self, element: T) -> PSet[T]: ... method symmetric_difference (line 113) | def symmetric_difference(self, iterable: Iterable[T]) -> PSet[T]: ... method union (line 114) | def union(self, iterable: Iterable[T]) -> PSet[T]: ... method update (line 115) | def update(self, iterable: Iterable[T]) -> PSet[T]: ... class PSetEvolver (line 118) | class PSetEvolver(Generic[T], Sized): method __len__ (line 119) | def __len__(self) -> int: ... method add (line 120) | def add(self, element: T) -> PSetEvolver[T]: ... method is_dirty (line 121) | def is_dirty(self) -> bool: ... method persistent (line 122) | def persistent(self) -> PSet[T]: ... method remove (line 123) | def remove(self, element: T) -> PSetEvolver[T]: ... class PBag (line 126) | class PBag(Generic[T], Sized, Hashable): method __add__ (line 127) | def __add__(self, other: PBag[T]) -> PBag[T]: ... method __and__ (line 128) | def __and__(self, other: PBag[T]) -> PBag[T]: ... method __contains__ (line 129) | def __contains__(self, elem: object) -> bool: ... method __hash__ (line 130) | def __hash__(self) -> int: ... method __iter__ (line 131) | def __iter__(self) -> Iterator[T]: ... method __len__ (line 132) | def __len__(self) -> int: ... method __or__ (line 133) | def __or__(self, other: PBag[T]) -> PBag[T]: ... method __sub__ (line 134) | def __sub__(self, other: PBag[T]) -> PBag[T]: ... method add (line 135) | def add(self, elem: T) -> PBag[T]: ... method count (line 136) | def count(self, elem: T) -> int: ... method remove (line 137) | def remove(self, elem: T) -> PBag[T]: ... method update (line 138) | def update(self, iterable: Iterable[T]) -> PBag[T]: ... class PDeque (line 141) | class PDeque(Sequence[T], Hashable): method __getitem__ (line 143) | def __getitem__(self, index: int) -> T: ... method __getitem__ (line 145) | def __getitem__(self, index: slice) -> PDeque[T]: ... method __hash__ (line 146) | def __hash__(self) -> int: ... method __len__ (line 147) | def __len__(self) -> int: ... method __lt__ (line 148) | def __lt__(self, other: PDeque[T]) -> bool: ... method append (line 149) | def append(self, elem: T) -> PDeque[T]: ... method appendleft (line 150) | def appendleft(self, elem: T) -> PDeque[T]: ... method extend (line 151) | def extend(self, iterable: Iterable[T]) -> PDeque[T]: ... method extendleft (line 152) | def extendleft(self, iterable: Iterable[T]) -> PDeque[T]: ... method left (line 154) | def left(self) -> T: ... method maxlen (line 159) | def maxlen(self) -> int: ... method pop (line 160) | def pop(self, count: int = 1) -> PDeque[T]: ... method popleft (line 161) | def popleft(self, count: int = 1) -> PDeque[T]: ... method remove (line 162) | def remove(self, elem: T) -> PDeque[T]: ... method reverse (line 163) | def reverse(self) -> PDeque[T]: ... method right (line 165) | def right(self) -> T: ... method rotate (line 166) | def rotate(self, steps: int) -> PDeque[T]: ... class PList (line 169) | class PList(Sequence[T], Hashable): method __getitem__ (line 171) | def __getitem__(self, index: int) -> T: ... method __getitem__ (line 173) | def __getitem__(self, index: slice) -> PList[T]: ... method __hash__ (line 174) | def __hash__(self) -> int: ... method __len__ (line 175) | def __len__(self) -> int: ... method __lt__ (line 176) | def __lt__(self, other: PList[T]) -> bool: ... method __gt__ (line 177) | def __gt__(self, other: PList[T]) -> bool: ... method cons (line 178) | def cons(self, elem: T) -> PList[T]: ... method first (line 180) | def first(self) -> T: ... method mcons (line 181) | def mcons(self, iterable: Iterable[T]) -> PList[T]: ... method remove (line 182) | def remove(self, elem: T) -> PList[T]: ... method rest (line 184) | def rest(self) -> PList[T]: ... method reverse (line 185) | def reverse(self) -> PList[T]: ... method split (line 186) | def split(self, index: int) -> Tuple[PList[T], PList[T]]: ... class PClass (line 190) | class PClass(Hashable): method __new__ (line 191) | def __new__(cls, **kwargs: Any): ... method set (line 192) | def set(self: T_PClass, *args: Any, **kwargs: Any) -> T_PClass: ... method create (line 194) | def create( method serialize (line 200) | def serialize(self, format: Optional[Any] = ...): ... method transform (line 201) | def transform(self, *transformations: Any): ... method __eq__ (line 202) | def __eq__(self, other: object): ... method __ne__ (line 203) | def __ne__(self, other: object): ... method __hash__ (line 204) | def __hash__(self): ... method __reduce__ (line 205) | def __reduce__(self): ... method evolver (line 206) | def evolver(self) -> PClassEvolver: ... method remove (line 207) | def remove(self: T_PClass, name: Any) -> T_PClass: ... class PClassEvolver (line 209) | class PClassEvolver: method __init__ (line 210) | def __init__(self, original: Any, initial_dict: Any) -> None: ... method __getitem__ (line 211) | def __getitem__(self, item: Any): ... method set (line 212) | def set(self, key: Any, value: Any): ... method __setitem__ (line 213) | def __setitem__(self, key: Any, value: Any) -> None: ... method remove (line 214) | def remove(self, item: Any): ... method __delitem__ (line 215) | def __delitem__(self, item: Any) -> None: ... method persistent (line 216) | def persistent(self) -> PClass: ... method __getattr__ (line 217) | def __getattr__(self, item: Any): ... class CheckedPMap (line 221) | class CheckedPMap(PMap[KT, VT]): method __new__ (line 224) | def __new__(cls, source: Mapping[KT, VT] = ..., size: int = ...) -> Ch... method create (line 226) | def create(cls, source_data: Mapping[KT, VT], _factory_fields: Any = .... method serialize (line 227) | def serialize(self, format: Optional[Any] = ...) -> Dict[KT, VT]: ... class CheckedPVector (line 230) | class CheckedPVector(PVector[T]): method __new__ (line 232) | def __new__(self, initial: Iterable[T] = ...) -> CheckedPVector: ... method create (line 234) | def create(cls, source_data: Iterable[T], _factory_fields: Any = ...) ... method serialize (line 235) | def serialize(self, format: Optional[Any] = ...) -> List[T]: ... class CheckedPSet (line 238) | class CheckedPSet(PSet[T]): method __new__ (line 240) | def __new__(cls, initial: Iterable[T] = ...) -> CheckedPSet: ... method create (line 242) | def create(cls, source_data: Iterable[T], _factory_fields: Any = ...) ... method serialize (line 243) | def serialize(self, format: Optional[Any] = ...) -> Set[T]: ... class InvariantException (line 246) | class InvariantException(Exception): method __init__ (line 249) | def __init__( class CheckedTypeError (line 258) | class CheckedTypeError(TypeError): method __init__ (line 263) | def __init__( class CheckedKeyTypeError (line 274) | class CheckedKeyTypeError(CheckedTypeError): ... class CheckedValueTypeError (line 275) | class CheckedValueTypeError(CheckedTypeError): ... class CheckedType (line 276) | class CheckedType: ... class PTypeError (line 279) | class PTypeError(TypeError): method __init__ (line 284) | def __init__( FILE: lib/spack/spack/vendor/ruamel/yaml/anchor.py class Anchor (line 8) | class Anchor: method __init__ (line 12) | def __init__(self): method __repr__ (line 17) | def __repr__(self): FILE: lib/spack/spack/vendor/ruamel/yaml/comments.py class IDX (line 47) | class IDX: method __init__ (line 49) | def __init__(self): method __call__ (line 53) | def __call__(self): method __str__ (line 59) | def __str__(self): class Comment (line 89) | class Comment: method __init__ (line 95) | def __init__(self, old=True): method __str__ (line 106) | def __str__(self): method _old__repr__ (line 114) | def _old__repr__(self): method __repr__ (line 131) | def __repr__(self): method items (line 151) | def items(self): method end (line 156) | def end(self): method end (line 161) | def end(self, value): method pre (line 166) | def pre(self): method pre (line 171) | def pre(self, value): method get (line 175) | def get(self, item, pos): method set (line 182) | def set(self, item, pos, value): method __contains__ (line 193) | def __contains__(self, x): function NoComment (line 217) | def NoComment(): class Format (line 222) | class Format: method __init__ (line 226) | def __init__(self): method set_flow_style (line 230) | def set_flow_style(self): method set_block_style (line 234) | def set_block_style(self): method flow_style (line 238) | def flow_style(self, default=None): class LineCol (line 249) | class LineCol: method __init__ (line 256) | def __init__(self): method add_kv_line_col (line 262) | def add_kv_line_col(self, key, data): method key (line 268) | def key(self, k): method value (line 272) | def value(self, k): method _kv (line 276) | def _kv(self, k, x0, x1): method item (line 283) | def item(self, idx): method add_idx_line_col (line 289) | def add_idx_line_col(self, key, data): method __repr__ (line 295) | def __repr__(self): class Tag (line 300) | class Tag: method __init__ (line 306) | def __init__(self): method __repr__ (line 310) | def __repr__(self): class CommentedBase (line 315) | class CommentedBase: method ca (line 317) | def ca(self): method yaml_end_comment_extend (line 323) | def yaml_end_comment_extend(self, comment, clear=False): method yaml_key_comment_extend (line 331) | def yaml_key_comment_extend(self, key, comment, clear=False): method yaml_value_comment_extend (line 342) | def yaml_value_comment_extend(self, key, comment, clear=False): method yaml_set_start_comment (line 353) | def yaml_set_start_comment(self, comment, indent=0): method yaml_set_comment_before_after_key (line 371) | def yaml_set_comment_before_after_key( method fa (line 410) | def fa(self): method yaml_add_eol_comment (line 419) | def yaml_add_eol_comment(self, comment, key=NoComment, column=None): method lc (line 445) | def lc(self): method _yaml_set_line_col (line 451) | def _yaml_set_line_col(self, line, col): method _yaml_set_kv_line_col (line 456) | def _yaml_set_kv_line_col(self, key, data): method _yaml_set_idx_line_col (line 460) | def _yaml_set_idx_line_col(self, key, data): method anchor (line 465) | def anchor(self): method yaml_anchor (line 471) | def yaml_anchor(self): method yaml_set_anchor (line 477) | def yaml_set_anchor(self, value, always_dump=False): method tag (line 483) | def tag(self): method yaml_set_tag (line 489) | def yaml_set_tag(self, value): method copy_attributes (line 493) | def copy_attributes(self, t, memo=None): method _yaml_add_eol_comment (line 505) | def _yaml_add_eol_comment(self, comment, key): method _yaml_get_pre_comment (line 509) | def _yaml_get_pre_comment(self): method _yaml_get_column (line 513) | def _yaml_get_column(self, key): class CommentedSeq (line 518) | class CommentedSeq(MutableSliceableSequence, list, CommentedBase): # ty... method __init__ (line 521) | def __init__(self, *args, **kw): method __getsingleitem__ (line 525) | def __getsingleitem__(self, idx): method __setsingleitem__ (line 529) | def __setsingleitem__(self, idx, value): method __delsingleitem__ (line 541) | def __delsingleitem__(self, idx=None): method __len__ (line 550) | def __len__(self): method insert (line 554) | def insert(self, idx, val): method extend (line 563) | def extend(self, val): method __eq__ (line 567) | def __eq__(self, other): method _yaml_add_comment (line 571) | def _yaml_add_comment(self, comment, key=NoComment): method _yaml_add_eol_comment (line 578) | def _yaml_add_eol_comment(self, comment, key): method _yaml_get_columnX (line 582) | def _yaml_get_columnX(self, key): method _yaml_get_column (line 586) | def _yaml_get_column(self, key): method _yaml_get_pre_comment (line 607) | def _yaml_get_pre_comment(self): method _yaml_clear_pre_comment (line 616) | def _yaml_clear_pre_comment(self): method __deepcopy__ (line 625) | def __deepcopy__(self, memo): method __add__ (line 634) | def __add__(self, other): method sort (line 638) | def sort(self, key=None, reverse=False): method __repr__ (line 655) | def __repr__(self): class CommentedKeySeq (line 660) | class CommentedKeySeq(tuple, CommentedBase): # type: ignore method _yaml_add_comment (line 663) | def _yaml_add_comment(self, comment, key=NoComment): method _yaml_add_eol_comment (line 670) | def _yaml_add_eol_comment(self, comment, key): method _yaml_get_columnX (line 674) | def _yaml_get_columnX(self, key): method _yaml_get_column (line 678) | def _yaml_get_column(self, key): method _yaml_get_pre_comment (line 699) | def _yaml_get_pre_comment(self): method _yaml_clear_pre_comment (line 708) | def _yaml_clear_pre_comment(self): class CommentedMapView (line 718) | class CommentedMapView(Sized): method __init__ (line 721) | def __init__(self, mapping): method __len__ (line 725) | def __len__(self): class CommentedMapKeysView (line 731) | class CommentedMapKeysView(CommentedMapView, Set): # type: ignore method _from_iterable (line 735) | def _from_iterable(self, it): method __contains__ (line 739) | def __contains__(self, key): method __iter__ (line 743) | def __iter__(self): class CommentedMapItemsView (line 750) | class CommentedMapItemsView(CommentedMapView, Set): # type: ignore method _from_iterable (line 754) | def _from_iterable(self, it): method __contains__ (line 758) | def __contains__(self, item): method __iter__ (line 768) | def __iter__(self): class CommentedMapValuesView (line 774) | class CommentedMapValuesView(CommentedMapView): method __contains__ (line 777) | def __contains__(self, value): method __iter__ (line 784) | def __iter__(self): class CommentedMap (line 790) | class CommentedMap(ordereddict, CommentedBase): method __init__ (line 793) | def __init__(self, *args, **kw): method _yaml_add_comment (line 799) | def _yaml_add_comment(self, comment, key=NoComment, value=NoComment): method _yaml_add_eol_comment (line 810) | def _yaml_add_eol_comment(self, comment, key): method _yaml_get_columnX (line 815) | def _yaml_get_columnX(self, key): method _yaml_get_column (line 819) | def _yaml_get_column(self, key): method _yaml_get_pre_comment (line 847) | def _yaml_get_pre_comment(self): method _yaml_clear_pre_comment (line 856) | def _yaml_clear_pre_comment(self): method update (line 865) | def update(self, *vals, **kw): method insert (line 883) | def insert(self, pos, key, value, comment=None): method mlget (line 898) | def mlget(self, key, default=None, list_ok=False): method __getitem__ (line 924) | def __getitem__(self, key): method __setitem__ (line 934) | def __setitem__(self, key, value): method _unmerged_contains (line 947) | def _unmerged_contains(self, key): method __contains__ (line 953) | def __contains__(self, key): method get (line 957) | def get(self, key, default=None): method __repr__ (line 964) | def __repr__(self): method non_merged_items (line 968) | def non_merged_items(self): method __delitem__ (line 974) | def __delitem__(self, key): method __iter__ (line 994) | def __iter__(self): method _keys (line 999) | def _keys(self): method __len__ (line 1004) | def __len__(self): method __eq__ (line 1008) | def __eq__(self, other): method keys (line 1012) | def keys(self): method values (line 1016) | def values(self): method _items (line 1020) | def _items(self): method items (line 1025) | def items(self): method merge (line 1030) | def merge(self): method copy (line 1036) | def copy(self): method add_referent (line 1044) | def add_referent(self, cm): method add_yaml_merge (line 1049) | def add_yaml_merge(self, value): method update_key_value (line 1059) | def update_key_value(self, key): method __deepcopy__ (line 1069) | def __deepcopy__(self, memo): function raise_immutable (line 1081) | def raise_immutable(cls, *args, **kwargs): class CommentedKeyMap (line 1086) | class CommentedKeyMap(CommentedBase, Mapping): # type: ignore method __init__ (line 1090) | def __init__(self, *args, **kw): method __getitem__ (line 1102) | def __getitem__(self, index): method __iter__ (line 1106) | def __iter__(self): method __len__ (line 1111) | def __len__(self): method __hash__ (line 1115) | def __hash__(self): method __repr__ (line 1119) | def __repr__(self): method fromkeys (line 1126) | def fromkeys(keys, v=None): method _yaml_add_comment (line 1130) | def _yaml_add_comment(self, comment, key=NoComment): method _yaml_add_eol_comment (line 1137) | def _yaml_add_eol_comment(self, comment, key): method _yaml_get_columnX (line 1141) | def _yaml_get_columnX(self, key): method _yaml_get_column (line 1145) | def _yaml_get_column(self, key): method _yaml_get_pre_comment (line 1166) | def _yaml_get_pre_comment(self): class CommentedOrderedMap (line 1176) | class CommentedOrderedMap(CommentedMap): class CommentedSet (line 1180) | class CommentedSet(MutableSet, CommentedBase): # type: ignore # NOQA method __init__ (line 1183) | def __init__(self, values=None): method _yaml_add_comment (line 1190) | def _yaml_add_comment(self, comment, key=NoComment, value=NoComment): method _yaml_add_eol_comment (line 1201) | def _yaml_add_eol_comment(self, comment, key): method add (line 1206) | def add(self, value): method discard (line 1211) | def discard(self, value): method __contains__ (line 1216) | def __contains__(self, x): method __iter__ (line 1220) | def __iter__(self): method __len__ (line 1225) | def __len__(self): method __repr__ (line 1229) | def __repr__(self): class TaggedScalar (line 1234) | class TaggedScalar(CommentedBase): method __init__ (line 1236) | def __init__(self, value=None, style=None, tag=None): method __str__ (line 1243) | def __str__(self): function dump_comments (line 1248) | def dump_comments(d, name="", sep='.', out=sys.stdout): FILE: lib/spack/spack/vendor/ruamel/yaml/compat.py class ordereddict (line 29) | class ordereddict(OrderedDict): # type: ignore method insert (line 32) | def insert(self, pos, key, value): function _F (line 55) | def _F(s, *superfluous, **kw): function with_metaclass (line 76) | def with_metaclass(meta, *bases): class ObjectCounter (line 98) | class ObjectCounter: method __init__ (line 99) | def __init__(self): method __call__ (line 103) | def __call__(self, k): method dump (line 107) | def dump(self): function dbg (line 116) | def dbg(val=None): class Nprint (line 131) | class Nprint: method __init__ (line 132) | def __init__(self, file_name=None): method __call__ (line 138) | def __call__(self, *args, **kw): method set_max_print (line 160) | def set_max_print(self, i): method fp (line 165) | def fp(self, mode='a'): function check_namespace_char (line 177) | def check_namespace_char(ch): function check_anchorname_char (line 190) | def check_anchorname_char(ch): function version_tnf (line 197) | def version_tnf(t1, t2=None): class MutableSliceableSequence (line 211) | class MutableSliceableSequence(collections.abc.MutableSequence): # type... method __getitem__ (line 214) | def __getitem__(self, index): method __setitem__ (line 220) | def __setitem__(self, index, value): method __delitem__ (line 247) | def __delitem__(self, index): method __getsingleitem__ (line 256) | def __getsingleitem__(self, index): method __setsingleitem__ (line 261) | def __setsingleitem__(self, index, value): method __delsingleitem__ (line 266) | def __delsingleitem__(self, index): FILE: lib/spack/spack/vendor/ruamel/yaml/composer.py class ComposerError (line 26) | class ComposerError(MarkedYAMLError): class Composer (line 30) | class Composer: method __init__ (line 31) | def __init__(self, loader=None): method parser (line 39) | def parser(self): method resolver (line 46) | def resolver(self): method check_node (line 53) | def check_node(self): method get_node (line 62) | def get_node(self): method get_single_node (line 68) | def get_single_node(self): method compose_document (line 93) | def compose_document(self): method return_alias (line 107) | def return_alias(self, a): method compose_node (line 111) | def compose_node(self, parent, index): method compose_scalar_node (line 147) | def compose_scalar_node(self, anchor): method compose_sequence_node (line 166) | def compose_sequence_node(self, anchor): method compose_mapping_node (line 199) | def compose_mapping_node(self, anchor): method check_end_doc_comment (line 233) | def check_end_doc_comment(self, end_event, node): FILE: lib/spack/spack/vendor/ruamel/yaml/configobjwalker.py function configobj_walker (line 11) | def configobj_walker(cfg): FILE: lib/spack/spack/vendor/ruamel/yaml/constructor.py class ConstructorError (line 45) | class ConstructorError(MarkedYAMLError): class DuplicateKeyFutureWarning (line 49) | class DuplicateKeyFutureWarning(MarkedYAMLFutureWarning): class DuplicateKeyError (line 53) | class DuplicateKeyError(MarkedYAMLError): class BaseConstructor (line 57) | class BaseConstructor: method __init__ (line 62) | def __init__(self, preserve_quotes=None, loader=None): method composer (line 78) | def composer(self): method resolver (line 91) | def resolver(self): method scanner (line 98) | def scanner(self): method check_data (line 105) | def check_data(self): method get_data (line 110) | def get_data(self): method get_single_data (line 116) | def get_single_data(self): method construct_document (line 124) | def construct_document(self, node): method construct_object (line 138) | def construct_object(self, node, deep=False): method construct_non_recursive_object (line 162) | def construct_non_recursive_object(self, node, tag=None): method construct_scalar (line 202) | def construct_scalar(self, node): method construct_sequence (line 213) | def construct_sequence(self, node, deep=False): method construct_mapping (line 227) | def construct_mapping(self, node, deep=False): method check_mapping_key (line 270) | def check_mapping_key(self, node, key_node, mapping, key, value): method check_set_key (line 298) | def check_set_key(self, node, key_node, setting, key): method construct_pairs (line 321) | def construct_pairs(self, node, deep=False): method add_constructor (line 338) | def add_constructor(cls, tag, constructor): method add_multi_constructor (line 345) | def add_multi_constructor(cls, tag_prefix, multi_constructor): class SafeConstructor (line 352) | class SafeConstructor(BaseConstructor): method construct_scalar (line 353) | def construct_scalar(self, node): method flatten_mapping (line 361) | def flatten_mapping(self, node): method construct_mapping (line 438) | def construct_mapping(self, node, deep=False): method construct_yaml_null (line 447) | def construct_yaml_null(self, node): method construct_yaml_bool (line 464) | def construct_yaml_bool(self, node): method construct_yaml_int (line 469) | def construct_yaml_int(self, node): method construct_yaml_float (line 505) | def construct_yaml_float(self, node): method construct_yaml_binary (line 535) | def construct_yaml_binary(self, node): method construct_yaml_timestamp (line 558) | def construct_yaml_timestamp(self, node, values=None): method construct_yaml_omap (line 575) | def construct_yaml_omap(self, node): method construct_yaml_pairs (line 614) | def construct_yaml_pairs(self, node): method construct_yaml_set (line 652) | def construct_yaml_set(self, node): method construct_yaml_str (line 659) | def construct_yaml_str(self, node): method construct_yaml_seq (line 664) | def construct_yaml_seq(self, node): method construct_yaml_map (line 670) | def construct_yaml_map(self, node): method construct_yaml_object (line 677) | def construct_yaml_object(self, node, cls): method construct_undefined (line 688) | def construct_undefined(self, node): class Constructor (line 735) | class Constructor(SafeConstructor): method construct_python_str (line 736) | def construct_python_str(self, node): method construct_python_unicode (line 740) | def construct_python_unicode(self, node): method construct_python_bytes (line 744) | def construct_python_bytes(self, node): method construct_python_long (line 765) | def construct_python_long(self, node): method construct_python_complex (line 770) | def construct_python_complex(self, node): method construct_python_tuple (line 774) | def construct_python_tuple(self, node): method find_python_module (line 778) | def find_python_module(self, name, mark): method find_python_name (line 798) | def find_python_name(self, name, mark): method construct_python_name (line 855) | def construct_python_name(self, suffix, node): method construct_python_module (line 867) | def construct_python_module(self, suffix, node): method make_python_instance (line 879) | def make_python_instance(self, suffix, node, args=None, kwds=None, new... method set_python_instance_state (line 891) | def set_python_instance_state(self, instance, state): method construct_python_object (line 906) | def construct_python_object(self, suffix, node): method construct_python_object_apply (line 917) | def construct_python_object_apply(self, suffix, node, newobj=False): method construct_python_object_new (line 953) | def construct_python_object_new(self, suffix, node): class RoundTripConstructor (line 1011) | class RoundTripConstructor(SafeConstructor): method comment (line 1016) | def comment(self, idx): method comments (line 1023) | def comments(self, list_of_comments, idx=None): method construct_scalar (line 1035) | def construct_scalar(self, node): method construct_yaml_int (line 1087) | def construct_yaml_int(self, node): method construct_yaml_float (line 1178) | def construct_yaml_float(self, node): method construct_yaml_str (line 1255) | def construct_yaml_str(self, node): method construct_rt_sequence (line 1262) | def construct_rt_sequence(self, node, seqtyp, deep=False): method flatten_mapping (line 1299) | def flatten_mapping(self, node): method _sentinel (line 1392) | def _sentinel(self): method construct_mapping (line 1396) | def construct_mapping(self, node, maptyp, deep=False): # type: ignore method construct_setting (line 1501) | def construct_setting(self, node, typ, deep=False): method construct_yaml_seq (line 1554) | def construct_yaml_seq(self, node): method construct_yaml_map (line 1564) | def construct_yaml_map(self, node): method set_collection_style (line 1572) | def set_collection_style(self, data, node): method construct_yaml_object (line 1581) | def construct_yaml_object(self, node, cls): method construct_yaml_omap (line 1606) | def construct_yaml_omap(self, node): method construct_yaml_set (line 1674) | def construct_yaml_set(self, node): method construct_undefined (line 1681) | def construct_undefined(self, node): method construct_yaml_timestamp (line 1739) | def construct_yaml_timestamp(self, node, values=None): method construct_yaml_bool (line 1789) | def construct_yaml_bool(self, node): FILE: lib/spack/spack/vendor/ruamel/yaml/cyaml.py class CBaseLoader (line 20) | class CBaseLoader(CParser, BaseConstructor, BaseResolver): # type: ignore method __init__ (line 21) | def __init__(self, stream, version=None, preserve_quotes=None): class CSafeLoader (line 32) | class CSafeLoader(CParser, SafeConstructor, Resolver): # type: ignore method __init__ (line 33) | def __init__(self, stream, version=None, preserve_quotes=None): class CLoader (line 44) | class CLoader(CParser, Constructor, Resolver): # type: ignore method __init__ (line 45) | def __init__(self, stream, version=None, preserve_quotes=None): class CBaseDumper (line 56) | class CBaseDumper(CEmitter, BaseRepresenter, BaseResolver): # type: ignore method __init__ (line 57) | def __init__( class CSafeDumper (line 101) | class CSafeDumper(CEmitter, SafeRepresenter, Resolver): # type: ignore method __init__ (line 102) | def __init__( class CDumper (line 144) | class CDumper(CEmitter, Representer, Resolver): # type: ignore method __init__ (line 145) | def __init__( FILE: lib/spack/spack/vendor/ruamel/yaml/dumper.py class BaseDumper (line 20) | class BaseDumper(Emitter, Serializer, BaseRepresenter, BaseResolver): method __init__ (line 21) | def __init__( class SafeDumper (line 70) | class SafeDumper(Emitter, Serializer, SafeRepresenter, Resolver): method __init__ (line 71) | def __init__( class Dumper (line 120) | class Dumper(Emitter, Serializer, Representer, Resolver): method __init__ (line 121) | def __init__( class RoundTripDumper (line 170) | class RoundTripDumper(Emitter, Serializer, RoundTripRepresenter, Version... method __init__ (line 171) | def __init__( FILE: lib/spack/spack/vendor/ruamel/yaml/emitter.py class EmitterError (line 26) | class EmitterError(YAMLError): class ScalarAnalysis (line 30) | class ScalarAnalysis: method __init__ (line 31) | def __init__( class Indents (line 53) | class Indents: method __init__ (line 55) | def __init__(self): method append (line 59) | def append(self, val, seq): method pop (line 63) | def pop(self): method last_seq (line 67) | def last_seq(self): method seq_flow_align (line 76) | def seq_flow_align(self, seq_indent, column, pre_comment=False): method __len__ (line 90) | def __len__(self): class Emitter (line 95) | class Emitter: method __init__ (line 105) | def __init__( method stream (line 214) | def stream(self): method stream (line 222) | def stream(self, val): method serializer (line 231) | def serializer(self): method flow_level (line 241) | def flow_level(self): method dispose (line 245) | def dispose(self): method emit (line 251) | def emit(self, event): method need_more_events (line 263) | def need_more_events(self): method need_events (line 277) | def need_events(self, count): method increase_indent (line 291) | def increase_indent(self, flow=False, sequence=None, indentless=False): method expect_stream_start (line 318) | def expect_stream_start(self): method expect_nothing (line 330) | def expect_nothing(self): method expect_first_document_start (line 338) | def expect_first_document_start(self): method expect_document_start (line 342) | def expect_document_start(self, first=False): method expect_document_end (line 388) | def expect_document_end(self): method expect_document_root (line 402) | def expect_document_root(self): method expect_node (line 409) | def expect_node(self, root=False, sequence=False, mapping=False, simpl... method expect_alias (line 484) | def expect_alias(self): method expect_scalar (line 491) | def expect_scalar(self): method expect_flow_sequence (line 500) | def expect_flow_sequence(self, force_flow_indent=False): method expect_first_flow_sequence_item (line 512) | def expect_first_flow_sequence_item(self): method expect_flow_sequence_item (line 531) | def expect_flow_sequence_item(self): method expect_flow_mapping (line 556) | def expect_flow_mapping(self, single=False, force_flow_indent=False): method expect_first_flow_mapping_key (line 578) | def expect_first_flow_mapping_key(self): method expect_flow_mapping_key (line 602) | def expect_flow_mapping_key(self): method expect_flow_mapping_simple_value (line 633) | def expect_flow_mapping_simple_value(self): method expect_flow_mapping_value (line 639) | def expect_flow_mapping_value(self): method expect_block_sequence (line 649) | def expect_block_sequence(self): method expect_first_block_sequence_item (line 660) | def expect_first_block_sequence_item(self): method expect_block_sequence_item (line 664) | def expect_block_sequence_item(self, first=False): method expect_block_mapping (line 687) | def expect_block_mapping(self): method expect_first_block_mapping_key (line 694) | def expect_first_block_mapping_key(self): method expect_block_mapping_key (line 698) | def expect_block_mapping_key(self, first=False): method expect_block_mapping_simple_value (line 730) | def expect_block_mapping_simple_value(self): method expect_block_mapping_value (line 743) | def expect_block_mapping_value(self): method check_empty_sequence (line 752) | def check_empty_sequence(self): method check_empty_mapping (line 760) | def check_empty_mapping(self): method check_empty_document (line 768) | def check_empty_document(self): method check_simple_key (line 781) | def check_simple_key(self): method process_anchor (line 815) | def process_anchor(self, indicator): method process_tag (line 829) | def process_tag(self): method choose_scalar_style (line 871) | def choose_scalar_style(self): method process_scalar (line 906) | def process_scalar(self): method prepare_version (line 955) | def prepare_version(self, version): method prepare_tag_handle (line 964) | def prepare_tag_handle(self, handle): method prepare_tag_prefix (line 983) | def prepare_tag_prefix(self, prefix): method prepare_tag (line 1011) | def prepare_tag(self, tag): method prepare_anchor (line 1056) | def prepare_anchor(self, anchor): method analyze_scalar (line 1071) | def analyze_scalar(self, scalar): method flush_stream (line 1252) | def flush_stream(self): method write_stream_start (line 1257) | def write_stream_start(self): method write_stream_end (line 1263) | def write_stream_end(self): method write_indicator (line 1267) | def write_indicator(self, indicator, need_whitespace, whitespace=False... method write_indent (line 1281) | def write_indent(self): method write_line_break (line 1301) | def write_line_break(self, data=None): method write_version_directive (line 1313) | def write_version_directive(self, version_text): method write_tag_directive (line 1321) | def write_tag_directive(self, handle_text, prefix_text): method write_single_quoted (line 1335) | def write_single_quoted(self, text, split=True): method write_double_quoted (line 1418) | def write_double_quoted(self, text, split=True): method determine_block_hints (line 1488) | def determine_block_hints(self, text): method write_folded (line 1521) | def write_folded(self, text): method write_literal (line 1587) | def write_literal(self, text, comment=None): method write_plain (line 1641) | def write_plain(self, text, split=True): method write_comment (line 1710) | def write_comment(self, comment, pre=False): method write_pre_comment (line 1746) | def write_pre_comment(self, event): method write_post_comment (line 1766) | def write_post_comment(self, event): FILE: lib/spack/spack/vendor/ruamel/yaml/error.py class StreamMark (line 25) | class StreamMark: method __init__ (line 28) | def __init__(self, name, index, line, column): method __str__ (line 35) | def __str__(self): method __eq__ (line 45) | def __eq__(self, other): method __ne__ (line 53) | def __ne__(self, other): class FileMark (line 58) | class FileMark(StreamMark): class StringMark (line 62) | class StringMark(StreamMark): method __init__ (line 65) | def __init__(self, name, index, line, column, buffer, pointer): method get_snippet (line 71) | def get_snippet(self, indent=4, max_length=75): method __str__ (line 104) | def __str__(self): method __repr__ (line 117) | def __repr__(self): class CommentMark (line 131) | class CommentMark: method __init__ (line 134) | def __init__(self, column): class YAMLError (line 139) | class YAMLError(Exception): class MarkedYAMLError (line 143) | class MarkedYAMLError(YAMLError): method __init__ (line 144) | def __init__( method __str__ (line 161) | def __str__(self): class YAMLStreamError (line 184) | class YAMLStreamError(Exception): class YAMLWarning (line 188) | class YAMLWarning(Warning): class MarkedYAMLWarning (line 192) | class MarkedYAMLWarning(YAMLWarning): method __init__ (line 193) | def __init__( method __str__ (line 210) | def __str__(self): class ReusedAnchorWarning (line 236) | class ReusedAnchorWarning(YAMLWarning): class UnsafeLoaderWarning (line 240) | class UnsafeLoaderWarning(YAMLWarning): class MantissaNoDotYAML1_1Warning (line 256) | class MantissaNoDotYAML1_1Warning(YAMLWarning): method __init__ (line 257) | def __init__(self, node, flt_str): method __str__ (line 262) | def __str__(self): class YAMLFutureWarning (line 286) | class YAMLFutureWarning(Warning): class MarkedYAMLFutureWarning (line 290) | class MarkedYAMLFutureWarning(YAMLFutureWarning): method __init__ (line 291) | def __init__( method __str__ (line 308) | def __str__(self): FILE: lib/spack/spack/vendor/ruamel/yaml/events.py function CommentCheck (line 13) | def CommentCheck(): class Event (line 18) | class Event: method __init__ (line 21) | def __init__(self, start_mark=None, end_mark=None, comment=CommentCheck): method __repr__ (line 30) | def __repr__(self): class NodeEvent (line 73) | class NodeEvent(Event): method __init__ (line 76) | def __init__(self, anchor, start_mark=None, end_mark=None, comment=None): class CollectionStartEvent (line 82) | class CollectionStartEvent(NodeEvent): method __init__ (line 85) | def __init__( class CollectionEndEvent (line 104) | class CollectionEndEvent(Event): class StreamStartEvent (line 111) | class StreamStartEvent(Event): method __init__ (line 114) | def __init__(self, start_mark=None, end_mark=None, encoding=None, comm... class StreamEndEvent (line 120) | class StreamEndEvent(Event): class DocumentStartEvent (line 124) | class DocumentStartEvent(Event): method __init__ (line 127) | def __init__( class DocumentEndEvent (line 143) | class DocumentEndEvent(Event): method __init__ (line 146) | def __init__(self, start_mark=None, end_mark=None, explicit=None, comm... class AliasEvent (line 152) | class AliasEvent(NodeEvent): method __init__ (line 155) | def __init__(self, anchor, start_mark=None, end_mark=None, style=None,... class ScalarEvent (line 161) | class ScalarEvent(NodeEvent): method __init__ (line 164) | def __init__( class SequenceStartEvent (line 183) | class SequenceStartEvent(CollectionStartEvent): class SequenceEndEvent (line 187) | class SequenceEndEvent(CollectionEndEvent): class MappingStartEvent (line 191) | class MappingStartEvent(CollectionStartEvent): class MappingEndEvent (line 195) | class MappingEndEvent(CollectionEndEvent): FILE: lib/spack/spack/vendor/ruamel/yaml/loader.py class BaseLoader (line 22) | class BaseLoader(Reader, Scanner, Parser, Composer, BaseConstructor, Ver... method __init__ (line 23) | def __init__(self, stream, version=None, preserve_quotes=None): class SafeLoader (line 34) | class SafeLoader(Reader, Scanner, Parser, Composer, SafeConstructor, Ver... method __init__ (line 35) | def __init__(self, stream, version=None, preserve_quotes=None): class Loader (line 46) | class Loader(Reader, Scanner, Parser, Composer, Constructor, VersionedRe... method __init__ (line 47) | def __init__(self, stream, version=None, preserve_quotes=None): class RoundTripLoader (line 58) | class RoundTripLoader( method __init__ (line 66) | def __init__(self, stream, version=None, preserve_quotes=None): FILE: lib/spack/spack/vendor/ruamel/yaml/main.py class YAML (line 53) | class YAML: method __init__ (line 54) | def __init__(self, *, typ=None, pure=False, output=None, plug_ins=None... method reader (line 178) | def reader(self): method scanner (line 187) | def scanner(self): method parser (line 196) | def parser(self): method composer (line 218) | def composer(self): method constructor (line 226) | def constructor(self): method resolver (line 236) | def resolver(self): method emitter (line 244) | def emitter(self): method serializer (line 280) | def serializer(self): method representer (line 299) | def representer(self): method scan (line 313) | def scan(self, stream): method parse (line 337) | def parse(self, stream): method compose (line 361) | def compose(self, stream): method compose_all (line 385) | def compose_all(self, stream): method load (line 419) | def load(self, stream): method load_all (line 446) | def load_all(self, stream): # *, skip=None): method get_constructor_parser (line 473) | def get_constructor_parser(self, stream): method emit (line 518) | def emit(self, events, stream): method serialize (line 534) | def serialize(self, node, stream): method serialize_all (line 542) | def serialize_all(self, nodes, stream): method dump (line 560) | def dump(self, data, stream=None, *, transform=None): method dump_all (line 576) | def dump_all(self, documents, stream, *, transform=None): method Xdump_all (line 588) | def Xdump_all(self, documents, stream, *, transform=None): method get_serializer_representer_emitter (line 638) | def get_serializer_representer_emitter(self, stream, tlca): method map (line 725) | def map(self, **kw): method seq (line 732) | def seq(self, *args): method official_plug_ins (line 740) | def official_plug_ins(self): method register_class (line 756) | def register_class(self, cls): method __enter__ (line 789) | def __enter__(self): method __exit__ (line 794) | def __exit__(self, typ, value, traceback): method _indent (line 803) | def _indent(self, mapping=None, sequence=None, offset=None): method indent (line 813) | def indent(self): method indent (line 818) | def indent(self, val): method block_seq_indent (line 823) | def block_seq_indent(self): method block_seq_indent (line 828) | def block_seq_indent(self, val): method compact (line 832) | def compact(self, seq_seq=None, seq_map=None): class YAMLContextManager (line 838) | class YAMLContextManager: method __init__ (line 839) | def __init__(self, yaml, transform=None): method teardown_output (line 871) | def teardown_output(self): method init_output (line 900) | def init_output(self, first_data): method dump (line 910) | def dump(self, data): function yaml_object (line 945) | def yaml_object(yml): function warn_deprecation (line 983) | def warn_deprecation(fun, method, arg=''): function scan (line 1002) | def scan(stream, Loader=Loader): function parse (line 1016) | def parse(stream, Loader=Loader): function compose (line 1030) | def compose(stream, Loader=Loader): function compose_all (line 1044) | def compose_all(stream, Loader=Loader): function load (line 1059) | def load(stream, Loader=None, version=None, preserve_quotes=None): function load_all (line 1084) | def load_all(stream, Loader=None, version=None, preserve_quotes=None): function safe_load (line 1110) | def safe_load(stream, version=None): function safe_load_all (line 1121) | def safe_load_all(stream, version=None): function round_trip_load (line 1132) | def round_trip_load(stream, version=None, preserve_quotes=None): function round_trip_load_all (line 1143) | def round_trip_load_all(stream, version=None, preserve_quotes=None): function emit (line 1154) | def emit( function serialize_all (line 1198) | def serialize_all( function serialize (line 1254) | def serialize(node, stream=None, Dumper=Dumper, **kwds): function dump_all (line 1264) | def dump_all( function dump (line 1337) | def dump( function safe_dump_all (line 1384) | def safe_dump_all(documents, stream=None, **kwds): function safe_dump (line 1395) | def safe_dump(data, stream=None, **kwds): function round_trip_dump (line 1406) | def round_trip_dump( function add_implicit_resolver (line 1455) | def add_implicit_resolver( function add_path_resolver (line 1489) | def add_path_resolver(tag, path, kind=None, Loader=None, Dumper=None, re... function add_constructor (line 1520) | def add_constructor(tag, object_constructor, Loader=None, constructor=Co... function add_multi_constructor (line 1545) | def add_multi_constructor(tag_prefix, multi_constructor, Loader=None, co... function add_representer (line 1571) | def add_representer(data_type, object_representer, Dumper=None, represen... function add_multi_representer (line 1598) | def add_multi_representer(data_type, multi_representer, Dumper=None, rep... class YAMLObjectMetaclass (line 1624) | class YAMLObjectMetaclass(type): method __init__ (line 1629) | def __init__(cls, name, bases, kwds): class YAMLObject (line 1637) | class YAMLObject(with_metaclass(YAMLObjectMetaclass)): # type: ignore method from_yaml (line 1652) | def from_yaml(cls, constructor, node): method to_yaml (line 1660) | def to_yaml(cls, representer, data): FILE: lib/spack/spack/vendor/ruamel/yaml/nodes.py class Node (line 11) | class Node: method __init__ (line 14) | def __init__(self, tag, value, start_mark, end_mark, comment=None, anc... method __repr__ (line 23) | def __repr__(self): method dump (line 46) | def dump(self, indent=0): class ScalarNode (line 72) | class ScalarNode(Node): method __init__ (line 85) | def __init__( class CollectionNode (line 93) | class CollectionNode(Node): method __init__ (line 96) | def __init__( class SequenceNode (line 112) | class SequenceNode(CollectionNode): class MappingNode (line 117) | class MappingNode(CollectionNode): method __init__ (line 121) | def __init__( FILE: lib/spack/spack/vendor/ruamel/yaml/parser.py function xprintf (line 91) | def xprintf(*args, **kw): class ParserError (line 97) | class ParserError(MarkedYAMLError): class Parser (line 101) | class Parser: method __init__ (line 107) | def __init__(self, loader): method reset_parser (line 114) | def reset_parser(self): method dispose (line 123) | def dispose(self): method scanner (line 128) | def scanner(self): method resolver (line 135) | def resolver(self): method check_event (line 141) | def check_event(self, *choices): method peek_event (line 155) | def peek_event(self): method get_event (line 163) | def get_event(self): method parse_stream_start (line 181) | def parse_stream_start(self): method parse_implicit_document_start (line 193) | def parse_implicit_document_start(self): method parse_document_start (line 211) | def parse_document_start(self): method parse_document_end (line 250) | def parse_document_end(self): method parse_document_content (line 270) | def parse_document_content(self): method process_directives (line 281) | def process_directives(self): method parse_block_node (line 342) | def parse_block_node(self): method parse_flow_node (line 346) | def parse_flow_node(self): method parse_block_node_or_indentless_sequence (line 350) | def parse_block_node_or_indentless_sequence(self): method transform_tag (line 354) | def transform_tag(self, handle, suffix): method parse_node (line 358) | def parse_node(self, block=False, indentless_sequence=False): method parse_block_sequence_first_entry (line 520) | def parse_block_sequence_first_entry(self): method parse_block_sequence_entry (line 528) | def parse_block_sequence_entry(self): method parse_indentless_sequence_entry (line 560) | def parse_indentless_sequence_entry(self): method parse_block_mapping_first_key (line 590) | def parse_block_mapping_first_key(self): method parse_block_mapping_key (line 596) | def parse_block_mapping_key(self): method parse_block_mapping_value (line 625) | def parse_block_mapping_value(self): method parse_flow_sequence_first_entry (line 665) | def parse_flow_sequence_first_entry(self): method parse_flow_sequence_entry (line 671) | def parse_flow_sequence_entry(self, first=False): method parse_flow_sequence_entry_mapping_key (line 702) | def parse_flow_sequence_entry_mapping_key(self): method parse_flow_sequence_entry_mapping_value (line 712) | def parse_flow_sequence_entry_mapping_value(self): method parse_flow_sequence_entry_mapping_end (line 727) | def parse_flow_sequence_entry_mapping_end(self): method parse_flow_mapping_first_key (line 739) | def parse_flow_mapping_first_key(self): method parse_flow_mapping_key (line 745) | def parse_flow_mapping_key(self, first=False): method parse_flow_mapping_value (line 783) | def parse_flow_mapping_value(self): method parse_flow_mapping_empty_value (line 798) | def parse_flow_mapping_empty_value(self): method process_empty_scalar (line 803) | def process_empty_scalar(self, mark, comment=None): method move_token_comment (line 807) | def move_token_comment(self, token, nt=None, empty=False): class RoundTripParser (line 812) | class RoundTripParser(Parser): method transform_tag (line 815) | def transform_tag(self, handle, suffix): method move_token_comment (line 835) | def move_token_comment(self, token, nt=None, empty=False): class RoundTripParserSC (line 840) | class RoundTripParserSC(RoundTripParser): method move_token_comment (line 846) | def move_token_comment(self, token, nt=None, empty=False): method distribute_comment (line 850) | def distribute_comment(self, comment, line): FILE: lib/spack/spack/vendor/ruamel/yaml/reader.py class ReaderError (line 35) | class ReaderError(YAMLError): method __init__ (line 36) | def __init__(self, name, position, character, encoding, reason): method __str__ (line 44) | def __str__(self): class Reader (line 68) | class Reader: method __init__ (line 82) | def __init__(self, stream, loader=None): method reset_reader (line 90) | def reset_reader(self): method stream (line 105) | def stream(self): method stream (line 113) | def stream(self, val): method peek (line 135) | def peek(self, index=0): method prefix (line 143) | def prefix(self, length=1): method forward_1_1 (line 149) | def forward_1_1(self, length=1): method forward (line 166) | def forward(self, length=1): method get_mark (line 181) | def get_mark(self): method determine_encoding (line 190) | def determine_encoding(self): method _get_non_printable_ascii (line 213) | def _get_non_printable_ascii(cls, data): # type: ignore method _get_non_printable_regex (line 223) | def _get_non_printable_regex(cls, data): method _get_non_printable (line 231) | def _get_non_printable(cls, data): method check_printable (line 238) | def check_printable(self, data): method update (line 252) | def update(self, length): method update_raw (line 284) | def update_raw(self, size=None): FILE: lib/spack/spack/vendor/ruamel/yaml/representer.py class RepresenterError (line 47) | class RepresenterError(YAMLError): class BaseRepresenter (line 51) | class BaseRepresenter: method __init__ (line 56) | def __init__(self, default_style=None, default_flow_style=None, dumper... method serializer (line 69) | def serializer(self): method represent (line 78) | def represent(self, data): method represent_data (line 86) | def represent_data(self, data): method represent_key (line 120) | def represent_key(self, data): method add_representer (line 131) | def add_representer(cls, data_type, representer): method add_multi_representer (line 138) | def add_multi_representer(cls, data_type, representer): method represent_scalar (line 144) | def represent_scalar(self, tag, value, style=None, anchor=None): method represent_sequence (line 158) | def represent_sequence(self, tag, sequence, flow_style=None): method represent_omap (line 177) | def represent_omap(self, tag, omap, flow_style=None): method represent_mapping (line 198) | def represent_mapping(self, tag, mapping, flow_style=None): method ignore_aliases (line 227) | def ignore_aliases(self, data): class SafeRepresenter (line 232) | class SafeRepresenter(BaseRepresenter): method ignore_aliases (line 233) | def ignore_aliases(self, data): method represent_none (line 244) | def represent_none(self, data): method represent_str (line 248) | def represent_str(self, data): method represent_binary (line 252) | def represent_binary(self, data): method represent_bool (line 261) | def represent_bool(self, data, anchor=None): method represent_int (line 272) | def represent_int(self, data): method represent_float (line 280) | def represent_float(self, data): method represent_list (line 302) | def represent_list(self, data): method represent_dict (line 319) | def represent_dict(self, data): method represent_ordereddict (line 323) | def represent_ordereddict(self, data): method represent_set (line 327) | def represent_set(self, data): method represent_date (line 334) | def represent_date(self, data): method represent_datetime (line 339) | def represent_datetime(self, data): method represent_yaml_object (line 344) | def represent_yaml_object(self, tag, data, cls, flow_style=None): method represent_undefined (line 352) | def represent_undefined(self, data): class Representer (line 393) | class Representer(SafeRepresenter): method represent_complex (line 394) | def represent_complex(self, data): method represent_tuple (line 406) | def represent_tuple(self, data): method represent_name (line 410) | def represent_name(self, data): method represent_module (line 421) | def represent_module(self, data): method represent_object (line 425) | def represent_object(self, data): class RoundTripRepresenter (line 513) | class RoundTripRepresenter(SafeRepresenter): method __init__ (line 517) | def __init__(self, default_style=None, default_flow_style=None, dumper... method ignore_aliases (line 528) | def ignore_aliases(self, data): method represent_none (line 537) | def represent_none(self, data): method represent_literal_scalarstring (line 544) | def represent_literal_scalarstring(self, data): method represent_folded_scalarstring (line 554) | def represent_folded_scalarstring(self, data): method represent_single_quoted_scalarstring (line 569) | def represent_single_quoted_scalarstring(self, data): method represent_double_quoted_scalarstring (line 577) | def represent_double_quoted_scalarstring(self, data): method represent_plain_scalarstring (line 585) | def represent_plain_scalarstring(self, data): method insert_underscore (line 593) | def insert_underscore(self, prefix, s, underscore, anchor=None): method represent_scalar_int (line 610) | def represent_scalar_int(self, data): method represent_binary_int (line 619) | def represent_binary_int(self, data): method represent_octal_int (line 629) | def represent_octal_int(self, data): method represent_hex_int (line 639) | def represent_hex_int(self, data): method represent_hex_caps_int (line 649) | def represent_hex_caps_int(self, data): method represent_scalar_float (line 659) | def represent_scalar_float(self, data): method represent_sequence (line 734) | def represent_sequence(self, tag, sequence, flow_style=None): method merge_comments (line 789) | def merge_comments(self, node, comments): method represent_key (line 805) | def represent_key(self, data): method represent_mapping (line 815) | def represent_mapping(self, tag, mapping, flow_style=None): method represent_omap (line 903) | def represent_omap(self, tag, omap, flow_style=None): method represent_set (line 967) | def represent_set(self, setting): method represent_dict (line 1020) | def represent_dict(self, data): method represent_list (line 1036) | def represent_list(self, data): method represent_datetime (line 1051) | def represent_datetime(self, data): method represent_tagged_scalar (line 1064) | def represent_tagged_scalar(self, data): method represent_scalar_bool (line 1076) | def represent_scalar_bool(self, data): method represent_yaml_object (line 1084) | def represent_yaml_object(self, tag, data, cls, flow_style=None): FILE: lib/spack/spack/vendor/ruamel/yaml/resolver.py class ResolverError (line 100) | class ResolverError(YAMLError): class BaseResolver (line 104) | class BaseResolver: method __init__ (line 113) | def __init__(self, loadumper=None): method parser (line 123) | def parser(self): method add_implicit_resolver_base (line 132) | def add_implicit_resolver_base(cls, tag, regexp, first): method add_implicit_resolver (line 145) | def add_implicit_resolver(cls, tag, regexp, first): method add_path_resolver (line 162) | def add_path_resolver(cls, tag, path, kind=None): method descend_resolver (line 222) | def descend_resolver(self, current_node, current_index): method ascend_resolver (line 245) | def ascend_resolver(self): method check_resolver_prefix (line 252) | def check_resolver_prefix(self, depth, path, kind, current_node, curre... method resolve (line 275) | def resolve(self, kind, value, implicit): method processing_version (line 301) | def processing_version(self): class Resolver (line 306) | class Resolver(BaseResolver): class VersionedResolver (line 315) | class VersionedResolver(BaseResolver): method __init__ (line 323) | def __init__(self, version=None, loader=None, loadumper=None): method add_version_implicit_resolver (line 331) | def add_version_implicit_resolver(self, version, tag, regexp, first): method get_loader_version (line 339) | def get_loader_version(self, version): method versioned_resolver (line 349) | def versioned_resolver(self): method resolve (line 363) | def resolve(self, kind, value, implicit): method processing_version (line 389) | def processing_version(self): FILE: lib/spack/spack/vendor/ruamel/yaml/scalarbool.py class ScalarBoolean (line 20) | class ScalarBoolean(int): method __new__ (line 21) | def __new__(cls, *args, **kw): method anchor (line 30) | def anchor(self): method yaml_anchor (line 36) | def yaml_anchor(self, any=False): method yaml_set_anchor (line 44) | def yaml_set_anchor(self, value, always_dump=False): FILE: lib/spack/spack/vendor/ruamel/yaml/scalarfloat.py class ScalarFloat (line 12) | class ScalarFloat(float): method __new__ (line 13) | def __new__(cls, *args, **kw): method __iadd__ (line 37) | def __iadd__(self, a): # type: ignore method __ifloordiv__ (line 45) | def __ifloordiv__(self, a): # type: ignore method __imul__ (line 53) | def __imul__(self, a): # type: ignore method __ipow__ (line 62) | def __ipow__(self, a): # type: ignore method __isub__ (line 70) | def __isub__(self, a): # type: ignore method anchor (line 79) | def anchor(self): method yaml_anchor (line 85) | def yaml_anchor(self, any=False): method yaml_set_anchor (line 93) | def yaml_set_anchor(self, value, always_dump=False): method dump (line 98) | def dump(self, out=sys.stdout): class ExponentialFloat (line 115) | class ExponentialFloat(ScalarFloat): method __new__ (line 116) | def __new__(cls, value, width=None, underscore=None): class ExponentialCapsFloat (line 121) | class ExponentialCapsFloat(ScalarFloat): method __new__ (line 122) | def __new__(cls, value, width=None, underscore=None): FILE: lib/spack/spack/vendor/ruamel/yaml/scalarint.py class ScalarInt (line 11) | class ScalarInt(int): method __new__ (line 12) | def __new__(cls, *args, **kw): method __iadd__ (line 24) | def __iadd__(self, a): # type: ignore method __ifloordiv__ (line 33) | def __ifloordiv__(self, a): # type: ignore method __imul__ (line 42) | def __imul__(self, a): # type: ignore method __ipow__ (line 51) | def __ipow__(self, a): # type: ignore method __isub__ (line 60) | def __isub__(self, a): # type: ignore method anchor (line 70) | def anchor(self): method yaml_anchor (line 76) | def yaml_anchor(self, any=False): method yaml_set_anchor (line 84) | def yaml_set_anchor(self, value, always_dump=False): class BinaryInt (line 90) | class BinaryInt(ScalarInt): method __new__ (line 91) | def __new__(cls, value, width=None, underscore=None, anchor=None): class OctalInt (line 96) | class OctalInt(ScalarInt): method __new__ (line 97) | def __new__(cls, value, width=None, underscore=None, anchor=None): class HexInt (line 106) | class HexInt(ScalarInt): method __new__ (line 109) | def __new__(cls, value, width=None, underscore=None, anchor=None): class HexCapsInt (line 114) | class HexCapsInt(ScalarInt): method __new__ (line 117) | def __new__(cls, value, width=None, underscore=None, anchor=None): class DecimalInt (line 122) | class DecimalInt(ScalarInt): method __new__ (line 125) | def __new__(cls, value, width=None, underscore=None, anchor=None): FILE: lib/spack/spack/vendor/ruamel/yaml/scalarstring.py class ScalarString (line 21) | class ScalarString(str): method __new__ (line 24) | def __new__(cls, *args, **kw): method replace (line 32) | def replace(self, old, new, maxreplace=-1): method anchor (line 37) | def anchor(self): method yaml_anchor (line 43) | def yaml_anchor(self, any=False): method yaml_set_anchor (line 51) | def yaml_set_anchor(self, value, always_dump=False): class LiteralScalarString (line 57) | class LiteralScalarString(ScalarString): method __new__ (line 62) | def __new__(cls, value, anchor=None): class FoldedScalarString (line 70) | class FoldedScalarString(ScalarString): method __new__ (line 75) | def __new__(cls, value, anchor=None): class SingleQuotedScalarString (line 80) | class SingleQuotedScalarString(ScalarString): method __new__ (line 85) | def __new__(cls, value, anchor=None): class DoubleQuotedScalarString (line 90) | class DoubleQuotedScalarString(ScalarString): method __new__ (line 95) | def __new__(cls, value, anchor=None): class PlainScalarString (line 100) | class PlainScalarString(ScalarString): method __new__ (line 105) | def __new__(cls, value, anchor=None): function preserve_literal (line 110) | def preserve_literal(s): function walk_tree (line 115) | def walk_tree(base, map=None): FILE: lib/spack/spack/vendor/ruamel/yaml/scanner.py function xprintf (line 48) | def xprintf(*args, **kw): class ScannerError (line 54) | class ScannerError(MarkedYAMLError): class SimpleKey (line 58) | class SimpleKey: method __init__ (line 61) | def __init__(self, token_number, required, index, line, column, mark): class Scanner (line 71) | class Scanner: method __init__ (line 72) | def __init__(self, loader=None): method flow_level (line 92) | def flow_level(self): method reset_scanner (line 96) | def reset_scanner(self): method reader (line 151) | def reader(self): method scanner_processing_version (line 163) | def scanner_processing_version(self): # prefix until un-composited method check_token (line 171) | def check_token(self, *choices): method peek_token (line 184) | def peek_token(self): method get_token (line 192) | def get_token(self): method need_more_tokens (line 203) | def need_more_tokens(self): method fetch_comment (line 216) | def fetch_comment(self, comment): method fetch_more_tokens (line 220) | def fetch_more_tokens(self): method next_possible_simple_key (line 332) | def next_possible_simple_key(self): method stale_possible_simple_keys (line 348) | def stale_possible_simple_keys(self): method save_possible_simple_key (line 368) | def save_possible_simple_key(self): method remove_possible_simple_key (line 392) | def remove_possible_simple_key(self): method unwind_indent (line 410) | def unwind_indent(self, column): method add_indent (line 435) | def add_indent(self, column): method fetch_stream_start (line 446) | def fetch_stream_start(self): method fetch_stream_end (line 455) | def fetch_stream_end(self): method fetch_directive (line 470) | def fetch_directive(self): method fetch_document_start (line 482) | def fetch_document_start(self): method fetch_document_end (line 486) | def fetch_document_end(self): method fetch_document_indicator (line 490) | def fetch_document_indicator(self, TokenClass): method fetch_flow_sequence_start (line 506) | def fetch_flow_sequence_start(self): method fetch_flow_mapping_start (line 510) | def fetch_flow_mapping_start(self): method fetch_flow_collection_start (line 514) | def fetch_flow_collection_start(self, TokenClass, to_push): method fetch_flow_sequence_end (line 528) | def fetch_flow_sequence_end(self): method fetch_flow_mapping_end (line 532) | def fetch_flow_mapping_end(self): method fetch_flow_collection_end (line 536) | def fetch_flow_collection_end(self, TokenClass): method fetch_flow_entry (line 555) | def fetch_flow_entry(self): method fetch_block_entry (line 567) | def fetch_block_entry(self): method fetch_key (line 595) | def fetch_key(self): method fetch_value (line 623) | def fetch_value(self): method fetch_alias (line 684) | def fetch_alias(self): method fetch_anchor (line 693) | def fetch_anchor(self): method fetch_tag (line 702) | def fetch_tag(self): method fetch_literal (line 711) | def fetch_literal(self): method fetch_folded (line 715) | def fetch_folded(self): method fetch_block_scalar (line 719) | def fetch_block_scalar(self, style): method fetch_single (line 728) | def fetch_single(self): method fetch_double (line 732) | def fetch_double(self): method fetch_flow_scalar (line 736) | def fetch_flow_scalar(self, style): method fetch_plain (line 745) | def fetch_plain(self): method check_directive (line 758) | def check_directive(self): method check_document_start (line 766) | def check_document_start(self): method check_document_end (line 774) | def check_document_end(self): method check_block_entry (line 782) | def check_block_entry(self): method check_key (line 787) | def check_key(self): method check_value (line 795) | def check_value(self): method check_plain (line 814) | def check_plain(self): method scan_to_next_token (line 851) | def scan_to_next_token(self): method scan_directive (line 890) | def scan_directive(self): method scan_directive_name (line 912) | def scan_directive_name(self, start_mark): method scan_yaml_directive_value (line 940) | def scan_yaml_directive_value(self, start_mark): method scan_yaml_directive_number (line 967) | def scan_yaml_directive_number(self, start_mark): method scan_tag_directive_value (line 987) | def scan_tag_directive_value(self, start_mark): method scan_tag_directive_handle (line 1000) | def scan_tag_directive_handle(self, start_mark): method scan_tag_directive_prefix (line 1014) | def scan_tag_directive_prefix(self, start_mark): method scan_directive_ignored_line (line 1028) | def scan_directive_ignored_line(self, start_mark): method scan_anchor (line 1048) | def scan_anchor(self, TokenClass): method scan_tag (line 1095) | def scan_tag(self): method scan_block_scalar (line 1145) | def scan_block_scalar(self, style, rt=False): method scan_block_scalar_indicators (line 1269) | def scan_block_scalar_indicators(self, start_mark): method scan_block_scalar_ignored_line (line 1320) | def scan_block_scalar_ignored_line(self, start_mark): method scan_block_scalar_indentation (line 1346) | def scan_block_scalar_indentation(self): method scan_block_scalar_breaks (line 1364) | def scan_block_scalar_breaks(self, indent): method scan_flow_scalar (line 1380) | def scan_flow_scalar(self, style): method scan_flow_scalar_non_spaces (line 1428) | def scan_flow_scalar_non_spaces(self, double, start_mark): method scan_flow_scalar_spaces (line 1486) | def scan_flow_scalar_spaces(self, double, start_mark): method scan_flow_scalar_breaks (line 1516) | def scan_flow_scalar_breaks(self, double, start_mark): method scan_plain (line 1540) | def scan_plain(self): method scan_plain_spaces (line 1629) | def scan_plain_spaces(self, indent, start_mark): method scan_tag_handle (line 1667) | def scan_tag_handle(self, name, start_mark): method scan_tag_uri (line 1700) | def scan_tag_uri(self, name, start_mark): method scan_uri_escapes (line 1736) | def scan_uri_escapes(self, name, start_mark): method scan_line_break (line 1767) | def scan_line_break(self): class RoundTripScanner (line 1790) | class RoundTripScanner(Scanner): method check_token (line 1791) | def check_token(self, *choices): method peek_token (line 1805) | def peek_token(self): method _gather_comments (line 1815) | def _gather_comments(self): method get_token (line 1840) | def get_token(self): method fetch_comment (line 1894) | def fetch_comment(self, comment): method scan_to_next_token (line 1905) | def scan_to_next_token(self): method scan_line_break (line 1978) | def scan_line_break(self, empty_line=False): method scan_block_scalar (line 2003) | def scan_block_scalar(self, style, rt=True): class CommentBase (line 2016) | class CommentBase: method __init__ (line 2019) | def __init__(self, value, line, column): method set_used (line 2031) | def set_used(self, v='+'): method set_assigned (line 2038) | def set_assigned(self): method __str__ (line 2042) | def __str__(self): method __repr__ (line 2046) | def __repr__(self): method info (line 2050) | def info(self): class EOLComment (line 2066) | class EOLComment(CommentBase): method __init__ (line 2069) | def __init__(self, value, line, column): class FullLineComment (line 2074) | class FullLineComment(CommentBase): method __init__ (line 2077) | def __init__(self, value, line, column): class BlankLineComment (line 2082) | class BlankLineComment(CommentBase): method __init__ (line 2085) | def __init__(self, value, line, column): class ScannedComments (line 2090) | class ScannedComments: method __init__ (line 2091) | def __init__(self): method add_eol_comment (line 2096) | def add_eol_comment(self, comment, column, line): method add_blank_line (line 2107) | def add_blank_line(self, comment, column, line): method add_full_line_comment (line 2116) | def add_full_line_comment(self, comment, column, line): method __getitem__ (line 2127) | def __getitem__(self, idx): method __str__ (line 2131) | def __str__(self): method last (line 2144) | def last(self): method any_unprocessed (line 2149) | def any_unprocessed(self): method unprocessed (line 2158) | def unprocessed(self, use=False): method assign_pre (line 2168) | def assign_pre(self, token): method assign_eol (line 2182) | def assign_eol(self, tokens): method assign_post (line 2238) | def assign_post(self, token): method str_unprocessed (line 2252) | def str_unprocessed(self): class RoundTripScannerSC (line 2263) | class RoundTripScannerSC(Scanner): # RoundTripScanner Split Comments method __init__ (line 2264) | def __init__(self, *arg, **kw): method get_token (line 2272) | def get_token(self): method need_more_tokens (line 2285) | def need_more_tokens(self): method scan_to_next_token (line 2312) | def scan_to_next_token(self): method scan_empty_or_full_line_comments (line 2376) | def scan_empty_or_full_line_comments(self): method scan_block_scalar_ignored_line (line 2416) | def scan_block_scalar_ignored_line(self, start_mark): FILE: lib/spack/spack/vendor/ruamel/yaml/serializer.py class SerializerError (line 28) | class SerializerError(YAMLError): class Serializer (line 32) | class Serializer: method __init__ (line 38) | def __init__( method emitter (line 66) | def emitter(self): method resolver (line 73) | def resolver(self): method open (line 79) | def open(self): method close (line 89) | def close(self): method serialize (line 100) | def serialize(self, node): method anchor_node (line 121) | def anchor_node(self, node): method generate_anchor (line 142) | def generate_anchor(self, node): method serialize_node (line 153) | def serialize_node(self, node, parent, index): function templated_id (line 239) | def templated_id(s): FILE: lib/spack/spack/vendor/ruamel/yaml/timestamp.py class TimeStamp (line 13) | class TimeStamp(datetime.datetime): method __init__ (line 14) | def __init__(self, *args, **kw): method __new__ (line 18) | def __new__(cls, *args, **kw): # datetime is immutable method __deepcopy__ (line 22) | def __deepcopy__(self, memo): method replace (line 28) | def replace( FILE: lib/spack/spack/vendor/ruamel/yaml/tokens.py class Token (line 12) | class Token: method __init__ (line 15) | def __init__(self, start_mark, end_mark): method __repr__ (line 20) | def __repr__(self): method column (line 44) | def column(self): method column (line 49) | def column(self, pos): method add_post_comment (line 64) | def add_post_comment(self, comment): method add_pre_comments (line 76) | def add_pre_comments(self, comments): method add_comment_pre (line 87) | def add_comment_pre(self, comment): method add_comment_eol (line 97) | def add_comment_eol(self, comment, comment_type): method add_comment_post (line 110) | def add_comment_post(self, comment): method comment (line 125) | def comment(self): method move_old_comment (line 129) | def move_old_comment(self, target, empty=False): method split_old_comment (line 159) | def split_old_comment(self): method move_new_comment (line 175) | def move_new_comment(self, target, empty=False): class DirectiveToken (line 212) | class DirectiveToken(Token): method __init__ (line 216) | def __init__(self, name, value, start_mark, end_mark): class DocumentStartToken (line 223) | class DocumentStartToken(Token): class DocumentEndToken (line 228) | class DocumentEndToken(Token): class StreamStartToken (line 233) | class StreamStartToken(Token): method __init__ (line 237) | def __init__(self, start_mark=None, end_mark=None, encoding=None): class StreamEndToken (line 243) | class StreamEndToken(Token): class BlockSequenceStartToken (line 248) | class BlockSequenceStartToken(Token): class BlockMappingStartToken (line 253) | class BlockMappingStartToken(Token): class BlockEndToken (line 258) | class BlockEndToken(Token): class FlowSequenceStartToken (line 263) | class FlowSequenceStartToken(Token): class FlowMappingStartToken (line 268) | class FlowMappingStartToken(Token): class FlowSequenceEndToken (line 273) | class FlowSequenceEndToken(Token): class FlowMappingEndToken (line 278) | class FlowMappingEndToken(Token): class KeyToken (line 283) | class KeyToken(Token): class ValueToken (line 292) | class ValueToken(Token): class BlockEntryToken (line 297) | class BlockEntryToken(Token): class FlowEntryToken (line 302) | class FlowEntryToken(Token): class AliasToken (line 307) | class AliasToken(Token): method __init__ (line 311) | def __init__(self, value, start_mark, end_mark): class AnchorToken (line 317) | class AnchorToken(Token): method __init__ (line 321) | def __init__(self, value, start_mark, end_mark): class TagToken (line 327) | class TagToken(Token): method __init__ (line 331) | def __init__(self, value, start_mark, end_mark): class ScalarToken (line 337) | class ScalarToken(Token): method __init__ (line 341) | def __init__(self, value, plain, start_mark, end_mark, style=None): class CommentToken (line 349) | class CommentToken(Token): method __init__ (line 353) | def __init__(self, value, start_mark=None, end_mark=None, column=None): method value (line 362) | def value(self): method value (line 369) | def value(self, val): method reset (line 373) | def reset(self): method __repr__ (line 378) | def __repr__(self): method __eq__ (line 392) | def __eq__(self, other): method __ne__ (line 402) | def __ne__(self, other): FILE: lib/spack/spack/vendor/ruamel/yaml/util.py class LazyEval (line 17) | class LazyEval: method __init__ (line 28) | def __init__(self, func, *args, **kwargs): method __getattribute__ (line 38) | def __getattribute__(self, name): method __setattr__ (line 45) | def __setattr__(self, name, value): function create_timestamp (line 67) | def create_timestamp( function load_yaml_guess_indent (line 125) | def load_yaml_guess_indent(stream, **kw): function configobj_walker (line 189) | def configobj_walker(cfg): function _walk_section (line 209) | def _walk_section(s, level=0): FILE: lib/spack/spack/vendor/six.py class X (line 60) | class X(object): method __len__ (line 62) | def __len__(self): function _add_doc (line 80) | def _add_doc(func, doc): function _import_module (line 85) | def _import_module(name): class _LazyDescr (line 91) | class _LazyDescr(object): method __init__ (line 93) | def __init__(self, name): method __get__ (line 96) | def __get__(self, obj, tp): class MovedModule (line 108) | class MovedModule(_LazyDescr): method __init__ (line 110) | def __init__(self, name, old, new=None): method _resolve (line 119) | def _resolve(self): method __getattr__ (line 122) | def __getattr__(self, attr): class _LazyModule (line 129) | class _LazyModule(types.ModuleType): method __init__ (line 131) | def __init__(self, name): method __dir__ (line 135) | def __dir__(self): class MovedAttribute (line 144) | class MovedAttribute(_LazyDescr): method __init__ (line 146) | def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): method _resolve (line 164) | def _resolve(self): class _SixMetaPathImporter (line 169) | class _SixMetaPathImporter(object): method __init__ (line 178) | def __init__(self, six_module_name): method _add_module (line 182) | def _add_module(self, mod, *fullnames): method _get_module (line 186) | def _get_module(self, fullname): method find_module (line 189) | def find_module(self, fullname, path=None): method find_spec (line 194) | def find_spec(self, fullname, path, target=None): method __get_module (line 199) | def __get_module(self, fullname): method load_module (line 205) | def load_module(self, fullname): method is_package (line 219) | def is_package(self, fullname): method get_code (line 228) | def get_code(self, fullname): method create_module (line 236) | def create_module(self, spec): method exec_module (line 239) | def exec_module(self, module): class _MovedItems (line 245) | class _MovedItems(_LazyModule): class Module_six_moves_urllib_parse (line 340) | class Module_six_moves_urllib_parse(_LazyModule): class Module_six_moves_urllib_error (line 382) | class Module_six_moves_urllib_error(_LazyModule): class Module_six_moves_urllib_request (line 402) | class Module_six_moves_urllib_request(_LazyModule): class Module_six_moves_urllib_response (line 454) | class Module_six_moves_urllib_response(_LazyModule): class Module_six_moves_urllib_robotparser (line 475) | class Module_six_moves_urllib_robotparser(_LazyModule): class Module_six_moves_urllib (line 493) | class Module_six_moves_urllib(types.ModuleType): method __dir__ (line 503) | def __dir__(self): function add_move (line 510) | def add_move(move): function remove_move (line 515) | def remove_move(name): function advance_iterator (line 547) | def advance_iterator(it): function callable (line 555) | def callable(obj): function get_unbound_function (line 560) | def get_unbound_function(unbound): function create_unbound_method (line 565) | def create_unbound_method(func, cls): function get_unbound_function (line 570) | def get_unbound_function(unbound): function create_bound_method (line 573) | def create_bound_method(func, obj): function create_unbound_method (line 576) | def create_unbound_method(func, cls): class Iterator (line 579) | class Iterator(object): method next (line 581) | def next(self): function iterkeys (line 598) | def iterkeys(d, **kw): function itervalues (line 601) | def itervalues(d, **kw): function iteritems (line 604) | def iteritems(d, **kw): function iterlists (line 607) | def iterlists(d, **kw): function iterkeys (line 616) | def iterkeys(d, **kw): function itervalues (line 619) | def itervalues(d, **kw): function iteritems (line 622) | def iteritems(d, **kw): function iterlists (line 625) | def iterlists(d, **kw): function b (line 643) | def b(s): function u (line 646) | def u(s): function b (line 669) | def b(s): function u (line 673) | def u(s): function byte2int (line 678) | def byte2int(bs): function indexbytes (line 681) | def indexbytes(buf, i): function assertCountEqual (line 694) | def assertCountEqual(self, *args, **kwargs): function assertRaisesRegex (line 698) | def assertRaisesRegex(self, *args, **kwargs): function assertRegex (line 702) | def assertRegex(self, *args, **kwargs): function assertNotRegex (line 706) | def assertNotRegex(self, *args, **kwargs): function reraise (line 713) | def reraise(tp, value, tb=None): function exec_ (line 725) | def exec_(_code_, _globs_=None, _locs_=None): function raise_from (line 753) | def raise_from(value, from_value): function print_ (line 759) | def print_(*args, **kwargs): function print_ (line 815) | def print_(*args, **kwargs): function _update_wrapper (line 830) | def _update_wrapper(wrapper, wrapped, function wraps (line 846) | def wraps(wrapped, assigned=functools.WRAPPER_ASSIGNMENTS, function with_metaclass (line 856) | def with_metaclass(meta, *bases): function add_metaclass (line 880) | def add_metaclass(metaclass): function ensure_binary (line 898) | def ensure_binary(s, encoding='utf-8', errors='strict'): function ensure_str (line 916) | def ensure_str(s, encoding='utf-8', errors='strict'): function ensure_text (line 939) | def ensure_text(s, encoding='utf-8', errors='strict'): function python_2_unicode_compatible (line 958) | def python_2_unicode_compatible(klass): FILE: lib/spack/spack/vendor/typing_extensions.py function _no_slots_copy (line 85) | def _no_slots_copy(dct): function _check_generic (line 96) | def _check_generic(cls, parameters, elen=_marker): function _should_collect_from_parameters (line 118) | def _should_collect_from_parameters(t): function _should_collect_from_parameters (line 123) | def _should_collect_from_parameters(t): function _should_collect_from_parameters (line 126) | def _should_collect_from_parameters(t): function _collect_type_vars (line 130) | def _collect_type_vars(types, typevar_types=None): class _NoReturn (line 156) | class _NoReturn(typing._FinalTypingBase, _root=True): method __instancecheck__ (line 170) | def __instancecheck__(self, obj): method __subclasscheck__ (line 173) | def __subclasscheck__(self, cls): class _FinalForm (line 194) | class _FinalForm(typing._SpecialForm, _root=True): method __repr__ (line 196) | def __repr__(self): method __getitem__ (line 199) | def __getitem__(self, parameters): class _Final (line 220) | class _Final(typing._FinalTypingBase, _root=True): method __init__ (line 238) | def __init__(self, tp=None, **kwds): method __getitem__ (line 241) | def __getitem__(self, item): method _eval_type (line 249) | def _eval_type(self, globalns, localns): method __repr__ (line 255) | def __repr__(self): method __hash__ (line 261) | def __hash__(self): method __eq__ (line 264) | def __eq__(self, other): function final (line 280) | def final(f): function IntVar (line 312) | def IntVar(name): class _LiteralForm (line 321) | class _LiteralForm(typing._SpecialForm, _root=True): method __repr__ (line 323) | def __repr__(self): method __getitem__ (line 326) | def __getitem__(self, parameters): class _Literal (line 344) | class _Literal(typing._FinalTypingBase, _root=True): method __init__ (line 360) | def __init__(self, values=None, **kwds): method __getitem__ (line 363) | def __getitem__(self, values): method _eval_type (line 371) | def _eval_type(self, globalns, localns): method __repr__ (line 374) | def __repr__(self): method __hash__ (line 380) | def __hash__(self): method __eq__ (line 383) | def __eq__(self, other): class _ExtensionsGenericMeta (line 404) | class _ExtensionsGenericMeta(GenericMeta): method __subclasscheck__ (line 405) | def __subclasscheck__(self, subclass): class Deque (line 441) | class Deque(collections.deque, typing.MutableSequence[T], method __new__ (line 446) | def __new__(cls, *args, **kwds): class AsyncContextManager (line 459) | class AsyncContextManager(typing.Generic[T_co]): method __aenter__ (line 462) | async def __aenter__(self): method __aexit__ (line 466) | async def __aexit__(self, exc_type, exc_value, traceback): method __subclasshook__ (line 470) | def __subclasshook__(cls, C): class OrderedDict (line 485) | class OrderedDict(collections.OrderedDict, typing.MutableMapping[KT, VT], method __new__ (line 491) | def __new__(cls, *args, **kwds): class Counter (line 501) | class Counter(collections.Counter, method __new__ (line 507) | def __new__(cls, *args, **kwds): class ChainMap (line 516) | class ChainMap(collections.ChainMap, typing.MutableMapping[KT, VT], method __new__ (line 522) | def __new__(cls, *args, **kwds): class AsyncGenerator (line 532) | class AsyncGenerator(AsyncIterator[T_co], typing.Generic[T_co, T_contra], function _gorg (line 542) | def _gorg(cls): function _get_protocol_attrs (line 558) | def _get_protocol_attrs(cls): function _is_callable_members_only (line 577) | def _is_callable_members_only(cls): function _no_init (line 587) | def _no_init(self, *args, **kwargs): class _ProtocolMeta (line 591) | class _ProtocolMeta(abc.ABCMeta): method __instancecheck__ (line 594) | def __instancecheck__(cls, instance): method __new__ (line 781) | def __new__(cls, name, bases, namespace, method __init__ (line 845) | def __init__(cls, *args, **kwargs): method __instancecheck__ (line 889) | def __instancecheck__(self, instance): method __subclasscheck__ (line 904) | def __subclasscheck__(self, cls): method __getitem__ (line 929) | def __getitem__(self, params): class Protocol (line 609) | class Protocol(metaclass=_ProtocolMeta): method __new__ (line 644) | def __new__(cls, *args, **kwds): method __class_getitem__ (line 651) | def __class_getitem__(cls, params): method __init_subclass__ (line 676) | def __init_subclass__(cls, *args, **kwargs): method __new__ (line 1000) | def __new__(cls, *args, **kwds): function _no_init (line 771) | def _no_init(self, *args, **kwargs): class _ProtocolMeta (line 775) | class _ProtocolMeta(GenericMeta): method __instancecheck__ (line 594) | def __instancecheck__(cls, instance): method __new__ (line 781) | def __new__(cls, name, bases, namespace, method __init__ (line 845) | def __init__(cls, *args, **kwargs): method __instancecheck__ (line 889) | def __instancecheck__(self, instance): method __subclasscheck__ (line 904) | def __subclasscheck__(self, cls): method __getitem__ (line 929) | def __getitem__(self, params): class Protocol (line 968) | class Protocol(metaclass=_ProtocolMeta): method __new__ (line 644) | def __new__(cls, *args, **kwds): method __class_getitem__ (line 651) | def __class_getitem__(cls, params): method __init_subclass__ (line 676) | def __init_subclass__(cls, *args, **kwargs): method __new__ (line 1000) | def __new__(cls, *args, **kwds): function runtime_checkable (line 1012) | def runtime_checkable(cls): class SupportsIndex (line 1037) | class SupportsIndex(Protocol): method __index__ (line 1041) | def __index__(self) -> int: function _check_fails (line 1056) | def _check_fails(cls, other): function _dict_new (line 1067) | def _dict_new(*args, **kwargs): function _typeddict_new (line 1075) | def _typeddict_new(*args, total=True, **kwargs): class _TypedDictMeta (line 1122) | class _TypedDictMeta(type): method __init__ (line 1123) | def __init__(cls, name, bases, ns, total=True): method __new__ (line 1126) | def __new__(cls, name, bases, ns, total=True): function is_typeddict (line 1221) | def is_typeddict(tp): function _strip_extras (line 1241) | def _strip_extras(t): function get_type_hints (line 1265) | def get_type_hints(obj, globalns=None, localns=None, include_extras=False): class _AnnotatedAlias (line 1316) | class _AnnotatedAlias(typing._GenericAlias, _root=True): method __init__ (line 1324) | def __init__(self, origin, metadata): method copy_with (line 1331) | def copy_with(self, params): method __repr__ (line 1336) | def __repr__(self): method __reduce__ (line 1340) | def __reduce__(self): method __eq__ (line 1345) | def __eq__(self, other): method __hash__ (line 1352) | def __hash__(self): class Annotated (line 1355) | class Annotated: method __new__ (line 1390) | def __new__(cls, *args, **kwargs): method __class_getitem__ (line 1394) | def __class_getitem__(cls, params): method __init_subclass__ (line 1408) | def __init_subclass__(cls, *args, **kwargs): function _is_dunder (line 1415) | def _is_dunder(name): class AnnotatedMeta (line 1423) | class AnnotatedMeta(typing.GenericMeta): method __new__ (line 1426) | def __new__(cls, name, bases, namespace, **kwargs): method __metadata__ (line 1432) | def __metadata__(self): method _tree_repr (line 1435) | def _tree_repr(self, tree): method _subs_tree (line 1444) | def _subs_tree(self, tvars=None, args=None): # noqa method _get_cons (line 1455) | def _get_cons(self): method __getitem__ (line 1469) | def __getitem__(self, params): method __call__ (line 1498) | def __call__(self, *args, **kwargs): method __getattr__ (line 1507) | def __getattr__(self, attr): method __setattr__ (line 1513) | def __setattr__(self, attr, value): method __instancecheck__ (line 1521) | def __instancecheck__(self, obj): method __subclasscheck__ (line 1524) | def __subclasscheck__(self, cls): class Annotated (line 1527) | class Annotated(metaclass=AnnotatedMeta): method __new__ (line 1390) | def __new__(cls, *args, **kwargs): method __class_getitem__ (line 1394) | def __class_getitem__(cls, params): method __init_subclass__ (line 1408) | def __init_subclass__(cls, *args, **kwargs): function get_origin (line 1578) | def get_origin(tp): function get_args (line 1602) | def get_args(tp): class _TypeAliasForm (line 1630) | class _TypeAliasForm(typing._SpecialForm, _root=True): method __repr__ (line 1631) | def __repr__(self): method __repr__ (line 1650) | def __repr__(self): function TypeAlias (line 1635) | def TypeAlias(self, parameters): class _TypeAliasForm (line 1649) | class _TypeAliasForm(typing._SpecialForm, _root=True): method __repr__ (line 1631) | def __repr__(self): method __repr__ (line 1650) | def __repr__(self): class _TypeAliasMeta (line 1666) | class _TypeAliasMeta(typing.TypingMeta): method __repr__ (line 1669) | def __repr__(self): class _TypeAliasBase (line 1672) | class _TypeAliasBase(typing._FinalTypingBase, metaclass=_TypeAliasMeta, ... method __instancecheck__ (line 1685) | def __instancecheck__(self, obj): method __subclasscheck__ (line 1688) | def __subclasscheck__(self, cls): method __repr__ (line 1691) | def __repr__(self): class _Immutable (line 1703) | class _Immutable: method __copy__ (line 1707) | def __copy__(self): method __deepcopy__ (line 1710) | def __deepcopy__(self, memo): class ParamSpecArgs (line 1713) | class ParamSpecArgs(_Immutable): method __init__ (line 1725) | def __init__(self, origin): method __repr__ (line 1728) | def __repr__(self): method __eq__ (line 1731) | def __eq__(self, other): class ParamSpecKwargs (line 1736) | class ParamSpecKwargs(_Immutable): method __init__ (line 1748) | def __init__(self, origin): method __repr__ (line 1751) | def __repr__(self): method __eq__ (line 1754) | def __eq__(self, other): class ParamSpec (line 1766) | class ParamSpec(list): method args (line 1817) | def args(self): method kwargs (line 1821) | def kwargs(self): method __init__ (line 1824) | def __init__(self, name, *, bound=None, covariant=False, contravariant... method __repr__ (line 1842) | def __repr__(self): method __hash__ (line 1851) | def __hash__(self): method __eq__ (line 1854) | def __eq__(self, other): method __reduce__ (line 1857) | def __reduce__(self): method __call__ (line 1861) | def __call__(self, *args, **kwargs): method _get_type_vars (line 1866) | def _get_type_vars(self, tvars): class _ConcatenateGenericAlias (line 1874) | class _ConcatenateGenericAlias(list): method __init__ (line 1887) | def __init__(self, origin, args): method __repr__ (line 1892) | def __repr__(self): method __hash__ (line 1897) | def __hash__(self): method __call__ (line 1901) | def __call__(self, *args, **kwargs): method __parameters__ (line 1905) | def __parameters__(self): method _get_type_vars (line 1912) | def _get_type_vars(self, tvars): function _concatenate_getitem (line 1919) | def _concatenate_getitem(self, parameters): function Concatenate (line 1939) | def Concatenate(self, parameters): class _ConcatenateForm (line 1953) | class _ConcatenateForm(typing._SpecialForm, _root=True): method __repr__ (line 1954) | def __repr__(self): method __getitem__ (line 1957) | def __getitem__(self, parameters): class _ConcatenateAliasMeta (line 1974) | class _ConcatenateAliasMeta(typing.TypingMeta): method __repr__ (line 1977) | def __repr__(self): class _ConcatenateAliasBase (line 1980) | class _ConcatenateAliasBase(typing._FinalTypingBase, method __instancecheck__ (line 1995) | def __instancecheck__(self, obj): method __subclasscheck__ (line 1998) | def __subclasscheck__(self, cls): method __repr__ (line 2001) | def __repr__(self): method __getitem__ (line 2004) | def __getitem__(self, parameters): class _TypeGuardForm (line 2014) | class _TypeGuardForm(typing._SpecialForm, _root=True): method __repr__ (line 2015) | def __repr__(self): method __repr__ (line 2068) | def __repr__(self): method __getitem__ (line 2071) | def __getitem__(self, parameters): function TypeGuard (line 2019) | def TypeGuard(self, parameters): class _TypeGuardForm (line 2066) | class _TypeGuardForm(typing._SpecialForm, _root=True): method __repr__ (line 2015) | def __repr__(self): method __repr__ (line 2068) | def __repr__(self): method __getitem__ (line 2071) | def __getitem__(self, parameters): class _TypeGuard (line 2122) | class _TypeGuard(typing._FinalTypingBase, _root=True): method __init__ (line 2168) | def __init__(self, tp=None, **kwds): method __getitem__ (line 2171) | def __getitem__(self, item): method _eval_type (line 2179) | def _eval_type(self, globalns, localns): method __repr__ (line 2185) | def __repr__(self): method __hash__ (line 2191) | def __hash__(self): method __eq__ (line 2194) | def __eq__(self, other): class _SpecialForm (line 2206) | class _SpecialForm(typing._Final, _root=True): method __init__ (line 2209) | def __init__(self, getitem): method __getattr__ (line 2214) | def __getattr__(self, item): method __mro_entries__ (line 2220) | def __mro_entries__(self, bases): method __repr__ (line 2223) | def __repr__(self): method __reduce__ (line 2226) | def __reduce__(self): method __call__ (line 2229) | def __call__(self, *args, **kwds): method __or__ (line 2232) | def __or__(self, other): method __ror__ (line 2235) | def __ror__(self, other): method __instancecheck__ (line 2238) | def __instancecheck__(self, obj): method __subclasscheck__ (line 2241) | def __subclasscheck__(self, cls): method __getitem__ (line 2245) | def __getitem__(self, parameters): function LiteralString (line 2253) | def LiteralString(self, params): class _LiteralString (line 2271) | class _LiteralString(typing._FinalTypingBase, _root=True): method __instancecheck__ (line 2290) | def __instancecheck__(self, obj): method __subclasscheck__ (line 2293) | def __subclasscheck__(self, cls): function Self (line 2303) | def Self(self, params): class _Self (line 2319) | class _Self(typing._FinalTypingBase, _root=True): method __instancecheck__ (line 2335) | def __instancecheck__(self, obj): method __subclasscheck__ (line 2338) | def __subclasscheck__(self, cls): function Never (line 2348) | def Never(self, params): class _Never (line 2373) | class _Never(typing._FinalTypingBase, _root=True): method __instancecheck__ (line 2398) | def __instancecheck__(self, obj): method __subclasscheck__ (line 2401) | def __subclasscheck__(self, cls): class _ExtensionsSpecialForm (line 2411) | class _ExtensionsSpecialForm(typing._SpecialForm, _root=True): method __repr__ (line 2412) | def __repr__(self): function Required (line 2416) | def Required(self, parameters): function NotRequired (line 2436) | def NotRequired(self, parameters): class _RequiredForm (line 2453) | class _RequiredForm(typing._SpecialForm, _root=True): method __repr__ (line 2454) | def __repr__(self): method __getitem__ (line 2457) | def __getitem__(self, parameters): class _MaybeRequired (line 2495) | class _MaybeRequired(typing._FinalTypingBase, _root=True): method __init__ (line 2498) | def __init__(self, tp=None, **kwds): method __getitem__ (line 2501) | def __getitem__(self, item): method _eval_type (line 2510) | def _eval_type(self, globalns, localns): method __repr__ (line 2516) | def __repr__(self): method __hash__ (line 2522) | def __hash__(self): method __eq__ (line 2525) | def __eq__(self, other): class _Required (line 2532) | class _Required(_MaybeRequired, _root=True): class _NotRequired (line 2549) | class _NotRequired(_MaybeRequired, _root=True): class _UnpackSpecialForm (line 2568) | class _UnpackSpecialForm(typing._SpecialForm, _root=True): method __repr__ (line 2569) | def __repr__(self): class _UnpackAlias (line 2572) | class _UnpackAlias(typing._GenericAlias, _root=True): function Unpack (line 2576) | def Unpack(self, parameters): function _is_unpack (line 2590) | def _is_unpack(obj): class _UnpackAlias (line 2594) | class _UnpackAlias(typing._GenericAlias, _root=True): class _UnpackForm (line 2597) | class _UnpackForm(typing._SpecialForm, _root=True): method __repr__ (line 2598) | def __repr__(self): method __getitem__ (line 2601) | def __getitem__(self, parameters): function _is_unpack (line 2619) | def _is_unpack(obj): class _Unpack (line 2624) | class _Unpack(typing._FinalTypingBase, _root=True): method __init__ (line 2638) | def __init__(self, tp=None, **kwds): method __getitem__ (line 2641) | def __getitem__(self, item): method _eval_type (line 2649) | def _eval_type(self, globalns, localns): method __repr__ (line 2655) | def __repr__(self): method __hash__ (line 2661) | def __hash__(self): method __eq__ (line 2664) | def __eq__(self, other): method _get_type_vars (line 2672) | def _get_type_vars(self, tvars): function _is_unpack (line 2677) | def _is_unpack(obj): class TypeVarTuple (line 2681) | class TypeVarTuple: method __iter__ (line 2728) | def __iter__(self): method __init__ (line 2731) | def __init__(self, name): method __repr__ (line 2744) | def __repr__(self): method __hash__ (line 2747) | def __hash__(self): method __eq__ (line 2750) | def __eq__(self, other): method __reduce__ (line 2753) | def __reduce__(self): method __init_subclass__ (line 2756) | def __init_subclass__(self, *args, **kwds): method _get_type_vars (line 2762) | def _get_type_vars(self, tvars): function reveal_type (line 2770) | def reveal_type(__obj: T) -> T: function assert_never (line 2793) | def assert_never(__arg: Never) -> Never: function dataclass_transform (line 2819) | def dataclass_transform( FILE: lib/spack/spack/verify.py function compute_hash (line 18) | def compute_hash(path: str, block_size: int = 1048576) -> str: function create_manifest_entry (line 30) | def create_manifest_entry(path: str) -> Dict[str, Any]: function write_manifest (line 49) | def write_manifest(spec): function check_entry (line 72) | def check_entry(path, data): function check_file_manifest (line 106) | def check_file_manifest(filename): function check_spec_manifest (line 138) | def check_spec_manifest(spec): class VerificationResults (line 180) | class VerificationResults: method __init__ (line 181) | def __init__(self): method add_error (line 184) | def add_error(self, path, field): method __add__ (line 187) | def __add__(self, vr): method has_errors (line 192) | def has_errors(self): method json_string (line 195) | def json_string(self): method __str__ (line 198) | def __str__(self): FILE: lib/spack/spack/verify_libraries.py function is_compatible (line 69) | def is_compatible(parent: elf.ElfFile, child: elf.ElfFile) -> bool: function candidate_matches (line 78) | def candidate_matches(current_elf: elf.ElfFile, candidate_path: bytes) -... class Problem (line 86) | class Problem: method __init__ (line 87) | def __init__( class ResolveSharedElfLibDepsVisitor (line 95) | class ResolveSharedElfLibDepsVisitor(BaseDirectoryVisitor): method __init__ (line 96) | def __init__(self, allow_unresolved_patterns: List[str]) -> None: method allow_unresolved (line 102) | def allow_unresolved(self, needed: bytes) -> bool: method visit_file (line 109) | def visit_file(self, root: str, rel_path: str, depth: int) -> None: method visit_symlinked_file (line 172) | def visit_symlinked_file(self, root: str, rel_path: str, depth: int) -... method before_visit_dir (line 175) | def before_visit_dir(self, root: str, rel_path: str, depth: int) -> bool: method before_visit_symlinked_dir (line 181) | def before_visit_symlinked_dir(self, root: str, rel_path: str, depth: ... method write (line 184) | def write(self, output: IO[str], *, indent=0, brief: bool = False) -> ... function _decode_or_raw (line 207) | def _decode_or_raw(byte_str: bytes) -> str: FILE: lib/spack/spack/version/common.py function is_git_version (line 22) | def is_git_version(string: str) -> bool: class VersionError (line 26) | class VersionError(spack.error.SpackError): class VersionChecksumError (line 30) | class VersionChecksumError(VersionError): class VersionLookupError (line 34) | class VersionLookupError(VersionError): class EmptyRangeError (line 38) | class EmptyRangeError(VersionError): FILE: lib/spack/spack/version/git_ref_lookup.py class GitRefLookup (line 35) | class GitRefLookup(AbstractRefLookup): method __init__ (line 43) | def __init__(self, pkg_name): method cache_key (line 58) | def cache_key(self): method cache_path (line 66) | def cache_path(self): method pkg (line 72) | def pkg(self): method fetcher (line 83) | def fetcher(self): method repository_uri (line 92) | def repository_uri(self): method save (line 96) | def save(self): method load_data (line 101) | def load_data(self): method get (line 107) | def get(self, ref) -> Tuple[Optional[str], int]: method lookup_ref (line 117) | def lookup_ref(self, ref) -> Tuple[Optional[str], int]: FILE: lib/spack/spack/version/lookup.py class AbstractRefLookup (line 8) | class AbstractRefLookup: method get (line 9) | def get(self, ref) -> Tuple[Optional[str], int]: FILE: lib/spack/spack/version/version_types.py class VersionStrComponent (line 32) | class VersionStrComponent: method __init__ (line 52) | def __init__(self, data: Union[int, str]): method from_string (line 57) | def from_string(string: str) -> "VersionStrComponent": method __hash__ (line 67) | def __hash__(self) -> int: method __str__ (line 70) | def __str__(self) -> str: method __repr__ (line 77) | def __repr__(self) -> str: method __eq__ (line 80) | def __eq__(self, other: object) -> bool: method __lt__ (line 86) | def __lt__(self, other: object) -> bool: method __gt__ (line 93) | def __gt__(self, other: object) -> bool: method __le__ (line 100) | def __le__(self, other: object) -> bool: method __ge__ (line 103) | def __ge__(self, other: object) -> bool: function parse_string_components (line 126) | def parse_string_components(string: str) -> Tuple[VersionTuple, Separato... class VersionType (line 158) | class VersionType(SupportsRichComparison): method intersection (line 177) | def intersection(self, other: "VersionType") -> "VersionType": method intersects (line 181) | def intersects(self, other: "VersionType") -> bool: method overlaps (line 185) | def overlaps(self, other: "VersionType") -> bool: method satisfies (line 189) | def satisfies(self, other: "VersionType") -> bool: method union (line 193) | def union(self, other: "VersionType") -> "VersionType": method __hash__ (line 197) | def __hash__(self) -> int: class ConcreteVersion (line 201) | class ConcreteVersion(VersionType): function _stringify_version (line 207) | def _stringify_version(versions: VersionTuple, separators: Tuple[str, ..... class StandardVersion (line 221) | class StandardVersion(ConcreteVersion): method __init__ (line 230) | def __init__(self, string: str, version: VersionTuple, separators: Tup... method from_string (line 247) | def from_string(string: str) -> "StandardVersion": method typemin (line 252) | def typemin() -> "StandardVersion": method typemax (line 256) | def typemax() -> "StandardVersion": method string (line 260) | def string(self) -> str: method string (line 266) | def string(self, string) -> None: method __bool__ (line 269) | def __bool__(self) -> bool: method __eq__ (line 272) | def __eq__(self, other: object) -> bool: method __ne__ (line 277) | def __ne__(self, other: object) -> bool: method __lt__ (line 282) | def __lt__(self, other: object) -> bool: method __le__ (line 290) | def __le__(self, other: object) -> bool: method __ge__ (line 298) | def __ge__(self, other: object) -> bool: method __gt__ (line 306) | def __gt__(self, other: object) -> bool: method __iter__ (line 313) | def __iter__(self) -> Iterator: method __len__ (line 316) | def __len__(self) -> int: method __getitem__ (line 319) | def __getitem__(self, idx: Union[int, slice]): method __str__ (line 343) | def __str__(self) -> str: method __repr__ (line 346) | def __repr__(self) -> str: method __hash__ (line 350) | def __hash__(self) -> int: method __contains__ (line 354) | def __contains__(rhs, lhs) -> bool: method intersects (line 363) | def intersects(self, other: VersionType) -> bool: method satisfies (line 368) | def satisfies(self, other: VersionType) -> bool: method union (line 383) | def union(self, other: VersionType) -> VersionType: method intersection (line 388) | def intersection(self, other: VersionType) -> VersionType: method isdevelop (line 393) | def isdevelop(self) -> bool: method is_prerelease (line 399) | def is_prerelease(self) -> bool: method dotted_numeric_string (line 403) | def dotted_numeric_string(self) -> str: method dotted (line 414) | def dotted(self) -> "StandardVersion": method underscored (line 429) | def underscored(self) -> "StandardVersion": method dashed (line 444) | def dashed(self) -> "StandardVersion": method joined (line 459) | def joined(self) -> "StandardVersion": method up_to (line 475) | def up_to(self, index: int) -> "StandardVersion": method up_to_1 (line 502) | def up_to_1(self): method up_to_2 (line 507) | def up_to_2(self): method up_to_3 (line 512) | def up_to_3(self): class GitVersion (line 517) | class GitVersion(ConcreteVersion): method __init__ (line 555) | def __init__(self, string: str): method ref_version (line 591) | def ref_version(self) -> StandardVersion: method intersects (line 612) | def intersects(self, other: VersionType) -> bool: method intersection (line 624) | def intersection(self, other: VersionType) -> VersionType: method satisfies (line 629) | def satisfies(self, other: VersionType) -> bool: method __str__ (line 641) | def __str__(self) -> str: method __repr__ (line 655) | def __repr__(self): method __bool__ (line 658) | def __bool__(self): method __eq__ (line 661) | def __eq__(self, other: object) -> bool: method __ne__ (line 670) | def __ne__(self, other: object) -> bool: method __lt__ (line 673) | def __lt__(self, other: object) -> bool: method __le__ (line 683) | def __le__(self, other: object) -> bool: method __ge__ (line 694) | def __ge__(self, other: object) -> bool: method __gt__ (line 704) | def __gt__(self, other: object) -> bool: method __hash__ (line 714) | def __hash__(self): method __contains__ (line 718) | def __contains__(self, other: object) -> bool: method ref_lookup (line 722) | def ref_lookup(self): method attach_lookup (line 728) | def attach_lookup(self, lookup: AbstractRefLookup): method __iter__ (line 742) | def __iter__(self): method __len__ (line 745) | def __len__(self): method __getitem__ (line 748) | def __getitem__(self, idx): method isdevelop (line 751) | def isdevelop(self): method is_prerelease (line 754) | def is_prerelease(self) -> bool: method dotted (line 758) | def dotted(self) -> StandardVersion: method underscored (line 762) | def underscored(self) -> StandardVersion: method dashed (line 766) | def dashed(self) -> StandardVersion: method joined (line 770) | def joined(self) -> StandardVersion: method up_to (line 773) | def up_to(self, index) -> StandardVersion: function _str_range (line 777) | def _str_range(lo: StandardVersion, hi: StandardVersion) -> str: class ClosedOpenRange (line 792) | class ClosedOpenRange(VersionType): method __init__ (line 795) | def __init__(self, lo: StandardVersion, hi: StandardVersion): method from_version_range (line 804) | def from_version_range(cls, lo: StandardVersion, hi: StandardVersion) ... method __str__ (line 816) | def __str__(self) -> str: method __repr__ (line 822) | def __repr__(self): method __hash__ (line 825) | def __hash__(self): method __eq__ (line 831) | def __eq__(self, other): method __ne__ (line 838) | def __ne__(self, other): method __lt__ (line 845) | def __lt__(self, other): method __le__ (line 852) | def __le__(self, other): method __ge__ (line 859) | def __ge__(self, other): method __gt__ (line 866) | def __gt__(self, other): method __contains__ (line 873) | def __contains__(rhs, lhs): method intersects (line 878) | def intersects(self, other: VersionType) -> bool: method satisfies (line 889) | def satisfies(self, other: VersionType) -> bool: method _union_if_not_disjoint (line 898) | def _union_if_not_disjoint(self, other: VersionType) -> Optional["Clos... method union (line 917) | def union(self, other: VersionType) -> VersionType: method intersection (line 926) | def intersection(self, other: VersionType) -> VersionType: class VersionList (line 940) | class VersionList(VersionType): method __init__ (line 945) | def __init__(self, vlist: Optional[Union[str, VersionType, Iterable]] ... method add (line 970) | def add(self, item: VersionType) -> None: method concrete (line 1010) | def concrete(self) -> Optional[ConcreteVersion]: method concrete_range_as_version (line 1014) | def concrete_range_as_version(self) -> Optional[ConcreteVersion]: method copy (line 1026) | def copy(self) -> "VersionList": method lowest (line 1029) | def lowest(self) -> Optional[StandardVersion]: method highest (line 1033) | def highest(self) -> Optional[StandardVersion]: method highest_numeric (line 1037) | def highest_numeric(self) -> Optional[StandardVersion]: method preferred (line 1046) | def preferred(self) -> Optional[StandardVersion]: method satisfies (line 1050) | def satisfies(self, other: VersionType) -> bool: method intersects (line 1061) | def intersects(self, other: VersionType) -> bool: method to_dict (line 1078) | def to_dict(self) -> Dict: method from_dict (line 1085) | def from_dict(dictionary) -> "VersionList": method any (line 1094) | def any(cls) -> "VersionList": method update (line 1100) | def update(self, other: "VersionList") -> None: method union (line 1103) | def union(self, other: VersionType) -> VersionType: method intersection (line 1108) | def intersection(self, other: VersionType) -> "VersionList": method intersect (line 1122) | def intersect(self, other: VersionType) -> bool: method __contains__ (line 1133) | def __contains__(self, other): method __getitem__ (line 1143) | def __getitem__(self, index): method __iter__ (line 1146) | def __iter__(self) -> Iterator: method __reversed__ (line 1149) | def __reversed__(self) -> Iterator: method __len__ (line 1152) | def __len__(self) -> int: method __bool__ (line 1155) | def __bool__(self) -> bool: method __eq__ (line 1158) | def __eq__(self, other) -> bool: method __ne__ (line 1163) | def __ne__(self, other) -> bool: method __lt__ (line 1168) | def __lt__(self, other) -> bool: method __le__ (line 1173) | def __le__(self, other) -> bool: method __ge__ (line 1178) | def __ge__(self, other) -> bool: method __gt__ (line 1183) | def __gt__(self, other) -> bool: method __hash__ (line 1188) | def __hash__(self) -> int: method __str__ (line 1191) | def __str__(self) -> str: method __repr__ (line 1197) | def __repr__(self) -> str: function _next_str (line 1201) | def _next_str(s: str) -> str: function _prev_str (line 1210) | def _prev_str(s: str) -> str: function _next_version_str_component (line 1219) | def _next_version_str_component(v: VersionStrComponent) -> VersionStrCom... function _prev_version_str_component (line 1239) | def _prev_version_str_component(v: VersionStrComponent) -> VersionStrCom... function _next_version (line 1259) | def _next_version(v: StandardVersion) -> StandardVersion: function _prev_version (line 1278) | def _prev_version(v: StandardVersion) -> StandardVersion: function Version (line 1300) | def Version(string: Union[str, int]) -> Union[StandardVersion, GitVersion]: function VersionRange (line 1309) | def VersionRange(lo: Union[str, StandardVersion], hi: Union[str, Standar... function from_string (line 1315) | def from_string(string: str) -> VersionType: function ver (line 1344) | def ver(obj: Union[VersionType, str, list, tuple, int, float]) -> Versio... FILE: share/spack/qa/config_state.py function show_config (line 16) | def show_config(serialized_state): FILE: share/spack/qa/flake8_formatter.py class SpackFormatter (line 47) | class SpackFormatter(Pylint): method __init__ (line 48) | def __init__(self, options): method after_init (line 53) | def after_init(self) -> None: method beginning (line 57) | def beginning(self, filename): method handle (line 66) | def handle(self, error: Violation) -> None: method stop (line 108) | def stop(self): FILE: var/spack/test_repos/spack_repo/builder_test/packages/builder_and_mixins/package.py class BuilderAndMixins (line 11) | class BuilderAndMixins(Package): class BuilderMixin (line 21) | class BuilderMixin(metaclass=spack.phase_callbacks.PhaseCallbacksMeta): method before_install (line 23) | def before_install(self): method after_install (line 27) | def after_install(self): class GenericBuilder (line 31) | class GenericBuilder(BuilderMixin, generic.GenericBuilder): method install (line 32) | def install(self, pkg, spec, prefix): FILE: var/spack/test_repos/spack_repo/builder_test/packages/callbacks/package.py class Callbacks (line 11) | class Callbacks(Package): class GenericBuilder (line 21) | class GenericBuilder(GenericBuilder): method install (line 22) | def install(self, pkg, spec, prefix): method before_install_1 (line 28) | def before_install_1(self): method before_install_2 (line 33) | def before_install_2(self): method after_install_1 (line 38) | def after_install_1(self): method after_install_2 (line 43) | def after_install_2(self): FILE: var/spack/test_repos/spack_repo/builder_test/packages/custom_phases/package.py class CustomPhases (line 11) | class CustomPhases(generic.Package): class GenericBuilder (line 21) | class GenericBuilder(generic.GenericBuilder): method configure (line 24) | def configure(self, pkg, spec, prefix): method install (line 28) | def install(self, pkg, spec, prefix): FILE: var/spack/test_repos/spack_repo/builder_test/packages/gmake/package.py class Gmake (line 10) | class Gmake(Package): method do_stage (line 18) | def do_stage(self): FILE: var/spack/test_repos/spack_repo/builder_test/packages/gnuconfig/package.py class Gnuconfig (line 9) | class Gnuconfig(Package): FILE: var/spack/test_repos/spack_repo/builder_test/packages/inheritance/package.py class Inheritance (line 11) | class Inheritance(callbacks.Callbacks): class GenericBuilder (line 17) | class GenericBuilder(callbacks.GenericBuilder): method install (line 18) | def install(self, pkg, spec, prefix): method derived_before_install (line 24) | def derived_before_install(self): FILE: var/spack/test_repos/spack_repo/builder_test/packages/inheritance_only_package/package.py class InheritanceOnlyPackage (line 7) | class InheritanceOnlyPackage(callbacks.Callbacks): FILE: var/spack/test_repos/spack_repo/builder_test/packages/old_style_autotools/package.py class OldStyleAutotools (line 11) | class OldStyleAutotools(AutotoolsPackage): method configure (line 22) | def configure(self, spec, prefix): method build (line 25) | def build(self, spec, prefix): method install (line 28) | def install(self, spec, prefix): method configure_args (line 31) | def configure_args(self): method foo (line 37) | def foo(self): method create_configure (line 41) | def create_configure(self): method after_autoreconf_1 (line 46) | def after_autoreconf_1(self): method after_autoreconf_2 (line 50) | def after_autoreconf_2(self): method check (line 53) | def check(self): method installcheck (line 56) | def installcheck(self): FILE: var/spack/test_repos/spack_repo/builder_test/packages/old_style_custom_phases/package.py class OldStyleCustomPhases (line 11) | class OldStyleCustomPhases(AutotoolsPackage): method configure (line 24) | def configure(self, spec, prefix): method after_configure (line 28) | def after_configure(self): method after_install (line 33) | def after_install(self): FILE: var/spack/test_repos/spack_repo/builder_test/packages/old_style_derived/package.py class OldStyleDerived (line 9) | class OldStyleDerived(OldStyleAutotools): method configure_args (line 20) | def configure_args(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/_checks.py function execute_build_time_tests (line 7) | def execute_build_time_tests(builder: Builder): FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/autotools.py class AutotoolsPackage (line 21) | class AutotoolsPackage(PackageBase): method flags_to_build_system_args (line 30) | def flags_to_build_system_args(self, flags): class AutotoolsBuilder (line 46) | class AutotoolsBuilder(BuilderWithDefaults): method archive_files (line 70) | def archive_files(self) -> List[str]: method configure_directory (line 74) | def configure_directory(self) -> str: method configure_abs_path (line 79) | def configure_abs_path(self) -> str: method build_directory (line 85) | def build_directory(self) -> str: method configure_args (line 94) | def configure_args(self) -> List[str]: method autoreconf (line 100) | def autoreconf(self, pkg: AutotoolsPackage, spec: Spec, prefix: Prefix... method configure (line 103) | def configure(self, pkg: AutotoolsPackage, spec: Spec, prefix: Prefix)... method build (line 106) | def build(self, pkg: AutotoolsPackage, spec: Spec, prefix: Prefix) -> ... method install (line 109) | def install(self, pkg: AutotoolsPackage, spec: Spec, prefix: Prefix) -... method check (line 112) | def check(self) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/bundle.py class BundlePackage (line 8) | class BundlePackage(PackageBase): class BundleBuilder (line 19) | class BundleBuilder(Builder): method install (line 22) | def install(self, pkg: BundlePackage, spec: Spec, prefix: Prefix) -> N... FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/cmake.py class CMakePackage (line 22) | class CMakePackage(PackageBase): method flags_to_build_system_args (line 36) | def flags_to_build_system_args(self, flags): class CMakeBuilder (line 61) | class CMakeBuilder(BuilderWithDefaults): method archive_files (line 81) | def archive_files(self) -> List[str]: method build_directory (line 85) | def build_directory(self) -> str: method cmake_args (line 88) | def cmake_args(self) -> List[str]: method cmake (line 91) | def cmake(self, pkg: CMakePackage, spec: Spec, prefix: Prefix) -> None: method build (line 94) | def build(self, pkg: CMakePackage, spec: Spec, prefix: Prefix) -> None: method install (line 97) | def install(self, pkg: CMakePackage, spec: Spec, prefix: Prefix) -> None: method check (line 100) | def check(self) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/compiler.py class CompilerPackage (line 22) | class CompilerPackage(spack.package_base.PackageBase): method __init__ (line 54) | def __init__(self, spec: "spack.spec.Spec"): method supported_languages (line 61) | def supported_languages(self) -> Sequence[str]: method compiler_names (line 66) | def compiler_names(cls) -> Sequence[str]: method executables (line 74) | def executables(cls) -> Sequence[str]: method determine_version (line 88) | def determine_version(cls, exe: Path) -> str: method compiler_bindir (line 109) | def compiler_bindir(cls, prefix: Path) -> Path: method determine_compiler_paths (line 114) | def determine_compiler_paths(cls, exes: Sequence[Path]) -> Dict[str, P... method determine_variants (line 151) | def determine_variants(cls, exes: Sequence[Path], version_str: str) ->... method standard_flag (line 168) | def standard_flag(self, *, language: str, standard: str) -> str: method _standard_flag (line 179) | def _standard_flag(self, *, language: str, standard: str) -> str: method archspec_name (line 182) | def archspec_name(self) -> str: method cc (line 187) | def cc(self) -> Optional[str]: method _cc_path (line 193) | def _cc_path(self) -> Optional[str]: method cxx (line 198) | def cxx(self) -> Optional[str]: method _cxx_path (line 204) | def _cxx_path(self) -> Optional[str]: method fortran (line 209) | def fortran(self): method _fortran_path (line 215) | def _fortran_path(self) -> Optional[str]: function _compiler_output (line 221) | def _compiler_output( function compiler_output (line 245) | def compiler_output( FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/gnu.py class GNUMirrorPackage (line 10) | class GNUMirrorPackage(PackageBase): method urls (line 19) | def urls(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/makefile.py class MakefilePackage (line 19) | class MakefilePackage(PackageBase): class MakefileBuilder (line 28) | class MakefileBuilder(BuilderWithDefaults): method build_directory (line 41) | def build_directory(self) -> str: method edit (line 45) | def edit(self, pkg: MakefilePackage, spec: Spec, prefix: Prefix) -> None: method build (line 48) | def build(self, pkg: MakefilePackage, spec: Spec, prefix: Prefix) -> N... method install (line 51) | def install(self, pkg: MakefilePackage, spec: Spec, prefix: Prefix) ->... method check (line 54) | def check(self) -> None: method installcheck (line 57) | def installcheck(self) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/perl.py class PerlPackage (line 18) | class PerlPackage(PackageBase): method test_use (line 27) | def test_use(self): class PerlBuilder (line 32) | class PerlBuilder(BuilderWithDefaults): method configure (line 38) | def configure(self, pkg: PerlPackage, spec: Spec, prefix: Prefix) -> N... method build (line 41) | def build(self, pkg: PerlPackage, spec: Spec, prefix: Prefix) -> None: method install (line 44) | def install(self, pkg: PerlPackage, spec: Spec, prefix: Prefix) -> None: method check (line 47) | def check(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/python.py class PythonExtension (line 18) | class PythonExtension(PackageBase): method test_imports (line 19) | def test_imports(self) -> None: class PythonPackage (line 23) | class PythonPackage(PythonExtension): class PythonPipBuilder (line 33) | class PythonPipBuilder(BuilderWithDefaults): method build_directory (line 40) | def build_directory(self) -> str: method install (line 43) | def install(self, pkg: PythonPackage, spec: Spec, prefix: Prefix) -> N... FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/sourceforge.py class SourceforgePackage (line 10) | class SourceforgePackage(PackageBase): method urls (line 22) | def urls(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/build_systems/sourceware.py class SourcewarePackage (line 9) | class SourcewarePackage(PackageBase): method urls (line 18) | def urls(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/_7zip/package.py class _7zip (line 9) | class _7zip(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/_7zip_dependent/package.py class _7zipDependent (line 9) | class _7zipDependent(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/adios2/package.py class Adios2 (line 11) | class Adios2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/archive_files/package.py class ArchiveFiles (line 10) | class ArchiveFiles(AutotoolsPackage): method archive_files (line 20) | def archive_files(self): method autoreconf (line 23) | def autoreconf(self, spec, prefix): method configure (line 26) | def configure(self, spec, prefix): method build (line 29) | def build(self, spec, prefix): method install (line 34) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/ascent/package.py class Ascent (line 10) | class Ascent(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/attributes_foo/package.py class AttributesFoo (line 11) | class AttributesFoo(BundlePackage): method install (line 17) | def install(self, spec, prefix): method headers (line 37) | def headers(self): method libs (line 42) | def libs(self): method bar_headers (line 47) | def bar_headers(self): method bar_libs (line 52) | def bar_libs(self): method baz_home (line 57) | def baz_home(self): method baz_headers (line 62) | def baz_headers(self): method baz_libs (line 67) | def baz_libs(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/attributes_foo_app/package.py class AttributesFooApp (line 10) | class AttributesFooApp(BundlePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/autotools_conditional_variants_test/package.py class AutotoolsConditionalVariantsTest (line 11) | class AutotoolsConditionalVariantsTest(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/autotools_config_replacement/package.py class AutotoolsConfigReplacement (line 12) | class AutotoolsConfigReplacement(AutotoolsPackage): method patch_config_files (line 28) | def patch_config_files(self): method autoreconf (line 31) | def autoreconf(self, spec, prefix): method configure (line 34) | def configure(self, spec, prefix): method build (line 37) | def build(self, spec, prefix): method install (line 40) | def install(self, spec, prefix): method create_the_package_sources (line 47) | def create_the_package_sources(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/binutils_for_test/package.py class BinutilsForTest (line 10) | class BinutilsForTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/boost/package.py class Boost (line 10) | class Boost(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/both_link_and_build_dep_a/package.py class BothLinkAndBuildDepA (line 10) | class BothLinkAndBuildDepA(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/both_link_and_build_dep_b/package.py class BothLinkAndBuildDepB (line 10) | class BothLinkAndBuildDepB(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/both_link_and_build_dep_c/package.py class BothLinkAndBuildDepC (line 10) | class BothLinkAndBuildDepC(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/bowtie/package.py class Bowtie (line 9) | class Bowtie(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/brillig/package.py class Brillig (line 11) | class Brillig(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/build_env_compiler_var_a/package.py class BuildEnvCompilerVarA (line 10) | class BuildEnvCompilerVarA(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/build_env_compiler_var_b/package.py class BuildEnvCompilerVarB (line 10) | class BuildEnvCompilerVarB(Package): method setup_run_environment (line 16) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/build_error/package.py class BuildError (line 12) | class BuildError(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/build_warnings/package.py class BuildWarnings (line 12) | class BuildWarnings(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/bzip2/package.py class Bzip2 (line 11) | class Bzip2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/callpath/package.py class Callpath (line 10) | class Callpath(Package): method install (line 24) | def install(self, spec, prefix): method setup_run_environment (line 28) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/canfail/package.py class Canfail (line 9) | class Canfail(Package): method install (line 18) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/client_not_foo/package.py class ClientNotFoo (line 10) | class ClientNotFoo(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cmake/package.py function check (line 13) | def check(condition, msg): class Cmake (line 19) | class Cmake(Package): method determine_version (line 43) | def determine_version(cls, exe): method setup_build_environment (line 48) | def setup_build_environment(self, env: EnvironmentModifications) -> None: method setup_dependent_build_environment (line 52) | def setup_dependent_build_environment( method setup_dependent_package (line 57) | def setup_dependent_package(self, module, dspec): method install (line 65) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cmake_client/package.py function check (line 12) | def check(condition, msg): class CmakeClient (line 18) | class CmakeClient(CMakePackage): method increment (line 47) | def increment(self): method flip (line 52) | def flip(self): method do_not_execute (line 57) | def do_not_execute(self): method setup_build_environment (line 60) | def setup_build_environment(self, spack_env): method setup_dependent_build_environment (line 72) | def setup_dependent_build_environment( method setup_dependent_package (line 85) | def setup_dependent_package(self, module, dspec): method cmake (line 96) | def cmake(self, spec, prefix): method build (line 99) | def build(self, spec, prefix): method install (line 104) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cmake_client_inheritor/package.py class CmakeClientInheritor (line 10) | class CmakeClientInheritor(CmakeClient): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cmake_conditional_variants_test/package.py class CmakeConditionalVariantsTest (line 10) | class CmakeConditionalVariantsTest(CMakePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/compiler_with_deps/package.py class CompilerWithDeps (line 11) | class CompilerWithDeps(CompilerPackage, Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/compiler_wrapper/package.py class CompilerWrapper (line 19) | class CompilerWrapper(Package): method bin_dir (line 54) | def bin_dir(self) -> pathlib.Path: method install (line 59) | def install(self, spec, prefix): method setup_dependent_build_environment (line 145) | def setup_dependent_build_environment( method setup_dependent_package (line 243) | def setup_dependent_package(self, module, dependent_spec): method disable_new_dtags (line 269) | def disable_new_dtags(self) -> str: method enable_new_dtags (line 275) | def enable_new_dtags(self) -> str: function _implicit_rpaths (line 281) | def _implicit_rpaths(pkg: spack.package_base.PackageBase) -> List[str]: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditional_constrained_dependencies/package.py class ConditionalConstrainedDependencies (line 9) | class ConditionalConstrainedDependencies(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditional_languages/package.py class ConditionalLanguages (line 9) | class ConditionalLanguages(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditional_provider/package.py class ConditionalProvider (line 9) | class ConditionalProvider(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditional_values_in_variant/package.py class ConditionalValuesInVariant (line 9) | class ConditionalValuesInVariant(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditional_variant_pkg/package.py class ConditionalVariantPkg (line 10) | class ConditionalVariantPkg(Package): method install (line 36) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditional_virtual_dependency/package.py class ConditionalVirtualDependency (line 9) | class ConditionalVirtualDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditionally_extends_direct_dep/package.py class ConditionallyExtendsDirectDep (line 10) | class ConditionallyExtendsDirectDep(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditionally_extends_transitive_dep/package.py class ConditionallyExtendsTransitiveDep (line 10) | class ConditionallyExtendsTransitiveDep(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conditionally_patch_dependency/package.py class ConditionallyPatchDependency (line 11) | class ConditionallyPatchDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/configure_warning/package.py class ConfigureWarning (line 10) | class ConfigureWarning(AutotoolsPackage): method autoreconf (line 21) | def autoreconf(self, spec, prefix): method configure (line 24) | def configure(self, spec, prefix): method build (line 28) | def build(self, spec, prefix): method install (line 31) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conflict/package.py class Conflict (line 10) | class Conflict(Package): method install (line 24) | def install(self, spec, prefix): method setup_run_environment (line 29) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conflict_parent/package.py class ConflictParent (line 10) | class ConflictParent(Package): method install (line 23) | def install(self, spec, prefix): method setup_run_environment (line 28) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conflict_virtual/package.py class ConflictVirtual (line 7) | class ConflictVirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/conflicting_dependent/package.py class ConflictingDependent (line 10) | class ConflictingDependent(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/corge/package.py class Corge (line 14) | class Corge(Package): method install (line 23) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cumulative_vrange_bottom/package.py class CumulativeVrangeBottom (line 9) | class CumulativeVrangeBottom(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cumulative_vrange_middle/package.py class CumulativeVrangeMiddle (line 9) | class CumulativeVrangeMiddle(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cumulative_vrange_root/package.py class CumulativeVrangeRoot (line 9) | class CumulativeVrangeRoot(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/cvs_test/package.py class CvsTest (line 10) | class CvsTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/define_cmake_prefix_paths/package.py class DefineCmakePrefixPaths (line 10) | class DefineCmakePrefixPaths(Package): method cmake_prefix_paths (line 19) | def cmake_prefix_paths(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dep_diamond_patch_mid1/package.py class DepDiamondPatchMid1 (line 10) | class DepDiamondPatchMid1(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dep_diamond_patch_mid2/package.py class DepDiamondPatchMid2 (line 10) | class DepDiamondPatchMid2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dep_diamond_patch_top/package.py class DepDiamondPatchTop (line 10) | class DepDiamondPatchTop(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dep_with_variants/package.py class DepWithVariants (line 9) | class DepWithVariants(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dep_with_variants_if_develop/package.py class DepWithVariantsIfDevelop (line 9) | class DepWithVariantsIfDevelop(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dep_with_variants_if_develop_root/package.py class DepWithVariantsIfDevelopRoot (line 9) | class DepWithVariantsIfDevelopRoot(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depb/package.py class Depb (line 10) | class Depb(AutotoolsPackage): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dependency_foo_bar/package.py class DependencyFooBar (line 10) | class DependencyFooBar(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dependency_install/package.py class DependencyInstall (line 10) | class DependencyInstall(Package): method install (line 19) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dependency_mv/package.py class DependencyMv (line 10) | class DependencyMv(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dependent_install/package.py class DependentInstall (line 10) | class DependentInstall(Package): method install (line 22) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dependent_of_dev_build/package.py class DependentOfDevBuild (line 11) | class DependentOfDevBuild(Package): method install (line 19) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depends_on_define_cmake_prefix_paths/package.py class DependsOnDefineCmakePrefixPaths (line 10) | class DependsOnDefineCmakePrefixPaths(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depends_on_develop/package.py class DependsOnDevelop (line 11) | class DependsOnDevelop(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depends_on_manyvariants/package.py class DependsOnManyvariants (line 10) | class DependsOnManyvariants(Package): method install (line 25) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depends_on_openmpi/package.py class DependsOnOpenmpi (line 10) | class DependsOnOpenmpi(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depends_on_run_env/package.py class DependsOnRunEnv (line 10) | class DependsOnRunEnv(Package): method install (line 22) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/depends_on_virtual_with_abi/package.py class DependsOnVirtualWithAbi (line 10) | class DependsOnVirtualWithAbi(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/deprecated_client/package.py class DeprecatedClient (line 9) | class DeprecatedClient(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/deprecated_versions/package.py class DeprecatedVersions (line 9) | class DeprecatedVersions(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dev_build_test_dependent/package.py class DevBuildTestDependent (line 11) | class DevBuildTestDependent(MakefilePackage): method edit (line 23) | def edit(self, spec, prefix): method build (line 30) | def build(self, spec, prefix): method install (line 33) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dev_build_test_install/package.py class DevBuildTestInstall (line 9) | class DevBuildTestInstall(MakefilePackage): method edit (line 19) | def edit(self, spec, prefix): method build (line 26) | def build(self, spec, prefix): method install (line 29) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dev_build_test_install_phases/package.py class DevBuildTestInstallPhases (line 10) | class DevBuildTestInstallPhases(Package): method one (line 18) | def one(self, spec, prefix): method two (line 21) | def two(self, spec, prefix): method three (line 24) | def three(self, spec, prefix): method install (line 27) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/develop_branch_version/package.py class DevelopBranchVersion (line 10) | class DevelopBranchVersion(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/develop_test/package.py class DevelopTest (line 10) | class DevelopTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/develop_test2/package.py class DevelopTest2 (line 10) | class DevelopTest2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/diamond_link_bottom/package.py class DiamondLinkBottom (line 10) | class DiamondLinkBottom(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/diamond_link_left/package.py class DiamondLinkLeft (line 10) | class DiamondLinkLeft(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/diamond_link_right/package.py class DiamondLinkRight (line 10) | class DiamondLinkRight(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/diamond_link_top/package.py class DiamondLinkTop (line 10) | class DiamondLinkTop(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/diff_test/package.py class DiffTest (line 10) | class DiffTest(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/direct_dep_foo_bar/package.py class DirectDepFooBar (line 10) | class DirectDepFooBar(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/direct_dep_virtuals_one/package.py class DirectDepVirtualsOne (line 7) | class DirectDepVirtualsOne(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/direct_dep_virtuals_two/package.py class DirectDepVirtualsTwo (line 7) | class DirectDepVirtualsTwo(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/direct_mpich/package.py class DirectMpich (line 10) | class DirectMpich(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dla_future/package.py class DlaFuture (line 10) | class DlaFuture(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dt_diamond/package.py class DtDiamond (line 10) | class DtDiamond(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dt_diamond_bottom/package.py class DtDiamondBottom (line 10) | class DtDiamondBottom(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dt_diamond_left/package.py class DtDiamondLeft (line 10) | class DtDiamondLeft(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dt_diamond_right/package.py class DtDiamondRight (line 10) | class DtDiamondRight(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtbuild1/package.py class Dtbuild1 (line 10) | class Dtbuild1(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtbuild2/package.py class Dtbuild2 (line 10) | class Dtbuild2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtbuild3/package.py class Dtbuild3 (line 10) | class Dtbuild3(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtlink1/package.py class Dtlink1 (line 10) | class Dtlink1(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtlink2/package.py class Dtlink2 (line 10) | class Dtlink2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtlink3/package.py class Dtlink3 (line 10) | class Dtlink3(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtlink4/package.py class Dtlink4 (line 10) | class Dtlink4(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtlink5/package.py class Dtlink5 (line 10) | class Dtlink5(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtrun1/package.py class Dtrun1 (line 10) | class Dtrun1(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtrun2/package.py class Dtrun2 (line 10) | class Dtrun2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtrun3/package.py class Dtrun3 (line 10) | class Dtrun3(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dttop/package.py class Dttop (line 10) | class Dttop(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dtuse/package.py class Dtuse (line 10) | class Dtuse(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dual_cmake_autotools/package.py class DualCmakeAutotools (line 10) | class DualCmakeAutotools(AutotoolsPackage, CMakePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/dyninst/package.py class Dyninst (line 10) | class Dyninst(Package): method install (line 35) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/ecp_viz_sdk/package.py class EcpVizSdk (line 9) | class EcpVizSdk(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/emacs/package.py class Emacs (line 9) | class Emacs(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/extendee/package.py class Extendee (line 10) | class Extendee(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/extends_spec/package.py class ExtendsSpec (line 10) | class ExtendsSpec(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/extension1/package.py class Extension1 (line 12) | class Extension1(Package): method install (line 23) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/extension2/package.py class Extension2 (line 12) | class Extension2(Package): method install (line 24) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/external_buildable_with_variant/package.py class ExternalBuildableWithVariant (line 10) | class ExternalBuildableWithVariant(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/external_common_gdbm/package.py class ExternalCommonGdbm (line 10) | class ExternalCommonGdbm(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/external_common_openssl/package.py class ExternalCommonOpenssl (line 10) | class ExternalCommonOpenssl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/external_common_perl/package.py class ExternalCommonPerl (line 10) | class ExternalCommonPerl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/external_common_python/package.py class ExternalCommonPython (line 10) | class ExternalCommonPython(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/external_non_default_variant/package.py class ExternalNonDefaultVariant (line 9) | class ExternalNonDefaultVariant(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/externalmodule/package.py class Externalmodule (line 10) | class Externalmodule(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/externalprereq/package.py class Externalprereq (line 10) | class Externalprereq(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/externaltest/package.py class Externaltest (line 10) | class Externaltest(Package): method install (line 19) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/externaltool/package.py class Externaltool (line 10) | class Externaltool(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/externalvirtual/package.py class Externalvirtual (line 10) | class Externalvirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/fail_test_audit/package.py class FailTestAudit (line 9) | class FailTestAudit(MakefilePackage): method test_build_callbacks (line 21) | def test_build_callbacks(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/fail_test_audit_docstring/package.py class FailTestAuditDocstring (line 9) | class FailTestAuditDocstring(MakefilePackage): method test_missing_docstring (line 19) | def test_missing_docstring(self): method test_empty_docstring (line 23) | def test_empty_docstring(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/fail_test_audit_impl/package.py class FailTestAuditImpl (line 9) | class FailTestAuditImpl(MakefilePackage): method test_no_impl (line 19) | def test_no_impl(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/failing_build/package.py class FailingBuild (line 10) | class FailingBuild(Package): method install (line 18) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/failing_empty_install/package.py class FailingEmptyInstall (line 9) | class FailingEmptyInstall(Package): method install (line 17) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/fake/package.py class Fake (line 10) | class Fake(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/fetch_options/package.py class FetchOptions (line 10) | class FetchOptions(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/fftw/package.py class Fftw (line 9) | class Fftw(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/find_externals1/package.py class FindExternals1 (line 12) | class FindExternals1(AutotoolsPackage): method determine_version (line 20) | def determine_version(cls, exe): method determine_spec_details (line 24) | def determine_spec_details(cls, prefix, exes_in_prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/forward_multi_value/package.py class ForwardMultiValue (line 10) | class ForwardMultiValue(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/garply/package.py class Garply (line 14) | class Garply(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/gcc/package.py class Gcc (line 12) | class Gcc(CompilerPackage, Package): method determine_variants (line 69) | def determine_variants(cls, exes, version_str): method install (line 79) | def install(self, spec, prefix): method _cc_path (line 86) | def _cc_path(self): method _cxx_path (line 91) | def _cxx_path(self): method _fortran_path (line 96) | def _fortran_path(self): method runtime_constraints (line 102) | def runtime_constraints(cls, *, spec, pkg): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/gcc_runtime/package.py class GccRuntime (line 17) | class GccRuntime(Package): method install (line 58) | def install(self, spec, prefix): method _get_libraries_macho (line 79) | def _get_libraries_macho(self): method _get_compiler (line 120) | def _get_compiler(self): method libs (line 138) | def libs(self): method headers (line 143) | def headers(self): function _drop_libgfortran_zlib (line 147) | def _drop_libgfortran_zlib(lib_dir: str) -> None: function get_elf_libraries (line 163) | def get_elf_libraries(compiler, libraries): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_ref_commit_dep/package.py class GitRefCommitDep (line 10) | class GitRefCommitDep(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_ref_package/package.py class GitRefPackage (line 10) | class GitRefPackage(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_sparse_a/package.py class GitSparseA (line 10) | class GitSparseA(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_sparse_b/package.py class GitSparseB (line 10) | class GitSparseB(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_sparsepaths_pkg/package.py class GitSparsepathsPkg (line 10) | class GitSparsepathsPkg(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_sparsepaths_version/package.py class GitSparsepathsVersion (line 10) | class GitSparsepathsVersion(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_svn_top_level/package.py class GitSvnTopLevel (line 10) | class GitSvnTopLevel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_test/package.py class GitTest (line 10) | class GitTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_test_commit/package.py class GitTestCommit (line 10) | class GitTestCommit(Package): method install (line 33) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_top_level/package.py class GitTopLevel (line 10) | class GitTopLevel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_url_svn_top_level/package.py class GitUrlSvnTopLevel (line 10) | class GitUrlSvnTopLevel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/git_url_top_level/package.py class GitUrlTopLevel (line 10) | class GitUrlTopLevel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/glibc/package.py class Glibc (line 10) | class Glibc(AutotoolsPackage, GNUMirrorPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/gmake/package.py class Gmake (line 10) | class Gmake(Package): method do_stage (line 21) | def do_stage(self): method setup_dependent_package (line 24) | def setup_dependent_package(self, module, dspec): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/gmt/package.py class Gmt (line 9) | class Gmt(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/gmt_concrete_mv_dependency/package.py class GmtConcreteMvDependency (line 9) | class GmtConcreteMvDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/gnuconfig/package.py class Gnuconfig (line 12) | class Gnuconfig(Package): method install (line 23) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hash_test1/package.py class HashTest1 (line 12) | class HashTest1(Package): method setup_dependent_build_environment (line 32) | def setup_dependent_build_environment( method install (line 38) | def install(self, spec, prefix): method install (line 46) | def install(self, spec, prefix): method extra_phase (line 53) | def extra_phase(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hash_test2/package.py class HashTest2 (line 12) | class HashTest2(Package): method setup_dependent_build_environment (line 28) | def setup_dependent_build_environment( method install (line 33) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hash_test3/package.py class HashTest3 (line 12) | class HashTest3(Package): method setup_dependent_build_environment (line 27) | def setup_dependent_build_environment( method install (line 33) | def install(self, spec, prefix): method install (line 41) | def install(self, spec, prefix): method extra_phase (line 50) | def extra_phase(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hash_test4/package.py class HashTest4 (line 10) | class HashTest4(Package): method install (line 20) | def install(self, spec, prefix): method examine_prefix (line 24) | def examine_prefix(pkg): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hdf5/package.py class Hdf5 (line 11) | class Hdf5(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hg_test/package.py class HgTest (line 10) | class HgTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hg_top_level/package.py class HgTopLevel (line 10) | class HgTopLevel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hpcviewer/package.py class Hpcviewer (line 9) | class Hpcviewer(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hwloc/package.py class Hwloc (line 10) | class Hwloc(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/hypre/package.py class Hypre (line 11) | class Hypre(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/impossible_concretization/package.py class ImpossibleConcretization (line 9) | class ImpossibleConcretization(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/indirect_mpich/package.py class IndirectMpich (line 10) | class IndirectMpich(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/installed_deps_a/package.py class InstalledDepsA (line 10) | class InstalledDepsA(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/installed_deps_b/package.py class InstalledDepsB (line 10) | class InstalledDepsB(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/installed_deps_c/package.py class InstalledDepsC (line 10) | class InstalledDepsC(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/installed_deps_d/package.py class InstalledDepsD (line 10) | class InstalledDepsD(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/installed_deps_e/package.py class InstalledDepsE (line 10) | class InstalledDepsE(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/intel_oneapi_compilers/package.py class IntelOneapiCompilers (line 13) | class IntelOneapiCompilers(Package, CompilerPackage): method compiler_search_prefix (line 35) | def compiler_search_prefix(self): method install (line 38) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/intel_parallel_studio/package.py class IntelParallelStudio (line 10) | class IntelParallelStudio(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/invalid_github_patch_url/package.py class InvalidGithubPatchUrl (line 10) | class InvalidGithubPatchUrl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/invalid_github_pull_commits_patch_url/package.py class InvalidGithubPullCommitsPatchUrl (line 10) | class InvalidGithubPullCommitsPatchUrl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/invalid_gitlab_patch_url/package.py class InvalidGitlabPatchUrl (line 10) | class InvalidGitlabPatchUrl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/invalid_selfhosted_gitlab_patch_url/package.py class InvalidSelfhostedGitlabPatchUrl (line 10) | class InvalidSelfhostedGitlabPatchUrl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/leaf_adds_virtual/package.py class LeafAddsVirtual (line 9) | class LeafAddsVirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/libceed/package.py class Libceed (line 9) | class Libceed(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/libdwarf/package.py class Libdwarf (line 13) | class Libdwarf(Package): method install (line 28) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/libelf/package.py class Libelf (line 10) | class Libelf(Package): method install (line 22) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/libtool_deletion/package.py class LibtoolDeletion (line 11) | class LibtoolDeletion(autotools.AutotoolsPackage): method do_stage (line 20) | def do_stage(self): class AutotoolsBuilder (line 24) | class AutotoolsBuilder(autotools.AutotoolsBuilder): method autoreconf (line 27) | def autoreconf(self, pkg, spec, prefix): method configure (line 31) | def configure(self, pkg, spec, prefix): method build (line 34) | def build(self, pkg, spec, prefix): method install (line 37) | def install(self, pkg, spec, prefix): method libtool_archive_file (line 42) | def libtool_archive_file(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/libtool_installation/package.py class LibtoolInstallation (line 11) | class LibtoolInstallation(LibtoolDeletion, AutotoolsPackage): class AutotoolsBuilder (line 15) | class AutotoolsBuilder(BuilderBase): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/libxsmm/package.py class Libxsmm (line 9) | class Libxsmm(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/licenses_1/package.py class Licenses1 (line 10) | class Licenses1(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/llvm/package.py class Llvm (line 13) | class Llvm(Package, CompilerPackage): method determine_version (line 61) | def determine_version(cls, exe): method filter_detected_exes (line 80) | def filter_detected_exes(cls, prefix, exes_in_prefix): method install (line 90) | def install(self, spec, prefix): method _cc_path (line 97) | def _cc_path(self): method _cxx_path (line 102) | def _cxx_path(self): method _fortran_path (line 107) | def _fortran_path(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/llvm_client/package.py class LlvmClient (line 9) | class LlvmClient(CMakePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/long_boost_dependency/package.py class LongBoostDependency (line 7) | class LongBoostDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/low_priority_provider/package.py class LowPriorityProvider (line 10) | class LowPriorityProvider(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/maintainers_1/package.py class Maintainers1 (line 10) | class Maintainers1(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/maintainers_2/package.py class Maintainers2 (line 10) | class Maintainers2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/maintainers_3/package.py class Maintainers3 (line 9) | class Maintainers3(Maintainers1): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/many_conditional_deps/package.py class ManyConditionalDeps (line 7) | class ManyConditionalDeps(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/many_virtual_consumer/package.py class ManyVirtualConsumer (line 9) | class ManyVirtualConsumer(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/manyvariants/package.py class Manyvariants (line 10) | class Manyvariants(Package): method install (line 33) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mesa/package.py class Mesa (line 7) | class Mesa(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/middle_adds_virtual/package.py class MiddleAddsVirtual (line 9) | class MiddleAddsVirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_gnu/package.py class MirrorGnu (line 11) | class MirrorGnu(AutotoolsPackage, GNUMirrorPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_gnu_broken/package.py class MirrorGnuBroken (line 11) | class MirrorGnuBroken(AutotoolsPackage, GNUMirrorPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_sourceforge/package.py class MirrorSourceforge (line 11) | class MirrorSourceforge(AutotoolsPackage, SourceforgePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_sourceforge_broken/package.py class MirrorSourceforgeBroken (line 11) | class MirrorSourceforgeBroken(AutotoolsPackage, SourceforgePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_sourceware/package.py class MirrorSourceware (line 11) | class MirrorSourceware(AutotoolsPackage, SourcewarePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_sourceware_broken/mirror-gnu-broken/package.py class MirrorGnuBroken (line 8) | class MirrorGnuBroken(AutotoolsPackage, GNUMirrorPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mirror_sourceware_broken/package.py class MirrorSourcewareBroken (line 11) | class MirrorSourcewareBroken(AutotoolsPackage, SourcewarePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/missing_dependency/package.py class MissingDependency (line 10) | class MissingDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mixedversions/package.py class Mixedversions (line 10) | class Mixedversions(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mixing_parent/package.py class MixingParent (line 8) | class MixingParent(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/modifies_run_env/package.py class ModifiesRunEnv (line 10) | class ModifiesRunEnv(Package): method setup_run_environment (line 18) | def setup_run_environment(self, env: EnvironmentModifications) -> None: method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/module_long_help/package.py class ModuleLongHelp (line 10) | class ModuleLongHelp(Package): method setup_run_environment (line 19) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/module_manpath_append/package.py class ModuleManpathAppend (line 10) | class ModuleManpathAppend(Package): method setup_run_environment (line 16) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/module_manpath_prepend/package.py class ModuleManpathPrepend (line 10) | class ModuleManpathPrepend(Package): method setup_run_environment (line 16) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/module_manpath_setenv/package.py class ModuleManpathSetenv (line 10) | class ModuleManpathSetenv(Package): method setup_run_environment (line 16) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/module_path_separator/package.py class ModulePathSeparator (line 10) | class ModulePathSeparator(Package): method setup_run_environment (line 16) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/module_setenv_raw/package.py class ModuleSetenvRaw (line 10) | class ModuleSetenvRaw(Package): method setup_run_environment (line 16) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mpi/package.py class Mpi (line 8) | class Mpi(Package): method test_hello (line 14) | def test_hello(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mpich/package.py class Mpich (line 10) | class Mpich(Package): method determine_version (line 37) | def determine_version(cls, exe): method install (line 42) | def install(self, spec, prefix): method test_mpich (line 45) | def test_mpich(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mpich2/package.py class Mpich2 (line 10) | class Mpich2(Package): method install (line 31) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mpileaks/package.py class Mpileaks (line 10) | class Mpileaks(Package): method install (line 37) | def install(self, spec, prefix): method setup_run_environment (line 41) | def setup_run_environment(self, env: EnvironmentModifications) -> None: FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multi_provider_mpi/package.py class MultiProviderMpi (line 10) | class MultiProviderMpi(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multimethod/package.py class Multimethod (line 11) | class Multimethod(MultimethodBase): method no_version_2 (line 35) | def no_version_2(self): method no_version_2 (line 39) | def no_version_2(self): method no_version_2 (line 43) | def no_version_2(self): method version_overlap (line 51) | def version_overlap(self): method version_overlap (line 55) | def version_overlap(self): method mpi_version (line 61) | def mpi_version(self): method mpi_version (line 65) | def mpi_version(self): method mpi_version (line 69) | def mpi_version(self): method mpi_version (line 73) | def mpi_version(self): method has_a_default (line 81) | def has_a_default(self): method has_a_default (line 85) | def has_a_default(self): method has_a_default (line 89) | def has_a_default(self): method different_by_target (line 103) | def different_by_target(self): method different_by_dep (line 114) | def different_by_dep(self): method different_by_dep (line 118) | def different_by_dep(self): method different_by_virtual_dep (line 124) | def different_by_virtual_dep(self): method different_by_virtual_dep (line 128) | def different_by_virtual_dep(self): method base_method (line 136) | def base_method(self): method inherited_and_overridden (line 145) | def inherited_and_overridden(self): method inherited_and_overridden (line 149) | def inherited_and_overridden(self): method diamond_inheritance (line 156) | def diamond_inheritance(self): method diamond_inheritance (line 160) | def diamond_inheritance(self): method boolean_true_first (line 167) | def boolean_true_first(self): method boolean_true_first (line 171) | def boolean_true_first(self): method boolean_false_first (line 175) | def boolean_false_first(self): method boolean_false_first (line 179) | def boolean_false_first(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multimethod_base/package.py class MultimethodBase (line 8) | class MultimethodBase(Package): method base_method (line 19) | def base_method(self): method diamond_inheritance (line 22) | def diamond_inheritance(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multimethod_diamond/package.py class MultimethodDiamond (line 11) | class MultimethodDiamond(mi.MultimethodInheritor, mp.MultimethodDiamondP... method diamond_inheritance (line 18) | def diamond_inheritance(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multimethod_diamond_parent/package.py class MultimethodDiamondParent (line 10) | class MultimethodDiamondParent(MultimethodBase): method diamond_inheritance (line 17) | def diamond_inheritance(self): method diamond_inheritance (line 21) | def diamond_inheritance(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multimethod_inheritor/package.py class MultimethodInheritor (line 10) | class MultimethodInheritor(Multimethod): method inherited_and_overridden (line 17) | def inherited_and_overridden(self): method base_method (line 24) | def base_method(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multimodule_inheritance/package.py class MultimoduleInheritance (line 10) | class MultimoduleInheritance(si.BaseWithDirectives): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multivalue_variant/package.py class MultivalueVariant (line 10) | class MultivalueVariant(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multivalue_variant_multi_defaults/package.py class MultivalueVariantMultiDefaults (line 10) | class MultivalueVariantMultiDefaults(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/multivalue_variant_multi_defaults_dependent/package.py class MultivalueVariantMultiDefaultsDependent (line 10) | class MultivalueVariantMultiDefaultsDependent(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mvapich2/package.py class Mvapich2 (line 9) | class Mvapich2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/mvdefaults/package.py class Mvdefaults (line 9) | class Mvdefaults(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/needs_relocation/package.py function check (line 10) | def check(condition, msg): class NeedsRelocation (line 16) | class NeedsRelocation(Package): method install (line 24) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/needs_text_relocation/package.py class NeedsTextRelocation (line 9) | class NeedsTextRelocation(Package): method install (line 17) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/netlib_blas/package.py class NetlibBlas (line 10) | class NetlibBlas(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/netlib_lapack/package.py class NetlibLapack (line 10) | class NetlibLapack(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/netlib_scalapack/package.py class NetlibScalapack (line 11) | class NetlibScalapack(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/ninja/package.py class Ninja (line 10) | class Ninja(Package): method setup_dependent_package (line 18) | def setup_dependent_package(self, module, dspec): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/no_redistribute/package.py class NoRedistribute (line 10) | class NoRedistribute(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/no_redistribute_dependent/package.py class NoRedistributeDependent (line 10) | class NoRedistributeDependent(AutotoolsPackage): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/no_url_or_version/package.py class NoUrlOrVersion (line 8) | class NoUrlOrVersion(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/non_existing_conditional_dep/package.py class NonExistingConditionalDep (line 9) | class NonExistingConditionalDep(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/nosource/package.py class Nosource (line 11) | class Nosource(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/nosource_bundle/package.py class NosourceBundle (line 11) | class NosourceBundle(BundlePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/nosource_install/package.py class NosourceInstall (line 10) | class NosourceInstall(BundlePackage): method install (line 21) | def install(self, spec, prefix): method post_install (line 25) | def post_install(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/noversion/package.py class Noversion (line 10) | class Noversion(Package): method install (line 19) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/noversion_bundle/package.py class NoversionBundle (line 11) | class NoversionBundle(BundlePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/old_external/package.py class OldExternal (line 9) | class OldExternal(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/old_sbang/package.py class OldSbang (line 12) | class OldSbang(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/openblas/package.py class Openblas (line 10) | class Openblas(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/openblas_with_lapack/package.py class OpenblasWithLapack (line 10) | class OpenblasWithLapack(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/openmpi/package.py class Openmpi (line 10) | class Openmpi(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/openssl/package.py class Openssl (line 10) | class Openssl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/optional_dep_test/package.py class OptionalDepTest (line 10) | class OptionalDepTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/optional_dep_test_2/package.py class OptionalDepTest2 (line 10) | class OptionalDepTest2(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/optional_dep_test_3/package.py class OptionalDepTest3 (line 10) | class OptionalDepTest3(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/othervirtual/package.py class Othervirtual (line 10) | class Othervirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/override_context_templates/package.py class OverrideContextTemplates (line 10) | class OverrideContextTemplates(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/override_module_templates/package.py class OverrideModuleTemplates (line 10) | class OverrideModuleTemplates(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/package_base_extendee/package.py class PackageBaseExtendee (line 7) | class PackageBaseExtendee(PackageBase): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/parallel_package_a/package.py class ParallelPackageA (line 13) | class ParallelPackageA(Package): method install (line 24) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/parallel_package_b/package.py class ParallelPackageB (line 13) | class ParallelPackageB(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/parallel_package_c/package.py class ParallelPackageC (line 13) | class ParallelPackageC(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/paraview/package.py class Paraview (line 10) | class Paraview(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/parent_foo/package.py class ParentFoo (line 10) | class ParentFoo(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/parent_foo_bar/package.py class ParentFooBar (line 10) | class ParentFooBar(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/parent_foo_bar_fee/package.py class ParentFooBarFee (line 10) | class ParentFooBarFee(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/patch/package.py class Patch (line 10) | class Patch(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/patch_a_dependency/package.py class PatchADependency (line 10) | class PatchADependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/patch_inheritance/package.py class PatchInheritance (line 10) | class PatchInheritance(Patch): method install (line 11) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/patch_several_dependencies/package.py class PatchSeveralDependencies (line 10) | class PatchSeveralDependencies(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/patchelf/package.py class Patchelf (line 10) | class Patchelf(AutotoolsPackage): method install (line 23) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/perl/package.py class Perl (line 9) | class Perl(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/perl_extension/package.py class PerlExtension (line 11) | class PerlExtension(PerlPackage): method install (line 22) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/pkg_a/package.py class PkgA (line 9) | class PkgA(autotools.AutotoolsPackage): class AutotoolsBuilder (line 44) | class AutotoolsBuilder(autotools.AutotoolsBuilder): method with_or_without_fee (line 45) | def with_or_without_fee(self, activated): method autoreconf (line 50) | def autoreconf(self, pkg, spec, prefix): method configure (line 53) | def configure(self, pkg, spec, prefix): method build (line 56) | def build(self, pkg, spec, prefix): method install (line 59) | def install(self, pkg, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/pkg_b/package.py class PkgB (line 10) | class PkgB(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/pkg_c/package.py class PkgC (line 10) | class PkgC(Package): method configure (line 21) | def configure(self, spec, prefix): method build (line 24) | def build(self, spec, prefix): method install (line 27) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/pkg_e/package.py class PkgE (line 10) | class PkgE(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/pkg_with_c_link_dep/package.py class PkgWithCLinkDep (line 7) | class PkgWithCLinkDep(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/pkg_with_zlib_dep/package.py class PkgWithZlibDep (line 10) | class PkgWithZlibDep(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/placeholder/package.py class Placeholder (line 10) | class Placeholder(Package): method fetcher (line 16) | def fetcher(self): method fetcher (line 21) | def fetcher(self, value): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/preferred_test/package.py class PreferredTest (line 10) | class PreferredTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/printing_package/package.py class PrintingPackage (line 12) | class PrintingPackage(MakefilePackage): method install (line 23) | def install(self, spec, prefix): method check (line 31) | def check(self): method installcheck (line 35) | def installcheck(self): method test_print (line 39) | def test_print(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_extension1/package.py class PyExtension1 (line 12) | class PyExtension1(Package, PythonExtension): method install (line 23) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_extension2/package.py class PyExtension2 (line 11) | class PyExtension2(PythonPackage): method install (line 26) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_extension3/package.py class PyExtension3 (line 9) | class PyExtension3(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_numpy/package.py class PyNumpy (line 10) | class PyNumpy(Package, PythonExtension): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_pip/package.py class PyPip (line 10) | class PyPip(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_test_callback/package.py class PyTestCallback (line 16) | class PyTestCallback(Python): method install (line 31) | def install(self, spec, prefix): method test_callback (line 34) | def test_callback(self): class MyBuilder (line 39) | class MyBuilder(BuilderWithDefaults): method install (line 45) | def install(self, pkg, spec, prefix): method test_callback (line 50) | def test_callback(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/py_wheel/package.py class PyWheel (line 10) | class PyWheel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/python/package.py class Python (line 10) | class Python(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/python_venv/package.py class PythonVenv (line 11) | class PythonVenv(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/quantum_espresso/package.py class QuantumEspresso (line 9) | class QuantumEspresso(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/quux/package.py class Quux (line 14) | class Quux(Package): method install (line 23) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/raiser/package.py class Raiser (line 12) | class Raiser(Package): method install (line 39) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/redistribute_x/package.py class RedistributeX (line 10) | class RedistributeX(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/redistribute_y/package.py class RedistributeY (line 10) | class RedistributeY(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/requires_clang/package.py class RequiresClang (line 10) | class RequiresClang(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/requires_clang_or_gcc/package.py class RequiresClangOrGcc (line 10) | class RequiresClangOrGcc(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/requires_virtual/package.py class RequiresVirtual (line 10) | class RequiresVirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/root/package.py class Root (line 9) | class Root(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/root_adds_virtual/package.py class RootAddsVirtual (line 9) | class RootAddsVirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/ruff/package.py class Ruff (line 10) | class Ruff(Package): method install (line 58) | def install(self, spec, prefix): method install (line 73) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/second_dependency_foo_bar_fee/package.py class SecondDependencyFooBarFee (line 10) | class SecondDependencyFooBarFee(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/shell_a/package.py class ShellA (line 9) | class ShellA(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/shell_b/package.py class ShellB (line 10) | class ShellB(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/simple_inheritance/package.py class BaseWithDirectives (line 10) | class BaseWithDirectives(Package): method use_module_variable (line 16) | def use_module_variable(self): class SimpleInheritance (line 23) | class SimpleInheritance(BaseWithDirectives): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/simple_resource/package.py class SimpleResource (line 10) | class SimpleResource(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/simple_standalone_test/package.py class SimpleStandaloneTest (line 10) | class SimpleStandaloneTest(Package): method test_echo (line 21) | def test_echo(self): method test_skip (line 26) | def test_skip(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/single_language_virtual/package.py class SingleLanguageVirtual (line 10) | class SingleLanguageVirtual(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/singlevalue_variant/package.py class SinglevalueVariant (line 11) | class SinglevalueVariant(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/singlevalue_variant_dependent/package.py class SinglevalueVariantDependent (line 10) | class SinglevalueVariantDependent(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/singlevalue_variant_dependent_type/package.py class SinglevalueVariantDependentType (line 11) | class SinglevalueVariantDependentType(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/sombrero/package.py class Sombrero (line 10) | class Sombrero(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/some_virtual_mv/package.py class SomeVirtualMv (line 10) | class SomeVirtualMv(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/some_virtual_preferred/package.py class SomeVirtualPreferred (line 10) | class SomeVirtualPreferred(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_a/package.py class SpliceA (line 10) | class SpliceA(Package): method install (line 28) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_depends_on_t/package.py class SpliceDependsOnT (line 10) | class SpliceDependsOnT(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_h/package.py class SpliceH (line 10) | class SpliceH(Package): method install (line 35) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_t/package.py class SpliceT (line 10) | class SpliceT(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_vh/package.py class SpliceVh (line 10) | class SpliceVh(Package): method install (line 27) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_vt/package.py class SpliceVt (line 10) | class SpliceVt(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/splice_z/package.py class SpliceZ (line 10) | class SpliceZ(Package): method install (line 27) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/sticky_variant/package.py class StickyVariant (line 9) | class StickyVariant(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/sticky_variant_dependent/package.py class StickyVariantDependent (line 9) | class StickyVariantDependent(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/svn_test/package.py class SvnTest (line 10) | class SvnTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/svn_top_level/package.py class SvnTopLevel (line 10) | class SvnTopLevel(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/symly/package.py class Symly (line 14) | class Symly(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/test_build_callbacks/package.py class TestBuildCallbacks (line 11) | class TestBuildCallbacks(Package): class GenericBuilder (line 20) | class GenericBuilder(generic.GenericBuilder): method build (line 27) | def build(self, pkg, spec, prefix): method install (line 30) | def install(self, pkg, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/test_dep_with_imposed_conditions/package.py class TestDepWithImposedConditions (line 10) | class TestDepWithImposedConditions(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/test_dependency/package.py class TestDependency (line 9) | class TestDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/test_error/package.py class TestError (line 10) | class TestError(Package): method install (line 18) | def install(self, spec, prefix): method test_false (line 21) | def test_false(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/test_fail/package.py class TestFail (line 10) | class TestFail(Package): method install (line 18) | def install(self, spec, prefix): method test_fails (line 21) | def test_fails(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/test_install_callbacks/package.py class TestInstallCallbacks (line 10) | class TestInstallCallbacks(generic.Package): class GenericBuilder (line 19) | class GenericBuilder(generic.GenericBuilder): method install (line 24) | def install(self, pkg, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/transitive_conditional_virtual_dependency/package.py class TransitiveConditionalVirtualDependency (line 9) | class TransitiveConditionalVirtualDependency(BundlePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trigger_and_effect_deps/package.py class TriggerAndEffectDeps (line 10) | class TriggerAndEffectDeps(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trigger_external_non_default_variant/package.py class TriggerExternalNonDefaultVariant (line 9) | class TriggerExternalNonDefaultVariant(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trilinos/package.py class Trilinos (line 7) | class Trilinos(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trivial_install_test_dependent/package.py class TrivialInstallTestDependent (line 9) | class TrivialInstallTestDependent(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trivial_install_test_package/package.py class TrivialInstallTestPackage (line 9) | class TrivialInstallTestPackage(Package): method install (line 18) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trivial_pkg_with_valid_hash/package.py class TrivialPkgWithValidHash (line 10) | class TrivialPkgWithValidHash(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/trivial_smoke_test/package.py class TrivialSmokeTest (line 10) | class TrivialSmokeTest(Package): method install (line 20) | def install(self, spec, prefix): method create_extra_test_source (line 24) | def create_extra_test_source(self): method copy_test_sources (line 29) | def copy_test_sources(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/unconstrainable_conflict/package.py class UnconstrainableConflict (line 9) | class UnconstrainableConflict(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/unsat_provider/package.py class UnsatProvider (line 9) | class UnsatProvider(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/unsat_virtual_dependency/package.py class UnsatVirtualDependency (line 9) | class UnsatVirtualDependency(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/url_list_test/package.py class UrlListTest (line 12) | class UrlListTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/url_only_override/package.py class UrlOnlyOverride (line 10) | class UrlOnlyOverride(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/url_only_override_with_gaps/package.py class UrlOnlyOverrideWithGaps (line 10) | class UrlOnlyOverrideWithGaps(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/url_override/package.py class UrlOverride (line 10) | class UrlOverride(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/url_test/package.py class UrlTest (line 10) | class UrlTest(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/v1_consumer/package.py class V1Consumer (line 9) | class V1Consumer(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/v1_provider/package.py class V1Provider (line 9) | class V1Provider(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/variant_function_validator/package.py function _allowed_values (line 9) | def _allowed_values(x): class VariantFunctionValidator (line 13) | class VariantFunctionValidator(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/variant_on_dependency_condition_a/package.py class VariantOnDependencyConditionA (line 9) | class VariantOnDependencyConditionA(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/variant_on_dependency_condition_b/package.py class VariantOnDependencyConditionB (line 9) | class VariantOnDependencyConditionB(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/variant_on_dependency_condition_root/package.py class VariantOnDependencyConditionRoot (line 9) | class VariantOnDependencyConditionRoot(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/variant_values/package.py class VariantValues (line 9) | class VariantValues(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/variant_values_override/package.py class VariantValuesOverride (line 9) | class VariantValuesOverride(VariantValues): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/vdefault_or_external/package.py class VdefaultOrExternal (line 9) | class VdefaultOrExternal(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/vdefault_or_external_root/package.py class VdefaultOrExternalRoot (line 9) | class VdefaultOrExternalRoot(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/vendorsb/package.py class Vendorsb (line 10) | class Vendorsb(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/version_test_dependency_preferred/package.py class VersionTestDependencyPreferred (line 9) | class VersionTestDependencyPreferred(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/version_test_pkg/package.py class VersionTestPkg (line 9) | class VersionTestPkg(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/version_test_root/package.py class VersionTestRoot (line 9) | class VersionTestRoot(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_dir/package.py class ViewDir (line 12) | class ViewDir(Package): method install (line 19) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_file/package.py class ViewFile (line 12) | class ViewFile(Package): method install (line 19) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_ignore_conflict/package.py class ViewIgnoreConflict (line 12) | class ViewIgnoreConflict(Package): method install (line 21) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_not_ignored/package.py class ViewNotIgnored (line 12) | class ViewNotIgnored(Package): method install (line 30) | def install(self, spec, prefix): method assert_installed (line 38) | def assert_installed(cls, prefix): method assert_not_installed (line 44) | def assert_not_installed(cls, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_resolve_conflict_middle/package.py class ViewResolveConflictMiddle (line 12) | class ViewResolveConflictMiddle(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_resolve_conflict_top/package.py class ViewResolveConflictTop (line 12) | class ViewResolveConflictTop(Package): method install (line 22) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/view_symlinked_dir/package.py class ViewSymlinkedDir (line 12) | class ViewSymlinkedDir(Package): method install (line 20) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/virtual_abi_1/package.py class VirtualAbi1 (line 10) | class VirtualAbi1(Package): method install (line 25) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/virtual_abi_2/package.py class VirtualAbi2 (line 10) | class VirtualAbi2(Package): method install (line 25) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/virtual_abi_multi/package.py class VirtualAbiMulti (line 10) | class VirtualAbiMulti(Package): method install (line 29) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/virtual_with_abi/package.py class VirtualWithAbi (line 8) | class VirtualWithAbi(Package): method test_hello (line 14) | def test_hello(self): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/virtual_with_versions/package.py class VirtualWithVersions (line 9) | class VirtualWithVersions(AutotoolsPackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/vtk_m/package.py class VtkM (line 10) | class VtkM(CMakePackage): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/when_directives_false/package.py class WhenDirectivesFalse (line 10) | class WhenDirectivesFalse(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/when_directives_true/package.py class WhenDirectivesTrue (line 10) | class WhenDirectivesTrue(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/with_constraint_met/package.py class WithConstraintMet (line 10) | class WithConstraintMet(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/wrong_variant_in_conflicts/package.py class WrongVariantInConflicts (line 9) | class WrongVariantInConflicts(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/wrong_variant_in_depends_on/package.py class WrongVariantInDependsOn (line 9) | class WrongVariantInDependsOn(Package): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/zlib/package.py class Zlib (line 13) | class Zlib(Package): method libs (line 36) | def libs(self): method setup_build_environment (line 40) | def setup_build_environment(self, env: EnvironmentModifications) -> None: method install (line 46) | def install(self, spec, prefix): FILE: var/spack/test_repos/spack_repo/builtin_mock/packages/zmpi/package.py class Zmpi (line 10) | class Zmpi(Package): FILE: var/spack/test_repos/spack_repo/compiler_runtime_test/packages/pkg_a/package.py class PkgA (line 9) | class PkgA(Package): FILE: var/spack/test_repos/spack_repo/compiler_runtime_test/packages/pkg_b/package.py class PkgB (line 9) | class PkgB(Package): FILE: var/spack/test_repos/spack_repo/diff/packages/i1/package.py class I1 (line 10) | class I1(Package): FILE: var/spack/test_repos/spack_repo/diff/packages/i2/package.py class I2 (line 10) | class I2(Package): FILE: var/spack/test_repos/spack_repo/diff/packages/p1/package.py class P1 (line 10) | class P1(Package): FILE: var/spack/test_repos/spack_repo/diff/packages/p2/package.py class P2 (line 10) | class P2(Package): FILE: var/spack/test_repos/spack_repo/diff/packages/p3/package.py class P3 (line 10) | class P3(Package): FILE: var/spack/test_repos/spack_repo/diff/packages/p4/package.py class P4 (line 10) | class P4(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/cycle_a/package.py class CycleA (line 9) | class CycleA(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/cycle_b/package.py class CycleB (line 9) | class CycleB(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/gmake/package.py class Gmake (line 9) | class Gmake(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/hdf5/package.py class Hdf5 (line 9) | class Hdf5(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/pinned_gmake/package.py class PinnedGmake (line 9) | class PinnedGmake(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/pkg_config/package.py class PkgConfig (line 9) | class PkgConfig(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/py_floating/package.py class PyFloating (line 9) | class PyFloating(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/py_numpy/package.py class PyNumpy (line 9) | class PyNumpy(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/py_setuptools/package.py class PySetuptools (line 9) | class PySetuptools(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/py_shapely/package.py class PyShapely (line 9) | class PyShapely(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/python/package.py class Python (line 9) | class Python(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/unify_build_deps_a/package.py class UnifyBuildDepsA (line 7) | class UnifyBuildDepsA(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/unify_build_deps_b/package.py class UnifyBuildDepsB (line 7) | class UnifyBuildDepsB(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/unify_build_deps_c/package.py class UnifyBuildDepsC (line 7) | class UnifyBuildDepsC(Package): FILE: var/spack/test_repos/spack_repo/duplicates_test/packages/virtual_build/package.py class VirtualBuild (line 9) | class VirtualBuild(Package): FILE: var/spack/test_repos/spack_repo/edges_test/packages/blas_only_client/package.py class BlasOnlyClient (line 10) | class BlasOnlyClient(Package): FILE: var/spack/test_repos/spack_repo/edges_test/packages/conditional_edge/package.py class ConditionalEdge (line 9) | class ConditionalEdge(Package): FILE: var/spack/test_repos/spack_repo/edges_test/packages/openblas/package.py class Openblas (line 10) | class Openblas(Package): FILE: var/spack/test_repos/spack_repo/edges_test/packages/zlib/package.py class Zlib (line 9) | class Zlib(Package): FILE: var/spack/test_repos/spack_repo/find/packages/a0/package.py class A0 (line 10) | class A0(Package): FILE: var/spack/test_repos/spack_repo/find/packages/b0/package.py class B0 (line 10) | class B0(Package): FILE: var/spack/test_repos/spack_repo/find/packages/c0/package.py class C0 (line 10) | class C0(Package): FILE: var/spack/test_repos/spack_repo/find/packages/d0/package.py class D0 (line 10) | class D0(Package): FILE: var/spack/test_repos/spack_repo/find/packages/e0/package.py class E0 (line 10) | class E0(Package): FILE: var/spack/test_repos/spack_repo/flags_test/packages/t/package.py class T (line 9) | class T(Package): FILE: var/spack/test_repos/spack_repo/flags_test/packages/u/package.py class U (line 9) | class U(Package): FILE: var/spack/test_repos/spack_repo/flags_test/packages/v/package.py class V (line 9) | class V(Package): FILE: var/spack/test_repos/spack_repo/flags_test/packages/w/package.py class W (line 9) | class W(Package): FILE: var/spack/test_repos/spack_repo/flags_test/packages/x/package.py class X (line 9) | class X(Package): FILE: var/spack/test_repos/spack_repo/flags_test/packages/y/package.py class Y (line 9) | class Y(Package): FILE: var/spack/test_repos/spack_repo/requirements_test/packages/t/package.py class T (line 9) | class T(Package): FILE: var/spack/test_repos/spack_repo/requirements_test/packages/u/package.py class U (line 9) | class U(Package): FILE: var/spack/test_repos/spack_repo/requirements_test/packages/v/package.py class V (line 9) | class V(Package): FILE: var/spack/test_repos/spack_repo/requirements_test/packages/x/package.py class X (line 9) | class X(Package): FILE: var/spack/test_repos/spack_repo/requirements_test/packages/y/package.py class Y (line 9) | class Y(Package): FILE: var/spack/test_repos/spack_repo/tutorial/packages/armadillo/package.py class Armadillo (line 10) | class Armadillo(CMakePackage): method cmake_args (line 37) | def cmake_args(self): FILE: var/spack/test_repos/spack_repo/tutorial/packages/elpa/package.py class Elpa (line 10) | class Elpa(AutotoolsPackage): method url_for_version (line 33) | def url_for_version(self, version): method libs (line 40) | def libs(self): method setup_run_environment (line 46) | def setup_run_environment(self, env: EnvironmentModifications) -> None: method configure_args (line 60) | def configure_args(self): FILE: var/spack/test_repos/spack_repo/tutorial/packages/hdf5/package.py class Hdf5 (line 15) | class Hdf5(CMakePackage): method patch (line 185) | def patch(self): method url_for_version (line 207) | def url_for_version(self, version): method flag_handler (line 213) | def flag_handler(self, name, flags): method libs (line 239) | def libs(self): method setup_build_environment (line 310) | def setup_build_environment(self, env: EnvironmentModifications) -> None: method fortran_check (line 314) | def fortran_check(self): method cmake_args (line 319) | def cmake_args(self): method ensure_parallel_compiler_wrappers (line 370) | def ensure_parallel_compiler_wrappers(self): method fix_package_config (line 396) | def fix_package_config(self): method check_install (line 436) | def check_install(self): method _check_install (line 439) | def _check_install(self): method _test_check_versions (line 488) | def _test_check_versions(self): method _test_example (line 511) | def _test_example(self): method test (line 547) | def test(self): FILE: var/spack/test_repos/spack_repo/tutorial/packages/mpich/package.py class Mpich (line 12) | class Mpich(AutotoolsPackage): method setup_dependent_build_environment (line 77) | def setup_dependent_build_environment( method setup_dependent_package (line 93) | def setup_dependent_package(self, module, dependent_spec): method autoreconf (line 99) | def autoreconf(self, spec, prefix): method die_without_fortran (line 109) | def die_without_fortran(self): method configure_args (line 116) | def configure_args(self): FILE: var/spack/test_repos/spack_repo/tutorial/packages/netlib_lapack/package.py class NetlibLapack (line 10) | class NetlibLapack(CMakePackage): method patch (line 76) | def patch(self): method blas_libs (line 87) | def blas_libs(self): method headers (line 105) | def headers(self): method build_directory (line 112) | def build_directory(self): method cmake_args (line 118) | def cmake_args(self): method cmake (line 172) | def cmake(self, spec, prefix): method build (line 177) | def build(self, spec, prefix): method install (line 182) | def install(self, spec, prefix): method check (line 187) | def check(self):