SYMBOL INDEX (7934 symbols across 511 files) FILE: build-project/build-project.py class EnvBuilder (line 13) | class EnvBuilder(venv.EnvBuilder): method ensure_directories (line 16) | def ensure_directories( function get_git_head_timestamp (line 24) | def get_git_head_timestamp() -> str: function main (line 37) | def main() -> None: FILE: docs/html/conf.py function determine_man_pages (line 103) | def determine_man_pages() -> list[tuple[str, str, str, str, int]]: FILE: docs/pip_sphinxext.py function convert_cli_option_to_envvar (line 23) | def convert_cli_option_to_envvar(opt_name: str) -> str: function convert_cli_opt_names_to_envvars (line 29) | def convert_cli_opt_names_to_envvars(original_cli_opt_names: list[str]) ... class PipNewsInclude (line 35) | class PipNewsInclude(rst.Directive): method _is_version_section_title_underline (line 38) | def _is_version_section_title_underline(self, prev: str | None, curr: ... method _iter_lines_with_refs (line 48) | def _iter_lines_with_refs(self, lines: Iterable[str]) -> Iterator[str]: method run (line 72) | def run(self) -> list[nodes.Node]: class PipCommandUsage (line 89) | class PipCommandUsage(rst.Directive): method run (line 93) | def run(self) -> list[nodes.Node]: class PipCommandDescription (line 105) | class PipCommandDescription(rst.Directive): method run (line 108) | def run(self) -> list[nodes.Node]: class PipOptions (line 121) | class PipOptions(rst.Directive): method _format_option (line 122) | def _format_option( method _format_options (line 159) | def _format_options( method run (line 168) | def run(self) -> list[nodes.Node]: class PipGeneralOptions (line 177) | class PipGeneralOptions(PipOptions): method process_options (line 178) | def process_options(self) -> None: class PipIndexOptions (line 182) | class PipIndexOptions(PipOptions): method process_options (line 185) | def process_options(self) -> None: class PipPackageSelectionOptions (line 193) | class PipPackageSelectionOptions(PipOptions): method process_options (line 196) | def process_options(self) -> None: class PipCommandOptions (line 204) | class PipCommandOptions(PipOptions): method process_options (line 207) | def process_options(self) -> None: class PipReqFileOptionsReference (line 215) | class PipReqFileOptionsReference(PipOptions): method determine_opt_prefix (line 216) | def determine_opt_prefix(self, opt_name: str) -> str: method process_options (line 224) | def process_options(self) -> None: class PipCLIDirective (line 247) | class PipCLIDirective(rst.Directive): method run (line 256) | def run(self) -> list[nodes.Node]: function setup (line 324) | def setup(app: Sphinx) -> dict[str, bool | str]: FILE: noxfile.py function run_with_protected_pip (line 32) | def run_with_protected_pip(session: nox.Session, *arguments: str) -> None: function should_update_common_wheels (line 47) | def should_update_common_wheels(session: nox.Session) -> bool: function get_common_wheels (line 99) | def get_common_wheels(session: nox.Session) -> None: function common_wheels (line 119) | def common_wheels(session: nox.Session) -> None: function test (line 125) | def test(session: nox.Session) -> None: function docs (line 177) | def docs(session: nox.Session) -> None: function docs_live (line 207) | def docs_live(session: nox.Session) -> None: function lint (line 223) | def lint(session: nox.Session) -> None: function vendoring (line 242) | def vendoring(session: nox.Session) -> None: function coverage (line 310) | def coverage(session: nox.Session) -> None: function prepare_release (line 335) | def prepare_release(session: nox.Session) -> None: function build_release (line 373) | def build_release(session: nox.Session) -> None: function build_dists (line 404) | def build_dists(session: nox.Session) -> list[str]: function upload_release (line 432) | def upload_release(session: nox.Session) -> None: FILE: src/pip/__init__.py function main (line 6) | def main(args: list[str] | None = None) -> int: FILE: src/pip/__pip-runner__.py function version_str (line 15) | def version_str(version): # type: ignore class PipImportRedirectingFinder (line 36) | class PipImportRedirectingFinder: method find_spec (line 38) | def find_spec(self, fullname, path=None, target=None): # type: ignore FILE: src/pip/_internal/__init__.py function main (line 10) | def main(args: list[str] | None = None) -> int: FILE: src/pip/_internal/build_env.py class ExtraEnviron (line 44) | class ExtraEnviron(TypedDict, total=False): function _dedup (line 51) | def _dedup(a: str, b: str) -> tuple[str] | tuple[str, str]: class _Prefix (line 55) | class _Prefix: method __init__ (line 56) | def __init__(self, path: str) -> None: function get_runnable_pip (line 64) | def get_runnable_pip() -> str: function _get_system_sitepackages (line 80) | def _get_system_sitepackages() -> set[str]: class BuildEnvironmentInstaller (line 100) | class BuildEnvironmentInstaller(Protocol): method install (line 106) | def install( class SubprocessBuildEnvironmentInstaller (line 116) | class SubprocessBuildEnvironmentInstaller: method __init__ (line 121) | def __init__( method _deprecation_constraint_check (line 131) | def _deprecation_constraint_check(self) -> None: method install (line 160) | def install( class InprocessBuildEnvironmentInstaller (line 266) | class InprocessBuildEnvironmentInstaller: method __init__ (line 280) | def __init__( method install (line 320) | def install( method _install_impl (line 372) | def _install_impl(self, requirements: Iterable[str], prefix: _Prefix) ... method _make_resolver (line 413) | def _make_resolver(self) -> BaseResolver: class BuildEnvironment (line 437) | class BuildEnvironment: method __init__ (line 440) | def __init__(self, installer: BuildEnvironmentInstaller) -> None: method __enter__ (line 495) | def __enter__(self) -> None: method __exit__ (line 516) | def __exit__( method check_requirements (line 528) | def check_requirements( method install_requirements (line 562) | def install_requirements( class NoOpBuildEnvironment (line 578) | class NoOpBuildEnvironment(BuildEnvironment): method __init__ (line 581) | def __init__(self) -> None: method __enter__ (line 584) | def __enter__(self) -> None: method __exit__ (line 587) | def __exit__( method cleanup (line 595) | def cleanup(self) -> None: method install_requirements (line 598) | def install_requirements( FILE: src/pip/_internal/cache.py function _hash_dict (line 27) | def _hash_dict(d: dict[str, str]) -> str: class Cache (line 33) | class Cache: method __init__ (line 39) | def __init__(self, cache_dir: str) -> None: method _get_cache_path_parts (line 44) | def _get_cache_path_parts(self, link: Link) -> list[str]: method _get_candidates (line 77) | def _get_candidates(self, link: Link, canonical_package_name: str) -> ... method get_path_for_link (line 87) | def get_path_for_link(self, link: Link) -> str: method get (line 91) | def get( class SimpleWheelCache (line 103) | class SimpleWheelCache(Cache): method __init__ (line 106) | def __init__(self, cache_dir: str) -> None: method get_path_for_link (line 109) | def get_path_for_link(self, link: Link) -> str: method get (line 129) | def get( class EphemWheelCache (line 173) | class EphemWheelCache(SimpleWheelCache): method __init__ (line 176) | def __init__(self) -> None: class CacheEntry (line 185) | class CacheEntry: method __init__ (line 186) | def __init__( class WheelCache (line 209) | class WheelCache(Cache): method __init__ (line 216) | def __init__(self, cache_dir: str) -> None: method get_path_for_link (line 221) | def get_path_for_link(self, link: Link) -> str: method get_ephem_path_for_link (line 224) | def get_ephem_path_for_link(self, link: Link) -> str: method get (line 227) | def get( method get_cache_entry (line 238) | def get_cache_entry( method record_download_origin (line 267) | def record_download_origin(cache_dir: str, download_info: DirectUrl) -... FILE: src/pip/_internal/cli/autocompletion.py function autocomplete (line 17) | def autocomplete() -> None: function get_path_completion_type (line 132) | def get_path_completion_type( function auto_complete_paths (line 156) | def auto_complete_paths(current: str, completion_type: str) -> Iterable[... FILE: src/pip/_internal/cli/base_command.py class Command (line 46) | class Command(CommandContextMixIn): method __init__ (line 50) | def __init__(self, name: str, summary: str, isolated: bool = False) ->... method add_options (line 80) | def add_options(self) -> None: method handle_pip_version_check (line 83) | def handle_pip_version_check(self, options: Values) -> None: method run (line 92) | def run(self, options: Values, args: list[str]) -> int: method _run_wrapper (line 95) | def _run_wrapper(self, level_number: int, options: Values, args: list[... method parse_args (line 152) | def parse_args(self, args: list[str]) -> tuple[Values, list[str]]: method main (line 156) | def main(self, args: list[str]) -> int: method _main (line 163) | def _main(self, args: list[str]) -> int: method handler_map (line 251) | def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: FILE: src/pip/_internal/cli/cmdoptions.py function raise_option_error (line 39) | def raise_option_error(parser: OptionParser, option: Option, msg: str) -... function make_option_group (line 53) | def make_option_group(group: dict[str, Any], parser: ConfigOptionParser)... function check_dist_restriction (line 65) | def check_dist_restriction(options: Values, check_target: bool = False) ... function check_build_constraints (line 105) | def check_build_constraints(options: Values) -> None: function _path_option_check (line 128) | def _path_option_check(option: Option, opt: str, value: str) -> str: function _package_name_option_check (line 132) | def _package_name_option_check(option: Option, opt: str, value: str) -> ... class PipOption (line 136) | class PipOption(Option): function exists_action (line 337) | def exists_action() -> Option: function extra_index_url (line 392) | def extra_index_url() -> Option: function find_links (line 415) | def find_links() -> Option: function _handle_uploaded_prior_to (line 431) | def _handle_uploaded_prior_to( function uploaded_prior_to (line 462) | def uploaded_prior_to() -> Option: function trusted_host (line 479) | def trusted_host() -> Option: function constraints (line 491) | def constraints() -> Option: function build_constraints (line 504) | def build_constraints() -> Option: function requirements (line 519) | def requirements() -> Option: function requirements_from_scripts (line 532) | def requirements_from_scripts() -> Option: function editable (line 544) | def editable() -> Option: function _handle_src (line 559) | def _handle_src(option: Option, opt_str: str, value: str, parser: Option... function _get_format_control (line 582) | def _get_format_control(values: Values, option: Option) -> Any: function _handle_no_binary (line 587) | def _handle_no_binary( function _handle_only_binary (line 598) | def _handle_only_binary( function no_binary (line 609) | def no_binary() -> Option: function only_binary (line 627) | def only_binary() -> Option: function _get_release_control (line 645) | def _get_release_control(values: Values, option: Option) -> Any: function _handle_all_releases (line 650) | def _handle_all_releases( function _handle_only_final (line 662) | def _handle_only_final( function all_releases (line 674) | def all_releases() -> Option: function only_final (line 692) | def only_final() -> Option: function check_release_control_exclusive (line 709) | def check_release_control_exclusive(options: Values) -> None: function _convert_python_version (line 741) | def _convert_python_version(value: str) -> tuple[tuple[int, ...], str | ... function _handle_python_version (line 770) | def _handle_python_version( function add_target_python_options (line 839) | def add_target_python_options(cmd_opts: OptionGroup) -> None: function make_target_python (line 846) | def make_target_python(options: Values) -> TargetPython: function prefer_binary (line 857) | def prefer_binary() -> Option: function _handle_no_cache_dir (line 881) | def _handle_no_cache_dir( function _handle_dependency_group (line 930) | def _handle_dependency_group( function _handle_config_settings (line 1009) | def _handle_config_settings( function _handle_merge_hash (line 1087) | def _handle_merge_hash( function check_list_path_option (line 1148) | def check_list_path_option(options: Values) -> None: FILE: src/pip/_internal/cli/command_context.py class CommandContextMixIn (line 8) | class CommandContextMixIn: method __init__ (line 9) | def __init__(self) -> None: method main_context (line 15) | def main_context(self) -> Generator[None, None, None]: method enter_context (line 25) | def enter_context(self, context_provider: AbstractContextManager[_T]) ... FILE: src/pip/_internal/cli/index_command.py function _create_truststore_ssl_context (line 34) | def _create_truststore_ssl_context() -> SSLContext | None: class SessionCommandMixin (line 56) | class SessionCommandMixin(CommandContextMixIn): method __init__ (line 61) | def __init__(self) -> None: method _get_index_urls (line 66) | def _get_index_urls(cls, options: Values) -> list[str] | None: method get_default_session (line 79) | def get_default_session(self, options: Values) -> PipSession: method _build_session (line 89) | def _build_session( function _pip_self_version_check (line 142) | def _pip_self_version_check(session: PipSession, options: Values) -> None: class IndexGroupCommand (line 148) | class IndexGroupCommand(Command, SessionCommandMixin): method should_exclude_prerelease (line 155) | def should_exclude_prerelease( method handle_pip_version_check (line 172) | def handle_pip_version_check(self, options: Values) -> None: FILE: src/pip/_internal/cli/main.py function main (line 41) | def main(args: list[str] | None = None) -> int: FILE: src/pip/_internal/cli/main_parser.py function create_main_parser (line 21) | def create_main_parser() -> ConfigOptionParser: function identify_python_interpreter (line 52) | def identify_python_interpreter(python: str) -> str | None: function parse_command (line 71) | def parse_command(args: list[str]) -> tuple[str, list[str]]: FILE: src/pip/_internal/cli/parser.py class PrettyHelpFormatter (line 27) | class PrettyHelpFormatter(optparse.IndentedHelpFormatter): method __init__ (line 41) | def __init__(self, *args: Any, **kwargs: Any) -> None: method format_option_strings (line 48) | def format_option_strings(self, option: optparse.Option) -> str: method format_option (line 66) | def format_option(self, option: optparse.Option) -> str: method format_heading (line 96) | def format_heading(self, heading: str) -> str: method format_usage (line 101) | def format_usage(self, usage: str) -> str: method format_description (line 110) | def format_description(self, description: str | None) -> str: method format_epilog (line 129) | def format_epilog(self, epilog: str | None) -> str: method expand_default (line 136) | def expand_default(self, option: optparse.Option) -> str: method indent_lines (line 143) | def indent_lines(self, text: str, indent: str) -> str: class UpdatingDefaultsHelpFormatter (line 148) | class UpdatingDefaultsHelpFormatter(PrettyHelpFormatter): method expand_default (line 157) | def expand_default(self, option: optparse.Option) -> str: class CustomOptionParser (line 180) | class CustomOptionParser(optparse.OptionParser): method insert_option_group (line 181) | def insert_option_group( method option_list_all (line 193) | def option_list_all(self) -> list[optparse.Option]: class ConfigOptionParser (line 202) | class ConfigOptionParser(CustomOptionParser): method __init__ (line 206) | def __init__( method check_default (line 219) | def check_default(self, option: optparse.Option, key: str, val: Any) -... method _get_ordered_configuration_items (line 226) | def _get_ordered_configuration_items( method _update_defaults (line 257) | def _update_defaults(self, defaults: dict[str, Any]) -> dict[str, Any]: method get_default_values (line 321) | def get_default_values(self) -> optparse.Values: method error (line 343) | def error(self, msg: str) -> NoReturn: method print_help (line 347) | def print_help(self, file: Any = None) -> None: FILE: src/pip/_internal/cli/progress_bars.py function _rich_download_progress_bar (line 33) | def _rich_download_progress_bar( function _rich_install_progress_bar (line 75) | def _rich_install_progress_bar( function _raw_progress_bar (line 97) | def _raw_progress_bar( function get_download_progress_renderer (line 120) | def get_download_progress_renderer( function get_install_progress_renderer (line 144) | def get_install_progress_renderer( FILE: src/pip/_internal/cli/req_command.py function should_ignore_regular_constraints (line 59) | def should_ignore_regular_constraints(options: Values) -> bool: function with_cleanup (line 79) | def with_cleanup( function parse_constraint_files (line 107) | def parse_constraint_files( class RequirementCommand (line 132) | class RequirementCommand(IndexGroupCommand): method __init__ (line 133) | def __init__(self, *args: Any, **kw: Any) -> None: method determine_resolver_variant (line 140) | def determine_resolver_variant(options: Values) -> str: method make_requirement_preparer (line 148) | def make_requirement_preparer( method make_resolver (line 229) | def make_resolver( method get_requirements (line 285) | def get_requirements( method trace_basic_info (line 410) | def trace_basic_info(finder: PackageFinder) -> None: method _build_package_finder (line 420) | def _build_package_finder( FILE: src/pip/_internal/cli/spinners.py class SpinnerInterface (line 30) | class SpinnerInterface: method spin (line 31) | def spin(self) -> None: method finish (line 34) | def finish(self, final_status: str) -> None: class InteractiveSpinner (line 38) | class InteractiveSpinner(SpinnerInterface): method __init__ (line 39) | def __init__( method _write (line 59) | def _write(self, status: str) -> None: method spin (line 71) | def spin(self) -> None: method finish (line 78) | def finish(self, final_status: str) -> None: class NonInteractiveSpinner (line 91) | class NonInteractiveSpinner(SpinnerInterface): method __init__ (line 92) | def __init__(self, message: str, min_update_interval_seconds: float = ... method _update (line 98) | def _update(self, status: str) -> None: method spin (line 103) | def spin(self) -> None: method finish (line 110) | def finish(self, final_status: str) -> None: class RateLimiter (line 117) | class RateLimiter: method __init__ (line 118) | def __init__(self, min_update_interval_seconds: float) -> None: method ready (line 122) | def ready(self) -> bool: method reset (line 127) | def reset(self) -> None: function open_spinner (line 132) | def open_spinner(message: str) -> Generator[SpinnerInterface, None, None]: class _PipRichSpinner (line 155) | class _PipRichSpinner: method __init__ (line 163) | def __init__(self, label: str) -> None: method __rich_console__ (line 170) | def __rich_console__( method __rich_measure__ (line 175) | def __rich_measure__( method render (line 181) | def render(self) -> RenderableType: method finish (line 187) | def finish(self, status: str) -> None: function open_rich_spinner (line 194) | def open_rich_spinner(label: str, console: Console | None = None) -> Gen... function hidden_cursor (line 220) | def hidden_cursor(file: IO[str]) -> Generator[None, None, None]: FILE: src/pip/_internal/commands/__init__.py function create_command (line 116) | def create_command(name: str, **kwargs: Any) -> Command: function get_similar_commands (line 128) | def get_similar_commands(name: str) -> str | None: FILE: src/pip/_internal/commands/cache.py class CacheCommand (line 16) | class CacheCommand(Command): method add_options (line 40) | def add_options(self) -> None: method handler_map (line 52) | def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: method run (line 61) | def run(self, options: Values, args: list[str]) -> int: method get_cache_dir (line 87) | def get_cache_dir(self, options: Values, args: list[str]) -> None: method get_cache_info (line 93) | def get_cache_info(self, options: Values, args: list[str]) -> None: method list_cache_items (line 135) | def list_cache_items(self, options: Values, args: list[str]) -> None: method format_for_human (line 150) | def format_for_human(self, files: list[str]) -> None: method format_for_abspath (line 163) | def format_for_abspath(self, files: list[str]) -> None: method remove_cache_items (line 167) | def remove_cache_items(self, options: Values, args: list[str]) -> None: method purge_cache (line 218) | def purge_cache(self, options: Values, args: list[str]) -> None: method _cache_dir (line 224) | def _cache_dir(self, options: Values, subdir: str) -> str: method _find_http_files (line 227) | def _find_http_files(self, options: Values) -> list[str]: method _find_wheels (line 234) | def _find_wheels(self, options: Values, pattern: str) -> list[str]: FILE: src/pip/_internal/commands/check.py class CheckCommand (line 18) | class CheckCommand(Command): method run (line 25) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/completion.py class CompletionCommand (line 81) | class CompletionCommand(Command): method add_options (line 86) | def add_options(self) -> None: method run (line 122) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/configuration.py class ConfigurationCommand (line 24) | class ConfigurationCommand(Command): method add_options (line 60) | def add_options(self) -> None: method handler_map (line 98) | def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: method run (line 108) | def run(self, options: Values, args: list[str]) -> int: method _determine_file (line 146) | def _determine_file(self, options: Values, need_value: bool) -> Kind |... method list_values (line 176) | def list_values(self, options: Values, args: list[str]) -> None: method get_name (line 183) | def get_name(self, options: Values, args: list[str]) -> None: method set_name_value (line 189) | def set_name_value(self, options: Values, args: list[str]) -> None: method unset_name (line 195) | def unset_name(self, options: Values, args: list[str]) -> None: method list_config_values (line 201) | def list_config_values(self, options: Values, args: list[str]) -> None: method print_config_file_values (line 217) | def print_config_file_values(self, variant: Kind, fname: str) -> None: method print_env_var_values (line 225) | def print_env_var_values(self) -> None: method open_in_editor (line 233) | def open_in_editor(self, options: Values, args: list[str]) -> None: method _get_n_args (line 255) | def _get_n_args(self, args: list[str], example: str, n: int) -> Any: method _save_configuration (line 269) | def _save_configuration(self) -> None: method _determine_editor (line 280) | def _determine_editor(self, options: Values) -> str: FILE: src/pip/_internal/commands/debug.py function show_value (line 28) | def show_value(name: str, value: Any) -> None: function show_sys_implementation (line 32) | def show_sys_implementation() -> None: function create_vendor_txt_map (line 39) | def create_vendor_txt_map() -> dict[str, str]: function get_module_from_module_name (line 51) | def get_module_from_module_name(module_name: str) -> ModuleType | None: function get_vendor_version_from_module (line 69) | def get_vendor_version_from_module(module_name: str) -> str | None: function show_actual_vendor_versions (line 84) | def show_actual_vendor_versions(vendor_txt_versions: dict[str, str]) -> ... function show_vendor_versions (line 105) | def show_vendor_versions() -> None: function show_tags (line 113) | def show_tags(options: Values) -> None: function ca_bundle_info (line 143) | def ca_bundle_info(config: Configuration) -> str: class DebugCommand (line 160) | class DebugCommand(Command): method add_options (line 169) | def add_options(self) -> None: method run (line 174) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/download.py class DownloadCommand (line 16) | class DownloadCommand(RequirementCommand): method add_options (line 36) | def add_options(self) -> None: method run (line 78) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/freeze.py function _should_suppress_build_backends (line 11) | def _should_suppress_build_backends() -> bool: function _dev_pkgs (line 15) | def _dev_pkgs() -> set[str]: class FreezeCommand (line 24) | class FreezeCommand(Command): method add_options (line 35) | def add_options(self) -> None: method run (line 87) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/hash.py class HashCommand (line 14) | class HashCommand(Command): method add_options (line 25) | def add_options(self) -> None: method run (line 39) | def run(self, options: Values, args: list[str]) -> int: function _hash_of_file (line 52) | def _hash_of_file(path: str, algorithm: str) -> str: FILE: src/pip/_internal/commands/help.py class HelpCommand (line 8) | class HelpCommand(Command): method run (line 15) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/index.py class IndexCommand (line 30) | class IndexCommand(IndexGroupCommand): method add_options (line 40) | def add_options(self) -> None: method handler_map (line 60) | def handler_map(self) -> dict[str, Callable[[Values, list[str]], None]]: method run (line 65) | def run(self, options: Values, args: list[str]) -> int: method _build_package_finder (line 89) | def _build_package_finder( method get_available_package_versions (line 116) | def get_available_package_versions(self, options: Values, args: list[A... FILE: src/pip/_internal/commands/inspect.py class InspectCommand (line 19) | class InspectCommand(Command): method add_options (line 28) | def add_options(self) -> None: method run (line 48) | def run(self, options: Values, args: list[str]) -> int: method _dist_to_dict (line 65) | def _dist_to_dict(self, dist: BaseDistribution) -> dict[str, Any]: FILE: src/pip/_internal/commands/install.py class InstallCommand (line 66) | class InstallCommand(RequirementCommand): method add_options (line 86) | def add_options(self) -> None: method run (line 282) | def run(self, options: Values, args: list[str]) -> int: method _handle_target_dir (line 510) | def _handle_target_dir( method _determine_conflicts (line 564) | def _determine_conflicts( method _warn_about_conflicts (line 576) | def _warn_about_conflicts( function installed_packages_summary (line 627) | def installed_packages_summary( function get_lib_location_guesses (line 651) | def get_lib_location_guesses( function site_packages_writable (line 669) | def site_packages_writable(root: str | None, isolated: bool) -> bool: function decide_user_install (line 676) | def decide_user_install( function create_os_error_message (line 745) | def create_os_error_message( FILE: src/pip/_internal/commands/list.py class _DistWithLatestInfo (line 26) | class _DistWithLatestInfo(BaseDistribution): class ListCommand (line 42) | class ListCommand(IndexGroupCommand): method add_options (line 53) | def add_options(self) -> None: method handle_pip_version_check (line 138) | def handle_pip_version_check(self, options: Values) -> None: method _build_package_finder (line 142) | def _build_package_finder( method run (line 165) | def run(self, options: Values, args: list[str]) -> int: method get_outdated (line 208) | def get_outdated( method get_uptodate (line 217) | def get_uptodate( method get_not_required (line 226) | def get_not_required( method iter_packages_latest_infos (line 240) | def iter_packages_latest_infos( method output_package_listing (line 277) | def output_package_listing( method output_package_listing_columns (line 300) | def output_package_listing_columns( function format_for_columns (line 317) | def format_for_columns( function format_for_json (line 377) | def format_for_json(packages: _ProcessedDists, options: Values) -> str: FILE: src/pip/_internal/commands/lock.py class LockCommand (line 26) | class LockCommand(RequirementCommand): method add_options (line 48) | def add_options(self) -> None: method run (line 95) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/search.py class TransformedHit (line 26) | class TransformedHit(TypedDict): class SearchCommand (line 35) | class SearchCommand(Command, SessionCommandMixin): method add_options (line 42) | def add_options(self) -> None: method run (line 54) | def run(self, options: Values, args: list[str]) -> int: method search (line 70) | def search(self, query: list[str], options: Values) -> list[dict[str, ... function transform_hits (line 88) | def transform_hits(hits: list[dict[str, str]]) -> list[TransformedHit]: function print_dist_installation_info (line 116) | def print_dist_installation_info(latest: str, dist: BaseDistribution | N... function get_installed_distribution (line 133) | def get_installed_distribution(name: str) -> BaseDistribution | None: function print_results (line 138) | def print_results( function highest_version (line 177) | def highest_version(versions: list[str]) -> str: FILE: src/pip/_internal/commands/show.py function normalize_project_url_label (line 20) | def normalize_project_url_label(label: str) -> str: class ShowCommand (line 27) | class ShowCommand(Command): method add_options (line 38) | def add_options(self) -> None: method run (line 50) | def run(self, options: Values, args: list[str]) -> int: class _PackageInfo (line 64) | class _PackageInfo(NamedTuple): function search_packages_info (line 85) | def search_packages_info(query: list[str]) -> Generator[_PackageInfo, No... function print_results (line 178) | def print_results( FILE: src/pip/_internal/commands/uninstall.py class UninstallCommand (line 25) | class UninstallCommand(Command, SessionCommandMixin): method add_options (line 40) | def add_options(self) -> None: method run (line 64) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/commands/wheel.py class WheelCommand (line 22) | class WheelCommand(RequirementCommand): method add_options (line 42) | def add_options(self) -> None: method run (line 94) | def run(self, options: Values, args: list[str]) -> int: FILE: src/pip/_internal/configuration.py function _normalize_name (line 53) | def _normalize_name(name: str) -> str: function _disassemble_key (line 60) | def _disassemble_key(name: str) -> list[str]: function get_configuration_files (line 70) | def get_configuration_files() -> dict[Kind, list[str]]: class Configuration (line 89) | class Configuration: method __init__ (line 103) | def __init__(self, isolated: bool, load_only: Kind | None = None) -> N... method load (line 124) | def load(self) -> None: method get_file_to_edit (line 130) | def get_file_to_edit(self) -> str | None: method items (line 139) | def items(self) -> Iterable[tuple[str, Any]]: method get_value (line 145) | def get_value(self, key: str) -> Any: method set_value (line 160) | def set_value(self, key: str, value: Any) -> None: method unset_value (line 180) | def unset_value(self, key: str) -> None: method save (line 214) | def save(self) -> None: method _ensure_have_load_only (line 238) | def _ensure_have_load_only(self) -> None: method _dictionary (line 244) | def _dictionary(self) -> dict[str, dict[str, Any]]: method _load_config_files (line 255) | def _load_config_files(self) -> None: method _load_file (line 278) | def _load_file(self, variant: Kind, fname: str) -> RawConfigParser: method _construct_parser (line 289) | def _construct_parser(self, fname: str) -> RawConfigParser: method _load_environment_vars (line 310) | def _load_environment_vars(self) -> None: method _normalized_keys (line 317) | def _normalized_keys( method get_environ_vars (line 331) | def get_environ_vars(self) -> Iterable[tuple[str, str]]: method iter_config_files (line 340) | def iter_config_files(self) -> Iterable[tuple[Kind, list[str]]]: method get_values_in_config (line 372) | def get_values_in_config(self, variant: Kind) -> dict[str, Any]: method _get_parser_to_modify (line 376) | def _get_parser_to_modify(self) -> tuple[str, RawConfigParser]: method _mark_as_modified (line 390) | def _mark_as_modified(self, fname: str, parser: RawConfigParser) -> None: method __repr__ (line 395) | def __repr__(self) -> str: FILE: src/pip/_internal/distributions/__init__.py function make_distribution_for_install_requirement (line 7) | def make_distribution_for_install_requirement( FILE: src/pip/_internal/distributions/base.py class AbstractDistribution (line 13) | class AbstractDistribution(metaclass=abc.ABCMeta): method __init__ (line 32) | def __init__(self, req: InstallRequirement) -> None: method build_tracker_id (line 37) | def build_tracker_id(self) -> str | None: method get_metadata_distribution (line 45) | def get_metadata_distribution(self) -> BaseDistribution: method prepare_distribution_metadata (line 49) | def prepare_distribution_metadata( FILE: src/pip/_internal/distributions/installed.py class InstalledDistribution (line 12) | class InstalledDistribution(AbstractDistribution): method build_tracker_id (line 20) | def build_tracker_id(self) -> str | None: method get_metadata_distribution (line 23) | def get_metadata_distribution(self) -> BaseDistribution: method prepare_distribution_metadata (line 27) | def prepare_distribution_metadata( FILE: src/pip/_internal/distributions/sdist.py class SourceDistribution (line 19) | class SourceDistribution(AbstractDistribution): method build_tracker_id (line 27) | def build_tracker_id(self) -> str | None: method get_metadata_distribution (line 32) | def get_metadata_distribution(self) -> BaseDistribution: method prepare_distribution_metadata (line 35) | def prepare_distribution_metadata( method _prepare_build_backend (line 73) | def _prepare_build_backend( method _get_build_requires_wheel (line 101) | def _get_build_requires_wheel(self) -> Iterable[str]: method _get_build_requires_editable (line 109) | def _get_build_requires_editable(self) -> Iterable[str]: method _install_build_reqs (line 119) | def _install_build_reqs( method _raise_conflicts (line 140) | def _raise_conflicts( method _raise_missing_reqs (line 157) | def _raise_missing_reqs(self, missing: set[str]) -> None: FILE: src/pip/_internal/distributions/wheel.py class WheelDistribution (line 18) | class WheelDistribution(AbstractDistribution): method build_tracker_id (line 25) | def build_tracker_id(self) -> str | None: method get_metadata_distribution (line 28) | def get_metadata_distribution(self) -> BaseDistribution: method prepare_distribution_metadata (line 38) | def prepare_distribution_metadata( FILE: src/pip/_internal/exceptions.py function _is_kebab_case (line 44) | def _is_kebab_case(s: str) -> bool: function _prefix_with_indent (line 48) | def _prefix_with_indent( class PipError (line 65) | class PipError(Exception): class DiagnosticPipError (line 69) | class DiagnosticPipError(PipError): method __init__ (line 82) | def __init__( method __repr__ (line 112) | def __repr__(self) -> str: method __rich_console__ (line 123) | def __rich_console__( class ConfigurationError (line 187) | class ConfigurationError(PipError): class InstallationError (line 191) | class InstallationError(PipError): class FailedToPrepareCandidate (line 195) | class FailedToPrepareCandidate(InstallationError): method __init__ (line 203) | def __init__( class MissingPyProjectBuildRequires (line 212) | class MissingPyProjectBuildRequires(DiagnosticPipError): method __init__ (line 217) | def __init__(self, *, package: str) -> None: class InvalidPyProjectBuildRequires (line 229) | class InvalidPyProjectBuildRequires(DiagnosticPipError): method __init__ (line 234) | def __init__(self, *, package: str, reason: str) -> None: class NoneMetadataError (line 246) | class NoneMetadataError(PipError): method __init__ (line 255) | def __init__( method __str__ (line 268) | def __str__(self) -> str: class UserInstallationInvalid (line 274) | class UserInstallationInvalid(InstallationError): method __str__ (line 277) | def __str__(self) -> str: class InvalidSchemeCombination (line 281) | class InvalidSchemeCombination(InstallationError): method __str__ (line 282) | def __str__(self) -> str: class DistributionNotFound (line 287) | class DistributionNotFound(InstallationError): class RequirementsFileParseError (line 291) | class RequirementsFileParseError(InstallationError): class BestVersionAlreadyInstalled (line 295) | class BestVersionAlreadyInstalled(PipError): class BadCommand (line 300) | class BadCommand(PipError): class CommandError (line 304) | class CommandError(PipError): class PreviousBuildDirError (line 308) | class PreviousBuildDirError(PipError): class NetworkConnectionError (line 312) | class NetworkConnectionError(PipError): method __init__ (line 315) | def __init__( method __str__ (line 336) | def __str__(self) -> str: class InvalidWheelFilename (line 340) | class InvalidWheelFilename(InstallationError): class UnsupportedWheel (line 344) | class UnsupportedWheel(InstallationError): class InvalidWheel (line 348) | class InvalidWheel(InstallationError): method __init__ (line 351) | def __init__(self, location: str, name: str): method __str__ (line 355) | def __str__(self) -> str: class MetadataInconsistent (line 359) | class MetadataInconsistent(InstallationError): method __init__ (line 367) | def __init__( method __str__ (line 375) | def __str__(self) -> str: class MetadataInvalid (line 382) | class MetadataInvalid(InstallationError): method __init__ (line 385) | def __init__(self, ireq: InstallRequirement, error: str) -> None: method __str__ (line 389) | def __str__(self) -> str: class InstallationSubprocessError (line 393) | class InstallationSubprocessError(DiagnosticPipError, InstallationError): method __init__ (line 398) | def __init__( method __str__ (line 430) | def __str__(self) -> str: class MetadataGenerationFailed (line 434) | class MetadataGenerationFailed(DiagnosticPipError, InstallationError): method __init__ (line 437) | def __init__( method __str__ (line 449) | def __str__(self) -> str: class HashErrors (line 453) | class HashErrors(InstallationError): method __init__ (line 456) | def __init__(self) -> None: method append (line 459) | def append(self, error: HashError) -> None: method __str__ (line 462) | def __str__(self) -> str: method __bool__ (line 472) | def __bool__(self) -> bool: class HashError (line 476) | class HashError(InstallationError): method body (line 497) | def body(self) -> str: method __str__ (line 509) | def __str__(self) -> str: method _requirement_name (line 512) | def _requirement_name(self) -> str: class VcsHashUnsupported (line 522) | class VcsHashUnsupported(HashError): class DirectoryUrlHashUnsupported (line 533) | class DirectoryUrlHashUnsupported(HashError): class HashMissing (line 544) | class HashMissing(HashError): method __init__ (line 558) | def __init__(self, gotten_hash: str) -> None: method body (line 565) | def body(self) -> str: class HashUnpinned (line 586) | class HashUnpinned(HashError): class HashMismatch (line 597) | class HashMismatch(HashError): method __init__ (line 615) | def __init__(self, allowed: dict[str, list[str]], gots: dict[str, _Has... method body (line 625) | def body(self) -> str: method _hash_comparison (line 628) | def _hash_comparison(self) -> str: class UnsupportedPythonVersion (line 655) | class UnsupportedPythonVersion(InstallationError): class ConfigurationFileCouldNotBeLoaded (line 660) | class ConfigurationFileCouldNotBeLoaded(ConfigurationError): method __init__ (line 663) | def __init__( method __str__ (line 674) | def __str__(self) -> str: class ExternallyManagedEnvironment (line 690) | class ExternallyManagedEnvironment(DiagnosticPipError): method __init__ (line 702) | def __init__(self, error: str | None) -> None: method _iter_externally_managed_error_keys (line 720) | def _iter_externally_managed_error_keys() -> Iterator[str]: method from_config (line 742) | def from_config( class UninstallMissingRecord (line 763) | class UninstallMissingRecord(DiagnosticPipError): method __init__ (line 766) | def __init__(self, *, distribution: BaseDistribution) -> None: class LegacyDistutilsInstall (line 790) | class LegacyDistutilsInstall(DiagnosticPipError): method __init__ (line 793) | def __init__(self, *, distribution: BaseDistribution) -> None: class InvalidInstalledPackage (line 805) | class InvalidInstalledPackage(DiagnosticPipError): method __init__ (line 808) | def __init__( class IncompleteDownloadError (line 835) | class IncompleteDownloadError(DiagnosticPipError): method __init__ (line 841) | def __init__(self, download: _FileDownload) -> None: class ResolutionTooDeepError (line 869) | class ResolutionTooDeepError(DiagnosticPipError): method __init__ (line 874) | def __init__(self) -> None: class InstallWheelBuildError (line 889) | class InstallWheelBuildError(DiagnosticPipError): method __init__ (line 892) | def __init__(self, failed: list[InstallRequirement]) -> None: class InvalidEggFragment (line 903) | class InvalidEggFragment(DiagnosticPipError): method __init__ (line 906) | def __init__(self, link: Link, fragment: str) -> None: class BuildDependencyInstallError (line 926) | class BuildDependencyInstallError(DiagnosticPipError): method __init__ (line 931) | def __init__( FILE: src/pip/_internal/index/collector.py function _match_vcs_scheme (line 46) | def _match_vcs_scheme(url: str) -> str | None: class _NotAPIContent (line 57) | class _NotAPIContent(Exception): method __init__ (line 58) | def __init__(self, content_type: str, request_desc: str) -> None: function _ensure_api_header (line 64) | def _ensure_api_header(response: Response) -> None: class _NotHTTP (line 86) | class _NotHTTP(Exception): function _ensure_api_response (line 90) | def _ensure_api_response(url: str, session: PipSession) -> None: function _get_simple_response (line 108) | def _get_simple_response(url: str, session: PipSession) -> Response: function _get_encoding_from_headers (line 171) | def _get_encoding_from_headers(headers: ResponseHeaders) -> str | None: class CacheablePageContent (line 182) | class CacheablePageContent: method __init__ (line 183) | def __init__(self, page: IndexContent) -> None: method __eq__ (line 187) | def __eq__(self, other: object) -> bool: method __hash__ (line 190) | def __hash__(self) -> int: class ParseLinks (line 194) | class ParseLinks(Protocol): method __call__ (line 195) | def __call__(self, page: IndexContent) -> Iterable[Link]: ... function with_cached_index_content (line 198) | def with_cached_index_content(fn: ParseLinks) -> ParseLinks: function parse_links (line 219) | def parse_links(page: IndexContent) -> Iterable[Link]: class IndexContent (line 248) | class IndexContent: method __str__ (line 264) | def __str__(self) -> str: class HTMLLinkParser (line 268) | class HTMLLinkParser(HTMLParser): method __init__ (line 274) | def __init__(self, url: str) -> None: method handle_starttag (line 281) | def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]... method get_href (line 289) | def get_href(self, attrs: list[tuple[str, str | None]]) -> str | None: function _handle_get_simple_fail (line 296) | def _handle_get_simple_fail( function _make_index_content (line 306) | def _make_index_content( function _get_index_content (line 319) | def _get_index_content(link: Link, *, session: PipSession) -> IndexConte... class CollectedSources (line 379) | class CollectedSources(NamedTuple): class LinkCollector (line 384) | class LinkCollector: method __init__ (line 392) | def __init__( method create (line 401) | def create( method find_links (line 435) | def find_links(self) -> list[str]: method fetch_response (line 438) | def fetch_response(self, location: Link) -> IndexContent | None: method collect_sources (line 444) | def collect_sources( FILE: src/pip/_internal/index/package_finder.py function _check_link_requires_python (line 63) | def _check_link_requires_python( class LinkType (line 110) | class LinkType(enum.Enum): class LinkEvaluator (line 122) | class LinkEvaluator: method __init__ (line 133) | def __init__( method evaluate_link (line 174) | def evaluate_link(self, link: Link) -> tuple[LinkType, str]: function filter_unallowed_hashes (line 302) | def filter_unallowed_hashes( class CandidatePreferences (line 377) | class CandidatePreferences: class BestCandidateResult (line 388) | class BestCandidateResult: method __post_init__ (line 404) | def __post_init__(self) -> None: class CandidateEvaluator (line 413) | class CandidateEvaluator: method create (line 420) | def create( method __init__ (line 455) | def __init__( method get_applicable_candidates (line 481) | def get_applicable_candidates( method _sort_key (line 526) | def _sort_key(self, candidate: InstallationCandidate) -> CandidateSort... method sort_best_candidate (line 591) | def sort_best_candidate( method compute_best_candidate (line 604) | def compute_best_candidate( class PackageFinder (line 622) | class PackageFinder: method __init__ (line 629) | def __init__( method create (line 678) | def create( method target_python (line 714) | def target_python(self) -> TargetPython: method search_scope (line 718) | def search_scope(self) -> SearchScope: method search_scope (line 722) | def search_scope(self, search_scope: SearchScope) -> None: method find_links (line 726) | def find_links(self) -> list[str]: method index_urls (line 730) | def index_urls(self) -> list[str]: method proxy (line 734) | def proxy(self) -> str | None: method trusted_hosts (line 738) | def trusted_hosts(self) -> Iterable[str]: method custom_cert (line 743) | def custom_cert(self) -> str | None: method client_cert (line 751) | def client_cert(self) -> str | None: method release_control (line 757) | def release_control(self) -> ReleaseControl | None: method set_release_control (line 760) | def set_release_control(self, release_control: ReleaseControl) -> None: method prefer_binary (line 764) | def prefer_binary(self) -> bool: method set_prefer_binary (line 767) | def set_prefer_binary(self) -> None: method uploaded_prior_to (line 771) | def uploaded_prior_to(self) -> datetime.datetime | None: method requires_python_skipped_reasons (line 774) | def requires_python_skipped_reasons(self) -> list[str]: method make_link_evaluator (line 782) | def make_link_evaluator(self, project_name: str) -> LinkEvaluator: method _sort_links (line 796) | def _sort_links(self, links: Iterable[Link]) -> list[Link]: method _log_skipped_link (line 812) | def _log_skipped_link(self, link: Link, result: LinkType, detail: str)... method get_install_candidate (line 820) | def get_install_candidate( method evaluate_links (line 845) | def evaluate_links( method process_project_url (line 859) | def process_project_url( method find_all_candidates (line 880) | def find_all_candidates(self, project_name: str) -> list[InstallationC... method make_candidate_evaluator (line 937) | def make_candidate_evaluator( method find_best_candidate (line 954) | def find_best_candidate( method find_requirement (line 983) | def find_requirement( function _find_name_version_sep (line 1084) | def _find_name_version_sep(fragment: str, canonical_name: str) -> int: function _extract_version_from_fragment (line 1110) | def _extract_version_from_fragment(fragment: str, canonical_name: str) -... FILE: src/pip/_internal/index/sources.py class LinkSource (line 31) | class LinkSource: method link (line 33) | def link(self) -> Link | None: method page_candidates (line 37) | def page_candidates(self) -> FoundCandidates: method file_links (line 41) | def file_links(self) -> FoundLinks: function _is_html_file (line 46) | def _is_html_file(file_url: str) -> bool: class _FlatDirectoryToUrls (line 50) | class _FlatDirectoryToUrls: method __init__ (line 53) | def __init__(self, path: str) -> None: method _scan_directory (line 59) | def _scan_directory(self) -> None: method page_candidates (line 83) | def page_candidates(self) -> list[str]: method project_name_to_urls (line 90) | def project_name_to_urls(self) -> dict[str, list[str]]: class _FlatDirectorySource (line 97) | class _FlatDirectorySource(LinkSource): method __init__ (line 108) | def __init__( method link (line 125) | def link(self) -> Link | None: method page_candidates (line 128) | def page_candidates(self) -> FoundCandidates: method file_links (line 132) | def file_links(self) -> FoundLinks: class _LocalFileSource (line 137) | class _LocalFileSource(LinkSource): method __init__ (line 147) | def __init__( method link (line 156) | def link(self) -> Link | None: method page_candidates (line 159) | def page_candidates(self) -> FoundCandidates: method file_links (line 164) | def file_links(self) -> FoundLinks: class _RemoteFileSource (line 170) | class _RemoteFileSource(LinkSource): method __init__ (line 179) | def __init__( method link (line 190) | def link(self) -> Link | None: method page_candidates (line 193) | def page_candidates(self) -> FoundCandidates: method file_links (line 198) | def file_links(self) -> FoundLinks: class _IndexDirectorySource (line 202) | class _IndexDirectorySource(LinkSource): method __init__ (line 209) | def __init__( method link (line 218) | def link(self) -> Link | None: method page_candidates (line 221) | def page_candidates(self) -> FoundCandidates: method file_links (line 224) | def file_links(self) -> FoundLinks: function build_source (line 228) | def build_source( FILE: src/pip/_internal/locations/__init__.py function _should_use_sysconfig (line 47) | def _should_use_sysconfig() -> bool: function _looks_like_bpo_44860 (line 77) | def _looks_like_bpo_44860() -> bool: function _looks_like_red_hat_patched_platlib_purelib (line 91) | def _looks_like_red_hat_patched_platlib_purelib(scheme: dict[str, str]) ... function _looks_like_red_hat_lib (line 102) | def _looks_like_red_hat_lib() -> bool: function _looks_like_debian_scheme (line 117) | def _looks_like_debian_scheme() -> bool: function _looks_like_red_hat_scheme (line 125) | def _looks_like_red_hat_scheme() -> bool: function _looks_like_slackware_scheme (line 145) | def _looks_like_slackware_scheme() -> bool: function _looks_like_msys2_mingw_scheme (line 161) | def _looks_like_msys2_mingw_scheme() -> bool: function _warn_mismatched (line 179) | def _warn_mismatched(old: pathlib.Path, new: pathlib.Path, *, key: str) ... function _warn_if_mismatch (line 189) | def _warn_if_mismatch(old: pathlib.Path, new: pathlib.Path, *, key: str)... function _log_context (line 197) | def _log_context( function get_scheme (line 215) | def get_scheme( function get_bin_prefix (line 381) | def get_bin_prefix() -> str: function get_bin_user (line 392) | def get_bin_user() -> str: function _looks_like_deb_system_dist_packages (line 396) | def _looks_like_deb_system_dist_packages(value: str) -> bool: function get_purelib (line 413) | def get_purelib() -> str: function get_platlib (line 427) | def get_platlib() -> str: FILE: src/pip/_internal/locations/_distutils.py function distutils_scheme (line 36) | def distutils_scheme( function get_scheme (line 116) | def get_scheme( function get_bin_prefix (line 151) | def get_bin_prefix() -> str: function get_purelib (line 168) | def get_purelib() -> str: function get_platlib (line 172) | def get_platlib() -> str: FILE: src/pip/_internal/locations/_sysconfig.py function _should_use_osx_framework_prefix (line 33) | def _should_use_osx_framework_prefix() -> bool: function _infer_prefix (line 59) | def _infer_prefix() -> str: function _infer_user (line 90) | def _infer_user() -> str: function _infer_home (line 105) | def _infer_home() -> str: function get_scheme (line 128) | def get_scheme( function get_bin_prefix (line 206) | def get_bin_prefix() -> str: function get_purelib (line 213) | def get_purelib() -> str: function get_platlib (line 217) | def get_platlib() -> str: FILE: src/pip/_internal/locations/base.py function get_major_minor_version (line 20) | def get_major_minor_version() -> str: function change_root (line 28) | def change_root(new_root: str, pathname: str) -> str: function get_src_prefix (line 56) | def get_src_prefix() -> str: function is_osx_framework (line 81) | def is_osx_framework() -> bool: FILE: src/pip/_internal/main.py function main (line 4) | def main(args: list[str] | None = None) -> int: FILE: src/pip/_internal/metadata/__init__.py function _should_use_importlib_metadata (line 30) | def _should_use_importlib_metadata() -> bool: function _emit_pkg_resources_deprecation_if_needed (line 63) | def _emit_pkg_resources_deprecation_if_needed() -> None: class Backend (line 88) | class Backend(Protocol): function select_backend (line 95) | def select_backend() -> Backend: function get_default_environment (line 108) | def get_default_environment() -> BaseEnvironment: function get_environment (line 118) | def get_environment(paths: list[str] | None) -> BaseEnvironment: function get_directory_distribution (line 128) | def get_directory_distribution(directory: str) -> BaseDistribution: function get_wheel_distribution (line 137) | def get_wheel_distribution( function get_metadata_distribution (line 150) | def get_metadata_distribution( FILE: src/pip/_internal/metadata/_json.py function json_name (line 40) | def json_name(field: str) -> str: function msg_to_json (line 44) | def msg_to_json(msg: Message) -> dict[str, Any]: FILE: src/pip/_internal/metadata/base.py class BaseEntryPoint (line 44) | class BaseEntryPoint(Protocol): method name (line 46) | def name(self) -> str: method value (line 50) | def value(self) -> str: method group (line 54) | def group(self) -> str: function _convert_installed_files_path (line 58) | def _convert_installed_files_path( class RequiresEntry (line 88) | class RequiresEntry(NamedTuple): class BaseDistribution (line 94) | class BaseDistribution(Protocol): method from_directory (line 96) | def from_directory(cls, directory: str) -> BaseDistribution: method from_metadata_file_contents (line 104) | def from_metadata_file_contents( method from_wheel (line 122) | def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution: method __repr__ (line 135) | def __repr__(self) -> str: method __str__ (line 138) | def __str__(self) -> str: method location (line 142) | def location(self) -> str | None: method editable_project_location (line 156) | def editable_project_location(self) -> str | None: method installed_location (line 178) | def installed_location(self) -> str | None: method info_location (line 191) | def info_location(self) -> str | None: method installed_by_distutils (line 207) | def installed_by_distutils(self) -> bool: method installed_as_egg (line 220) | def installed_as_egg(self) -> bool: method installed_with_setuptools_egg_info (line 234) | def installed_with_setuptools_egg_info(self) -> bool: method installed_with_dist_info (line 252) | def installed_with_dist_info(self) -> bool: method canonical_name (line 268) | def canonical_name(self) -> NormalizedName: method version (line 272) | def version(self) -> Version: method raw_version (line 276) | def raw_version(self) -> str: method setuptools_filename (line 280) | def setuptools_filename(self) -> str: method direct_url (line 288) | def direct_url(self) -> DirectUrl | None: method installer (line 314) | def installer(self) -> str: method requested (line 326) | def requested(self) -> bool: method editable (line 330) | def editable(self) -> bool: method local (line 334) | def local(self) -> bool: method in_usersite (line 344) | def in_usersite(self) -> bool: method in_site_packages (line 350) | def in_site_packages(self) -> bool: method is_file (line 355) | def is_file(self, path: InfoPath) -> bool: method iter_distutils_script_names (line 359) | def iter_distutils_script_names(self) -> Iterator[str]: method read_text (line 367) | def read_text(self, path: InfoPath) -> str: method iter_entry_points (line 376) | def iter_entry_points(self) -> Iterable[BaseEntryPoint]: method _metadata_impl (line 379) | def _metadata_impl(self) -> email.message.Message: method metadata (line 383) | def metadata(self) -> email.message.Message: method metadata_dict (line 396) | def metadata_dict(self) -> dict[str, Any]: method metadata_version (line 407) | def metadata_version(self) -> str | None: method raw_name (line 412) | def raw_name(self) -> str: method requires_python (line 419) | def requires_python(self) -> SpecifierSet: method iter_dependencies (line 437) | def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[... method iter_raw_dependencies (line 445) | def iter_raw_dependencies(self) -> Iterable[str]: method iter_provided_extras (line 449) | def iter_provided_extras(self) -> Iterable[NormalizedName]: method _iter_declared_entries_from_record (line 461) | def _iter_declared_entries_from_record(self) -> Iterator[str] | None: method _iter_declared_entries_from_legacy (line 469) | def _iter_declared_entries_from_legacy(self) -> Iterator[str] | None: method iter_declared_entries (line 490) | def iter_declared_entries(self) -> Iterator[str] | None: method _iter_requires_txt_entries (line 506) | def _iter_requires_txt_entries(self) -> Iterator[RequiresEntry]: method _iter_egg_info_extras (line 531) | def _iter_egg_info_extras(self) -> Iterable[str]: method _iter_egg_info_dependencies (line 541) | def _iter_egg_info_dependencies(self) -> Iterable[str]: method _add_egg_info_requires (line 569) | def _add_egg_info_requires(self, metadata: email.message.Message) -> N... class BaseEnvironment (line 579) | class BaseEnvironment: method default (line 583) | def default(cls) -> BaseEnvironment: method from_paths (line 587) | def from_paths(cls, paths: list[str] | None) -> BaseEnvironment: method get_distribution (line 590) | def get_distribution(self, name: str) -> BaseDistribution | None: method _iter_distributions (line 598) | def _iter_distributions(self) -> Iterator[BaseDistribution]: method iter_all_distributions (line 607) | def iter_all_distributions(self) -> Iterator[BaseDistribution]: method iter_installed_distributions (line 628) | def iter_installed_distributions( class Wheel (line 664) | class Wheel(Protocol): method as_zipfile (line 667) | def as_zipfile(self) -> zipfile.ZipFile: class FilesystemWheel (line 671) | class FilesystemWheel(Wheel): method __init__ (line 672) | def __init__(self, location: str) -> None: method as_zipfile (line 675) | def as_zipfile(self) -> zipfile.ZipFile: class MemoryWheel (line 679) | class MemoryWheel(Wheel): method __init__ (line 680) | def __init__(self, location: str, stream: IO[bytes]) -> None: method as_zipfile (line 684) | def as_zipfile(self) -> zipfile.ZipFile: FILE: src/pip/_internal/metadata/importlib/_compat.py class BadMetadata (line 10) | class BadMetadata(ValueError): method __init__ (line 11) | def __init__(self, dist: importlib.metadata.Distribution, *, reason: s... method __str__ (line 15) | def __str__(self) -> str: class BasePath (line 19) | class BasePath(Protocol): method name (line 31) | def name(self) -> str: method parent (line 35) | def parent(self) -> BasePath: function get_info_location (line 39) | def get_info_location(d: importlib.metadata.Distribution) -> BasePath | ... function parse_name_and_version_from_info_directory (line 51) | def parse_name_and_version_from_info_directory( function get_dist_canonical_name (line 75) | def get_dist_canonical_name(dist: importlib.metadata.Distribution) -> No... FILE: src/pip/_internal/metadata/importlib/_dists.py class WheelDistribution (line 38) | class WheelDistribution(importlib.metadata.Distribution): method __init__ (line 49) | def __init__( method from_zipfile (line 58) | def from_zipfile( method iterdir (line 77) | def iterdir(self, path: InfoPath) -> Iterator[pathlib.PurePosixPath]: method read_text (line 83) | def read_text(self, filename: str) -> str | None: method locate_file (line 96) | def locate_file(self, path: str | PathLike[str]) -> pathlib.Path: class Distribution (line 102) | class Distribution(BaseDistribution): method __init__ (line 103) | def __init__( method from_directory (line 114) | def from_directory(cls, directory: str) -> BaseDistribution: method from_metadata_file_contents (line 120) | def from_metadata_file_contents( method from_wheel (line 137) | def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution: method location (line 146) | def location(self) -> str | None: method info_location (line 152) | def info_location(self) -> str | None: method installed_location (line 158) | def installed_location(self) -> str | None: method canonical_name (line 164) | def canonical_name(self) -> NormalizedName: method version (line 168) | def version(self) -> Version: method raw_version (line 179) | def raw_version(self) -> str: method is_file (line 182) | def is_file(self, path: InfoPath) -> bool: method iter_distutils_script_names (line 185) | def iter_distutils_script_names(self) -> Iterator[str]: method read_text (line 194) | def read_text(self, path: InfoPath) -> str: method iter_entry_points (line 200) | def iter_entry_points(self) -> Iterable[BaseEntryPoint]: method _metadata_impl (line 204) | def _metadata_impl(self) -> email.message.Message: method iter_provided_extras (line 218) | def iter_provided_extras(self) -> Iterable[NormalizedName]: method iter_dependencies (line 224) | def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[... FILE: src/pip/_internal/metadata/importlib/_envs.py function _looks_like_wheel (line 28) | def _looks_like_wheel(location: str) -> bool: class _DistributionFinder (line 40) | class _DistributionFinder: method __init__ (line 55) | def __init__(self) -> None: method _find_impl (line 58) | def _find_impl(self, location: str) -> Iterator[FoundResult]: method find (line 79) | def find(self, location: str) -> Iterator[BaseDistribution]: method find_legacy_editables (line 91) | def find_legacy_editables(self, location: str) -> Iterator[BaseDistrib... class Environment (line 116) | class Environment(BaseEnvironment): method __init__ (line 117) | def __init__(self, paths: Sequence[str]) -> None: method default (line 121) | def default(cls) -> BaseEnvironment: method from_paths (line 125) | def from_paths(cls, paths: list[str] | None) -> BaseEnvironment: method _iter_distributions (line 130) | def _iter_distributions(self) -> Iterator[BaseDistribution]: method get_distribution (line 136) | def get_distribution(self, name: str) -> BaseDistribution | None: FILE: src/pip/_internal/metadata/pkg_resources.py class EntryPoint (line 39) | class EntryPoint(NamedTuple): class InMemoryMetadata (line 45) | class InMemoryMetadata: method __init__ (line 51) | def __init__(self, metadata: Mapping[str, bytes], wheel_name: str) -> ... method has_metadata (line 55) | def has_metadata(self, name: str) -> bool: method get_metadata (line 58) | def get_metadata(self, name: str) -> str: method get_metadata_lines (line 67) | def get_metadata_lines(self, name: str) -> Iterable[str]: method metadata_isdir (line 70) | def metadata_isdir(self, name: str) -> bool: method metadata_listdir (line 73) | def metadata_listdir(self, name: str) -> list[str]: method run_script (line 76) | def run_script(self, script_name: str, namespace: str) -> None: class Distribution (line 80) | class Distribution(BaseDistribution): method __init__ (line 81) | def __init__(self, dist: pkg_resources.Distribution) -> None: method _extra_mapping (line 88) | def _extra_mapping(self) -> Mapping[NormalizedName, str]: method from_directory (line 97) | def from_directory(cls, directory: str) -> BaseDistribution: method from_metadata_file_contents (line 117) | def from_metadata_file_contents( method from_wheel (line 134) | def from_wheel(cls, wheel: Wheel, name: str) -> BaseDistribution: method location (line 155) | def location(self) -> str | None: method installed_location (line 159) | def installed_location(self) -> str | None: method info_location (line 170) | def info_location(self) -> str | None: method installed_by_distutils (line 174) | def installed_by_distutils(self) -> bool: method canonical_name (line 184) | def canonical_name(self) -> NormalizedName: method version (line 188) | def version(self) -> Version: method raw_version (line 192) | def raw_version(self) -> str: method is_file (line 195) | def is_file(self, path: InfoPath) -> bool: method iter_distutils_script_names (line 198) | def iter_distutils_script_names(self) -> Iterator[str]: method read_text (line 201) | def read_text(self, path: InfoPath) -> str: method iter_entry_points (line 210) | def iter_entry_points(self) -> Iterable[BaseEntryPoint]: method _metadata_impl (line 216) | def _metadata_impl(self) -> email.message.Message: method iter_dependencies (line 238) | def iter_dependencies(self, extras: Collection[str] = ()) -> Iterable[... method iter_provided_extras (line 246) | def iter_provided_extras(self) -> Iterable[NormalizedName]: class Environment (line 250) | class Environment(BaseEnvironment): method __init__ (line 251) | def __init__(self, ws: pkg_resources.WorkingSet) -> None: method default (line 255) | def default(cls) -> BaseEnvironment: method from_paths (line 259) | def from_paths(cls, paths: list[str] | None) -> BaseEnvironment: method _iter_distributions (line 262) | def _iter_distributions(self) -> Iterator[BaseDistribution]: method _search_distribution (line 266) | def _search_distribution(self, name: str) -> BaseDistribution | None: method get_distribution (line 278) | def get_distribution(self, name: str) -> BaseDistribution | None: FILE: src/pip/_internal/models/candidate.py class InstallationCandidate (line 10) | class InstallationCandidate: method __init__ (line 19) | def __init__(self, name: str, version: str, link: Link) -> None: method __str__ (line 24) | def __str__(self) -> str: FILE: src/pip/_internal/models/direct_url.py class DirectUrlValidationError (line 26) | class DirectUrlValidationError(Exception): function _get (line 30) | def _get( function _get_required (line 44) | def _get_required( function _exactly_one_of (line 53) | def _exactly_one_of(infos: Iterable[InfoType | None]) -> InfoType: function _filter_none (line 67) | def _filter_none(**kwargs: Any) -> dict[str, Any]: class VcsInfo (line 73) | class VcsInfo: method _from_dict (line 81) | def _from_dict(cls, d: dict[str, Any] | None) -> VcsInfo | None: method _to_dict (line 90) | def _to_dict(self) -> dict[str, Any]: class ArchiveInfo (line 98) | class ArchiveInfo: method __init__ (line 101) | def __init__( method hash (line 111) | def hash(self) -> str | None: method hash (line 115) | def hash(self, value: str | None) -> None: method _from_dict (line 133) | def _from_dict(cls, d: dict[str, Any] | None) -> ArchiveInfo | None: method _to_dict (line 138) | def _to_dict(self) -> dict[str, Any]: class DirInfo (line 143) | class DirInfo: method _from_dict (line 149) | def _from_dict(cls, d: dict[str, Any] | None) -> DirInfo | None: method _to_dict (line 154) | def _to_dict(self) -> dict[str, Any]: class DirectUrl (line 162) | class DirectUrl: method _remove_auth_from_netloc (line 167) | def _remove_auth_from_netloc(self, netloc: str) -> str: method redacted_url (line 182) | def redacted_url(self) -> str: method validate (line 194) | def validate(self) -> None: method from_dict (line 198) | def from_dict(cls, d: dict[str, Any]) -> DirectUrl: method to_dict (line 211) | def to_dict(self) -> dict[str, Any]: method from_json (line 220) | def from_json(cls, s: str) -> DirectUrl: method to_json (line 223) | def to_json(self) -> str: method is_local_editable (line 226) | def is_local_editable(self) -> bool: FILE: src/pip/_internal/models/format_control.py class FormatControl (line 8) | class FormatControl: method __init__ (line 13) | def __init__( method __eq__ (line 26) | def __eq__(self, other: object) -> bool: method __repr__ (line 35) | def __repr__(self) -> str: method handle_mutual_excludes (line 39) | def handle_mutual_excludes(value: str, target: set[str], other: set[st... method get_allowed_formats (line 61) | def get_allowed_formats(self, canonical_name: str) -> frozenset[str]: method disallow_binaries (line 73) | def disallow_binaries(self) -> None: FILE: src/pip/_internal/models/index.py class PackageIndex (line 4) | class PackageIndex: method __init__ (line 9) | def __init__(self, url: str, file_storage_domain: str) -> None: method _url_for_path (line 21) | def _url_for_path(self, path: str) -> str: FILE: src/pip/_internal/models/installation_report.py class InstallationReport (line 10) | class InstallationReport: method __init__ (line 11) | def __init__(self, install_requirements: Sequence[InstallRequirement]): method _install_req_to_dict (line 15) | def _install_req_to_dict(cls, ireq: InstallRequirement) -> dict[str, A... method to_dict (line 43) | def to_dict(self) -> dict[str, Any]: FILE: src/pip/_internal/models/link.py class LinkHash (line 40) | class LinkHash: method __post_init__ (line 64) | def __post_init__(self) -> None: method find_hash_url_fragment (line 69) | def find_hash_url_fragment(cls, url: str) -> LinkHash | None: method as_dict (line 77) | def as_dict(self) -> dict[str, str]: method as_hashes (line 80) | def as_hashes(self) -> Hashes: method is_hash_allowed (line 84) | def is_hash_allowed(self, hashes: Hashes | None) -> bool: class MetadataFile (line 94) | class MetadataFile: method __post_init__ (line 99) | def __post_init__(self) -> None: function supported_hashes (line 104) | def supported_hashes(hashes: dict[str, str] | None) -> dict[str, str] | ... function _clean_url_path_part (line 115) | def _clean_url_path_part(part: str) -> str: function _clean_file_url_path (line 123) | def _clean_file_url_path(part: str) -> str: function _clean_url_path (line 144) | def _clean_url_path(path: str, is_local_path: bool) -> str: function _ensure_quoted_url (line 166) | def _ensure_quoted_url(url: str) -> str: function _absolute_link_url (line 185) | def _absolute_link_url(base_url: str, url: str) -> str: class Link (line 197) | class Link: method __init__ (line 214) | def __init__( method from_json (line 283) | def from_json( method from_element (line 340) | def from_element( method __str__ (line 391) | def __str__(self) -> str: method __repr__ (line 401) | def __repr__(self) -> str: method __hash__ (line 404) | def __hash__(self) -> int: method __eq__ (line 407) | def __eq__(self, other: Any) -> bool: method __lt__ (line 412) | def __lt__(self, other: Any) -> bool: method url (line 418) | def url(self) -> str: method redacted_url (line 422) | def redacted_url(self) -> str: method filename (line 426) | def filename(self) -> str: method file_path (line 440) | def file_path(self) -> str: method scheme (line 444) | def scheme(self) -> str: method netloc (line 448) | def netloc(self) -> str: method path (line 455) | def path(self) -> str: method splitext (line 458) | def splitext(self) -> tuple[str, str]: method ext (line 462) | def ext(self) -> str: method url_without_fragment (line 466) | def url_without_fragment(self) -> str: method _egg_fragment (line 477) | def _egg_fragment(self) -> str | None: method subdirectory_fragment (line 493) | def subdirectory_fragment(self) -> str | None: method metadata_link (line 499) | def metadata_link(self) -> Link | None: method as_hashes (line 508) | def as_hashes(self) -> Hashes: method hash (line 512) | def hash(self) -> str | None: method hash_name (line 516) | def hash_name(self) -> str | None: method show_url (line 520) | def show_url(self) -> str: method is_file (line 524) | def is_file(self) -> bool: method is_existing_dir (line 527) | def is_existing_dir(self) -> bool: method is_wheel (line 531) | def is_wheel(self) -> bool: method is_vcs (line 535) | def is_vcs(self) -> bool: method is_yanked (line 541) | def is_yanked(self) -> bool: method has_hash (line 545) | def has_hash(self) -> bool: method is_hash_allowed (line 548) | def is_hash_allowed(self, hashes: Hashes | None) -> bool: class _CleanResult (line 557) | class _CleanResult(NamedTuple): function _clean_link (line 589) | def _clean_link(link: Link) -> _CleanResult: function links_equivalent (line 616) | def links_equivalent(link1: Link, link2: Link) -> bool: FILE: src/pip/_internal/models/release_control.py class ReleaseControl (line 12) | class ReleaseControl: method handle_mutual_excludes (line 21) | def handle_mutual_excludes( method get_ordered_args (line 60) | def get_ordered_args(self) -> list[tuple[str, str]]: method allows_prereleases (line 75) | def allows_prereleases(self, canonical_name: NormalizedName) -> bool |... FILE: src/pip/_internal/models/scheme.py class Scheme (line 14) | class Scheme: FILE: src/pip/_internal/models/search_scope.py class SearchScope (line 18) | class SearchScope: method create (line 30) | def create( method get_formatted_locations (line 71) | def get_formatted_locations(self) -> str: method get_index_urls_locations (line 106) | def get_index_urls_locations(self, project_name: str) -> list[str]: FILE: src/pip/_internal/models/selection_prefs.py class SelectionPreferences (line 9) | class SelectionPreferences: method __init__ (line 27) | def __init__( FILE: src/pip/_internal/models/target_python.py class TargetPython (line 11) | class TargetPython: method __init__ (line 28) | def __init__( method format_given (line 69) | def format_given(self) -> str: method get_sorted_tags (line 89) | def get_sorted_tags(self) -> list[Tag]: method get_unsorted_tags (line 114) | def get_unsorted_tags(self) -> set[Tag]: FILE: src/pip/_internal/models/wheel.py class Wheel (line 18) | class Wheel: method __init__ (line 21) | def __init__(self, filename: str) -> None: method get_formatted_file_tags (line 32) | def get_formatted_file_tags(self) -> list[str]: method support_index_min (line 36) | def support_index_min(self, tags: list[Tag]) -> int: method find_most_preferred_tag (line 54) | def find_most_preferred_tag( method supported (line 75) | def supported(self, tags: Iterable[Tag]) -> bool: FILE: src/pip/_internal/network/auth.py class Credentials (line 44) | class Credentials(NamedTuple): class KeyRingBaseProvider (line 50) | class KeyRingBaseProvider(ABC): method get_auth_info (line 56) | def get_auth_info(self, url: str, username: str | None) -> AuthInfo | ... method save_auth_info (line 59) | def save_auth_info(self, url: str, username: str, password: str) -> No... class KeyRingNullProvider (line 62) | class KeyRingNullProvider(KeyRingBaseProvider): method get_auth_info (line 67) | def get_auth_info(self, url: str, username: str | None) -> AuthInfo | ... method save_auth_info (line 70) | def save_auth_info(self, url: str, username: str, password: str) -> None: class KeyRingPythonProvider (line 74) | class KeyRingPythonProvider(KeyRingBaseProvider): method __init__ (line 79) | def __init__(self) -> None: method get_auth_info (line 84) | def get_auth_info(self, url: str, username: str | None) -> AuthInfo | ... method save_auth_info (line 102) | def save_auth_info(self, url: str, username: str, password: str) -> None: class KeyRingCliProvider (line 106) | class KeyRingCliProvider(KeyRingBaseProvider): method __init__ (line 117) | def __init__(self, cmd: str) -> None: method get_auth_info (line 120) | def get_auth_info(self, url: str, username: str | None) -> AuthInfo | ... method save_auth_info (line 129) | def save_auth_info(self, url: str, username: str, password: str) -> None: method _get_password (line 132) | def _get_password(self, service_name: str, username: str) -> str | None: method _set_password (line 150) | def _set_password(self, service_name: str, username: str, password: st... function get_keyring_provider (line 166) | def get_keyring_provider(provider: str) -> KeyRingBaseProvider: class MultiDomainBasicAuth (line 227) | class MultiDomainBasicAuth(AuthBase): method __init__ (line 228) | def __init__( method keyring_provider (line 246) | def keyring_provider(self) -> KeyRingBaseProvider: method keyring_provider (line 250) | def keyring_provider(self, provider: str) -> None: method use_keyring (line 258) | def use_keyring(self) -> bool: method _get_keyring_auth (line 264) | def _get_keyring_auth( method _get_index_url (line 290) | def _get_index_url(self, url: str) -> str | None: method _get_new_credentials (line 338) | def _get_new_credentials( method _get_url_and_credentials (line 395) | def _get_url_and_credentials( method __call__ (line 443) | def __call__(self, req: PreparedRequest) -> PreparedRequest: method _prompt_for_password (line 461) | def _prompt_for_password(self, netloc: str) -> tuple[str | None, str |... method _should_save_password_to_keyring (line 473) | def _should_save_password_to_keyring(self) -> bool: method handle_401 (line 482) | def handle_401(self, resp: Response, **kwargs: Any) -> Response: method warn_on_401 (line 545) | def warn_on_401(self, resp: Response, **kwargs: Any) -> None: method save_credentials (line 553) | def save_credentials(self, resp: Response, **kwargs: Any) -> None: FILE: src/pip/_internal/network/cache.py function is_from_cache (line 24) | def is_from_cache(response: Response) -> bool: function suppressed_cache_errors (line 29) | def suppressed_cache_errors() -> Generator[None, None, None]: class SafeFileCache (line 39) | class SafeFileCache(SeparateBodyBaseCache): method __init__ (line 57) | def __init__(self, directory: str) -> None: method _get_cache_path (line 62) | def _get_cache_path(self, name: str) -> str: method get (line 70) | def get(self, key: str) -> bytes | None: method _write_to_file (line 80) | def _write_to_file(self, path: str, writer_func: Callable[[BinaryIO], ... method _write (line 93) | def _write(self, path: str, data: bytes) -> None: method _write_from_io (line 96) | def _write_from_io(self, path: str, source_file: BinaryIO) -> None: method set (line 99) | def set( method delete (line 105) | def delete(self, key: str) -> None: method get_body (line 112) | def get_body(self, key: str) -> BinaryIO | None: method set_body (line 121) | def set_body(self, key: str, body: bytes) -> None: method set_body_from_io (line 125) | def set_body_from_io(self, key: str, body_file: BinaryIO) -> None: FILE: src/pip/_internal/network/download.py function _get_http_response_size (line 32) | def _get_http_response_size(resp: Response) -> int | None: function _get_http_response_etag_or_last_modified (line 39) | def _get_http_response_etag_or_last_modified(resp: Response) -> str | None: function _log_download (line 47) | def _log_download( function sanitize_content_filename (line 98) | def sanitize_content_filename(filename: str) -> str: function parse_content_disposition (line 105) | def parse_content_disposition(content_disposition: str, default_filename... function _get_http_response_filename (line 120) | def _get_http_response_filename(resp: Response, link: Link) -> str: class _FileDownload (line 142) | class _FileDownload: method is_incomplete (line 151) | def is_incomplete(self) -> bool: method write_chunk (line 154) | def write_chunk(self, data: bytes) -> None: method reset_file (line 158) | def reset_file(self) -> None: class Downloader (line 165) | class Downloader: method __init__ (line 166) | def __init__( method batch (line 178) | def batch( method __call__ (line 186) | def __call__(self, link: Link, location: str) -> tuple[str, str]: method _process_response (line 201) | def _process_response(self, download: _FileDownload, resp: Response) -... method _attempt_resumes_or_redownloads (line 220) | def _attempt_resumes_or_redownloads( method _cache_resumed_download (line 260) | def _cache_resumed_download( method _http_get_resume (line 316) | def _http_get_resume( method _http_get (line 330) | def _http_get(self, link: Link, headers: Mapping[str, str] = HEADERS) ... FILE: src/pip/_internal/network/lazy_wheel.py class HTTPRangeRequestUnsupported (line 22) | class HTTPRangeRequestUnsupported(Exception): function dist_from_wheel_url (line 26) | def dist_from_wheel_url( class LazyZipOverHTTP (line 45) | class LazyZipOverHTTP: method __init__ (line 54) | def __init__( method mode (line 71) | def mode(self) -> str: method name (line 76) | def name(self) -> str: method seekable (line 80) | def seekable(self) -> bool: method close (line 84) | def close(self) -> None: method closed (line 89) | def closed(self) -> bool: method read (line 93) | def read(self, size: int = -1) -> bytes: method readable (line 107) | def readable(self) -> bool: method seek (line 111) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 121) | def tell(self) -> int: method truncate (line 125) | def truncate(self, size: int | None = None) -> int: method writable (line 135) | def writable(self) -> bool: method __enter__ (line 139) | def __enter__(self) -> LazyZipOverHTTP: method __exit__ (line 143) | def __exit__(self, *exc: Any) -> None: method _stay (line 147) | def _stay(self) -> Generator[None, None, None]: method _check_zip (line 158) | def _check_zip(self) -> None: method _stream_response (line 173) | def _stream_response( method _merge (line 183) | def _merge( method _download (line 205) | def _download(self, start: int, end: int) -> None: FILE: src/pip/_internal/network/session.py function looks_like_ci (line 98) | def looks_like_ci() -> bool: function user_agent (line 109) | def user_agent() -> str: class LocalFSAdapter (line 210) | class LocalFSAdapter(BaseAdapter): method send (line 211) | def send( method close (line 251) | def close(self) -> None: class _SSLContextAdapterMixin (line 255) | class _SSLContextAdapterMixin: method __init__ (line 263) | def __init__( method init_poolmanager (line 272) | def init_poolmanager( method proxy_manager_for (line 288) | def proxy_manager_for(self, proxy: str, **proxy_kwargs: Any) -> ProxyM... class HTTPAdapter (line 296) | class HTTPAdapter(_SSLContextAdapterMixin, _BaseHTTPAdapter): class CacheControlAdapter (line 300) | class CacheControlAdapter(_SSLContextAdapterMixin, _BaseCacheControlAdap... class InsecureHTTPAdapter (line 304) | class InsecureHTTPAdapter(HTTPAdapter): method cert_verify (line 305) | def cert_verify( class InsecureCacheControlAdapter (line 315) | class InsecureCacheControlAdapter(CacheControlAdapter): method cert_verify (line 316) | def cert_verify( class PipSession (line 326) | class PipSession(requests.Session): method __init__ (line 329) | def __init__( method update_index_urls (line 413) | def update_index_urls(self, new_index_urls: list[str]) -> None: method add_trusted_host (line 420) | def add_trusted_host( method iter_secure_origins (line 453) | def iter_secure_origins(self) -> Generator[SecureOrigin, None, None]: method is_secure_origin (line 458) | def is_secure_origin(self, location: Link) -> bool: method request (line 525) | def request(self, method: str, url: str, *args: Any, **kwargs: Any) ->... FILE: src/pip/_internal/network/utils.py function raise_for_status (line 31) | def raise_for_status(resp: Response) -> None: function response_chunks (line 59) | def response_chunks( FILE: src/pip/_internal/network/xmlrpc.py class PipXmlrpcTransport (line 20) | class PipXmlrpcTransport(xmlrpc.client.Transport): method __init__ (line 25) | def __init__( method request (line 33) | def request( FILE: src/pip/_internal/operations/build/build_tracker.py function update_env_context_manager (line 17) | def update_env_context_manager(**changes: str) -> Generator[None, None, ... function get_build_tracker (line 43) | def get_build_tracker() -> Generator[BuildTracker, None, None]: class TrackerId (line 55) | class TrackerId(str): class BuildTracker (line 59) | class BuildTracker: method __init__ (line 68) | def __init__(self, root: str) -> None: method __enter__ (line 73) | def __enter__(self) -> BuildTracker: method __exit__ (line 77) | def __exit__( method _entry_path (line 85) | def _entry_path(self, key: TrackerId) -> str: method add (line 89) | def add(self, req: InstallRequirement, key: TrackerId) -> None: method remove (line 116) | def remove(self, req: InstallRequirement, key: TrackerId) -> None: method cleanup (line 125) | def cleanup(self) -> None: method track (line 132) | def track(self, req: InstallRequirement, key: str) -> Generator[None, ... FILE: src/pip/_internal/operations/build/metadata.py function generate_metadata (line 16) | def generate_metadata( FILE: src/pip/_internal/operations/build/metadata_editable.py function generate_editable_metadata (line 16) | def generate_editable_metadata( FILE: src/pip/_internal/operations/build/wheel.py function build_wheel_pep517 (line 13) | def build_wheel_pep517( FILE: src/pip/_internal/operations/build/wheel_editable.py function build_wheel_editable (line 13) | def build_wheel_editable( FILE: src/pip/_internal/operations/check.py class PackageDetails (line 28) | class PackageDetails(NamedTuple): function create_package_set_from_installed (line 44) | def create_package_set_from_installed() -> tuple[PackageSet, bool]: function check_package_set (line 61) | def check_package_set( function check_install_conflicts (line 106) | def check_install_conflicts(to_install: list[InstallRequirement]) -> Con... function check_unsupported (line 126) | def check_unsupported( function _simulate_installation_of (line 142) | def _simulate_installation_of( function _create_whitelist (line 161) | def _create_whitelist( FILE: src/pip/_internal/operations/freeze.py class _EditableInfo (line 25) | class _EditableInfo(NamedTuple): function freeze (line 30) | def freeze( function _format_as_name_version (line 151) | def _format_as_name_version(dist: BaseDistribution) -> str: function _get_editable_info (line 161) | def _get_editable_info(dist: BaseDistribution) -> _EditableInfo: class FrozenRequirement (line 228) | class FrozenRequirement: method canonical_name (line 235) | def canonical_name(self) -> NormalizedName: method from_dist (line 239) | def from_dist(cls, dist: BaseDistribution) -> FrozenRequirement: method __str__ (line 255) | def __str__(self) -> str: FILE: src/pip/_internal/operations/install/wheel.py class File (line 57) | class File(Protocol): method save (line 62) | def save(self) -> None: function rehash (line 72) | def rehash(path: str, blocksize: int = 1 << 20) -> tuple[str, str]: function csv_io_kwargs (line 79) | def csv_io_kwargs(mode: str) -> dict[str, Any]: function fix_script (line 86) | def fix_script(path: str) -> bool: function wheel_root_is_purelib (line 106) | def wheel_root_is_purelib(metadata: Message) -> bool: function get_entrypoints (line 110) | def get_entrypoints(dist: BaseDistribution) -> tuple[dict[str, str], dic... function message_about_scripts_not_on_PATH (line 121) | def message_about_scripts_not_on_PATH(scripts: Sequence[str]) -> str | N... function _normalized_outrows (line 193) | def _normalized_outrows( function _record_to_fs_path (line 219) | def _record_to_fs_path(record_path: RecordPath, lib_dir: str) -> str: function _fs_to_record_path (line 223) | def _fs_to_record_path(path: str, lib_dir: str) -> RecordPath: function get_csv_rows_for_installed (line 233) | def get_csv_rows_for_installed( function get_console_script_specs (line 265) | def get_console_script_specs(console: dict[str, str]) -> list[str]: class ZipBackedFile (line 340) | class ZipBackedFile: method __init__ (line 341) | def __init__( method _getinfo (line 349) | def _getinfo(self) -> ZipInfo: method save (line 352) | def save(self) -> None: class ScriptFile (line 378) | class ScriptFile: method __init__ (line 379) | def __init__(self, file: File) -> None: method save (line 385) | def save(self) -> None: class MissingCallableSuffix (line 390) | class MissingCallableSuffix(InstallationError): method __init__ (line 391) | def __init__(self, entry_point: str) -> None: function _raise_for_invalid_entrypoint (line 400) | def _raise_for_invalid_entrypoint(specification: str) -> None: class PipScriptMaker (line 406) | class PipScriptMaker(ScriptMaker): method make (line 419) | def make( function _install_wheel (line 426) | def _install_wheel( # noqa: C901, PLR0915 function is too long function req_error_context (line 716) | def req_error_context(req_description: str) -> Generator[None, None, None]: function install_wheel (line 724) | def install_wheel( FILE: src/pip/_internal/operations/prepare.py function _get_prepared_distribution (line 65) | def _get_prepared_distribution( function unpack_vcs_link (line 83) | def unpack_vcs_link(link: Link, location: str, verbosity: int) -> None: class File (line 90) | class File: method __post_init__ (line 94) | def __post_init__(self) -> None: function get_http_url (line 104) | def get_http_url( function get_file_url (line 128) | def get_file_url( function unpack_url (line 152) | def unpack_url( function _check_download_dir (line 195) | def _check_download_dir( class RequirementPreparer (line 225) | class RequirementPreparer: method __init__ (line 228) | def __init__( method _log_preparing_link (line 288) | def _log_preparing_link(self, req: InstallRequirement) -> None: method _ensure_link_req_src_dir (line 315) | def _ensure_link_req_src_dir( method _get_linked_req_hashes (line 338) | def _get_linked_req_hashes(self, req: InstallRequirement) -> Hashes: method _fetch_metadata_only (line 370) | def _fetch_metadata_only( method _fetch_metadata_using_link_data_attr (line 389) | def _fetch_metadata_using_link_data_attr( method _fetch_metadata_using_lazy_wheel (line 430) | def _fetch_metadata_using_lazy_wheel( method _complete_partial_requirements (line 459) | def _complete_partial_requirements( method prepare_linked_requirement (line 500) | def prepare_linked_requirement( method prepare_linked_requirements_more (line 544) | def prepare_linked_requirements_more( method _prepare_linked_requirement (line 574) | def _prepare_linked_requirement( method save_linked_requirement (line 666) | def save_linked_requirement(self, req: InstallRequirement) -> None: method prepare_editable_requirement (line 692) | def prepare_editable_requirement( method prepare_installed_requirement (line 725) | def prepare_installed_requirement( FILE: src/pip/_internal/pyproject.py function _is_list_of_str (line 18) | def _is_list_of_str(obj: Any) -> bool: function make_pyproject_path (line 22) | def make_pyproject_path(unpacked_source_directory: str) -> str: function load_pyproject_toml (line 31) | def load_pyproject_toml( FILE: src/pip/_internal/req/__init__.py class InstallationResult (line 26) | class InstallationResult: function _validate_requirements (line 30) | def _validate_requirements( function install_given_reqs (line 38) | def install_given_reqs( FILE: src/pip/_internal/req/constructors.py function _strip_extras (line 48) | def _strip_extras(path: str) -> tuple[str, str | None]: function convert_extras (line 60) | def convert_extras(extras: str | None) -> set[str]: function _set_requirement_extras (line 66) | def _set_requirement_extras(req: Requirement, new_extras: set[str]) -> R... function _parse_direct_url_editable (line 91) | def _parse_direct_url_editable(editable_req: str) -> tuple[str | None, s... function _parse_pip_syntax_editable (line 109) | def _parse_pip_syntax_editable(editable_req: str) -> tuple[str | None, s... function parse_editable (line 138) | def parse_editable(editable_req: str) -> tuple[str | None, str, set[str]]: function check_first_requirement_in_file (line 172) | def check_first_requirement_in_file(filename: str) -> None: function deduce_helpful_msg (line 200) | def deduce_helpful_msg(req: str) -> str: class RequirementParts (line 226) | class RequirementParts: function parse_req_from_editable (line 233) | def parse_req_from_editable(editable_req: str) -> RequirementParts: function install_req_from_editable (line 252) | def install_req_from_editable( function _looks_like_path (line 282) | def _looks_like_path(name: str) -> bool: function _get_url_from_path (line 301) | def _get_url_from_path(path: str, name: str) -> str | None: function parse_req_from_line (line 335) | def parse_req_from_line(name: str, line_source: str | None) -> Requireme... function install_req_from_line (line 414) | def install_req_from_line( function install_req_from_req_string (line 447) | def install_req_from_req_string( function install_req_from_parsed_requirement (line 483) | def install_req_from_parsed_requirement( function install_req_from_link_and_ireq (line 515) | def install_req_from_link_and_ireq( function install_req_drop_extras (line 531) | def install_req_drop_extras(ireq: InstallRequirement) -> InstallRequirem... function install_req_extend_extras (line 555) | def install_req_extend_extras( FILE: src/pip/_internal/req/pep723.py class PEP723Exception (line 9) | class PEP723Exception(ValueError): method __init__ (line 12) | def __init__(self, msg: str) -> None: function pep723_metadata (line 16) | def pep723_metadata(scriptfile: str) -> dict[str, Any]: FILE: src/pip/_internal/req/req_dependency_group.py function parse_dependency_groups (line 10) | def parse_dependency_groups(groups: list[tuple[str, str]]) -> list[str]: function _resolve_all_groups (line 20) | def _resolve_all_groups( function _build_resolvers (line 38) | def _build_resolvers(paths: Iterable[str]) -> dict[str, Any]: function _load_pyproject (line 61) | def _load_pyproject(path: str) -> dict[str, Any]: FILE: src/pip/_internal/req/req_file.py class ParsedRequirement (line 105) | class ParsedRequirement: class ParsedLine (line 125) | class ParsedLine: method is_editable (line 135) | def is_editable(self) -> bool: method requirement (line 139) | def requirement(self) -> str | None: function parse_requirements (line 148) | def parse_requirements( function preprocess (line 175) | def preprocess(content: str) -> ReqFileLines: function handle_requirement_line (line 187) | def handle_requirement_line( function handle_option_line (line 221) | def handle_option_line( function handle_line (line 299) | def handle_line( class RequirementsFileParser (line 343) | class RequirementsFileParser: method __init__ (line 344) | def __init__( method parse (line 352) | def parse( method _parse_and_recurse (line 360) | def _parse_and_recurse( method _parse_file (line 412) | def _parse_file( function get_line_parser (line 436) | def get_line_parser(finder: PackageFinder | None) -> LineParser: function break_args_options (line 461) | def break_args_options(line: str) -> tuple[str, str]: class OptionParsingError (line 478) | class OptionParsingError(Exception): method __init__ (line 479) | def __init__(self, msg: str) -> None: function build_parser (line 483) | def build_parser() -> optparse.OptionParser: function join_lines (line 506) | def join_lines(lines_enum: ReqFileLines) -> ReqFileLines: function ignore_comments (line 537) | def ignore_comments(lines_enum: ReqFileLines) -> ReqFileLines: function expand_env_variables (line 548) | def expand_env_variables(lines_enum: ReqFileLines) -> ReqFileLines: function get_file_content (line 575) | def get_file_content( function _decode_req_file (line 608) | def _decode_req_file(data: bytes, url: str) -> str: FILE: src/pip/_internal/req/req_install.py class InstallRequirement (line 62) | class InstallRequirement: method __init__ (line 69) | def __init__( method __str__ (line 181) | def __str__(self) -> str: method __repr__ (line 205) | def __repr__(self) -> str: method format_debug (line 211) | def format_debug(self) -> str: method name (line 224) | def name(self) -> str | None: method supports_pyproject_editable (line 230) | def supports_pyproject_editable(self) -> bool: method specifier (line 240) | def specifier(self) -> SpecifierSet: method is_direct (line 245) | def is_direct(self) -> bool: method is_pinned (line 250) | def is_pinned(self) -> bool: method match_markers (line 259) | def match_markers(self, extras_requested: Iterable[str] | None = None)... method has_hash_options (line 272) | def has_hash_options(self) -> bool: method hashes (line 281) | def hashes(self, trust_internet: bool = True) -> Hashes: method from_path (line 308) | def from_path(self) -> str | None: method ensure_build_location (line 323) | def ensure_build_location( method _set_requirement (line 366) | def _set_requirement(self) -> None: method warn_on_mismatching_name (line 388) | def warn_on_mismatching_name(self) -> None: method check_if_exists (line 406) | def check_if_exists(self, use_user_site: bool) -> None: method is_wheel (line 445) | def is_wheel(self) -> bool: method is_wheel_from_cache (line 451) | def is_wheel_from_cache(self) -> bool: method unpacked_source_directory (line 458) | def unpacked_source_directory(self) -> str: method setup_py_path (line 465) | def setup_py_path(self) -> str: method pyproject_toml_path (line 472) | def pyproject_toml_path(self) -> str: method load_pyproject_toml (line 476) | def load_pyproject_toml(self) -> None: method editable_sanity_check (line 496) | def editable_sanity_check(self) -> None: method prepare_metadata (line 509) | def prepare_metadata(self) -> None: method metadata (line 545) | def metadata(self) -> Any: method set_dist (line 551) | def set_dist(self, distribution: BaseDistribution) -> None: method get_dist (line 554) | def get_dist(self) -> BaseDistribution: method assert_source_matches_version (line 570) | def assert_source_matches_version(self) -> None: method ensure_has_source_dir (line 588) | def ensure_has_source_dir( method needs_unpacked_archive (line 610) | def needs_unpacked_archive(self, archive_source: Path) -> None: method ensure_pristine_source_checkout (line 614) | def ensure_pristine_source_checkout(self) -> None: method update_editable (line 632) | def update_editable(self) -> None: method uninstall (line 652) | def uninstall( method _get_archive_name (line 678) | def _get_archive_name(self, path: str, parentdir: str, rootdir: str) -... method archive (line 692) | def archive(self, build_dir: str | None) -> None: method install (line 759) | def install( function check_invalid_constraint_type (line 794) | def check_invalid_constraint_type(req: InstallRequirement) -> str: function _has_option (line 822) | def _has_option(options: Values, reqs: list[InstallRequirement], option:... FILE: src/pip/_internal/req/req_set.py class RequirementSet (line 11) | class RequirementSet: method __init__ (line 12) | def __init__(self, check_supported_wheels: bool = True) -> None: method __str__ (line 20) | def __str__(self) -> str: method __repr__ (line 27) | def __repr__(self) -> str: method add_unnamed_requirement (line 40) | def add_unnamed_requirement(self, install_req: InstallRequirement) -> ... method add_named_requirement (line 44) | def add_named_requirement(self, install_req: InstallRequirement) -> None: method has_requirement (line 50) | def has_requirement(self, name: str) -> bool: method get_requirement (line 58) | def get_requirement(self, name: str) -> InstallRequirement: method all_requirements (line 67) | def all_requirements(self) -> list[InstallRequirement]: method requirements_to_install (line 71) | def requirements_to_install(self) -> list[InstallRequirement]: FILE: src/pip/_internal/req/req_uninstall.py function _script_names (line 24) | def _script_names( function _unique (line 43) | def _unique( function uninstallation_paths (line 58) | def uninstallation_paths(dist: BaseDistribution) -> Generator[str, None,... function compact (line 91) | def compact(paths: Iterable[str]) -> set[str]: function compress_for_rename (line 110) | def compress_for_rename(paths: Iterable[str]) -> set[str]: function compress_for_output_listing (line 144) | def compress_for_output_listing(paths: Iterable[str]) -> tuple[set[str],... class StashedUninstallPathSet (line 193) | class StashedUninstallPathSet: method __init__ (line 197) | def __init__(self) -> None: method _get_directory_stash (line 205) | def _get_directory_stash(self, path: str) -> str: method _get_file_stash (line 219) | def _get_file_stash(self, path: str) -> str: method stash (line 246) | def stash(self, path: str) -> str: method commit (line 267) | def commit(self) -> None: method rollback (line 274) | def rollback(self) -> None: method can_rollback (line 294) | def can_rollback(self) -> bool: class UninstallPathSet (line 298) | class UninstallPathSet: method __init__ (line 302) | def __init__(self, dist: BaseDistribution) -> None: method _permitted (line 313) | def _permitted(self, path: str) -> bool: method add (line 324) | def add(self, path: str) -> None: method add_pth (line 343) | def add_pth(self, pth_file: str, entry: str) -> None: method remove (line 352) | def remove(self, auto_confirm: bool = False, verbose: bool = False) ->... method _allowed_to_proceed (line 381) | def _allowed_to_proceed(self, verbose: bool) -> bool: method rollback (line 409) | def rollback(self) -> None: method commit (line 422) | def commit(self) -> None: method from_dist (line 427) | def from_dist(cls, dist: BaseDistribution) -> UninstallPathSet: class UninstallPthEntries (line 584) | class UninstallPthEntries: method __init__ (line 585) | def __init__(self, pth_file: str) -> None: method add (line 590) | def add(self, entry: str) -> None: method remove (line 605) | def remove(self) -> None: method rollback (line 632) | def rollback(self) -> bool: FILE: src/pip/_internal/resolution/base.py class BaseResolver (line 11) | class BaseResolver: method resolve (line 12) | def resolve( method get_installation_order (line 17) | def get_installation_order( FILE: src/pip/_internal/resolution/legacy/resolver.py function _check_dist_requires_python (line 58) | def _check_dist_requires_python( class Resolver (line 112) | class Resolver(BaseResolver): method __init__ (line 119) | def __init__( method resolve (line 157) | def resolve( method _add_requirement_to_set (line 194) | def _add_requirement_to_set( method _is_upgrade_allowed (line 309) | def _is_upgrade_allowed(self, req: InstallRequirement) -> bool: method _set_req_to_reinstall (line 318) | def _set_req_to_reinstall(self, req: InstallRequirement) -> None: method _check_skip_installed (line 329) | def _check_skip_installed(self, req_to_install: InstallRequirement) ->... method _find_requirement_link (line 381) | def _find_requirement_link(self, req: InstallRequirement) -> Link | None: method _populate_link (line 403) | def _populate_link(self, req: InstallRequirement) -> None: method _get_dist_for (line 442) | def _get_dist_for(self, req: InstallRequirement) -> BaseDistribution: method _resolve_one (line 488) | def _resolve_one( method get_installation_order (line 571) | def get_installation_order( FILE: src/pip/_internal/resolution/resolvelib/base.py function format_name (line 18) | def format_name(project: NormalizedName, extras: frozenset[NormalizedNam... class Constraint (line 26) | class Constraint: method empty (line 32) | def empty(cls) -> Constraint: method from_ireq (line 36) | def from_ireq(cls, ireq: InstallRequirement) -> Constraint: method __bool__ (line 40) | def __bool__(self) -> bool: method __and__ (line 43) | def __and__(self, other: InstallRequirement) -> Constraint: method is_satisfied_by (line 53) | def is_satisfied_by(self, candidate: Candidate) -> bool: class Requirement (line 63) | class Requirement: method project_name (line 65) | def project_name(self) -> NormalizedName: method name (line 75) | def name(self) -> str: method is_satisfied_by (line 83) | def is_satisfied_by(self, candidate: Candidate) -> bool: method get_candidate_lookup (line 86) | def get_candidate_lookup(self) -> CandidateLookup: method format_for_error (line 89) | def format_for_error(self) -> str: function _match_link (line 93) | def _match_link(link: Link, candidate: Candidate) -> bool: class Candidate (line 99) | class Candidate: method project_name (line 101) | def project_name(self) -> NormalizedName: method name (line 111) | def name(self) -> str: method version (line 120) | def version(self) -> Version: method is_installed (line 124) | def is_installed(self) -> bool: method is_editable (line 128) | def is_editable(self) -> bool: method source_link (line 132) | def source_link(self) -> Link | None: method iter_dependencies (line 135) | def iter_dependencies(self, with_requires: bool) -> Iterable[Requireme... method get_install_requirement (line 138) | def get_install_requirement(self) -> InstallRequirement | None: method format_for_error (line 141) | def format_for_error(self) -> str: FILE: src/pip/_internal/resolution/resolvelib/candidates.py function as_base_candidate (line 48) | def as_base_candidate(candidate: Candidate) -> BaseCandidate | None: function make_install_req_from_link (line 60) | def make_install_req_from_link( function make_install_req_from_editable (line 83) | def make_install_req_from_editable( function _make_install_req_from_dist (line 105) | def _make_install_req_from_dist( class _InstallRequirementBackedCandidate (line 127) | class _InstallRequirementBackedCandidate(Candidate): method __init__ (line 146) | def __init__( method __str__ (line 164) | def __str__(self) -> str: method __repr__ (line 167) | def __repr__(self) -> str: method __hash__ (line 170) | def __hash__(self) -> int: method __eq__ (line 177) | def __eq__(self, other: Any) -> bool: method source_link (line 183) | def source_link(self) -> Link | None: method project_name (line 187) | def project_name(self) -> NormalizedName: method name (line 194) | def name(self) -> str: method version (line 198) | def version(self) -> Version: method format_for_error (line 203) | def format_for_error(self) -> str: method _prepare_distribution (line 209) | def _prepare_distribution(self) -> BaseDistribution: method _check_metadata_consistency (line 212) | def _check_metadata_consistency(self, dist: BaseDistribution) -> None: method _prepare (line 236) | def _prepare(self) -> BaseDistribution: method iter_dependencies (line 263) | def iter_dependencies(self, with_requires: bool) -> Iterable[Requireme... method get_install_requirement (line 271) | def get_install_requirement(self) -> InstallRequirement | None: class LinkCandidate (line 275) | class LinkCandidate(_InstallRequirementBackedCandidate): method __init__ (line 278) | def __init__( method _prepare_distribution (line 327) | def _prepare_distribution(self) -> BaseDistribution: class EditableCandidate (line 332) | class EditableCandidate(_InstallRequirementBackedCandidate): method __init__ (line 335) | def __init__( method _prepare_distribution (line 352) | def _prepare_distribution(self) -> BaseDistribution: class AlreadyInstalledCandidate (line 356) | class AlreadyInstalledCandidate(Candidate): method __init__ (line 360) | def __init__( method __str__ (line 378) | def __str__(self) -> str: method __repr__ (line 381) | def __repr__(self) -> str: method __eq__ (line 384) | def __eq__(self, other: object) -> bool: method __hash__ (line 389) | def __hash__(self) -> int: method project_name (line 393) | def project_name(self) -> NormalizedName: method name (line 397) | def name(self) -> str: method version (line 401) | def version(self) -> Version: method is_editable (line 407) | def is_editable(self) -> bool: method format_for_error (line 410) | def format_for_error(self) -> str: method iter_dependencies (line 413) | def iter_dependencies(self, with_requires: bool) -> Iterable[Requireme... method get_install_requirement (line 423) | def get_install_requirement(self) -> InstallRequirement | None: class ExtrasCandidate (line 427) | class ExtrasCandidate(Candidate): method __init__ (line 452) | def __init__( method __str__ (line 471) | def __str__(self) -> str: method __repr__ (line 475) | def __repr__(self) -> str: method __hash__ (line 478) | def __hash__(self) -> int: method __eq__ (line 481) | def __eq__(self, other: Any) -> bool: method project_name (line 487) | def project_name(self) -> NormalizedName: method name (line 491) | def name(self) -> str: method version (line 496) | def version(self) -> Version: method format_for_error (line 499) | def format_for_error(self) -> str: method is_installed (line 505) | def is_installed(self) -> bool: method is_editable (line 509) | def is_editable(self) -> bool: method source_link (line 513) | def source_link(self) -> Link | None: method iter_dependencies (line 516) | def iter_dependencies(self, with_requires: bool) -> Iterable[Requireme... method get_install_requirement (line 544) | def get_install_requirement(self) -> InstallRequirement | None: class RequiresPythonCandidate (line 551) | class RequiresPythonCandidate(Candidate): method __init__ (line 555) | def __init__(self, py_version_info: tuple[int, ...] | None) -> None: method __str__ (line 566) | def __str__(self) -> str: method __repr__ (line 569) | def __repr__(self) -> str: method project_name (line 573) | def project_name(self) -> NormalizedName: method name (line 577) | def name(self) -> str: method version (line 581) | def version(self) -> Version: method format_for_error (line 584) | def format_for_error(self) -> str: method iter_dependencies (line 587) | def iter_dependencies(self, with_requires: bool) -> Iterable[Requireme... method get_install_requirement (line 590) | def get_install_requirement(self) -> InstallRequirement | None: FILE: src/pip/_internal/resolution/resolvelib/factory.py class ConflictCause (line 72) | class ConflictCause(Protocol): class CollectedRootRequirements (line 83) | class CollectedRootRequirements(NamedTuple): class Factory (line 89) | class Factory: method __init__ (line 90) | def __init__( method force_reinstall (line 130) | def force_reinstall(self) -> bool: method _fail_if_link_is_unsupported_wheel (line 133) | def _fail_if_link_is_unsupported_wheel(self, link: Link) -> None: method _make_extras_candidate (line 142) | def _make_extras_candidate( method _make_candidate_from_dist (line 157) | def _make_candidate_from_dist( method _make_candidate_from_link (line 172) | def _make_candidate_from_link( method _make_base_candidate_from_link (line 187) | def _make_base_candidate_from_link( method _iter_found_candidates (line 244) | def _iter_found_candidates( method _iter_explicit_candidates_from_base (line 346) | def _iter_explicit_candidates_from_base( method _iter_candidates_from_constraints (line 368) | def _iter_candidates_from_constraints( method find_candidates (line 390) | def find_candidates( method _make_requirements_from_install_req (line 466) | def _make_requirements_from_install_req( method collect_root_requirements (line 519) | def collect_root_requirements( method make_requirement_from_candidate (line 561) | def make_requirement_from_candidate( method make_requirements_from_spec (line 566) | def make_requirements_from_spec( method make_requires_python_requirement (line 584) | def make_requires_python_requirement( method get_wheel_cache_entry (line 595) | def get_wheel_cache_entry(self, link: Link, name: str | None) -> Cache... method get_dist_to_uninstall (line 612) | def get_dist_to_uninstall(self, candidate: Candidate) -> BaseDistribut... method _report_requires_python_error (line 640) | def _report_requires_python_error( method _report_single_requirement_conflict (line 662) | def _report_single_requirement_conflict( method _has_any_candidates (line 725) | def _has_any_candidates(self, project_name: str) -> bool: method get_installation_error (line 740) | def get_installation_error( FILE: src/pip/_internal/resolution/resolvelib/found_candidates.py function _iter_built (line 28) | def _iter_built(infos: Iterator[IndexCandidateInfo]) -> Iterator[Candida... function _iter_built_with_prepended (line 59) | def _iter_built_with_prepended( function _iter_built_with_inserted (line 81) | def _iter_built_with_inserted( class FoundCandidates (line 113) | class FoundCandidates(Sequence[Candidate]): method __init__ (line 122) | def __init__( method __getitem__ (line 135) | def __getitem__(self, index: Any) -> Any: method __iter__ (line 141) | def __iter__(self) -> Iterator[Candidate]: method __len__ (line 151) | def __len__(self) -> int: method __bool__ (line 157) | def __bool__(self) -> bool: FILE: src/pip/_internal/resolution/resolvelib/provider.py function _get_with_identifier (line 53) | def _get_with_identifier( class PipProvider (line 78) | class PipProvider(_ProviderBase): method __init__ (line 89) | def __init__( method constraints (line 104) | def constraints(self) -> dict[str, Constraint]: method identify (line 112) | def identify(self, requirement_or_candidate: Requirement | Candidate) ... method narrow_requirement_selection (line 115) | def narrow_requirement_selection( method get_preference (line 158) | def get_preference( method find_matches (line 235) | def find_matches( method is_satisfied_by (line 279) | def is_satisfied_by(requirement: Requirement, candidate: Candidate) ->... method get_dependencies (line 282) | def get_dependencies(self, candidate: Candidate) -> Iterable[Requireme... FILE: src/pip/_internal/resolution/resolvelib/reporter.py class PipReporter (line 15) | class PipReporter(BaseReporter[Requirement, Candidate, str]): method __init__ (line 16) | def __init__(self, constraints: Mapping[str, Constraint] | None = None... method rejecting_candidate (line 39) | def rejecting_candidate(self, criterion: Any, candidate: Candidate) ->... class PipDebuggingReporter (line 73) | class PipDebuggingReporter(BaseReporter[Requirement, Candidate, str]): method starting (line 76) | def starting(self) -> None: method starting_round (line 79) | def starting_round(self, index: int) -> None: method ending_round (line 82) | def ending_round(self, index: int, state: Any) -> None: method ending (line 86) | def ending(self, state: Any) -> None: method adding_requirement (line 89) | def adding_requirement( method rejecting_candidate (line 94) | def rejecting_candidate(self, criterion: Any, candidate: Candidate) ->... method pinning (line 97) | def pinning(self, candidate: Candidate) -> None: FILE: src/pip/_internal/resolution/resolvelib/requirements.py class ExplicitRequirement (line 14) | class ExplicitRequirement(Requirement): method __init__ (line 15) | def __init__(self, candidate: Candidate) -> None: method __str__ (line 18) | def __str__(self) -> str: method __repr__ (line 21) | def __repr__(self) -> str: method __hash__ (line 24) | def __hash__(self) -> int: method __eq__ (line 27) | def __eq__(self, other: Any) -> bool: method project_name (line 33) | def project_name(self) -> NormalizedName: method name (line 38) | def name(self) -> str: method format_for_error (line 42) | def format_for_error(self) -> str: method get_candidate_lookup (line 45) | def get_candidate_lookup(self) -> CandidateLookup: method is_satisfied_by (line 48) | def is_satisfied_by(self, candidate: Candidate) -> bool: class SpecifierRequirement (line 52) | class SpecifierRequirement(Requirement): method __init__ (line 53) | def __init__(self, ireq: InstallRequirement) -> None: method _equal (line 61) | def _equal(self) -> str: method __str__ (line 68) | def __str__(self) -> str: method __repr__ (line 71) | def __repr__(self) -> str: method __eq__ (line 74) | def __eq__(self, other: object) -> bool: method __hash__ (line 79) | def __hash__(self) -> int: method project_name (line 87) | def project_name(self) -> NormalizedName: method name (line 92) | def name(self) -> str: method format_for_error (line 95) | def format_for_error(self) -> str: method get_candidate_lookup (line 108) | def get_candidate_lookup(self) -> CandidateLookup: method is_satisfied_by (line 111) | def is_satisfied_by(self, candidate: Candidate) -> bool: class SpecifierWithoutExtrasRequirement (line 124) | class SpecifierWithoutExtrasRequirement(SpecifierRequirement): method __init__ (line 130) | def __init__(self, ireq: InstallRequirement) -> None: method _equal (line 138) | def _equal(self) -> str: method __eq__ (line 145) | def __eq__(self, other: object) -> bool: method __hash__ (line 150) | def __hash__(self) -> int: class RequiresPythonRequirement (line 158) | class RequiresPythonRequirement(Requirement): method __init__ (line 161) | def __init__(self, specifier: SpecifierSet, match: Candidate) -> None: method __str__ (line 173) | def __str__(self) -> str: method __repr__ (line 176) | def __repr__(self) -> str: method __hash__ (line 179) | def __hash__(self) -> int: method __eq__ (line 186) | def __eq__(self, other: Any) -> bool: method project_name (line 195) | def project_name(self) -> NormalizedName: method name (line 199) | def name(self) -> str: method format_for_error (line 202) | def format_for_error(self) -> str: method get_candidate_lookup (line 205) | def get_candidate_lookup(self) -> CandidateLookup: method is_satisfied_by (line 208) | def is_satisfied_by(self, candidate: Candidate) -> bool: class UnsatisfiableRequirement (line 216) | class UnsatisfiableRequirement(Requirement): method __init__ (line 219) | def __init__(self, name: NormalizedName) -> None: method __str__ (line 222) | def __str__(self) -> str: method __repr__ (line 225) | def __repr__(self) -> str: method __eq__ (line 228) | def __eq__(self, other: object) -> bool: method __hash__ (line 233) | def __hash__(self) -> int: method project_name (line 237) | def project_name(self) -> NormalizedName: method name (line 241) | def name(self) -> str: method format_for_error (line 244) | def format_for_error(self) -> str: method get_candidate_lookup (line 247) | def get_candidate_lookup(self) -> CandidateLookup: method is_satisfied_by (line 250) | def is_satisfied_by(self, candidate: Candidate) -> bool: FILE: src/pip/_internal/resolution/resolvelib/resolver.py class Resolver (line 41) | class Resolver(BaseResolver): method __init__ (line 44) | def __init__( method resolve (line 76) | def resolve( method get_installation_order (line 186) | def get_installation_order( function get_topological_weights (line 218) | def get_topological_weights( function _req_set_item_sorter (line 321) | def _req_set_item_sorter( FILE: src/pip/_internal/self_outdated_check.py function _get_statefile_name (line 49) | def _get_statefile_name(key: str) -> str: class SelfCheckState (line 55) | class SelfCheckState: method __init__ (line 56) | def __init__(self, cache_dir: str) -> None: method key (line 74) | def key(self) -> str: method get (line 77) | def get(self, current_time: datetime.datetime) -> str | None: method set (line 96) | def set(self, pypi_version: str, current_time: datetime.datetime) -> N... class UpgradePrompt (line 135) | class UpgradePrompt: method __rich__ (line 139) | def __rich__(self) -> Group: function was_installed_by_pip (line 159) | def was_installed_by_pip(pkg: str) -> bool: function _get_current_remote_pip_version (line 169) | def _get_current_remote_pip_version( function _self_version_check_logic (line 197) | def _self_version_check_logic( function pip_self_version_check (line 231) | def pip_self_version_check(session: PipSession, options: optparse.Values... FILE: src/pip/_internal/utils/_jaraco_text.py function _nonblank (line 36) | def _nonblank(str): function yield_lines (line 41) | def yield_lines(iterable): function _ (line 60) | def _(text): function drop_comment (line 64) | def drop_comment(line): function join_continuation (line 79) | def join_continuation(lines): FILE: src/pip/_internal/utils/_log.py class VerboseLogger (line 16) | class VerboseLogger(logging.Logger): method verbose (line 22) | def verbose(self, msg: str, *args: Any, **kwargs: Any) -> None: function getLogger (line 26) | def getLogger(name: str) -> VerboseLogger: function init_logging (line 31) | def init_logging() -> None: FILE: src/pip/_internal/utils/appdirs.py function user_cache_dir (line 15) | def user_cache_dir(appname: str) -> str: function _macos_user_config_dir (line 19) | def _macos_user_config_dir(appname: str, roaming: bool = True) -> str: function user_config_dir (line 33) | def user_config_dir(appname: str, roaming: bool = True) -> str: function site_config_dirs (line 42) | def site_config_dirs(appname: str) -> list[str]: FILE: src/pip/_internal/utils/compat.py function has_tls (line 16) | def has_tls() -> bool: function get_path_uid (line 29) | def get_path_uid(path: str) -> int: function open_text_resource (line 62) | def open_text_resource( FILE: src/pip/_internal/utils/compatibility_tags.py function version_info_to_nodot (line 23) | def version_info_to_nodot(version_info: tuple[int, ...]) -> str: function _mac_platforms (line 28) | def _mac_platforms(arch: str) -> list[str]: function _ios_platforms (line 48) | def _ios_platforms(arch: str) -> list[str]: function _android_platforms (line 68) | def _android_platforms(arch: str) -> list[str]: function _custom_manylinux_platforms (line 78) | def _custom_manylinux_platforms(arch: str) -> list[str]: function _get_custom_platforms (line 99) | def _get_custom_platforms(arch: str) -> list[str]: function _expand_allowed_platforms (line 114) | def _expand_allowed_platforms(platforms: list[str] | None) -> list[str] ... function _get_python_version (line 131) | def _get_python_version(version: str) -> PythonVersion: function _get_custom_interpreter (line 138) | def _get_custom_interpreter( function get_supported (line 148) | def get_supported( FILE: src/pip/_internal/utils/datetime.py function today_is_later_than (line 7) | def today_is_later_than(year: int, month: int, day: int) -> bool: function parse_iso_datetime (line 14) | def parse_iso_datetime(isodate: str) -> datetime.datetime: FILE: src/pip/_internal/utils/deprecation.py class PipDeprecationWarning (line 18) | class PipDeprecationWarning(Warning): function _showwarning (line 26) | def _showwarning( function install_warning_logger (line 46) | def install_warning_logger() -> None: function deprecated (line 57) | def deprecated( FILE: src/pip/_internal/utils/direct_url_helpers.py function direct_url_as_pep440_direct_reference (line 9) | def direct_url_as_pep440_direct_reference(direct_url: DirectUrl, name: s... function direct_url_for_editable (line 32) | def direct_url_for_editable(source_dir: str) -> DirectUrl: function direct_url_from_link (line 39) | def direct_url_from_link( FILE: src/pip/_internal/utils/egg_link.py function _egg_link_names (line 19) | def _egg_link_names(raw_name: str) -> list[str]: function egg_link_path_from_sys_path (line 34) | def egg_link_path_from_sys_path(raw_name: str) -> str | None: function egg_link_path_from_location (line 47) | def egg_link_path_from_location(raw_name: str) -> str | None: FILE: src/pip/_internal/utils/entrypoints.py function _wrapper (line 24) | def _wrapper(args: list[str] | None = None) -> int: function get_best_invocation_for_this_pip (line 47) | def get_best_invocation_for_this_pip() -> str: function get_best_invocation_for_this_python (line 74) | def get_best_invocation_for_this_python() -> str: FILE: src/pip/_internal/utils/filesystem.py function check_path_owner (line 19) | def check_path_owner(path: str) -> bool: function adjacent_tmp_file (line 47) | def adjacent_tmp_file(path: str, **kwargs: Any) -> Generator[BinaryIO, N... function test_writable_dir (line 76) | def test_writable_dir(path: str) -> bool: function _test_writable_dir_win (line 94) | def _test_writable_dir_win(path: str) -> bool: function find_files (line 122) | def find_files(path: str, pattern: str) -> list[str]: function file_size (line 132) | def file_size(path: str) -> int | float: function format_file_size (line 139) | def format_file_size(path: str) -> str: function directory_size (line 143) | def directory_size(path: str) -> int | float: function format_directory_size (line 152) | def format_directory_size(path: str) -> str: function copy_directory_permissions (line 156) | def copy_directory_permissions(directory: str, target_file: BinaryIO) ->... function _subdirs_without_generic (line 168) | def _subdirs_without_generic( function subdirs_without_files (line 194) | def subdirs_without_files(path: str) -> Generator[Path]: function subdirs_without_wheels (line 199) | def subdirs_without_wheels(path: str) -> Generator[Path]: FILE: src/pip/_internal/utils/filetypes.py function is_archive_file (line 19) | def is_archive_file(name: str) -> bool: FILE: src/pip/_internal/utils/glibc.py function glibc_version_string (line 7) | def glibc_version_string() -> str | None: function glibc_version_string_confstr (line 12) | def glibc_version_string_confstr() -> str | None: function glibc_version_string_ctypes (line 32) | def glibc_version_string_ctypes() -> str | None: function libc_ver (line 92) | def libc_ver() -> tuple[str, str]: FILE: src/pip/_internal/utils/hashes.py class Hashes (line 24) | class Hashes: method __init__ (line 30) | def __init__(self, hashes: dict[str, list[str]] | None = None) -> None: method __and__ (line 42) | def __and__(self, other: Hashes) -> Hashes: method digest_count (line 62) | def digest_count(self) -> int: method is_hash_allowed (line 65) | def is_hash_allowed(self, hash_name: str, hex_digest: str) -> bool: method check_against_chunks (line 69) | def check_against_chunks(self, chunks: Iterable[bytes]) -> None: method _raise (line 92) | def _raise(self, gots: dict[str, _Hash]) -> NoReturn: method check_against_file (line 95) | def check_against_file(self, file: BinaryIO) -> None: method check_against_path (line 103) | def check_against_path(self, path: str) -> None: method has_one_of (line 107) | def has_one_of(self, hashes: dict[str, str]) -> bool: method __bool__ (line 114) | def __bool__(self) -> bool: method __eq__ (line 118) | def __eq__(self, other: object) -> bool: method __hash__ (line 123) | def __hash__(self) -> int: class MissingHashes (line 135) | class MissingHashes(Hashes): method __init__ (line 143) | def __init__(self) -> None: method _raise (line 149) | def _raise(self, gots: dict[str, _Hash]) -> NoReturn: FILE: src/pip/_internal/utils/logging.py class BrokenStdoutLoggingError (line 40) | class BrokenStdoutLoggingError(Exception): function _is_broken_pipe_error (line 46) | def _is_broken_pipe_error(exc_class: type[BaseException], exc: BaseExcep... function capture_logging (line 60) | def capture_logging() -> Generator[StringIO, None, None]: function indent_log (line 92) | def indent_log(num: int = 2) -> Generator[None, None, None]: function get_indentation (line 106) | def get_indentation() -> int: class IndentingFormatter (line 110) | class IndentingFormatter(logging.Formatter): method __init__ (line 113) | def __init__( method get_message_start (line 128) | def get_message_start(self, formatted: str, levelno: int) -> str: method format (line 144) | def format(self, record: logging.LogRecord) -> str: class IndentedRenderable (line 162) | class IndentedRenderable: method __rich_console__ (line 166) | def __rich_console__( class PipConsole (line 177) | class PipConsole(Console): method on_broken_pipe (line 178) | def on_broken_pipe(self) -> None: function get_console (line 184) | def get_console(*, stderr: bool = False) -> Console: class RichPipStreamHandler (line 193) | class RichPipStreamHandler(RichHandler): method __init__ (line 196) | def __init__(self, console: Console) -> None: method emit (line 206) | def emit(self, record: logging.LogRecord) -> None: method handleError (line 234) | def handleError(self, record: logging.LogRecord) -> None: class BetterRotatingFileHandler (line 253) | class BetterRotatingFileHandler(logging.handlers.RotatingFileHandler): method _open (line 254) | def _open(self) -> TextIOWrapper: class MaxLevelFilter (line 259) | class MaxLevelFilter(Filter): method __init__ (line 260) | def __init__(self, level: int) -> None: method filter (line 263) | def filter(self, record: logging.LogRecord) -> bool: class ExcludeLoggerFilter (line 267) | class ExcludeLoggerFilter(Filter): method filter (line 272) | def filter(self, record: logging.LogRecord) -> bool: function setup_logging (line 278) | def setup_logging(verbosity: int, no_color: bool, user_log_file: str | N... FILE: src/pip/_internal/utils/misc.py function get_pip_version (line 70) | def get_pip_version() -> str: function normalize_version_info (line 77) | def normalize_version_info(py_version_info: tuple[int, ...]) -> tuple[in... function ensure_dir (line 96) | def ensure_dir(path: str) -> None: function get_prog (line 106) | def get_prog() -> str: function rmtree (line 120) | def rmtree(dir: str, ignore_errors: bool = False, onexc: OnExc | None = ... function _onerror_ignore (line 133) | def _onerror_ignore(*_args: Any) -> None: function _onerror_reraise (line 137) | def _onerror_reraise(*_args: Any) -> None: function rmtree_errorhandler (line 141) | def rmtree_errorhandler( function display_path (line 182) | def display_path(path: str) -> str: function backup_dir (line 193) | def backup_dir(dir: str, ext: str = ".bak") -> str: function ask_path_exists (line 204) | def ask_path_exists(message: str, options: Iterable[str]) -> str: function _check_no_input (line 211) | def _check_no_input(message: str) -> None: function ask (line 219) | def ask(message: str, options: Iterable[str]) -> str: function ask_input (line 234) | def ask_input(message: str) -> str: function ask_password (line 240) | def ask_password(message: str) -> str: function strtobool (line 246) | def strtobool(val: str) -> int: function format_size (line 262) | def format_size(bytes: float) -> str: function tabulate (line 273) | def tabulate(rows: Iterable[Iterable[Any]]) -> tuple[list[str], list[int]]: function is_installable_dir (line 287) | def is_installable_dir(path: str) -> bool: function read_chunks (line 304) | def read_chunks( function normalize_path (line 315) | def normalize_path(path: str, resolve_symlinks: bool = True) -> str: function splitext (line 328) | def splitext(path: str) -> tuple[str, str]: function renames (line 337) | def renames(old: str, new: str) -> None: function is_local (line 354) | def is_local(path: str) -> bool: function write_output (line 368) | def write_output(msg: Any, *args: Any) -> None: class StreamWrapper (line 372) | class StreamWrapper(StringIO): method from_stream (line 376) | def from_stream(cls, orig_stream: TextIO) -> StreamWrapper: method encoding (line 384) | def encoding(self) -> str: # type: ignore function enum (line 389) | def enum(*sequential: Any, **named: Any) -> type[Any]: function build_netloc (line 396) | def build_netloc(host: str, port: int | None) -> str: function build_url_from_netloc (line 408) | def build_url_from_netloc(netloc: str, scheme: str = "https") -> str: function parse_netloc (line 418) | def parse_netloc(netloc: str) -> tuple[str | None, int | None]: function split_auth_from_netloc (line 427) | def split_auth_from_netloc(netloc: str) -> NetlocTuple: function redact_netloc (line 456) | def redact_netloc(netloc: str) -> str: function _transform_url (line 476) | def _transform_url( function _get_netloc (line 496) | def _get_netloc(netloc: str) -> NetlocTuple: function _redact_netloc (line 500) | def _redact_netloc(netloc: str) -> tuple[str]: function split_auth_netloc_from_url (line 504) | def split_auth_netloc_from_url( function remove_auth_from_url (line 516) | def remove_auth_from_url(url: str) -> str: function redact_auth_from_url (line 523) | def redact_auth_from_url(url: str) -> str: function redact_auth_from_requirement (line 528) | def redact_auth_from_requirement(req: Requirement) -> str: class HiddenText (line 536) | class HiddenText: method __repr__ (line 540) | def __repr__(self) -> str: method __str__ (line 543) | def __str__(self) -> str: method __eq__ (line 546) | def __eq__(self, other: object) -> bool: function hide_value (line 560) | def hide_value(value: str) -> HiddenText: function hide_url (line 564) | def hide_url(url: str) -> HiddenText: function protect_pip_from_modification_on_windows (line 569) | def protect_pip_from_modification_on_windows(modifying_pip: bool) -> None: function check_externally_managed (line 595) | def check_externally_managed() -> None: function is_console_interactive (line 610) | def is_console_interactive() -> bool: function hash_file (line 615) | def hash_file(path: str, blocksize: int = 1 << 20) -> tuple[Any, int]: function pairwise (line 627) | def pairwise(iterable: Iterable[Any]) -> Iterator[tuple[Any, Any]]: function partition (line 638) | def partition( class ConfiguredBuildBackendHookCaller (line 651) | class ConfiguredBuildBackendHookCaller(BuildBackendHookCaller): method __init__ (line 652) | def __init__( method build_wheel (line 666) | def build_wheel( method build_sdist (line 677) | def build_sdist( method build_editable (line 685) | def build_editable( method get_requires_for_build_wheel (line 696) | def get_requires_for_build_wheel( method get_requires_for_build_sdist (line 702) | def get_requires_for_build_sdist( method get_requires_for_build_editable (line 708) | def get_requires_for_build_editable( method prepare_metadata_for_build_wheel (line 714) | def prepare_metadata_for_build_wheel( method prepare_metadata_for_build_editable (line 727) | def prepare_metadata_for_build_editable( function warn_if_run_as_root (line 741) | def warn_if_run_as_root() -> None: FILE: src/pip/_internal/utils/packaging.py function check_requires_python (line 13) | def check_requires_python( function get_requirement (line 37) | def get_requirement(req_string: str) -> Requirement: FILE: src/pip/_internal/utils/pylock.py function _pylock_package_from_install_requirement (line 21) | def _pylock_package_from_install_requirement( function pylock_from_install_requirements (line 103) | def pylock_from_install_requirements( FILE: src/pip/_internal/utils/retry.py function retry (line 14) | def retry( FILE: src/pip/_internal/utils/subprocess.py function make_command (line 20) | def make_command(*args: str | HiddenText | CommandArgs) -> CommandArgs: function format_command_args (line 37) | def format_command_args(args: list[str] | CommandArgs) -> str: function reveal_command_args (line 52) | def reveal_command_args(args: list[str] | CommandArgs) -> list[str]: function call_subprocess (line 59) | def call_subprocess( function runner_with_spinner_message (line 227) | def runner_with_spinner_message(message: str) -> Callable[..., None]: FILE: src/pip/_internal/utils/temp_dir.py function global_tempdir_manager (line 38) | def global_tempdir_manager() -> Generator[None, None, None]: class TempDirectoryTypeRegistry (line 48) | class TempDirectoryTypeRegistry: method __init__ (line 51) | def __init__(self) -> None: method set_delete (line 54) | def set_delete(self, kind: str, value: bool) -> None: method get_delete (line 60) | def get_delete(self, kind: str) -> bool: function tempdir_registry (line 71) | def tempdir_registry() -> Generator[TempDirectoryTypeRegistry, None, None]: class _Default (line 84) | class _Default: class TempDirectory (line 91) | class TempDirectory: method __init__ (line 112) | def __init__( method path (line 148) | def path(self) -> str: method __repr__ (line 152) | def __repr__(self) -> str: method __enter__ (line 155) | def __enter__(self: _T) -> _T: method __exit__ (line 158) | def __exit__(self, exc: Any, value: Any, tb: Any) -> None: method _create (line 169) | def _create(self, kind: str) -> str: method cleanup (line 179) | def cleanup(self) -> None: class AdjacentTempDirectory (line 224) | class AdjacentTempDirectory(TempDirectory): method __init__ (line 246) | def __init__(self, original: str, delete: bool | None = None) -> None: method _generate_names (line 251) | def _generate_names(cls, name: str) -> Generator[str, None, None]: method _create (line 276) | def _create(self, kind: str) -> str: FILE: src/pip/_internal/utils/unpacking.py function current_umask (line 45) | def current_umask() -> int: function split_leading_dir (line 52) | def split_leading_dir(path: str) -> list[str]: function has_leading_dir (line 64) | def has_leading_dir(paths: Iterable[str]) -> bool: function is_within_directory (line 79) | def is_within_directory(directory: str, target: str) -> bool: function _get_default_mode_plus_executable (line 90) | def _get_default_mode_plus_executable() -> int: function set_extracted_file_to_default_mode_plus_executable (line 94) | def set_extracted_file_to_default_mode_plus_executable(path: str) -> None: function zip_item_is_executable (line 102) | def zip_item_is_executable(info: ZipInfo) -> bool: function unzip_file (line 109) | def unzip_file(filename: str, location: str, flatten: bool = True) -> None: function untar_file (line 155) | def untar_file(filename: str, location: str) -> None: function is_symlink_target_in_tar (line 251) | def is_symlink_target_in_tar(tar: tarfile.TarFile, tarinfo: tarfile.TarI... function _untar_without_filter (line 265) | def _untar_without_filter( function unpack_file (line 334) | def unpack_file( FILE: src/pip/_internal/utils/urls.py function path_to_url (line 9) | def path_to_url(path: str) -> str: function url_to_path (line 19) | def url_to_path(url: str) -> str: FILE: src/pip/_internal/utils/virtualenv.py function _running_under_venv (line 15) | def _running_under_venv() -> bool: function _running_under_legacy_virtualenv (line 23) | def _running_under_legacy_virtualenv() -> bool: function running_under_virtualenv (line 32) | def running_under_virtualenv() -> bool: function _get_pyvenv_cfg_lines (line 37) | def _get_pyvenv_cfg_lines() -> list[str] | None: function _no_global_under_venv (line 52) | def _no_global_under_venv() -> bool: function _no_global_under_legacy_virtualenv (line 81) | def _no_global_under_legacy_virtualenv() -> bool: function virtualenv_no_global (line 95) | def virtualenv_no_global() -> bool: FILE: src/pip/_internal/utils/wheel.py function parse_wheel (line 18) | def parse_wheel(wheel_zip: ZipFile, name: str) -> tuple[str, Message]: function wheel_dist_info_dir (line 36) | def wheel_dist_info_dir(source: ZipFile, name: str) -> str: function read_wheel_metadata_file (line 67) | def read_wheel_metadata_file(source: ZipFile, path: str) -> bytes: function wheel_metadata (line 76) | def wheel_metadata(source: ZipFile, dist_info_dir: str) -> Message: function wheel_version (line 95) | def wheel_version(wheel_data: Message) -> tuple[int, ...]: function check_compatibility (line 111) | def check_compatibility(version: tuple[int, ...], name: str) -> None: FILE: src/pip/_internal/vcs/bazaar.py class Bazaar (line 19) | class Bazaar(VersionControl): method get_base_rev_args (line 34) | def get_base_rev_args(rev: str) -> list[str]: method fetch_new (line 37) | def fetch_new( method switch (line 58) | def switch( method update (line 67) | def update( method get_url_rev_and_auth (line 92) | def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, Auth... method get_remote_url (line 100) | def get_remote_url(cls, location: str) -> str: method get_revision (line 115) | def get_revision(cls, location: str) -> str: method is_commit_id_equal (line 125) | def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: FILE: src/pip/_internal/vcs/git.py function looks_like_hash (line 58) | def looks_like_hash(sha: str) -> bool: class Git (line 62) | class Git(VersionControl): method get_base_rev_args (line 79) | def get_base_rev_args(rev: str) -> list[str]: method run_command (line 83) | def run_command(cls, *args: Any, **kwargs: Any) -> str: method is_immutable_rev_checkout (line 91) | def is_immutable_rev_checkout(self, url: str, dest: str) -> bool: method get_git_version (line 105) | def get_git_version(self) -> tuple[int, ...]: method get_current_branch (line 119) | def get_current_branch(cls, location: str) -> str | None: method get_revision_sha (line 144) | def get_revision_sha(cls, dest: str, rev: str) -> tuple[str | None, bo... method _should_fetch (line 190) | def _should_fetch(cls, dest: str, rev: str) -> bool: method resolve_revision (line 213) | def resolve_revision( method is_commit_id_equal (line 259) | def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: method fetch_new (line 273) | def fetch_new( method switch (line 336) | def switch( method update (line 358) | def update( method get_remote_url (line 389) | def get_remote_url(cls, location: str) -> str: method _git_remote_to_pip_url (line 419) | def _git_remote_to_pip_url(url: str) -> str: method has_commit (line 450) | def has_commit(cls, location: str, rev: str) -> bool: method get_revision (line 466) | def get_revision(cls, location: str, rev: str | None = None) -> str: method get_subdirectory (line 478) | def get_subdirectory(cls, location: str) -> str | None: method get_url_rev_and_auth (line 496) | def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, Auth... method update_submodules (line 527) | def update_submodules(cls, location: str, verbosity: int = 0) -> None: method get_repository_root (line 541) | def get_repository_root(cls, location: str) -> str | None: method should_add_vcs_url_prefix (line 566) | def should_add_vcs_url_prefix(repo_url: str) -> bool: FILE: src/pip/_internal/vcs/mercurial.py class Mercurial (line 21) | class Mercurial(VersionControl): method get_base_rev_args (line 34) | def get_base_rev_args(rev: str) -> list[str]: method fetch_new (line 37) | def fetch_new( method switch (line 61) | def switch( method update (line 86) | def update( method get_remote_url (line 103) | def get_remote_url(cls, location: str) -> str: method get_revision (line 115) | def get_revision(cls, location: str) -> str: method get_requirement_revision (line 128) | def get_requirement_revision(cls, location: str) -> str: method is_commit_id_equal (line 142) | def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: method get_subdirectory (line 147) | def get_subdirectory(cls, location: str) -> str | None: method get_repository_root (line 161) | def get_repository_root(cls, location: str) -> str | None: FILE: src/pip/_internal/vcs/subversion.py class Subversion (line 31) | class Subversion(VersionControl): method should_add_vcs_url_prefix (line 38) | def should_add_vcs_url_prefix(cls, remote_url: str) -> bool: method get_base_rev_args (line 42) | def get_base_rev_args(rev: str) -> list[str]: method get_revision (line 46) | def get_revision(cls, location: str) -> str: method get_netloc_and_auth (line 75) | def get_netloc_and_auth( method get_url_rev_and_auth (line 90) | def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, Auth... method make_rev_args (line 98) | def make_rev_args(username: str | None, password: HiddenText | None) -... method get_remote_url (line 108) | def get_remote_url(cls, location: str) -> str: method _get_svn_url_rev (line 132) | def _get_svn_url_rev(cls, location: str) -> tuple[str | None, int]: method is_commit_id_equal (line 182) | def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: method __init__ (line 186) | def __init__(self, use_interactive: bool | None = None) -> None: method call_vcs_version (line 200) | def call_vcs_version(self) -> tuple[int, ...]: method get_vcs_version (line 228) | def get_vcs_version(self) -> tuple[int, ...]: method get_remote_call_options (line 248) | def get_remote_call_options(self) -> CommandArgs: method fetch_new (line 279) | def fetch_new( method switch (line 303) | def switch( method update (line 319) | def update( FILE: src/pip/_internal/vcs/versioncontrol.py function is_url (line 45) | def is_url(name: str) -> bool: function make_vcs_requirement_url (line 55) | def make_vcs_requirement_url( function find_path_to_project_root_from_repo_root (line 74) | def find_path_to_project_root_from_repo_root( class RemoteNotFoundError (line 103) | class RemoteNotFoundError(Exception): class RemoteNotValidError (line 107) | class RemoteNotValidError(Exception): method __init__ (line 108) | def __init__(self, url: str): class RevOptions (line 114) | class RevOptions: method __repr__ (line 130) | def __repr__(self) -> str: method arg_rev (line 134) | def arg_rev(self) -> str | None: method to_args (line 140) | def to_args(self) -> CommandArgs: method to_display (line 152) | def to_display(self) -> str: method make_new (line 158) | def make_new(self, rev: str) -> RevOptions: class VcsSupport (line 168) | class VcsSupport: method __init__ (line 172) | def __init__(self) -> None: method __iter__ (line 178) | def __iter__(self) -> Iterator[str]: method backends (line 182) | def backends(self) -> list[VersionControl]: method dirnames (line 186) | def dirnames(self) -> list[str]: method all_schemes (line 190) | def all_schemes(self) -> list[str]: method register (line 196) | def register(self, cls: type[VersionControl]) -> None: method unregister (line 204) | def unregister(self, name: str) -> None: method get_backend_for_dir (line 208) | def get_backend_for_dir(self, location: str) -> VersionControl | None: method get_backend_for_scheme (line 231) | def get_backend_for_scheme(self, scheme: str) -> VersionControl | None: method get_backend (line 240) | def get_backend(self, name: str) -> VersionControl | None: class VersionControl (line 251) | class VersionControl: method should_add_vcs_url_prefix (line 262) | def should_add_vcs_url_prefix(cls, remote_url: str) -> bool: method get_subdirectory (line 270) | def get_subdirectory(cls, location: str) -> str | None: method get_requirement_revision (line 278) | def get_requirement_revision(cls, repo_dir: str) -> str: method get_src_requirement (line 285) | def get_src_requirement(cls, repo_dir: str, project_name: str) -> str: method get_base_rev_args (line 309) | def get_base_rev_args(rev: str) -> list[str]: method is_immutable_rev_checkout (line 318) | def is_immutable_rev_checkout(self, url: str, dest: str) -> bool: method make_rev_options (line 332) | def make_rev_options( method _is_local_repository (line 345) | def _is_local_repository(cls, repo: str) -> bool: method get_netloc_and_auth (line 354) | def get_netloc_and_auth( method get_url_rev_and_auth (line 375) | def get_url_rev_and_auth(cls, url: str) -> tuple[str, str | None, Auth... method make_rev_args (line 406) | def make_rev_args(username: str | None, password: HiddenText | None) -... method get_url_rev_options (line 412) | def get_url_rev_options(self, url: HiddenText) -> tuple[HiddenText, Re... method normalize_url (line 428) | def normalize_url(url: str) -> str: method compare_urls (line 436) | def compare_urls(cls, url1: str, url2: str) -> bool: method fetch_new (line 442) | def fetch_new( method switch (line 456) | def switch( method update (line 471) | def update( method is_commit_id_equal (line 487) | def is_commit_id_equal(cls, dest: str, name: str | None) -> bool: method obtain (line 497) | def obtain(self, dest: str, url: HiddenText, verbosity: int) -> None: method unpack (line 586) | def unpack(self, location: str, url: HiddenText, verbosity: int) -> None: method get_remote_url (line 599) | def get_remote_url(cls, location: str) -> str: method get_revision (line 609) | def get_revision(cls, location: str) -> str: method run_command (line 616) | def run_command( method is_repository_directory (line 674) | def is_repository_directory(cls, path: str) -> bool: method get_repository_root (line 682) | def get_repository_root(cls, location: str) -> str | None: FILE: src/pip/_internal/wheel_builder.py function _contains_egg_info (line 34) | def _contains_egg_info(s: str) -> bool: function _should_cache (line 42) | def _should_cache( function _get_cache_dir (line 73) | def _get_cache_dir( function _verify_one (line 89) | def _verify_one(req: InstallRequirement, wheel_path: str) -> None: function _build_one (line 118) | def _build_one( function _build_one_inside_env (line 152) | def _build_one_inside_env( function build (line 204) | def build( FILE: src/pip/_vendor/__init__.py function vendored (line 29) | def vendored(modulename): FILE: src/pip/_vendor/cachecontrol/_cmd.py function setup_logging (line 22) | def setup_logging() -> None: function get_session (line 28) | def get_session() -> requests.Session: function get_args (line 40) | def get_args() -> Namespace: function main (line 46) | def main() -> None: FILE: src/pip/_vendor/cachecontrol/adapter.py class CacheControlAdapter (line 26) | class CacheControlAdapter(HTTPAdapter): method __init__ (line 29) | def __init__( method send (line 50) | def send( method build_response (line 80) | def build_response( # type: ignore[override] method close (line 165) | def close(self) -> None: FILE: src/pip/_vendor/cachecontrol/cache.py class BaseCache (line 19) | class BaseCache: method get (line 20) | def get(self, key: str) -> bytes | None: method set (line 23) | def set( method delete (line 28) | def delete(self, key: str) -> None: method close (line 31) | def close(self) -> None: class DictCache (line 35) | class DictCache(BaseCache): method __init__ (line 36) | def __init__(self, init_dict: MutableMapping[str, bytes] | None = None... method get (line 40) | def get(self, key: str) -> bytes | None: method set (line 43) | def set( method delete (line 49) | def delete(self, key: str) -> None: class SeparateBodyBaseCache (line 55) | class SeparateBodyBaseCache(BaseCache): method set_body (line 68) | def set_body(self, key: str, body: bytes) -> None: method get_body (line 71) | def get_body(self, key: str) -> IO[bytes] | None: FILE: src/pip/_vendor/cachecontrol/caches/file_cache.py class _FileCacheMixin (line 22) | class _FileCacheMixin: method __init__ (line 25) | def __init__( method encode (line 55) | def encode(x: str) -> str: method _fn (line 58) | def _fn(self, name: str) -> str: method get (line 65) | def get(self, key: str) -> bytes | None: method set (line 74) | def set( method _write (line 80) | def _write(self, path: str, data: bytes) -> None: method _delete (line 98) | def _delete(self, key: str, suffix: str) -> None: class FileCache (line 107) | class FileCache(_FileCacheMixin, BaseCache): method delete (line 113) | def delete(self, key: str) -> None: class SeparateBodyFileCache (line 117) | class SeparateBodyFileCache(_FileCacheMixin, SeparateBodyBaseCache): method get_body (line 123) | def get_body(self, key: str) -> IO[bytes] | None: method set_body (line 130) | def set_body(self, key: str, body: bytes) -> None: method delete (line 134) | def delete(self, key: str) -> None: function url_to_file_path (line 139) | def url_to_file_path(url: str, filecache: FileCache) -> str: FILE: src/pip/_vendor/cachecontrol/caches/redis_cache.py class RedisCache (line 16) | class RedisCache(BaseCache): method __init__ (line 17) | def __init__(self, conn: Redis[bytes]) -> None: method get (line 20) | def get(self, key: str) -> bytes | None: method set (line 23) | def set( method delete (line 37) | def delete(self, key: str) -> None: method clear (line 40) | def clear(self) -> None: method close (line 46) | def close(self) -> None: FILE: src/pip/_vendor/cachecontrol/controller.py function parse_uri (line 39) | def parse_uri(uri: str) -> tuple[str, str, str, str, str]: class CacheController (line 50) | class CacheController: method __init__ (line 53) | def __init__( method _urlnorm (line 66) | def _urlnorm(cls, uri: str) -> str: method cache_url (line 86) | def cache_url(cls, uri: str) -> str: method parse_cache_control (line 89) | def parse_cache_control(self, headers: Mapping[str, str]) -> dict[str,... method _load_from_cache (line 143) | def _load_from_cache(self, request: PreparedRequest) -> HTTPResponse |... method cached_request (line 169) | def cached_request(self, request: PreparedRequest) -> HTTPResponse | L... method conditional_headers (line 279) | def conditional_headers(self, request: PreparedRequest) -> dict[str, s... method _cache_set (line 294) | def _cache_set( method cache_response (line 324) | def cache_response( method update_cached_response (line 471) | def update_cached_response( FILE: src/pip/_vendor/cachecontrol/filewrapper.py class CallbackFileWrapper (line 15) | class CallbackFileWrapper: method __init__ (line 34) | def __init__( method __getattr__ (line 41) | def __getattr__(self, name: str) -> Any: method __is_fp_closed (line 53) | def __is_fp_closed(self) -> bool: method _close (line 71) | def _close(self) -> None: method read (line 99) | def read(self, amt: int | None = None) -> bytes: method _safe_read (line 110) | def _safe_read(self, amt: int) -> bytes: FILE: src/pip/_vendor/cachecontrol/heuristics.py function expire_after (line 18) | def expire_after(delta: timedelta, date: datetime | None = None) -> date... function datetime_to_header (line 23) | def datetime_to_header(dt: datetime) -> str: class BaseHeuristic (line 27) | class BaseHeuristic: method warning (line 28) | def warning(self, response: HTTPResponse) -> str | None: method update_headers (line 39) | def update_headers(self, response: HTTPResponse) -> dict[str, str]: method apply (line 48) | def apply(self, response: HTTPResponse) -> HTTPResponse: class OneDayCache (line 60) | class OneDayCache(BaseHeuristic): method update_headers (line 66) | def update_headers(self, response: HTTPResponse) -> dict[str, str]: class ExpiresAfter (line 80) | class ExpiresAfter(BaseHeuristic): method __init__ (line 85) | def __init__(self, **kw: Any) -> None: method update_headers (line 88) | def update_headers(self, response: HTTPResponse) -> dict[str, str]: method warning (line 92) | def warning(self, response: HTTPResponse) -> str | None: class LastModified (line 97) | class LastModified(BaseHeuristic): method update_headers (line 124) | def update_headers(self, resp: HTTPResponse) -> dict[str, str]: method warning (line 156) | def warning(self, resp: HTTPResponse) -> str | None: FILE: src/pip/_vendor/cachecontrol/serialize.py class Serializer (line 17) | class Serializer: method dumps (line 20) | def dumps( method serialize (line 62) | def serialize(self, data: dict[str, Any]) -> bytes: method loads (line 65) | def loads( method prepare_response (line 83) | def prepare_response( method _loads_v4 (line 135) | def _loads_v4( FILE: src/pip/_vendor/cachecontrol/wrapper.py function CacheControl (line 20) | def CacheControl( FILE: src/pip/_vendor/certifi/core.py function exit_cacert_ctx (line 10) | def exit_cacert_ctx() -> None: function where (line 21) | def where() -> str: function contents (line 46) | def contents() -> str: function where (line 56) | def where() -> str: function contents (line 82) | def contents() -> str: FILE: src/pip/_vendor/dependency_groups/__main__.py function main (line 8) | def main() -> None: FILE: src/pip/_vendor/dependency_groups/_implementation.py function _normalize_name (line 10) | def _normalize_name(name: str) -> str: function _normalize_group_names (line 14) | def _normalize_group_names( class DependencyGroupInclude (line 36) | class DependencyGroupInclude: class CyclicDependencyError (line 40) | class CyclicDependencyError(ValueError): method __init__ (line 45) | def __init__(self, requested_group: str, group: str, include_group: st... class DependencyGroupResolver (line 60) | class DependencyGroupResolver: method __init__ (line 72) | def __init__( method lookup (line 88) | def lookup(self, group: str) -> tuple[Requirement | DependencyGroupInc... method resolve (line 106) | def resolve(self, group: str) -> tuple[Requirement, ...]: method _parse_group (line 123) | def _parse_group( method _resolve (line 156) | def _resolve(self, group: str, requested_group: str) -> tuple[Requirem... function resolve (line 193) | def resolve( FILE: src/pip/_vendor/dependency_groups/_lint_dependency_groups.py function main (line 10) | def main(*, argv: list[str] | None = None) -> None: FILE: src/pip/_vendor/dependency_groups/_pip_wrapper.py function _invoke_pip (line 11) | def _invoke_pip(deps: list[str]) -> None: function main (line 15) | def main(*, argv: list[str] | None = None) -> None: FILE: src/pip/_vendor/distlib/__init__.py class DistlibException (line 12) | class DistlibException(Exception): class NullHandler (line 20) | class NullHandler(logging.Handler): method handle (line 22) | def handle(self, record): method emit (line 25) | def emit(self, record): method createLock (line 28) | def createLock(self): FILE: src/pip/_vendor/distlib/compat.py function quote (line 30) | def quote(s): class CertificateError (line 93) | class CertificateError(ValueError): function _dnsname_match (line 96) | def _dnsname_match(dn, hostname, max_wildcards=1): function match_hostname (line 145) | def match_hostname(cert, hostname): class Container (line 192) | class Container(object): method __init__ (line 197) | def __init__(self, **kwargs): function which (line 205) | def which(cmd, mode=os.F_OK | os.X_OK, path=None): class ZipExtFile (line 277) | class ZipExtFile(BaseZipExtFile): method __init__ (line 279) | def __init__(self, base): method __enter__ (line 282) | def __enter__(self): method __exit__ (line 285) | def __exit__(self, *exc_info): class ZipFile (line 289) | class ZipFile(BaseZipFile): method __enter__ (line 291) | def __enter__(self): method __exit__ (line 294) | def __exit__(self, *exc_info): method open (line 298) | def open(self, *args, **kwargs): function python_implementation (line 307) | def python_implementation(): function callable (line 325) | def callable(obj): function fsencode (line 345) | def fsencode(filename): function fsdecode (line 354) | def fsdecode(filename): function _get_normal_name (line 371) | def _get_normal_name(orig_enc): function detect_encoding (line 382) | def detect_encoding(readline): function _recursive_repr (line 494) | def _recursive_repr(fillvalue='...'): class ChainMap (line 524) | class ChainMap(MutableMapping): method __init__ (line 537) | def __init__(self, *maps): method __missing__ (line 544) | def __missing__(self, key): method __getitem__ (line 547) | def __getitem__(self, key): method get (line 557) | def get(self, key, default=None): method __len__ (line 560) | def __len__(self): method __iter__ (line 564) | def __iter__(self): method __contains__ (line 567) | def __contains__(self, key): method __bool__ (line 570) | def __bool__(self): method __repr__ (line 574) | def __repr__(self): method fromkeys (line 579) | def fromkeys(cls, iterable, *args): method copy (line 583) | def copy(self): method new_child (line 589) | def new_child(self): # like Django's Context.push() method parents (line 594) | def parents(self): # like Django's Context.pop() method __setitem__ (line 598) | def __setitem__(self, key, value): method __delitem__ (line 601) | def __delitem__(self, key): method popitem (line 608) | def popitem(self): method pop (line 615) | def pop(self, key, *args): method clear (line 623) | def clear(self): function cache_from_source (line 632) | def cache_from_source(path, debug_override=None): class OrderedDict (line 659) | class OrderedDict(dict): method __init__ (line 672) | def __init__(self, *args, **kwds): method __setitem__ (line 689) | def __setitem__(self, key, value, dict_setitem=dict.__setitem__): method __delitem__ (line 699) | def __delitem__(self, key, dict_delitem=dict.__delitem__): method __iter__ (line 708) | def __iter__(self): method __reversed__ (line 716) | def __reversed__(self): method clear (line 724) | def clear(self): method popitem (line 736) | def popitem(self, last=True): method keys (line 761) | def keys(self): method values (line 765) | def values(self): method items (line 769) | def items(self): method iterkeys (line 773) | def iterkeys(self): method itervalues (line 777) | def itervalues(self): method iteritems (line 782) | def iteritems(self): method update (line 787) | def update(*args, **kwds): method pop (line 822) | def pop(self, key, default=__marker): method setdefault (line 835) | def setdefault(self, key, default=None): method __repr__ (line 842) | def __repr__(self, _repr_running=None): method __reduce__ (line 857) | def __reduce__(self): method copy (line 867) | def copy(self): method fromkeys (line 872) | def fromkeys(cls, iterable, value=None): method __eq__ (line 882) | def __eq__(self, other): method __ne__ (line 892) | def __ne__(self, other): method viewkeys (line 897) | def viewkeys(self): method viewvalues (line 901) | def viewvalues(self): method viewitems (line 905) | def viewitems(self): function valid_ident (line 915) | def valid_ident(s): class ConvertingDict (line 930) | class ConvertingDict(dict): method __getitem__ (line 933) | def __getitem__(self, key): method get (line 945) | def get(self, key, default=None): function pop (line 957) | def pop(self, key, default=None): class ConvertingList (line 967) | class ConvertingList(list): method __getitem__ (line 970) | def __getitem__(self, key): method pop (line 982) | def pop(self, idx=-1): class ConvertingTuple (line 991) | class ConvertingTuple(tuple): method __getitem__ (line 994) | def __getitem__(self, key): class BaseConfigurator (line 1004) | class BaseConfigurator(object): method __init__ (line 1024) | def __init__(self, config): method resolve (line 1028) | def resolve(self, s): method ext_convert (line 1051) | def ext_convert(self, value): method cfg_convert (line 1055) | def cfg_convert(self, value): method convert (line 1090) | def convert(self, value): method configure_custom (line 1119) | def configure_custom(self, config): method as_tuple (line 1133) | def as_tuple(self, value): FILE: src/pip/_vendor/distlib/resources.py class ResourceCache (line 27) | class ResourceCache(Cache): method __init__ (line 28) | def __init__(self, base=None): method is_stale (line 34) | def is_stale(self, resource, path): method get (line 45) | def get(self, resource): class ResourceBase (line 71) | class ResourceBase(object): method __init__ (line 72) | def __init__(self, finder, name): class Resource (line 77) | class Resource(ResourceBase): method as_stream (line 85) | def as_stream(self): method file_path (line 95) | def file_path(self): method bytes (line 102) | def bytes(self): method size (line 106) | def size(self): class ResourceContainer (line 110) | class ResourceContainer(ResourceBase): method resources (line 114) | def resources(self): class ResourceFinder (line 118) | class ResourceFinder(object): method __init__ (line 128) | def __init__(self, module): method _adjust_path (line 133) | def _adjust_path(self, path): method _make_path (line 136) | def _make_path(self, resource_name): method _find (line 148) | def _find(self, path): method get_cache_info (line 151) | def get_cache_info(self, resource): method find (line 154) | def find(self, resource_name): method get_stream (line 166) | def get_stream(self, resource): method get_bytes (line 169) | def get_bytes(self, resource): method get_size (line 173) | def get_size(self, resource): method get_resources (line 176) | def get_resources(self, resource): method is_container (line 182) | def is_container(self, resource): method iterator (line 187) | def iterator(self, resource_name): class ZipResourceFinder (line 208) | class ZipResourceFinder(ResourceFinder): method __init__ (line 212) | def __init__(self, module): method _adjust_path (line 223) | def _adjust_path(self, path): method _find (line 226) | def _find(self, path): method get_cache_info (line 244) | def get_cache_info(self, resource): method get_bytes (line 249) | def get_bytes(self, resource): method get_stream (line 252) | def get_stream(self, resource): method get_size (line 255) | def get_size(self, resource): method get_resources (line 259) | def get_resources(self, resource): method _is_directory (line 274) | def _is_directory(self, path): function register_finder (line 306) | def register_finder(loader, finder_maker): function finder (line 313) | def finder(package): function finder_for_path (line 341) | def finder_for_path(path): FILE: src/pip/_vendor/distlib/scripts.py function enquote_executable (line 71) | def enquote_executable(executable): class ScriptMaker (line 91) | class ScriptMaker(object): method __init__ (line 100) | def __init__(self, source_dir, target_dir, add_launchers=True, dry_run... method _get_alternate_executable (line 114) | def _get_alternate_executable(self, executable, options): method _is_shell (line 123) | def _is_shell(self, executable): method _fix_jython_executable (line 135) | def _fix_jython_executable(self, executable): method _build_shebang (line 147) | def _build_shebang(self, executable, post_interp): method _get_shebang (line 183) | def _get_shebang(self, encoding, post_interp=b'', options=None): method _get_script_text (line 249) | def _get_script_text(self, entry): method get_manifest (line 255) | def get_manifest(self, exename): method _write_script (line 259) | def _write_script(self, names, shebang, script_bytes, filenames, ext): method get_script_filenames (line 316) | def get_script_filenames(self, name): method _make_script (line 326) | def _make_script(self, entry, filenames, options=None): method _copy_script (line 342) | def _copy_script(self, script, filenames): method dry_run (line 393) | def dry_run(self): method dry_run (line 397) | def dry_run(self, value): method _get_launcher (line 404) | def _get_launcher(self, kind): method make (line 419) | def make(self, specification, options=None): method make_multiple (line 438) | def make_multiple(self, specifications, options=None): FILE: src/pip/_vendor/distlib/util.py function parse_marker (line 54) | def parse_marker(marker_string): function parse_requirement (line 144) | def parse_requirement(req): function get_resources_dests (line 268) | def get_resources_dests(resources_root, rules): function in_venv (line 294) | def in_venv(): function get_executable (line 304) | def get_executable(): function proceed (line 322) | def proceed(prompt, allowed_chars, error_prompt=None, default=None): function extract_by_key (line 338) | def extract_by_key(d, keys): function read_exports (line 348) | def read_exports(stream): function write_exports (line 395) | def write_exports(exports, stream): function tempdir (line 415) | def tempdir(): function chdir (line 424) | def chdir(d): function socket_timeout (line 434) | def socket_timeout(seconds=15): class cached_property (line 443) | class cached_property(object): method __init__ (line 445) | def __init__(self, func): method __get__ (line 450) | def __get__(self, obj, cls=None): function convert_path (line 459) | def convert_path(pathname): class FileOperator (line 486) | class FileOperator(object): method __init__ (line 488) | def __init__(self, dry_run=False): method _init_record (line 493) | def _init_record(self): method record_as_written (line 498) | def record_as_written(self, path): method newer (line 502) | def newer(self, source, target): method copy_file (line 521) | def copy_file(self, infile, outfile, check=True): method copy_stream (line 538) | def copy_stream(self, instream, outfile, encoding=None): method write_binary_file (line 553) | def write_binary_file(self, path, data): method write_text_file (line 562) | def write_text_file(self, path, data, encoding): method set_mode (line 565) | def set_mode(self, bits, mask, files): method ensure_dir (line 579) | def ensure_dir(self, path): method byte_compile (line 591) | def byte_compile(self, path, optimize=False, force=False, prefix=None,... method ensure_removed (line 610) | def ensure_removed(self, path): method is_writable (line 631) | def is_writable(self, path): method commit (line 643) | def commit(self): method rollback (line 653) | def rollback(self): function resolve (line 672) | def resolve(module_name, dotted_path): class ExportEntry (line 687) | class ExportEntry(object): method __init__ (line 689) | def __init__(self, name, prefix, suffix, flags): method value (line 696) | def value(self): method __repr__ (line 699) | def __repr__(self): # pragma: no cover method __eq__ (line 702) | def __eq__(self, other): function get_export_entry (line 720) | def get_export_entry(specification): function get_cache_base (line 751) | def get_cache_base(suffix=None): function path_to_cache_dir (line 792) | def path_to_cache_dir(path, use_abspath=True): function ensure_slash (line 809) | def ensure_slash(s): function parse_credentials (line 815) | def parse_credentials(netloc): function get_process_umask (line 830) | def get_process_umask(): function is_string_sequence (line 836) | def is_string_sequence(seq): function split_filename (line 852) | def split_filename(filename, project_name=None): function parse_name_and_version (line 882) | def parse_name_and_version(p): function get_extras (line 898) | def get_extras(requested, available): function _get_external_data (line 926) | def _get_external_data(url): function get_project_data (line 950) | def get_project_data(name): function get_package_data (line 957) | def get_package_data(name, version): class Cache (line 963) | class Cache(object): method __init__ (line 970) | def __init__(self, base): method prefix_to_dir (line 984) | def prefix_to_dir(self, prefix, use_abspath=True): method clear (line 990) | def clear(self): class EventMixin (line 1007) | class EventMixin(object): method __init__ (line 1012) | def __init__(self): method add (line 1015) | def add(self, event, subscriber, append=True): method remove (line 1035) | def remove(self, event, subscriber): method get_subscribers (line 1047) | def get_subscribers(self, event): method publish (line 1054) | def publish(self, event, *args, **kwargs): class Sequencer (line 1080) | class Sequencer(object): method __init__ (line 1082) | def __init__(self): method add_node (line 1087) | def add_node(self, node): method remove_node (line 1090) | def remove_node(self, node, edges=False): method add (line 1106) | def add(self, pred, succ): method remove (line 1111) | def remove(self, pred, succ): method is_step (line 1124) | def is_step(self, step): method get_steps (line 1127) | def get_steps(self, final): method strong_connections (line 1153) | def strong_connections(self): method dot (line 1205) | def dot(self): function unarchive (line 1224) | def unarchive(archive_filename, dest_dir, format=None, check=True): function zip_dir (line 1292) | def zip_dir(directory): class Progress (line 1313) | class Progress(object): method __init__ (line 1316) | def __init__(self, minval=0, maxval=100): method update (line 1324) | def update(self, curval): method increment (line 1334) | def increment(self, incr): method start (line 1338) | def start(self): method stop (line 1342) | def stop(self): method maximum (line 1348) | def maximum(self): method percentage (line 1352) | def percentage(self): method format_duration (line 1362) | def format_duration(self, duration): method ETA (line 1372) | def ETA(self): method speed (line 1391) | def speed(self): function iglob (line 1412) | def iglob(path_glob): function _iglob (line 1423) | def _iglob(path_glob): class HTTPSConnection (line 1458) | class HTTPSConnection(httplib.HTTPSConnection): method connect (line 1463) | def connect(self): class HTTPSHandler (line 1491) | class HTTPSHandler(BaseHTTPSHandler): method __init__ (line 1493) | def __init__(self, ca_certs, check_domain=True): method _conn_maker (line 1498) | def _conn_maker(self, *args, **kwargs): method https_open (line 1514) | def https_open(self, req): class HTTPSOnlyHandler (line 1533) | class HTTPSOnlyHandler(HTTPSHandler, HTTPHandler): method http_open (line 1535) | def http_open(self, req): class Transport (line 1543) | class Transport(xmlrpclib.Transport): method __init__ (line 1545) | def __init__(self, timeout, use_datetime=0): method make_connection (line 1549) | def make_connection(self, host): class SafeTransport (line 1559) | class SafeTransport(xmlrpclib.SafeTransport): method __init__ (line 1561) | def __init__(self, timeout, use_datetime=0): method make_connection (line 1565) | def make_connection(self, host): class ServerProxy (line 1576) | class ServerProxy(xmlrpclib.ServerProxy): method __init__ (line 1578) | def __init__(self, uri, **kwargs): function _csv_open (line 1601) | def _csv_open(fn, mode, **kwargs): class CSVBase (line 1612) | class CSVBase(object): method __enter__ (line 1619) | def __enter__(self): method __exit__ (line 1622) | def __exit__(self, *exc_info): class CSVReader (line 1626) | class CSVReader(CSVBase): method __init__ (line 1628) | def __init__(self, **kwargs): method __iter__ (line 1639) | def __iter__(self): method next (line 1642) | def next(self): class CSVWriter (line 1653) | class CSVWriter(CSVBase): method __init__ (line 1655) | def __init__(self, fn, **kwargs): method writerow (line 1659) | def writerow(self, row): class Configurator (line 1675) | class Configurator(BaseConfigurator): method __init__ (line 1680) | def __init__(self, config, base=None): method configure_custom (line 1684) | def configure_custom(self, config): method __getitem__ (line 1716) | def __getitem__(self, key): method inc_convert (line 1722) | def inc_convert(self, value): class SubprocessMixin (line 1731) | class SubprocessMixin(object): method __init__ (line 1736) | def __init__(self, verbose=False, progress=None): method reader (line 1740) | def reader(self, stream, context): method run_command (line 1761) | def run_command(self, cmd, **kwargs): function normalize_name (line 1777) | def normalize_name(name): class PyPIRCFile (line 1794) | class PyPIRCFile(object): method __init__ (line 1799) | def __init__(self, fn=None, url=None): method read (line 1805) | def read(self): method update (line 1858) | def update(self, username, password): function _load_pypirc (line 1871) | def _load_pypirc(index): function _store_pypirc (line 1878) | def _store_pypirc(index): function get_host_platform (line 1888) | def get_host_platform(): function get_platform (line 1978) | def get_platform(): FILE: src/pip/_vendor/distro/distro.py class VersionDict (line 61) | class VersionDict(TypedDict): class InfoDict (line 67) | class InfoDict(TypedDict): function linux_distribution (line 160) | def linux_distribution(full_distribution_name: bool = True) -> Tuple[str... function id (line 203) | def id() -> str: function name (line 287) | def name(pretty: bool = False) -> str: function version (line 326) | def version(pretty: bool = False, best: bool = False) -> str: function version_parts (line 374) | def version_parts(best: bool = False) -> Tuple[str, str, str]: function major_version (line 391) | def major_version(best: bool = False) -> str: function minor_version (line 404) | def minor_version(best: bool = False) -> str: function build_number (line 417) | def build_number(best: bool = False) -> str: function like (line 430) | def like() -> str: function codename (line 447) | def codename() -> str: function info (line 471) | def info(pretty: bool = False, best: bool = False) -> InfoDict: function os_release_info (line 515) | def os_release_info() -> Dict[str, str]: function lsb_release_info (line 525) | def lsb_release_info() -> Dict[str, str]: function distro_release_info (line 536) | def distro_release_info() -> Dict[str, str]: function uname_info (line 546) | def uname_info() -> Dict[str, str]: function os_release_attr (line 554) | def os_release_attr(attribute: str) -> str: function lsb_release_attr (line 573) | def lsb_release_attr(attribute: str) -> str: function distro_release_attr (line 593) | def distro_release_attr(attribute: str) -> str: function uname_attr (line 612) | def uname_attr(attribute: str) -> str: class cached_property (line 633) | class cached_property: # type: ignore method __init__ (line 639) | def __init__(self, f: Callable[[Any], Any]) -> None: method __get__ (line 643) | def __get__(self, obj: Any, owner: Type[Any]) -> Any: class LinuxDistribution (line 649) | class LinuxDistribution: method __init__ (line 667) | def __init__( method __repr__ (line 800) | def __repr__(self) -> str: method linux_distribution (line 817) | def linux_distribution( method id (line 833) | def id(self) -> str: method name (line 861) | def name(self, pretty: bool = False) -> str: method version (line 884) | def version(self, pretty: bool = False, best: bool = False) -> str: method version_parts (line 926) | def version_parts(self, best: bool = False) -> Tuple[str, str, str]: method major_version (line 942) | def major_version(self, best: bool = False) -> str: method minor_version (line 950) | def minor_version(self, best: bool = False) -> str: method build_number (line 958) | def build_number(self, best: bool = False) -> str: method like (line 966) | def like(self) -> str: method codename (line 974) | def codename(self) -> str: method info (line 991) | def info(self, pretty: bool = False, best: bool = False) -> InfoDict: method os_release_info (line 1010) | def os_release_info(self) -> Dict[str, str]: method lsb_release_info (line 1019) | def lsb_release_info(self) -> Dict[str, str]: method distro_release_info (line 1029) | def distro_release_info(self) -> Dict[str, str]: method uname_info (line 1039) | def uname_info(self) -> Dict[str, str]: method oslevel_info (line 1048) | def oslevel_info(self) -> str: method os_release_attr (line 1054) | def os_release_attr(self, attribute: str) -> str: method lsb_release_attr (line 1063) | def lsb_release_attr(self, attribute: str) -> str: method distro_release_attr (line 1072) | def distro_release_attr(self, attribute: str) -> str: method uname_attr (line 1081) | def uname_attr(self, attribute: str) -> str: method _os_release_info (line 1091) | def _os_release_info(self) -> Dict[str, str]: method _parse_os_release_content (line 1104) | def _parse_os_release_content(lines: TextIO) -> Dict[str, str]: method _lsb_release_info (line 1154) | def _lsb_release_info(self) -> Dict[str, str]: method _parse_lsb_release_content (line 1173) | def _parse_lsb_release_content(lines: Iterable[str]) -> Dict[str, str]: method _uname_info (line 1197) | def _uname_info(self) -> Dict[str, str]: method _oslevel_info (line 1209) | def _oslevel_info(self) -> str: method _debian_version (line 1219) | def _debian_version(self) -> str: method _parse_uname_content (line 1229) | def _parse_uname_content(lines: Sequence[str]) -> Dict[str, str]: method _to_str (line 1248) | def _to_str(bytestring: bytes) -> str: method _distro_release_info (line 1253) | def _distro_release_info(self) -> Dict[str, str]: method _parse_distro_release_file (line 1311) | def _parse_distro_release_file(self, filepath: str) -> Dict[str, str]: method _parse_distro_release_content (line 1334) | def _parse_distro_release_content(line: str) -> Dict[str, str]: function main (line 1362) | def main() -> None: FILE: src/pip/_vendor/idna/codec.py class Codec (line 10) | class Codec(codecs.Codec): method encode (line 11) | def encode(self, data: str, errors: str = "strict") -> Tuple[bytes, int]: method decode (line 20) | def decode(self, data: bytes, errors: str = "strict") -> Tuple[str, int]: class IncrementalEncoder (line 30) | class IncrementalEncoder(codecs.BufferedIncrementalEncoder): method _buffer_encode (line 31) | def _buffer_encode(self, data: str, errors: str, final: bool) -> Tuple... class IncrementalDecoder (line 64) | class IncrementalDecoder(codecs.BufferedIncrementalDecoder): method _buffer_decode (line 65) | def _buffer_decode(self, data: Any, errors: str, final: bool) -> Tuple... class StreamWriter (line 100) | class StreamWriter(Codec, codecs.StreamWriter): class StreamReader (line 104) | class StreamReader(Codec, codecs.StreamReader): function search_function (line 108) | def search_function(name: str) -> Optional[codecs.CodecInfo]: FILE: src/pip/_vendor/idna/compat.py function ToASCII (line 6) | def ToASCII(label: str) -> bytes: function ToUnicode (line 10) | def ToUnicode(label: Union[bytes, bytearray]) -> str: function nameprep (line 14) | def nameprep(s: Any) -> None: FILE: src/pip/_vendor/idna/core.py class IDNAError (line 14) | class IDNAError(UnicodeError): class IDNABidiError (line 20) | class IDNABidiError(IDNAError): class InvalidCodepoint (line 26) | class InvalidCodepoint(IDNAError): class InvalidCodepointContext (line 32) | class InvalidCodepointContext(IDNAError): function _combining_class (line 38) | def _combining_class(cp: int) -> int: function _is_script (line 46) | def _is_script(cp: str, script: str) -> bool: function _punycode (line 50) | def _punycode(s: str) -> bytes: function _unot (line 54) | def _unot(s: int) -> str: function valid_label_length (line 58) | def valid_label_length(label: Union[bytes, str]) -> bool: function valid_string_length (line 64) | def valid_string_length(label: Union[bytes, str], trailing_dot: bool) ->... function check_bidi (line 70) | def check_bidi(label: str, check_ltr: bool = False) -> bool: function check_initial_combiner (line 140) | def check_initial_combiner(label: str) -> bool: function check_hyphen_ok (line 146) | def check_hyphen_ok(label: str) -> bool: function check_nfc (line 154) | def check_nfc(label: str) -> None: function valid_contextj (line 159) | def valid_contextj(label: str, pos: int) -> bool: function valid_contexto (line 203) | def valid_contexto(label: str, pos: int, exception: bool = False) -> bool: function check_label (line 245) | def check_label(label: Union[str, bytes, bytearray]) -> None: function alabel (line 284) | def alabel(label: str) -> bytes: function ulabel (line 303) | def ulabel(label: Union[str, bytes, bytearray]) -> str: function uts46_remap (line 332) | def uts46_remap(domain: str, std3_rules: bool = True, transitional: bool... function encode (line 366) | def encode( function decode (line 405) | def decode( FILE: src/pip/_vendor/idna/intranges.py function intranges_from_list (line 12) | def intranges_from_list(list_: List[int]) -> Tuple[int, ...]: function _encode_range (line 34) | def _encode_range(start: int, end: int) -> int: function _decode_range (line 38) | def _decode_range(r: int) -> Tuple[int, int]: function intranges_contain (line 42) | def intranges_contain(int_: int, ranges: Tuple[int, ...]) -> bool: FILE: src/pip/_vendor/idna/uts46data.py function _seg_0 (line 12) | def _seg_0() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_1 (line 117) | def _seg_1() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_2 (line 222) | def _seg_2() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_3 (line 327) | def _seg_3() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_4 (line 432) | def _seg_4() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_5 (line 537) | def _seg_5() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_6 (line 642) | def _seg_6() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_7 (line 747) | def _seg_7() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_8 (line 852) | def _seg_8() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_9 (line 957) | def _seg_9() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_10 (line 1062) | def _seg_10() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_11 (line 1167) | def _seg_11() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_12 (line 1272) | def _seg_12() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_13 (line 1377) | def _seg_13() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_14 (line 1482) | def _seg_14() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_15 (line 1587) | def _seg_15() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_16 (line 1692) | def _seg_16() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_17 (line 1797) | def _seg_17() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_18 (line 1902) | def _seg_18() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_19 (line 2007) | def _seg_19() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_20 (line 2112) | def _seg_20() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_21 (line 2217) | def _seg_21() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_22 (line 2322) | def _seg_22() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_23 (line 2427) | def _seg_23() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_24 (line 2532) | def _seg_24() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_25 (line 2637) | def _seg_25() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_26 (line 2742) | def _seg_26() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_27 (line 2847) | def _seg_27() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_28 (line 2952) | def _seg_28() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_29 (line 3057) | def _seg_29() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_30 (line 3162) | def _seg_30() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_31 (line 3267) | def _seg_31() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_32 (line 3372) | def _seg_32() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_33 (line 3477) | def _seg_33() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_34 (line 3582) | def _seg_34() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_35 (line 3687) | def _seg_35() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_36 (line 3792) | def _seg_36() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_37 (line 3897) | def _seg_37() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_38 (line 4002) | def _seg_38() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_39 (line 4107) | def _seg_39() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_40 (line 4212) | def _seg_40() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_41 (line 4317) | def _seg_41() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_42 (line 4422) | def _seg_42() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_43 (line 4527) | def _seg_43() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_44 (line 4632) | def _seg_44() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_45 (line 4737) | def _seg_45() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_46 (line 4842) | def _seg_46() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_47 (line 4947) | def _seg_47() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_48 (line 5052) | def _seg_48() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_49 (line 5157) | def _seg_49() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_50 (line 5262) | def _seg_50() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_51 (line 5367) | def _seg_51() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_52 (line 5472) | def _seg_52() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_53 (line 5577) | def _seg_53() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_54 (line 5682) | def _seg_54() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_55 (line 5787) | def _seg_55() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_56 (line 5892) | def _seg_56() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_57 (line 5997) | def _seg_57() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_58 (line 6102) | def _seg_58() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_59 (line 6207) | def _seg_59() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_60 (line 6312) | def _seg_60() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_61 (line 6417) | def _seg_61() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_62 (line 6522) | def _seg_62() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_63 (line 6627) | def _seg_63() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_64 (line 6732) | def _seg_64() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_65 (line 6837) | def _seg_65() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_66 (line 6942) | def _seg_66() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_67 (line 7047) | def _seg_67() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_68 (line 7152) | def _seg_68() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_69 (line 7257) | def _seg_69() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_70 (line 7362) | def _seg_70() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_71 (line 7467) | def _seg_71() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_72 (line 7572) | def _seg_72() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_73 (line 7677) | def _seg_73() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_74 (line 7782) | def _seg_74() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_75 (line 7887) | def _seg_75() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_76 (line 7992) | def _seg_76() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_77 (line 8097) | def _seg_77() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_78 (line 8202) | def _seg_78() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_79 (line 8307) | def _seg_79() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_80 (line 8412) | def _seg_80() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_81 (line 8517) | def _seg_81() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_82 (line 8622) | def _seg_82() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: function _seg_83 (line 8727) | def _seg_83() -> List[Union[Tuple[int, str], Tuple[int, str, str]]]: FILE: src/pip/_vendor/msgpack/__init__.py function pack (line 20) | def pack(o, stream, **kwargs): function packb (line 30) | def packb(o, **kwargs): function unpack (line 39) | def unpack(stream, **kwargs): FILE: src/pip/_vendor/msgpack/exceptions.py class UnpackException (line 1) | class UnpackException(Exception): class BufferFull (line 10) | class BufferFull(UnpackException): class OutOfData (line 14) | class OutOfData(UnpackException): class FormatError (line 18) | class FormatError(ValueError, UnpackException): class StackError (line 22) | class StackError(ValueError, UnpackException): class ExtraData (line 30) | class ExtraData(UnpackValueError): method __init__ (line 37) | def __init__(self, unpacked, extra): method __str__ (line 41) | def __str__(self): FILE: src/pip/_vendor/msgpack/ext.py class ExtType (line 6) | class ExtType(namedtuple("ExtType", "code data")): method __new__ (line 9) | def __new__(cls, code, data): class Timestamp (line 19) | class Timestamp: method __init__ (line 31) | def __init__(self, seconds, nanoseconds=0): method __repr__ (line 53) | def __repr__(self): method __eq__ (line 57) | def __eq__(self, other): method __ne__ (line 63) | def __ne__(self, other): method __hash__ (line 67) | def __hash__(self): method from_bytes (line 71) | def from_bytes(b): method to_bytes (line 97) | def to_bytes(self): method from_unix (line 119) | def from_unix(unix_sec): method to_unix (line 129) | def to_unix(self): method from_unix_nano (line 138) | def from_unix_nano(unix_ns): method to_unix_nano (line 146) | def to_unix_nano(self): method to_datetime (line 154) | def to_datetime(self): method from_datetime (line 165) | def from_datetime(dt): FILE: src/pip/_vendor/msgpack/fallback.py class BytesIO (line 13) | class BytesIO: method __init__ (line 14) | def __init__(self, s=b""): method write (line 21) | def write(self, s): method getvalue (line 28) | def getvalue(self): function newlist_hint (line 36) | def newlist_hint(size): function _check_type_strict (line 58) | def _check_type_strict(obj, t, type=type, tuple=tuple): function _get_data_from_buffer (line 65) | def _get_data_from_buffer(obj): function unpackb (line 72) | def unpackb(packed, **kwargs): class Unpacker (line 130) | class Unpacker: method __init__ (line 226) | def __init__( method feed (line 318) | def feed(self, next_bytes): method _consume (line 334) | def _consume(self): method _got_extradata (line 339) | def _got_extradata(self): method _get_extradata (line 342) | def _get_extradata(self): method read_bytes (line 345) | def read_bytes(self, n): method _read (line 350) | def _read(self, n, raise_outofdata=True): method _reserve (line 358) | def _reserve(self, n, raise_outofdata=True): method _read_header (line 392) | def _read_header(self): method _unpack (line 488) | def _unpack(self, execute=EX_CONSTRUCT): method __iter__ (line 562) | def __iter__(self): method __next__ (line 565) | def __next__(self): method skip (line 578) | def skip(self): method unpack (line 582) | def unpack(self): method read_array_header (line 590) | def read_array_header(self): method read_map_header (line 595) | def read_map_header(self): method tell (line 600) | def tell(self): class Packer (line 604) | class Packer: method __init__ (line 653) | def __init__( method _pack (line 676) | def _pack( method pack (line 800) | def pack(self, obj): method pack_map_pairs (line 811) | def pack_map_pairs(self, pairs): method pack_array_header (line 818) | def pack_array_header(self, n): method pack_map_header (line 827) | def pack_map_header(self, n): method pack_ext_type (line 836) | def pack_ext_type(self, typecode, data): method _pack_array_header (line 865) | def _pack_array_header(self, n): method _pack_map_header (line 874) | def _pack_map_header(self, n): method _pack_map_pairs (line 883) | def _pack_map_pairs(self, n, pairs, nest_limit=DEFAULT_RECURSE_LIMIT): method _pack_raw_header (line 889) | def _pack_raw_header(self, n): method _pack_bin_header (line 901) | def _pack_bin_header(self, n): method bytes (line 913) | def bytes(self): method reset (line 917) | def reset(self): method getbuffer (line 924) | def getbuffer(self): FILE: src/pip/_vendor/packaging/_elffile.py class ELFInvalid (line 18) | class ELFInvalid(ValueError): class EIClass (line 22) | class EIClass(enum.IntEnum): class EIData (line 27) | class EIData(enum.IntEnum): class EMachine (line 32) | class EMachine(enum.IntEnum): class ELFFile (line 40) | class ELFFile: method __init__ (line 45) | def __init__(self, f: IO[bytes]) -> None: method _read (line 90) | def _read(self, fmt: str) -> tuple[int, ...]: method interpreter (line 94) | def interpreter(self) -> str | None: FILE: src/pip/_vendor/packaging/_manylinux.py function _parse_elf (line 32) | def _parse_elf(path: str) -> Generator[ELFFile | None, None, None]: function _is_linux_armhf (line 40) | def _is_linux_armhf(executable: str) -> bool: function _is_linux_i686 (line 55) | def _is_linux_i686(executable: str) -> bool: function _have_compatible_abi (line 65) | def _have_compatible_abi(executable: str, archs: Sequence[str]) -> bool: class _GLibCVersion (line 81) | class _GLibCVersion(NamedTuple): function _glibc_version_string_confstr (line 86) | def _glibc_version_string_confstr() -> str | None: function _glibc_version_string_ctypes (line 105) | def _glibc_version_string_ctypes() -> str | None: function _glibc_version_string (line 149) | def _glibc_version_string() -> str | None: function _parse_glibc_version (line 154) | def _parse_glibc_version(version_str: str) -> _GLibCVersion: function _get_glibc_version (line 174) | def _get_glibc_version() -> _GLibCVersion: function _is_compatible (line 182) | def _is_compatible(arch: str, version: _GLibCVersion) -> bool: function platform_tags (line 219) | def platform_tags(archs: Sequence[str]) -> Iterator[str]: FILE: src/pip/_vendor/packaging/_musllinux.py class _MuslVersion (line 18) | class _MuslVersion(NamedTuple): function _parse_musl_version (line 23) | def _parse_musl_version(output: str) -> _MuslVersion | None: function _get_musl_version (line 34) | def _get_musl_version(executable: str) -> _MuslVersion | None: function platform_tags (line 56) | def platform_tags(archs: Sequence[str]) -> Iterator[str]: FILE: src/pip/_vendor/packaging/_parser.py class Node (line 15) | class Node: method __init__ (line 18) | def __init__(self, value: str) -> None: method __str__ (line 21) | def __str__(self) -> str: method __repr__ (line 24) | def __repr__(self) -> str: method serialize (line 27) | def serialize(self) -> str: class Variable (line 31) | class Variable(Node): method serialize (line 34) | def serialize(self) -> str: class Value (line 38) | class Value(Node): method serialize (line 41) | def serialize(self) -> str: class Op (line 45) | class Op(Node): method serialize (line 48) | def serialize(self) -> str: class ParsedRequirement (line 59) | class ParsedRequirement(NamedTuple): function parse_requirement (line 70) | def parse_requirement(source: str) -> ParsedRequirement: function _parse_requirement (line 74) | def _parse_requirement(tokenizer: Tokenizer) -> ParsedRequirement: function _parse_requirement_details (line 95) | def _parse_requirement_details( function _parse_requirement_marker (line 148) | def _parse_requirement_marker( function _parse_extras (line 169) | def _parse_extras(tokenizer: Tokenizer) -> list[str]: function _parse_extras_list (line 188) | def _parse_extras_list(tokenizer: Tokenizer) -> list[str]: function _parse_specifier (line 215) | def _parse_specifier(tokenizer: Tokenizer) -> str: function _parse_version_many (line 232) | def _parse_version_many(tokenizer: Tokenizer) -> str: function parse_marker (line 264) | def parse_marker(source: str) -> MarkerList: function _parse_full_marker (line 268) | def _parse_full_marker(tokenizer: Tokenizer) -> MarkerList: function _parse_marker (line 274) | def _parse_marker(tokenizer: Tokenizer) -> MarkerList: function _parse_marker_atom (line 286) | def _parse_marker_atom(tokenizer: Tokenizer) -> MarkerAtom: function _parse_marker_item (line 308) | def _parse_marker_item(tokenizer: Tokenizer) -> MarkerItem: function _parse_marker_var (line 322) | def _parse_marker_var(tokenizer: Tokenizer) -> MarkerVar: # noqa: RET503 function process_env_var (line 336) | def process_env_var(env_var: str) -> Variable: function process_python_str (line 343) | def process_python_str(python_str: str) -> Value: function _parse_marker_op (line 348) | def _parse_marker_op(tokenizer: Tokenizer) -> Op: FILE: src/pip/_vendor/packaging/_structures.py class InfinityType (line 9) | class InfinityType: method __repr__ (line 12) | def __repr__(self) -> str: method __hash__ (line 15) | def __hash__(self) -> int: method __lt__ (line 18) | def __lt__(self, other: object) -> bool: method __le__ (line 21) | def __le__(self, other: object) -> bool: method __eq__ (line 24) | def __eq__(self, other: object) -> bool: method __gt__ (line 27) | def __gt__(self, other: object) -> bool: method __ge__ (line 30) | def __ge__(self, other: object) -> bool: method __neg__ (line 33) | def __neg__(self: object) -> "NegativeInfinityType": class NegativeInfinityType (line 41) | class NegativeInfinityType: method __repr__ (line 44) | def __repr__(self) -> str: method __hash__ (line 47) | def __hash__(self) -> int: method __lt__ (line 50) | def __lt__(self, other: object) -> bool: method __le__ (line 53) | def __le__(self, other: object) -> bool: method __eq__ (line 56) | def __eq__(self, other: object) -> bool: method __gt__ (line 59) | def __gt__(self, other: object) -> bool: method __ge__ (line 62) | def __ge__(self, other: object) -> bool: method __neg__ (line 65) | def __neg__(self: object) -> InfinityType: FILE: src/pip/_vendor/packaging/_tokenizer.py class Token (line 12) | class Token: class ParserSyntaxError (line 18) | class ParserSyntaxError(Exception): method __init__ (line 21) | def __init__( method __str__ (line 34) | def __str__(self) -> str: class Tokenizer (line 91) | class Tokenizer: method __init__ (line 98) | def __init__( method consume (line 109) | def consume(self, name: str) -> None: method check (line 114) | def check(self, name: str, *, peek: bool = False) -> bool: method expect (line 135) | def expect(self, name: str, *, expected: str) -> Token: method read (line 144) | def read(self) -> Token: method raise_syntax_error (line 154) | def raise_syntax_error( method enclosing_tokens (line 173) | def enclosing_tokens( FILE: src/pip/_vendor/packaging/licenses/__init__.py class InvalidLicenseExpression (line 50) | class InvalidLicenseExpression(ValueError): function canonicalize_license_expression (line 60) | def canonicalize_license_expression( FILE: src/pip/_vendor/packaging/licenses/_spdx.py class SPDXLicense (line 6) | class SPDXLicense(TypedDict): class SPDXException (line 10) | class SPDXException(TypedDict): FILE: src/pip/_vendor/packaging/markers.py class InvalidMarker (line 40) | class InvalidMarker(ValueError): class UndefinedComparison (line 46) | class UndefinedComparison(ValueError): class UndefinedEnvironmentName (line 52) | class UndefinedEnvironmentName(ValueError): class Environment (line 59) | class Environment(TypedDict): function _normalize_extras (line 131) | def _normalize_extras( function _normalize_extra_values (line 147) | def _normalize_extra_values(results: MarkerList) -> MarkerList: function _format_marker (line 155) | def _format_marker( function _eval_op (line 195) | def _eval_op(lhs: str, op: Op, rhs: str | AbstractSet[str], *, key: str)... function _normalize (line 212) | def _normalize( function _evaluate_markers (line 233) | def _evaluate_markers( function format_full_version (line 266) | def format_full_version(info: sys._version_info) -> str: function default_environment (line 274) | def default_environment() -> Environment: class Marker (line 292) | class Marker: method __init__ (line 293) | def __init__(self, marker: str) -> None: method __str__ (line 323) | def __str__(self) -> str: method __repr__ (line 326) | def __repr__(self) -> str: method __hash__ (line 329) | def __hash__(self) -> int: method __eq__ (line 332) | def __eq__(self, other: object) -> bool: method evaluate (line 338) | def evaluate( function _repair_python_full_version (line 378) | def _repair_python_full_version( FILE: src/pip/_vendor/packaging/metadata.py class ExceptionGroup (line 34) | class ExceptionGroup(Exception): method __init__ (line 44) | def __init__(self, message: str, exceptions: list[Exception]) -> None: method __repr__ (line 48) | def __repr__(self) -> str: class InvalidMetadata (line 52) | class InvalidMetadata(ValueError): method __init__ (line 58) | def __init__(self, field: str, message: str) -> None: class RawMetadata (line 67) | class RawMetadata(TypedDict, total=False): function _parse_keywords (line 186) | def _parse_keywords(data: str) -> list[str]: function _parse_project_urls (line 191) | def _parse_project_urls(data: list[str]) -> dict[str, str]: function _get_payload (line 230) | def _get_payload(msg: email.message.Message, source: bytes | str) -> str: class RFC822Policy (line 299) | class RFC822Policy(email.policy.EmailPolicy): method header_store_parse (line 309) | def header_store_parse(self, name: str, value: str) -> tuple[str, str]: class RFC822Message (line 316) | class RFC822Message(email.message.EmailMessage): method __init__ (line 323) | def __init__(self) -> None: method as_bytes (line 326) | def as_bytes( function parse_email (line 337) | def parse_email(data: bytes | str) -> tuple[RawMetadata, dict[str, list[... class _Validator (line 528) | class _Validator(Generic[T]): method __init__ (line 542) | def __init__( method __set_name__ (line 549) | def __set_name__(self, _owner: Metadata, name: str) -> None: method __get__ (line 553) | def __get__(self, instance: Metadata, _owner: type[Metadata]) -> T: method _invalid_metadata (line 580) | def _invalid_metadata( method _process_metadata_version (line 589) | def _process_metadata_version(self, value: str) -> _MetadataVersion: method _process_name (line 595) | def _process_name(self, value: str) -> str: method _process_version (line 608) | def _process_version(self, value: str) -> version_module.Version: method _process_summary (line 618) | def _process_summary(self, value: str) -> str: method _process_description_content_type (line 624) | def _process_description_content_type(self, value: str) -> str: method _process_dynamic (line 656) | def _process_dynamic(self, value: list[str]) -> list[str]: method _process_provides_extra (line 668) | def _process_provides_extra( method _process_requires_python (line 683) | def _process_requires_python(self, value: str) -> specifiers.Specifier... method _process_requires_dist (line 691) | def _process_requires_dist( method _process_license_expression (line 706) | def _process_license_expression(self, value: str) -> NormalizedLicense... method _process_license_files (line 714) | def _process_license_files(self, value: list[str]) -> list[str]: method _process_import_names (line 740) | def _process_import_names(self, value: list[str]) -> list[str]: class Metadata (line 765) | class Metadata: method from_raw (line 777) | def from_raw(cls, data: RawMetadata, *, validate: bool = True) -> Meta... method from_email (line 834) | def from_email(cls, data: bytes | str, *, validate: bool = True) -> Me... method as_rfc822 (line 946) | def as_rfc822(self) -> RFC822Message: method _write_metadata (line 954) | def _write_metadata(self, message: RFC822Message) -> None: FILE: src/pip/_vendor/packaging/pylock.py class _FromMappingProtocol (line 46) | class _FromMappingProtocol(Protocol): # pragma: no cover method _from_dict (line 48) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: ... function is_valid_pylock_path (line 57) | def is_valid_pylock_path(path: Path) -> bool: function _toml_key (line 62) | def _toml_key(key: str) -> str: function _toml_value (line 66) | def _toml_value(key: str, value: Any) -> Any: # noqa: ANN401 function _toml_dict_factory (line 74) | def _toml_dict_factory(data: list[tuple[str, Any]]) -> dict[str, Any]: function _get (line 82) | def _get(d: Mapping[str, Any], expected_type: type[_T], key: str) -> _T ... function _get_required (line 95) | def _get_required(d: Mapping[str, Any], expected_type: type[_T], key: st... function _get_sequence (line 102) | def _get_sequence( function _get_as (line 124) | def _get_as( function _get_required_as (line 143) | def _get_required_as( function _get_sequence_as (line 156) | def _get_sequence_as( function _get_object (line 175) | def _get_object( function _get_sequence_of_objects (line 187) | def _get_sequence_of_objects( function _get_required_sequence_of_objects (line 203) | def _get_required_sequence_of_objects( function _validate_normalized_name (line 213) | def _validate_normalized_name(name: str) -> NormalizedName: function _validate_path_url (line 220) | def _validate_path_url(path: str | None, url: str | None) -> None: function _validate_hashes (line 225) | def _validate_hashes(hashes: Mapping[str, Any]) -> Mapping[str, Any]: class PylockValidationError (line 233) | class PylockValidationError(Exception): method __init__ (line 239) | def __init__( method __str__ (line 257) | def __str__(self) -> str: class _PylockRequiredKeyError (line 263) | class _PylockRequiredKeyError(PylockValidationError): method __init__ (line 264) | def __init__(self, key: str) -> None: class PylockUnsupportedVersionError (line 268) | class PylockUnsupportedVersionError(PylockValidationError): class PackageVcs (line 273) | class PackageVcs: method __init__ (line 281) | def __init__( method _from_dict (line 300) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: class PackageDirectory (line 314) | class PackageDirectory: method __init__ (line 319) | def __init__( method _from_dict (line 332) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: class PackageArchive (line 341) | class PackageArchive: method __init__ (line 349) | def __init__( method _from_dict (line 368) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: class PackageSdist (line 382) | class PackageSdist: method __init__ (line 390) | def __init__( method _from_dict (line 409) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: class PackageWheel (line 423) | class PackageWheel: method __init__ (line 431) | def __init__( method _from_dict (line 450) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: class Package (line 464) | class Package: method __init__ (line 479) | def __init__( method _from_dict (line 512) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: method is_direct (line 553) | def is_direct(self) -> bool: class Pylock (line 558) | class Pylock: method __init__ (line 571) | def __init__( method _from_dict (line 596) | def _from_dict(cls, d: Mapping[str, Any]) -> Self: method from_dict (line 619) | def from_dict(cls, d: Mapping[str, Any], /) -> Self: method to_dict (line 627) | def to_dict(self) -> Mapping[str, Any]: method validate (line 631) | def validate(self) -> None: FILE: src/pip/_vendor/packaging/requirements.py class InvalidRequirement (line 15) | class InvalidRequirement(ValueError): class Requirement (line 21) | class Requirement: method __init__ (line 34) | def __init__(self, requirement_string: str) -> None: method _iter_parts (line 49) | def _iter_parts(self, name: str) -> Iterator[str]: method __str__ (line 67) | def __str__(self) -> str: method __repr__ (line 70) | def __repr__(self) -> str: method __hash__ (line 73) | def __hash__(self) -> int: method __eq__ (line 76) | def __eq__(self, other: object) -> bool: FILE: src/pip/_vendor/packaging/specifiers.py function _coerce_version (line 26) | def _coerce_version(version: UnparsedVersion) -> Version | None: function _public_version (line 35) | def _public_version(version: Version) -> Version: function _base_version (line 39) | def _base_version(version: Version) -> Version: class InvalidSpecifier (line 43) | class InvalidSpecifier(ValueError): class BaseSpecifier (line 55) | class BaseSpecifier(metaclass=abc.ABCMeta): method _str (line 60) | def _str(self) -> str: method __str__ (line 65) | def __str__(self) -> str: method __hash__ (line 72) | def __hash__(self) -> int: method __eq__ (line 78) | def __eq__(self, other: object) -> bool: method prereleases (line 88) | def prereleases(self) -> bool | None: method prereleases (line 96) | def prereleases(self, value: bool) -> None: method contains (line 103) | def contains(self, item: str, prereleases: bool | None = None) -> bool: method filter (line 109) | def filter( class Specifier (line 118) | class Specifier(BaseSpecifier): method __init__ (line 243) | def __init__(self, spec: str = "", prereleases: bool | None = None) ->... method _get_spec_version (line 271) | def _get_spec_version(self, version: str) -> Version | None: method _require_spec_version (line 283) | def _require_spec_version(self, version: str) -> Version: method prereleases (line 294) | def prereleases(self) -> bool | None: method prereleases (line 323) | def prereleases(self, value: bool | None) -> None: method operator (line 327) | def operator(self) -> str: method version (line 336) | def version(self) -> str: method __repr__ (line 344) | def __repr__(self) -> str: method __str__ (line 362) | def __str__(self) -> str: method _canonical_spec (line 373) | def _canonical_spec(self) -> tuple[str, str]: method __hash__ (line 386) | def __hash__(self) -> int: method __eq__ (line 389) | def __eq__(self, other: object) -> bool: method _get_operator (line 418) | def _get_operator(self, op: str) -> CallableOperator: method _compare_compatible (line 424) | def _compare_compatible(self, prospective: Version, spec: str) -> bool: method _compare_equal (line 444) | def _compare_equal(self, prospective: Version, spec: str) -> bool: method _compare_not_equal (line 484) | def _compare_not_equal(self, prospective: Version, spec: str) -> bool: method _compare_less_than_equal (line 487) | def _compare_less_than_equal(self, prospective: Version, spec: str) ->... method _compare_greater_than_equal (line 493) | def _compare_greater_than_equal(self, prospective: Version, spec: str)... method _compare_less_than (line 499) | def _compare_less_than(self, prospective: Version, spec_str: str) -> b... method _compare_greater_than (line 526) | def _compare_greater_than(self, prospective: Version, spec_str: str) -... method _compare_arbitrary (line 560) | def _compare_arbitrary(self, prospective: Version | str, spec: str) ->... method __contains__ (line 563) | def __contains__(self, item: str | Version) -> bool: method contains (line 584) | def contains(self, item: UnparsedVersion, prereleases: bool | None = N... method filter (line 611) | def filter( function _version_split (line 677) | def _version_split(version: str) -> list[str]: function _version_join (line 699) | def _version_join(components: list[str]) -> str: function _is_not_suffix (line 710) | def _is_not_suffix(segment: str) -> bool: function _pad_version (line 716) | def _pad_version(left: list[str], right: list[str]) -> tuple[list[str], ... class SpecifierSet (line 737) | class SpecifierSet(BaseSpecifier): method __init__ (line 746) | def __init__( method prereleases (line 785) | def prereleases(self) -> bool | None: method prereleases (line 805) | def prereleases(self, value: bool | None) -> None: method __repr__ (line 808) | def __repr__(self) -> str: method __str__ (line 829) | def __str__(self) -> str: method __hash__ (line 842) | def __hash__(self) -> int: method __and__ (line 845) | def __and__(self, other: SpecifierSet | str) -> SpecifierSet: method __eq__ (line 876) | def __eq__(self, other: object) -> bool: method __len__ (line 902) | def __len__(self) -> int: method __iter__ (line 906) | def __iter__(self) -> Iterator[Specifier]: method __contains__ (line 916) | def __contains__(self, item: UnparsedVersion) -> bool: method contains (line 937) | def contains( method filter (line 977) | def filter( FILE: src/pip/_vendor/packaging/tags.py class Tag (line 43) | class Tag: method __init__ (line 53) | def __init__(self, interpreter: str, abi: str, platform: str) -> None: method interpreter (line 65) | def interpreter(self) -> str: method abi (line 69) | def abi(self) -> str: method platform (line 73) | def platform(self) -> str: method __eq__ (line 76) | def __eq__(self, other: object) -> bool: method __hash__ (line 87) | def __hash__(self) -> int: method __str__ (line 90) | def __str__(self) -> str: method __repr__ (line 93) | def __repr__(self) -> str: method __setstate__ (line 96) | def __setstate__(self, state: tuple[None, dict[str, Any]]) -> None: function parse_tag (line 104) | def parse_tag(tag: str) -> frozenset[Tag]: function _get_config_var (line 120) | def _get_config_var(name: str, warn: bool = False) -> int | str | None: function _normalize_string (line 129) | def _normalize_string(string: str) -> str: function _is_threaded_cpython (line 133) | def _is_threaded_cpython(abis: list[str]) -> bool: function _abi3_applies (line 149) | def _abi3_applies(python_version: PythonVersion, threading: bool) -> bool: function _cpython_abis (line 159) | def _cpython_abis(py_version: PythonVersion, warn: bool = False) -> list... function cpython_tags (line 192) | def cpython_tags( function _generic_abi (line 248) | def _generic_abi() -> list[str]: function generic_tags (line 289) | def generic_tags( function _py_interpreter_range (line 317) | def _py_interpreter_range(py_version: PythonVersion) -> Iterator[str]: function compatible_tags (line 332) | def compatible_tags( function _mac_arch (line 357) | def _mac_arch(arch: str, is_32bit: bool = _32_BIT_INTERPRETER) -> str: function _mac_binary_formats (line 367) | def _mac_binary_formats(version: AppleVersion, cpu_arch: str) -> list[str]: function mac_platforms (line 399) | def mac_platforms( function ios_platforms (line 475) | def ios_platforms( function android_platforms (line 532) | def android_platforms( function _linux_platforms (line 569) | def _linux_platforms(is_32bit: bool = _32_BIT_INTERPRETER) -> Iterator[s... function _generic_platforms (line 588) | def _generic_platforms() -> Iterator[str]: function platform_tags (line 592) | def platform_tags() -> Iterator[str]: function interpreter_name (line 608) | def interpreter_name() -> str: function interpreter_version (line 619) | def interpreter_version(*, warn: bool = False) -> str: function _version_nodot (line 627) | def _version_nodot(version: PythonVersion) -> str: function sys_tags (line 631) | def sys_tags(*, warn: bool = False) -> Iterator[Tag]: FILE: src/pip/_vendor/packaging/utils.py class InvalidName (line 17) | class InvalidName(ValueError): class InvalidWheelFilename (line 23) | class InvalidWheelFilename(ValueError): class InvalidSdistFilename (line 29) | class InvalidSdistFilename(ValueError): function canonicalize_name (line 42) | def canonicalize_name(name: str, *, validate: bool = False) -> Normalize... function is_normalized_name (line 55) | def is_normalized_name(name: str) -> bool: function canonicalize_version (line 59) | def canonicalize_version( function parse_wheel_filename (line 89) | def parse_wheel_filename( function parse_sdist_filename (line 132) | def parse_sdist_filename(filename: str) -> tuple[NormalizedName, Version]: FILE: src/pip/_vendor/packaging/version.py function _deprecated (line 39) | def _deprecated(message: str) -> object: class _VersionReplace (line 85) | class _VersionReplace(TypedDict, total=False): function parse (line 94) | def parse(version: str) -> Version: class InvalidVersion (line 106) | class InvalidVersion(ValueError): class _BaseVersion (line 116) | class _BaseVersion: method _key (line 125) | def _key(self) -> tuple[Any, ...]: ... method __hash__ (line 127) | def __hash__(self) -> int: method __lt__ (line 133) | def __lt__(self, other: _BaseVersion) -> bool: method __le__ (line 139) | def __le__(self, other: _BaseVersion) -> bool: method __eq__ (line 145) | def __eq__(self, other: object) -> bool: method __ge__ (line 151) | def __ge__(self, other: _BaseVersion) -> bool: method __gt__ (line 157) | def __gt__(self, other: _BaseVersion) -> bool: method __ne__ (line 163) | def __ne__(self, other: object) -> bool: function _validate_epoch (line 238) | def _validate_epoch(value: object, /) -> int: function _validate_release (line 246) | def _validate_release(value: object, /) -> tuple[int, ...]: function _validate_pre (line 258) | def _validate_pre(value: object, /) -> tuple[Literal["a", "b", "rc"], in... function _validate_post (line 273) | def _validate_post(value: object, /) -> tuple[Literal["post"], int] | None: function _validate_dev (line 282) | def _validate_dev(value: object, /) -> tuple[Literal["dev"], int] | None: function _validate_local (line 291) | def _validate_local(value: object, /) -> LocalType | None: class _Version (line 301) | class _Version(NamedTuple): class Version (line 310) | class Version(_BaseVersion): method __init__ (line 348) | def __init__(self, version: str) -> None: method __replace__ (line 374) | def __replace__(self, **kwargs: Unpack[_VersionReplace]) -> Self: method _key (line 408) | def _key(self) -> CmpKey: method _version (line 422) | def _version(self) -> _Version: method _version (line 429) | def _version(self, value: _Version) -> None: method __repr__ (line 438) | def __repr__(self) -> str: method __str__ (line 446) | def __str__(self) -> str: method _str (line 478) | def _str(self) -> str: method epoch (line 483) | def epoch(self) -> int: method release (line 494) | def release(self) -> tuple[int, ...]: method pre (line 510) | def pre(self) -> tuple[str, int] | None: method post (line 525) | def post(self) -> int | None: method dev (line 536) | def dev(self) -> int | None: method local (line 547) | def local(self) -> str | None: method public (line 561) | def public(self) -> str: method base_version (line 574) | def base_version(self) -> str: method is_prerelease (line 591) | def is_prerelease(self) -> bool: method is_postrelease (line 608) | def is_postrelease(self) -> bool: method is_devrelease (line 619) | def is_devrelease(self) -> bool: method major (line 630) | def major(self) -> int: method minor (line 639) | def minor(self) -> int: method micro (line 650) | def micro(self) -> int: class _TrimmedRelease (line 661) | class _TrimmedRelease(Version): method __init__ (line 664) | def __init__(self, version: str | Version) -> None: method release (line 677) | def release(self) -> tuple[int, ...]: function _parse_letter_version (line 695) | def _parse_letter_version( function _parse_local_version (line 722) | def _parse_local_version(local: str | None) -> LocalType | None: function _cmpkey (line 734) | def _cmpkey( FILE: src/pip/_vendor/pkg_resources/__init__.py class _LoaderProtocol (line 135) | class _LoaderProtocol(Protocol): method load_module (line 136) | def load_module(self, fullname: str, /) -> types.ModuleType: ... class _ZipLoaderModule (line 139) | class _ZipLoaderModule(Protocol): class PEP440Warning (line 146) | class PEP440Warning(RuntimeWarning): function _declare_state (line 159) | def _declare_state(vartype: str, varname: str, initial_value: _T) -> _T: function __getstate__ (line 164) | def __getstate__() -> dict[str, Any]: function __setstate__ (line 172) | def __setstate__(state: dict[str, Any]) -> dict[str, Any]: function _sget_dict (line 179) | def _sget_dict(val): function _sset_dict (line 183) | def _sset_dict(key, ob, state): function _sget_object (line 188) | def _sget_object(val): function _sset_object (line 192) | def _sset_object(key, ob, state): function get_supported_platform (line 199) | def get_supported_platform(): class ResolutionError (line 309) | class ResolutionError(Exception): method __repr__ (line 312) | def __repr__(self): class VersionConflict (line 316) | class VersionConflict(ResolutionError): method dist (line 327) | def dist(self) -> Distribution: method req (line 331) | def req(self) -> Requirement: method report (line 334) | def report(self): method with_context (line 337) | def with_context(self, required_by: set[Distribution | str]): class ContextualVersionConflict (line 348) | class ContextualVersionConflict(VersionConflict): method required_by (line 357) | def required_by(self) -> set[str]: class DistributionNotFound (line 361) | class DistributionNotFound(ResolutionError): method req (line 370) | def req(self) -> Requirement: method requirers (line 374) | def requirers(self) -> set[str] | None: method requirers_str (line 378) | def requirers_str(self): method report (line 383) | def report(self): method __str__ (line 386) | def __str__(self): class UnknownExtra (line 390) | class UnknownExtra(ResolutionError): function register_loader_type (line 404) | def register_loader_type( function get_provider (line 417) | def get_provider(moduleOrReq: str) -> IResourceProvider: ... function get_provider (line 419) | def get_provider(moduleOrReq: Requirement) -> Distribution: ... function get_provider (line 420) | def get_provider(moduleOrReq: str | Requirement) -> IResourceProvider | ... function _macos_vers (line 434) | def _macos_vers(): function _macos_arch (line 447) | def _macos_arch(machine): function get_build_platform (line 451) | def get_build_platform(): function compatible_platforms (line 482) | def compatible_platforms(provided: str | None, required: str | None): function get_distribution (line 532) | def get_distribution(dist: _DistributionT) -> _DistributionT: ... function get_distribution (line 534) | def get_distribution(dist: _PkgReqType) -> Distribution: ... function get_distribution (line 535) | def get_distribution(dist: Distribution | _PkgReqType) -> Distribution: function load_entry_point (line 547) | def load_entry_point(dist: _EPDistType, group: str, name: str) -> _Resol... function get_entry_map (line 553) | def get_entry_map( function get_entry_map (line 557) | def get_entry_map(dist: _EPDistType, group: str) -> dict[str, EntryPoint... function get_entry_map (line 558) | def get_entry_map(dist: _EPDistType, group: str | None = None): function get_entry_info (line 563) | def get_entry_info(dist: _EPDistType, group: str, name: str): class IMetadataProvider (line 568) | class IMetadataProvider(Protocol): method has_metadata (line 569) | def has_metadata(self, name: str) -> bool: method get_metadata (line 572) | def get_metadata(self, name: str) -> str: method get_metadata_lines (line 575) | def get_metadata_lines(self, name: str) -> Iterator[str]: method metadata_isdir (line 581) | def metadata_isdir(self, name: str) -> bool: method metadata_listdir (line 584) | def metadata_listdir(self, name: str) -> list[str]: method run_script (line 587) | def run_script(self, script_name: str, namespace: dict[str, Any]) -> N... class IResourceProvider (line 591) | class IResourceProvider(IMetadataProvider, Protocol): method get_resource_filename (line 594) | def get_resource_filename( method get_resource_stream (line 601) | def get_resource_stream( method get_resource_string (line 608) | def get_resource_string( method has_resource (line 615) | def has_resource(self, resource_name: str) -> bool: method resource_isdir (line 618) | def resource_isdir(self, resource_name: str) -> bool: method resource_listdir (line 621) | def resource_listdir(self, resource_name: str) -> list[str]: class WorkingSet (line 625) | class WorkingSet: method __init__ (line 628) | def __init__(self, entries: Iterable[str] | None = None): method _build_master (line 643) | def _build_master(cls): method _build_from_requirements (line 663) | def _build_from_requirements(cls, req_spec): method add_entry (line 684) | def add_entry(self, entry: str): method __contains__ (line 699) | def __contains__(self, dist: Distribution) -> bool: method find (line 703) | def find(self, req: Requirement) -> Distribution | None: method iter_entry_points (line 727) | def iter_entry_points(self, group: str, name: str | None = None): method run_script (line 741) | def run_script(self, requires: str, script_name: str): method __iter__ (line 749) | def __iter__(self) -> Iterator[Distribution]: method add (line 766) | def add( method resolve (line 805) | def resolve( method resolve (line 814) | def resolve( method resolve (line 824) | def resolve( method resolve (line 832) | def resolve( method _resolve_dist (line 906) | def _resolve_dist( method find_plugins (line 938) | def find_plugins( method find_plugins (line 946) | def find_plugins( method find_plugins (line 955) | def find_plugins( method find_plugins (line 962) | def find_plugins( method require (line 1052) | def require(self, *requirements: _NestedStr): method subscribe (line 1068) | def subscribe( method _added_new (line 1084) | def _added_new(self, dist): method __getstate__ (line 1088) | def __getstate__(self): method __setstate__ (line 1097) | def __setstate__(self, e_k_b_n_c): class _ReqExtras (line 1106) | class _ReqExtras(Dict["Requirement", Tuple[str, ...]]): method markers_pass (line 1111) | def markers_pass(self, req: Requirement, extras: tuple[str, ...] | Non... class Environment (line 1126) | class Environment: method __init__ (line 1129) | def __init__( method can_add (line 1156) | def can_add(self, dist: Distribution): method remove (line 1170) | def remove(self, dist: Distribution): method scan (line 1174) | def scan(self, search_path: Iterable[str] | None = None): method __getitem__ (line 1189) | def __getitem__(self, project_name: str) -> list[Distribution]: method add (line 1200) | def add(self, dist: Distribution): method best_match (line 1209) | def best_match( method best_match (line 1217) | def best_match( method best_match (line 1224) | def best_match( method obtain (line 1258) | def obtain( method obtain (line 1264) | def obtain( method obtain (line 1270) | def obtain( method obtain (line 1275) | def obtain( method __iter__ (line 1293) | def __iter__(self) -> Iterator[str]: method __iadd__ (line 1299) | def __iadd__(self, other: Distribution | Environment): method __add__ (line 1311) | def __add__(self, other: Distribution | Environment): class ExtractionError (line 1323) | class ExtractionError(RuntimeError): class ResourceManager (line 1343) | class ResourceManager: method __init__ (line 1348) | def __init__(self): method resource_exists (line 1351) | def resource_exists(self, package_or_requirement: _PkgReqType, resourc... method resource_isdir (line 1355) | def resource_isdir(self, package_or_requirement: _PkgReqType, resource... method resource_filename (line 1359) | def resource_filename( method resource_stream (line 1367) | def resource_stream(self, package_or_requirement: _PkgReqType, resourc... method resource_string (line 1373) | def resource_string( method resource_listdir (line 1381) | def resource_listdir(self, package_or_requirement: _PkgReqType, resour... method extraction_error (line 1385) | def extraction_error(self) -> NoReturn: method get_cache_path (line 1415) | def get_cache_path(self, archive_name: str, names: Iterable[StrPath] =... method _warn_unsafe_extraction_path (line 1441) | def _warn_unsafe_extraction_path(path): method postprocess (line 1467) | def postprocess(self, tempname: StrOrBytesPath, filename: StrOrBytesPa... method set_extraction_path (line 1487) | def set_extraction_path(self, path: str): method cleanup_resources (line 1511) | def cleanup_resources(self, force: bool = False) -> list[str]: function get_default_cache (line 1526) | def get_default_cache() -> str: function safe_name (line 1535) | def safe_name(name: str): function safe_version (line 1543) | def safe_version(version: str): function _forgiving_version (line 1555) | def _forgiving_version(version): function _safe_segment (line 1580) | def _safe_segment(segment): function safe_extra (line 1587) | def safe_extra(extra: str): function to_filename (line 1596) | def to_filename(name: str): function invalid_marker (line 1604) | def invalid_marker(text: str): function evaluate_marker (line 1618) | def evaluate_marker(text: str, extra: str | None = None) -> bool: class NullProvider (line 1633) | class NullProvider: method __init__ (line 1640) | def __init__(self, module: _ModuleLike): method get_resource_filename (line 1644) | def get_resource_filename(self, manager: ResourceManager, resource_nam... method get_resource_stream (line 1647) | def get_resource_stream(self, manager: ResourceManager, resource_name:... method get_resource_string (line 1650) | def get_resource_string( method has_resource (line 1655) | def has_resource(self, resource_name: str): method _get_metadata_path (line 1658) | def _get_metadata_path(self, name): method has_metadata (line 1661) | def has_metadata(self, name: str) -> bool: method get_metadata (line 1668) | def get_metadata(self, name: str): method get_metadata_lines (line 1681) | def get_metadata_lines(self, name: str) -> Iterator[str]: method resource_isdir (line 1684) | def resource_isdir(self, resource_name: str): method metadata_isdir (line 1687) | def metadata_isdir(self, name: str) -> bool: method resource_listdir (line 1690) | def resource_listdir(self, resource_name: str): method metadata_listdir (line 1693) | def metadata_listdir(self, name: str) -> list[str]: method run_script (line 1698) | def run_script(self, script_name: str, namespace: dict[str, Any]): method _has (line 1727) | def _has(self, path) -> bool: method _isdir (line 1732) | def _isdir(self, path) -> bool: method _listdir (line 1737) | def _listdir(self, path) -> list[str]: method _fn (line 1742) | def _fn(self, base: str | None, resource_name: str): method _validate_resource_path (line 1753) | def _validate_resource_path(path): method _get (line 1827) | def _get(self, path) -> bytes: function _parents (line 1839) | def _parents(path): class EggProvider (line 1850) | class EggProvider(NullProvider): method __init__ (line 1853) | def __init__(self, module: _ModuleLike): method _setup_prefix (line 1857) | def _setup_prefix(self): method _set_egg (line 1864) | def _set_egg(self, path: str): class DefaultProvider (line 1870) | class DefaultProvider(EggProvider): method _has (line 1873) | def _has(self, path) -> bool: method _isdir (line 1876) | def _isdir(self, path) -> bool: method _listdir (line 1879) | def _listdir(self, path): method get_resource_stream (line 1882) | def get_resource_stream(self, manager: object, resource_name: str): method _get (line 1885) | def _get(self, path) -> bytes: method _register (line 1890) | def _register(cls): class EmptyProvider (line 1903) | class EmptyProvider(NullProvider): method _get (line 1911) | def _get(self, path) -> bytes: method _listdir (line 1914) | def _listdir(self, path): method __init__ (line 1917) | def __init__(self): class ZipManifests (line 1924) | class ZipManifests(Dict[str, "MemoizedZipManifests.manifest_mod"]): method build (line 1931) | def build(cls, path: str): class MemoizedZipManifests (line 1952) | class MemoizedZipManifests(ZipManifests): class manifest_mod (line 1957) | class manifest_mod(NamedTuple): method load (line 1961) | def load(self, path: str) -> dict[str, zipfile.ZipInfo]: # type: igno... class ZipProvider (line 1975) | class ZipProvider(EggProvider): method __init__ (line 1983) | def __init__(self, module: _ZipLoaderModule): method _zipinfo_name (line 1987) | def _zipinfo_name(self, fspath): method _parts (line 1997) | def _parts(self, zip_path): method zipinfo (line 2006) | def zipinfo(self): method get_resource_filename (line 2009) | def get_resource_filename(self, manager: ResourceManager, resource_nam... method _get_date_and_size (line 2023) | def _get_date_and_size(zip_stat): method _extract_resource (line 2032) | def _extract_resource(self, manager: ResourceManager, zip_path) -> str... method _is_current (line 2086) | def _is_current(self, file_path, zip_path): method _get_eager_resources (line 2102) | def _get_eager_resources(self): method _index (line 2111) | def _index(self): method _has (line 2128) | def _has(self, fspath) -> bool: method _isdir (line 2132) | def _isdir(self, fspath) -> bool: method _listdir (line 2135) | def _listdir(self, fspath): method _eager_to_zip (line 2138) | def _eager_to_zip(self, resource_name: str): method _resource_to_zip (line 2141) | def _resource_to_zip(self, resource_name: str): class FileMetadata (line 2148) | class FileMetadata(EmptyProvider): method __init__ (line 2160) | def __init__(self, path: StrPath): method _get_metadata_path (line 2163) | def _get_metadata_path(self, name): method has_metadata (line 2166) | def has_metadata(self, name: str) -> bool: method get_metadata (line 2169) | def get_metadata(self, name: str): method _warn_on_replacement (line 2178) | def _warn_on_replacement(self, metadata): method get_metadata_lines (line 2185) | def get_metadata_lines(self, name: str) -> Iterator[str]: class PathMetadata (line 2189) | class PathMetadata(DefaultProvider): method __init__ (line 2209) | def __init__(self, path: str, egg_info: str): class EggMetadata (line 2214) | class EggMetadata(ZipProvider): method __init__ (line 2217) | def __init__(self, importer: zipimport.zipimporter): function register_finder (line 2234) | def register_finder(importer_type: type[_T], distribution_finder: _DistF... function find_distributions (line 2244) | def find_distributions(path_item: str, only: bool = False): function find_eggs_in_zip (line 2251) | def find_eggs_in_zip( function find_nothing (line 2282) | def find_nothing( function find_on_path (line 2291) | def find_on_path(importer: object | None, path_item, only=False): function dist_factory (line 2311) | def dist_factory(path_item, entry, only): class NoDists (line 2330) | class NoDists: method __bool__ (line 2339) | def __bool__(self): method __call__ (line 2342) | def __call__(self, fullpath): function safe_listdir (line 2346) | def safe_listdir(path: StrOrBytesPath): function distributions_from_metadata (line 2362) | def distributions_from_metadata(path: str): function non_empty_lines (line 2380) | def non_empty_lines(path): function resolve_egg_link (line 2390) | def resolve_egg_link(path): function register_namespace_handler (line 2416) | def register_namespace_handler( function _handle_ns (line 2436) | def _handle_ns(packageName, path_item): function _rebuild_mod_path (line 2473) | def _rebuild_mod_path(orig_path, package_name, module: types.ModuleType): function declare_namespace (line 2507) | def declare_namespace(packageName: str): function fixup_namespace_packages (line 2550) | def fixup_namespace_packages(path_item: str, parent: str | None = None): function file_ns_handler (line 2562) | def file_ns_handler( function null_ns_handler (line 2587) | def null_ns_handler( function normalize_path (line 2600) | def normalize_path(filename: StrPath) -> str: ... function normalize_path (line 2602) | def normalize_path(filename: BytesPath) -> bytes: ... function normalize_path (line 2603) | def normalize_path(filename: StrOrBytesPath): function _cygwin_patch (line 2608) | def _cygwin_patch(filename: StrOrBytesPath): # pragma: nocover function _normalize_cached (line 2623) | def _normalize_cached(filename: StrPath) -> str: ... function _normalize_cached (line 2625) | def _normalize_cached(filename: BytesPath) -> bytes: ... function _normalize_cached (line 2626) | def _normalize_cached(filename: StrOrBytesPath) -> str | bytes: ... function _normalize_cached (line 2630) | def _normalize_cached(filename): function _is_egg_path (line 2634) | def _is_egg_path(path): function _is_zip_egg (line 2641) | def _is_zip_egg(path): function _is_unpacked_egg (line 2649) | def _is_unpacked_egg(path): function _set_parent_ns (line 2658) | def _set_parent_ns(packageName): class EntryPoint (line 2681) | class EntryPoint: method __init__ (line 2684) | def __init__( method __str__ (line 2700) | def __str__(self): method __repr__ (line 2708) | def __repr__(self): method load (line 2712) | def load( method load (line 2719) | def load( method load (line 2725) | def load( method resolve (line 2747) | def resolve(self) -> _ResolvedEntryPoint: method require (line 2757) | def require( method parse (line 2785) | def parse(cls, src: str, dist: Distribution | None = None): method _parse_extras (line 2805) | def _parse_extras(cls, extras_spec): method parse_group (line 2814) | def parse_group( method parse_map (line 2832) | def parse_map( function _version_from_file (line 2856) | def _version_from_file(lines): class Distribution (line 2871) | class Distribution: method __init__ (line 2876) | def __init__( method from_location (line 2896) | def from_location( method _reload_version (line 2923) | def _reload_version(self): method hashcmp (line 2927) | def hashcmp(self): method __hash__ (line 2937) | def __hash__(self): method __lt__ (line 2940) | def __lt__(self, other: Distribution): method __le__ (line 2943) | def __le__(self, other: Distribution): method __gt__ (line 2946) | def __gt__(self, other: Distribution): method __ge__ (line 2949) | def __ge__(self, other: Distribution): method __eq__ (line 2952) | def __eq__(self, other: object): method __ne__ (line 2958) | def __ne__(self, other: object): method key (line 2966) | def key(self): method parsed_version (line 2974) | def parsed_version(self): method _forgiving_parsed_version (line 2988) | def _forgiving_parsed_version(self): method version (line 3014) | def version(self): method _dep_map (line 3029) | def _dep_map(self): method _filter_extras (line 3041) | def _filter_extras(dm: dict[str | None, list[Requirement]]): method _build_dep_map (line 3061) | def _build_dep_map(self): method requires (line 3068) | def requires(self, extras: Iterable[str] = ()): method _get_metadata_path_for_display (line 3082) | def _get_metadata_path_for_display(self, name): method _get_metadata (line 3099) | def _get_metadata(self, name): method _get_version (line 3103) | def _get_version(self): method activate (line 3107) | def activate(self, path: list[str] | None = None, replace: bool = False): method egg_name (line 3118) | def egg_name(self): method __repr__ (line 3130) | def __repr__(self): method __str__ (line 3136) | def __str__(self): method __getattr__ (line 3144) | def __getattr__(self, attr): method __dir__ (line 3150) | def __dir__(self): method from_filename (line 3157) | def from_filename( method as_requirement (line 3167) | def as_requirement(self): method load_entry_point (line 3176) | def load_entry_point(self, group: str, name: str) -> _ResolvedEntryPoint: method get_entry_map (line 3184) | def get_entry_map(self, group: None = None) -> dict[str, dict[str, Ent... method get_entry_map (line 3186) | def get_entry_map(self, group: str) -> dict[str, EntryPoint]: ... method get_entry_map (line 3187) | def get_entry_map(self, group: str | None = None): method get_entry_info (line 3197) | def get_entry_info(self, group: str, name: str): method insert_on (line 3202) | def insert_on( # noqa: C901 method check_version_conflict (line 3275) | def check_version_conflict(self): method has_version (line 3301) | def has_version(self): method clone (line 3312) | def clone(self, **kw: str | int | IResourceProvider | None): method extras (line 3322) | def extras(self): class EggInfoDistribution (line 3326) | class EggInfoDistribution(Distribution): method _reload_version (line 3327) | def _reload_version(self): class DistInfoDistribution (line 3345) | class DistInfoDistribution(Distribution): method _parsed_pkg_info (line 3355) | def _parsed_pkg_info(self): method _dep_map (line 3365) | def _dep_map(self): method _compute_dependencies (line 3372) | def _compute_dependencies(self) -> dict[str | None, list[Requirement]]: function issue_warning (line 3405) | def issue_warning(*args, **kw): function parse_requirements (line 3418) | def parse_requirements(strs: _NestedStr): class RequirementParseError (line 3427) | class RequirementParseError(_packaging_requirements.InvalidRequirement): class Requirement (line 3431) | class Requirement(_packaging_requirements.Requirement): method __init__ (line 3432) | def __init__(self, requirement_string: str): method __eq__ (line 3450) | def __eq__(self, other: object): method __ne__ (line 3453) | def __ne__(self, other): method __contains__ (line 3456) | def __contains__(self, item: Distribution | str | tuple[str, ...]) -> ... method __hash__ (line 3468) | def __hash__(self): method __repr__ (line 3471) | def __repr__(self): method parse (line 3475) | def parse(s: str | Iterable[str]): function _always_object (line 3480) | def _always_object(classes): function _find_adapter (line 3490) | def _find_adapter(registry: Mapping[type, _AdapterT], ob: object) -> _Ad... function ensure_directory (line 3501) | def ensure_directory(path: StrOrBytesPath): function _bypass_ensure_directory (line 3507) | def _bypass_ensure_directory(path): function split_sections (line 3520) | def split_sections(s: _NestedStr) -> Iterator[tuple[str | None, list[str... function _mkstemp (line 3546) | def _mkstemp(*args, **kw): class PkgResourcesDeprecationWarning (line 3564) | class PkgResourcesDeprecationWarning(Warning): function _read_utf8_with_fallback (line 3577) | def _read_utf8_with_fallback(file: str, fallback_encoding=_LOCALE_ENCODI... function _call_aside (line 3606) | def _call_aside(f, *args, **kwargs): function _initialize (line 3612) | def _initialize(g=globals()): function _initialize_master_working_set (line 3624) | def _initialize_master_working_set(): FILE: src/pip/_vendor/platformdirs/__init__.py function _set_platform_dir_class (line 30) | def _set_platform_dir_class() -> type[PlatformDirsABC]: function user_data_dir (line 53) | def user_data_dir( function site_data_dir (line 77) | def site_data_dir( function user_config_dir (line 101) | def user_config_dir( function site_config_dir (line 125) | def site_config_dir( function user_cache_dir (line 149) | def user_cache_dir( function site_cache_dir (line 173) | def site_cache_dir( function user_state_dir (line 197) | def user_state_dir( function user_log_dir (line 221) | def user_log_dir( function user_documents_dir (line 245) | def user_documents_dir() -> str: function user_downloads_dir (line 250) | def user_downloads_dir() -> str: function user_pictures_dir (line 255) | def user_pictures_dir() -> str: function user_videos_dir (line 260) | def user_videos_dir() -> str: function user_music_dir (line 265) | def user_music_dir() -> str: function user_desktop_dir (line 270) | def user_desktop_dir() -> str: function user_runtime_dir (line 275) | def user_runtime_dir( function site_runtime_dir (line 299) | def site_runtime_dir( function user_data_path (line 323) | def user_data_path( function site_data_path (line 347) | def site_data_path( function user_config_path (line 371) | def user_config_path( function site_config_path (line 395) | def site_config_path( function site_cache_path (line 419) | def site_cache_path( function user_cache_path (line 443) | def user_cache_path( function user_state_path (line 467) | def user_state_path( function user_log_path (line 491) | def user_log_path( function user_documents_path (line 515) | def user_documents_path() -> Path: function user_downloads_path (line 520) | def user_downloads_path() -> Path: function user_pictures_path (line 525) | def user_pictures_path() -> Path: function user_videos_path (line 530) | def user_videos_path() -> Path: function user_music_path (line 535) | def user_music_path() -> Path: function user_desktop_path (line 540) | def user_desktop_path() -> Path: function user_runtime_path (line 545) | def user_runtime_path( function site_runtime_path (line 569) | def site_runtime_path( FILE: src/pip/_vendor/platformdirs/__main__.py function main (line 26) | def main() -> None: FILE: src/pip/_vendor/platformdirs/android.py class Android (line 14) | class Android(PlatformDirsABC): method user_data_dir (line 24) | def user_data_dir(self) -> str: method site_data_dir (line 29) | def site_data_dir(self) -> str: method user_config_dir (line 34) | def user_config_dir(self) -> str: method site_config_dir (line 42) | def site_config_dir(self) -> str: method user_cache_dir (line 47) | def user_cache_dir(self) -> str: method site_cache_dir (line 52) | def site_cache_dir(self) -> str: method user_state_dir (line 57) | def user_state_dir(self) -> str: method user_log_dir (line 62) | def user_log_dir(self) -> str: method user_documents_dir (line 73) | def user_documents_dir(self) -> str: method user_downloads_dir (line 78) | def user_downloads_dir(self) -> str: method user_pictures_dir (line 83) | def user_pictures_dir(self) -> str: method user_videos_dir (line 88) | def user_videos_dir(self) -> str: method user_music_dir (line 93) | def user_music_dir(self) -> str: method user_desktop_dir (line 98) | def user_desktop_dir(self) -> str: method user_runtime_dir (line 103) | def user_runtime_dir(self) -> str: method site_runtime_dir (line 114) | def site_runtime_dir(self) -> str: function _android_folder (line 120) | def _android_folder() -> str | None: # noqa: C901 function _android_documents_folder (line 168) | def _android_documents_folder() -> str: function _android_downloads_folder (line 184) | def _android_downloads_folder() -> str: function _android_pictures_folder (line 200) | def _android_pictures_folder() -> str: function _android_videos_folder (line 216) | def _android_videos_folder() -> str: function _android_music_folder (line 232) | def _android_music_folder() -> str: FILE: src/pip/_vendor/platformdirs/api.py class PlatformDirsABC (line 15) | class PlatformDirsABC(ABC): # noqa: PLR0904 method __init__ (line 18) | def __init__( # noqa: PLR0913, PLR0917 method _append_app_name_and_version (line 81) | def _append_app_name_and_version(self, *base: str) -> str: method _optionally_create_directory (line 91) | def _optionally_create_directory(self, path: str) -> None: method _first_item_as_path_if_multipath (line 95) | def _first_item_as_path_if_multipath(self, directory: str) -> Path: method user_data_dir (line 103) | def user_data_dir(self) -> str: method site_data_dir (line 108) | def site_data_dir(self) -> str: method user_config_dir (line 113) | def user_config_dir(self) -> str: method site_config_dir (line 118) | def site_config_dir(self) -> str: method user_cache_dir (line 123) | def user_cache_dir(self) -> str: method site_cache_dir (line 128) | def site_cache_dir(self) -> str: method user_state_dir (line 133) | def user_state_dir(self) -> str: method user_log_dir (line 138) | def user_log_dir(self) -> str: method user_documents_dir (line 143) | def user_documents_dir(self) -> str: method user_downloads_dir (line 148) | def user_downloads_dir(self) -> str: method user_pictures_dir (line 153) | def user_pictures_dir(self) -> str: method user_videos_dir (line 158) | def user_videos_dir(self) -> str: method user_music_dir (line 163) | def user_music_dir(self) -> str: method user_desktop_dir (line 168) | def user_desktop_dir(self) -> str: method user_runtime_dir (line 173) | def user_runtime_dir(self) -> str: method site_runtime_dir (line 178) | def site_runtime_dir(self) -> str: method user_data_path (line 182) | def user_data_path(self) -> Path: method site_data_path (line 187) | def site_data_path(self) -> Path: method user_config_path (line 192) | def user_config_path(self) -> Path: method site_config_path (line 197) | def site_config_path(self) -> Path: method user_cache_path (line 202) | def user_cache_path(self) -> Path: method site_cache_path (line 207) | def site_cache_path(self) -> Path: method user_state_path (line 212) | def user_state_path(self) -> Path: method user_log_path (line 217) | def user_log_path(self) -> Path: method user_documents_path (line 222) | def user_documents_path(self) -> Path: method user_downloads_path (line 227) | def user_downloads_path(self) -> Path: method user_pictures_path (line 232) | def user_pictures_path(self) -> Path: method user_videos_path (line 237) | def user_videos_path(self) -> Path: method user_music_path (line 242) | def user_music_path(self) -> Path: method user_desktop_path (line 247) | def user_desktop_path(self) -> Path: method user_runtime_path (line 252) | def user_runtime_path(self) -> Path: method site_runtime_path (line 257) | def site_runtime_path(self) -> Path: method iter_config_dirs (line 261) | def iter_config_dirs(self) -> Iterator[str]: method iter_data_dirs (line 266) | def iter_data_dirs(self) -> Iterator[str]: method iter_cache_dirs (line 271) | def iter_cache_dirs(self) -> Iterator[str]: method iter_runtime_dirs (line 276) | def iter_runtime_dirs(self) -> Iterator[str]: method iter_config_paths (line 281) | def iter_config_paths(self) -> Iterator[Path]: method iter_data_paths (line 286) | def iter_data_paths(self) -> Iterator[Path]: method iter_cache_paths (line 291) | def iter_cache_paths(self) -> Iterator[Path]: method iter_runtime_paths (line 296) | def iter_runtime_paths(self) -> Iterator[Path]: FILE: src/pip/_vendor/platformdirs/macos.py class MacOS (line 15) | class MacOS(PlatformDirsABC): method user_data_dir (line 28) | def user_data_dir(self) -> str: method site_data_dir (line 33) | def site_data_dir(self) -> str: method site_data_path (line 51) | def site_data_path(self) -> Path: method user_config_dir (line 56) | def user_config_dir(self) -> str: method site_config_dir (line 61) | def site_config_dir(self) -> str: method user_cache_dir (line 66) | def user_cache_dir(self) -> str: method site_cache_dir (line 71) | def site_cache_dir(self) -> str: method site_cache_path (line 89) | def site_cache_path(self) -> Path: method user_state_dir (line 94) | def user_state_dir(self) -> str: method user_log_dir (line 99) | def user_log_dir(self) -> str: method user_documents_dir (line 104) | def user_documents_dir(self) -> str: method user_downloads_dir (line 109) | def user_downloads_dir(self) -> str: method user_pictures_dir (line 114) | def user_pictures_dir(self) -> str: method user_videos_dir (line 119) | def user_videos_dir(self) -> str: method user_music_dir (line 124) | def user_music_dir(self) -> str: method user_desktop_dir (line 129) | def user_desktop_dir(self) -> str: method user_runtime_dir (line 134) | def user_runtime_dir(self) -> str: method site_runtime_dir (line 139) | def site_runtime_dir(self) -> str: FILE: src/pip/_vendor/platformdirs/unix.py function getuid (line 18) | def getuid() -> NoReturn: class Unix (line 26) | class Unix(PlatformDirsABC): # noqa: PLR0904 method user_data_dir (line 40) | def user_data_dir(self) -> str: method _site_data_dirs (line 51) | def _site_data_dirs(self) -> list[str]: method site_data_dir (line 58) | def site_data_dir(self) -> str: method user_config_dir (line 71) | def user_config_dir(self) -> str: method _site_config_dirs (line 82) | def _site_config_dirs(self) -> list[str]: method site_config_dir (line 89) | def site_config_dir(self) -> str: method user_cache_dir (line 102) | def user_cache_dir(self) -> str: method site_cache_dir (line 113) | def site_cache_dir(self) -> str: method user_state_dir (line 118) | def user_state_dir(self) -> str: method user_log_dir (line 129) | def user_log_dir(self) -> str: method user_documents_dir (line 138) | def user_documents_dir(self) -> str: method user_downloads_dir (line 143) | def user_downloads_dir(self) -> str: method user_pictures_dir (line 148) | def user_pictures_dir(self) -> str: method user_videos_dir (line 153) | def user_videos_dir(self) -> str: method user_music_dir (line 158) | def user_music_dir(self) -> str: method user_desktop_dir (line 163) | def user_desktop_dir(self) -> str: method user_runtime_dir (line 168) | def user_runtime_dir(self) -> str: method site_runtime_dir (line 188) | def site_runtime_dir(self) -> str: method site_data_path (line 210) | def site_data_path(self) -> Path: method site_config_path (line 215) | def site_config_path(self) -> Path: method site_cache_path (line 220) | def site_cache_path(self) -> Path: method iter_config_dirs (line 224) | def iter_config_dirs(self) -> Iterator[str]: method iter_data_dirs (line 229) | def iter_data_dirs(self) -> Iterator[str]: function _get_user_media_dir (line 235) | def _get_user_media_dir(env_var: str, fallback_tilde_path: str) -> str: function _get_user_dirs_folder (line 245) | def _get_user_dirs_folder(key: str) -> str | None: FILE: src/pip/_vendor/platformdirs/windows.py class Windows (line 16) | class Windows(PlatformDirsABC): method user_data_dir (line 28) | def user_data_dir(self) -> str: method _append_parts (line 38) | def _append_parts(self, path: str, *, opinion_value: str | None = None... method site_data_dir (line 54) | def site_data_dir(self) -> str: method user_config_dir (line 60) | def user_config_dir(self) -> str: method site_config_dir (line 65) | def site_config_dir(self) -> str: method user_cache_dir (line 70) | def user_cache_dir(self) -> str: method site_cache_dir (line 79) | def site_cache_dir(self) -> str: method user_state_dir (line 85) | def user_state_dir(self) -> str: method user_log_dir (line 90) | def user_log_dir(self) -> str: method user_documents_dir (line 99) | def user_documents_dir(self) -> str: method user_downloads_dir (line 104) | def user_downloads_dir(self) -> str: method user_pictures_dir (line 109) | def user_pictures_dir(self) -> str: method user_videos_dir (line 114) | def user_videos_dir(self) -> str: method user_music_dir (line 119) | def user_music_dir(self) -> str: method user_desktop_dir (line 124) | def user_desktop_dir(self) -> str: method user_runtime_dir (line 129) | def user_runtime_dir(self) -> str: method site_runtime_dir (line 138) | def site_runtime_dir(self) -> str: function get_win_folder_from_env_vars (line 143) | def get_win_folder_from_env_vars(csidl_name: str) -> str: function get_win_folder_if_csidl_name_not_env_var (line 164) | def get_win_folder_if_csidl_name_not_env_var(csidl_name: str) -> str | N... function get_win_folder_from_registry (line 183) | def get_win_folder_from_registry(csidl_name: str) -> str: function get_win_folder_via_ctypes (line 219) | def get_win_folder_via_ctypes(csidl_name: str) -> str: function _pick_get_win_folder (line 258) | def _pick_get_win_folder() -> Callable[[str], str]: FILE: src/pip/_vendor/pygments/__init__.py function lex (line 35) | def lex(code, lexer): function format (line 52) | def format(tokens, formatter, outfile=None): # pylint: disable=redefine... function highlight (line 77) | def highlight(code, lexer, formatter, outfile=None): FILE: src/pip/_vendor/pygments/console.py function reset_color (line 40) | def reset_color(): function colorize (line 44) | def colorize(color_key, text): function ansiformat (line 48) | def ansiformat(attr, text): FILE: src/pip/_vendor/pygments/filter.py function apply_filters (line 12) | def apply_filters(stream, filters, lexer=None): function simplefilter (line 25) | def simplefilter(f): class Filter (line 41) | class Filter: method __init__ (line 47) | def __init__(self, **options): method filter (line 50) | def filter(self, lexer, stream): class FunctionFilter (line 54) | class FunctionFilter(Filter): method __init__ (line 63) | def __init__(self, **options): method filter (line 68) | def filter(self, lexer, stream): FILE: src/pip/_vendor/pygments/filters/__init__.py function find_filter_class (line 22) | def find_filter_class(filtername): function get_filter_by_name (line 32) | def get_filter_by_name(filtername, **options): function get_all_filters (line 45) | def get_all_filters(): function _replace_special (line 52) | def _replace_special(ttype, value, regex, specialttype, class CodeTagFilter (line 65) | class CodeTagFilter(Filter): method __init__ (line 78) | def __init__(self, **options): method filter (line 86) | def filter(self, lexer, stream): class SymbolFilter (line 97) | class SymbolFilter(Filter): method __init__ (line 673) | def __init__(self, **options): method filter (line 679) | def filter(self, lexer, stream): class KeywordCaseFilter (line 687) | class KeywordCaseFilter(Filter): method __init__ (line 701) | def __init__(self, **options): method filter (line 707) | def filter(self, lexer, stream): class NameHighlightFilter (line 715) | class NameHighlightFilter(Filter): method __init__ (line 739) | def __init__(self, **options): method filter (line 748) | def filter(self, lexer, stream): class ErrorToken (line 756) | class ErrorToken(Exception): class RaiseOnErrorTokenFilter (line 760) | class RaiseOnErrorTokenFilter(Filter): method __init__ (line 772) | def __init__(self, **options): method filter (line 782) | def filter(self, lexer, stream): class VisibleWhitespaceFilter (line 789) | class VisibleWhitespaceFilter(Filter): method __init__ (line 819) | def __init__(self, **options): method filter (line 836) | def filter(self, lexer, stream): class GobbleFilter (line 868) | class GobbleFilter(Filter): method __init__ (line 882) | def __init__(self, **options): method gobble (line 886) | def gobble(self, value, left): method filter (line 892) | def filter(self, lexer, stream): class TokenMergeFilter (line 907) | class TokenMergeFilter(Filter): method __init__ (line 913) | def __init__(self, **options): method filter (line 916) | def filter(self, lexer, stream): FILE: src/pip/_vendor/pygments/formatter.py function _lookup_style (line 19) | def _lookup_style(style): class Formatter (line 25) | class Formatter: method __init__ (line 83) | def __init__(self, **options): method get_style_defs (line 99) | def get_style_defs(self, arg=''): method format (line 114) | def format(self, tokensource, outfile): method __class_getitem__ (line 128) | def __class_getitem__(cls, name): FILE: src/pip/_vendor/pygments/formatters/__init__.py function _fn_matches (line 28) | def _fn_matches(fn, glob): function _load_formatters (line 36) | def _load_formatters(module_name): function get_all_formatters (line 44) | def get_all_formatters(): function find_formatter_class (line 55) | def find_formatter_class(alias): function get_formatter_by_name (line 70) | def get_formatter_by_name(_alias, **options): function load_formatter_from_file (line 84) | def load_formatter_from_file(filename, formattername="CustomFormatter", ... function get_formatter_for_filename (line 118) | def get_formatter_for_filename(fn, **options): class _automodule (line 140) | class _automodule(types.ModuleType): method __getattr__ (line 143) | def __getattr__(self, name): FILE: src/pip/_vendor/pygments/lexer.py class LexerMeta (line 37) | class LexerMeta(type): method __new__ (line 43) | def __new__(mcs, name, bases, d): class Lexer (line 49) | class Lexer(metaclass=LexerMeta): method __init__ (line 145) | def __init__(self, **options): method __repr__ (line 175) | def __repr__(self): method add_filter (line 181) | def add_filter(self, filter_, **options): method analyse_text (line 189) | def analyse_text(text): method _preprocess_lexer_input (line 206) | def _preprocess_lexer_input(self, text): method get_tokens (line 255) | def get_tokens(self, text, unfiltered=False): method get_tokens_unprocessed (line 279) | def get_tokens_unprocessed(self, text): class DelegatingLexer (line 291) | class DelegatingLexer(Lexer): method __init__ (line 301) | def __init__(self, _root_lexer, _language_lexer, _needle=Other, **opti... method get_tokens_unprocessed (line 307) | def get_tokens_unprocessed(self, text): class include (line 330) | class include(str): # pylint: disable=invalid-name class _inherit (line 337) | class _inherit: method __repr__ (line 341) | def __repr__(self): class combined (line 347) | class combined(tuple): # pylint: disable=invalid-name method __new__ (line 352) | def __new__(cls, *args): method __init__ (line 355) | def __init__(self, *args): class _PseudoMatch (line 360) | class _PseudoMatch: method __init__ (line 365) | def __init__(self, start, text): method start (line 369) | def start(self, arg=None): method end (line 372) | def end(self, arg=None): method group (line 375) | def group(self, arg=None): method groups (line 380) | def groups(self): method groupdict (line 383) | def groupdict(self): function bygroups (line 387) | def bygroups(*args): class _This (line 413) | class _This: function using (line 422) | def using(_other, **kwargs): class default (line 472) | class default: method __init__ (line 480) | def __init__(self, state): class words (line 484) | class words(Future): method __init__ (line 491) | def __init__(self, words, prefix='', suffix=''): method get (line 496) | def get(self): class RegexLexerMeta (line 500) | class RegexLexerMeta(LexerMeta): method _process_regex (line 506) | def _process_regex(cls, regex, rflags, state): method _process_token (line 512) | def _process_token(cls, token): method _process_new_state (line 518) | def _process_new_state(cls, new_state, unprocessed, processed): method _process_state (line 553) | def _process_state(cls, unprocessed, processed, state): method process_tokendef (line 596) | def process_tokendef(cls, name, tokendefs=None): method get_tokendefs (line 604) | def get_tokendefs(cls): method __call__ (line 653) | def __call__(cls, *args, **kwds): class RegexLexer (line 667) | class RegexLexer(Lexer, metaclass=RegexLexerMeta): method get_tokens_unprocessed (line 702) | def get_tokens_unprocessed(self, text, stack=('root',)): class LexerContext (line 764) | class LexerContext: method __init__ (line 769) | def __init__(self, text, pos, stack=None, end=None): method __repr__ (line 775) | def __repr__(self): class ExtendedRegexLexer (line 779) | class ExtendedRegexLexer(RegexLexer): method get_tokens_unprocessed (line 784) | def get_tokens_unprocessed(self, text=None, context=None): function do_insertions (line 851) | def do_insertions(insertions, tokens): class ProfilingRegexLexerMeta (line 915) | class ProfilingRegexLexerMeta(RegexLexerMeta): method _process_regex (line 918) | def _process_regex(cls, regex, rflags, state): class ProfilingRegexLexer (line 937) | class ProfilingRegexLexer(RegexLexer, metaclass=ProfilingRegexLexerMeta): method get_tokens_unprocessed (line 943) | def get_tokens_unprocessed(self, text, stack=('root',)): FILE: src/pip/_vendor/pygments/lexers/__init__.py function _fn_matches (line 35) | def _fn_matches(fn, glob): function _load_lexers (line 43) | def _load_lexers(module_name): function get_all_lexers (line 51) | def get_all_lexers(plugins=True): function find_lexer_class (line 65) | def find_lexer_class(name): function find_lexer_class_by_name (line 83) | def find_lexer_class_by_name(_alias): function get_lexer_by_name (line 110) | def get_lexer_by_name(_alias, **options): function load_lexer_from_file (line 135) | def load_lexer_from_file(filename, lexername="CustomLexer", **options): function find_lexer_class_for_filename (line 169) | def find_lexer_class_for_filename(_fn, code=None): function get_lexer_for_filename (line 212) | def get_lexer_for_filename(_fn, code=None, **options): function get_lexer_for_mimetype (line 231) | def get_lexer_for_mimetype(_mime, **options): function _iter_lexerclasses (line 250) | def _iter_lexerclasses(plugins=True): function guess_lexer_for_filename (line 261) | def guess_lexer_for_filename(_fn, _text, **options): function guess_lexer (line 304) | def guess_lexer(_text, **options): class _automodule (line 343) | class _automodule(types.ModuleType): method __getattr__ (line 346) | def __getattr__(self, name): FILE: src/pip/_vendor/pygments/lexers/python.py class PythonLexer (line 25) | class PythonLexer(RegexLexer): method innerstring_rules (line 65) | def innerstring_rules(ttype): method fstring_rules (line 85) | def fstring_rules(ttype): method analyse_text (line 408) | def analyse_text(text): class Python2Lexer (line 416) | class Python2Lexer(RegexLexer): method innerstring_rules (line 433) | def innerstring_rules(ttype): method analyse_text (line 635) | def analyse_text(text): class _PythonConsoleLexerBase (line 639) | class _PythonConsoleLexerBase(RegexLexer): class PythonConsoleLexer (line 676) | class PythonConsoleLexer(DelegatingLexer): method __init__ (line 706) | def __init__(self, **options): class PythonTracebackLexer (line 725) | class PythonTracebackLexer(RegexLexer): class Python2TracebackLexer (line 782) | class Python2TracebackLexer(RegexLexer): class CythonLexer (line 830) | class CythonLexer(RegexLexer): class DgLexer (line 1009) | class DgLexer(RegexLexer): class NumPyLexer (line 1108) | class NumPyLexer(PythonLexer): method get_tokens_unprocessed (line 1189) | def get_tokens_unprocessed(self, text): method analyse_text (line 1197) | def analyse_text(text): FILE: src/pip/_vendor/pygments/modeline.py function get_filetype_from_line (line 22) | def get_filetype_from_line(l): # noqa: E741 function get_filetype_from_buffer (line 28) | def get_filetype_from_buffer(buf, max_lines=5): FILE: src/pip/_vendor/pygments/plugin.py function iter_entry_points (line 43) | def iter_entry_points(group_name): function find_plugin_lexers (line 55) | def find_plugin_lexers(): function find_plugin_formatters (line 60) | def find_plugin_formatters(): function find_plugin_styles (line 65) | def find_plugin_styles(): function find_plugin_filters (line 70) | def find_plugin_filters(): FILE: src/pip/_vendor/pygments/regexopt.py function make_charset (line 22) | def make_charset(letters): function regex_opt_inner (line 26) | def regex_opt_inner(strings, open_paren): function regex_opt (line 82) | def regex_opt(strings, prefix='', suffix=''): FILE: src/pip/_vendor/pygments/scanner.py class EndOfText (line 20) | class EndOfText(RuntimeError): class Scanner (line 27) | class Scanner: method __init__ (line 35) | def __init__(self, text, flags=0): method eos (line 49) | def eos(self): method check (line 54) | def check(self, pattern): method test (line 66) | def test(self, pattern): method scan (line 72) | def scan(self, pattern): method get_char (line 95) | def get_char(self): method __repr__ (line 99) | def __repr__(self): FILE: src/pip/_vendor/pygments/sphinxext.py class PygmentsDoc (line 60) | class PygmentsDoc(Directive): method run (line 71) | def run(self): method document_lexers_overview (line 90) | def document_lexers_overview(self): method document_lexers (line 150) | def document_lexers(self): method document_formatters (line 215) | def document_formatters(self): method document_filters (line 233) | def document_filters(self): function setup (line 246) | def setup(app): FILE: src/pip/_vendor/pygments/style.py class StyleMeta (line 58) | class StyleMeta(type): method __new__ (line 60) | def __new__(mcs, name, bases, dct): method style_for_token (line 126) | def style_for_token(cls, token): method list_styles (line 156) | def list_styles(cls): method styles_token (line 159) | def styles_token(cls, ttype): method __iter__ (line 162) | def __iter__(cls): method __len__ (line 166) | def __len__(cls): class Style (line 170) | class Style(metaclass=StyleMeta): FILE: src/pip/_vendor/pygments/styles/__init__.py function get_style_by_name (line 24) | def get_style_by_name(name): function get_all_styles (line 56) | def get_all_styles(): FILE: src/pip/_vendor/pygments/token.py class _TokenType (line 12) | class _TokenType(tuple): method split (line 15) | def split(self): method __init__ (line 24) | def __init__(self, *args): method __contains__ (line 28) | def __contains__(self, val): method __getattr__ (line 34) | def __getattr__(self, val): method __repr__ (line 43) | def __repr__(self): method __copy__ (line 46) | def __copy__(self): method __deepcopy__ (line 50) | def __deepcopy__(self, memo): function is_token_subtype (line 85) | def is_token_subtype(ttype, other): function string_to_tokentype (line 94) | def string_to_tokentype(s): FILE: src/pip/_vendor/pygments/unistring.py function combine (line 82) | def combine(*args): function allexcept (line 86) | def allexcept(*args): function _handle_runs (line 93) | def _handle_runs(char_list): # pragma: no cover FILE: src/pip/_vendor/pygments/util.py class ClassNotFound (line 30) | class ClassNotFound(ValueError): class OptionError (line 34) | class OptionError(Exception): function get_choice_opt (line 40) | def get_choice_opt(options, optname, allowed, default=None, normcase=Fal... function get_bool_opt (line 53) | def get_bool_opt(options, optname, default=None): function get_int_opt (line 82) | def get_int_opt(options, optname, default=None): function get_list_opt (line 94) | def get_list_opt(options, optname, default=None): function docstring_headline (line 110) | def docstring_headline(obj): function make_analysator (line 122) | def make_analysator(f): function shebang_matches (line 139) | def shebang_matches(text, regex): function doctype_matches (line 184) | def doctype_matches(text, regex): function html_doctype_matches (line 197) | def html_doctype_matches(text): function looks_like_xml (line 205) | def looks_like_xml(text): function surrogatepair (line 221) | def surrogatepair(c): function format_lines (line 230) | def format_lines(var_name, seq, raw=False, indent_level=0): function duplicates_removed (line 249) | def duplicates_removed(it, already_seen=()): class Future (line 265) | class Future: method get (line 271) | def get(self): function guess_decode (line 275) | def guess_decode(text): function guess_decode_from_terminal (line 296) | def guess_decode_from_terminal(text, term): function terminal_encoding (line 313) | def terminal_encoding(term): class UnclosingTextIOWrapper (line 321) | class UnclosingTextIOWrapper(TextIOWrapper): method close (line 323) | def close(self): FILE: src/pip/_vendor/pyproject_hooks/_impl.py class SubprocessRunner (line 16) | class SubprocessRunner(Protocol): method __call__ (line 19) | def __call__( function write_json (line 28) | def write_json(obj: Mapping[str, Any], path: str, **kwargs) -> None: function read_json (line 33) | def read_json(path: str) -> Mapping[str, Any]: class BackendUnavailable (line 38) | class BackendUnavailable(Exception): method __init__ (line 41) | def __init__( class HookMissing (line 55) | class HookMissing(Exception): method __init__ (line 58) | def __init__(self, hook_name: str) -> None: class UnsupportedOperation (line 63) | class UnsupportedOperation(Exception): method __init__ (line 66) | def __init__(self, traceback: str) -> None: function default_subprocess_runner (line 70) | def default_subprocess_runner( function quiet_subprocess_runner (line 86) | def quiet_subprocess_runner( function norm_and_check (line 102) | def norm_and_check(source_tree: str, requested: str) -> str: class BuildBackendHookCaller (line 126) | class BuildBackendHookCaller: method __init__ (line 129) | def __init__( method subprocess_runner (line 159) | def subprocess_runner(self, runner: "SubprocessRunner") -> Iterator[No... method _supported_features (line 178) | def _supported_features(self) -> Sequence[str]: method get_requires_for_build_wheel (line 182) | def get_requires_for_build_wheel( method prepare_metadata_for_build_wheel (line 200) | def prepare_metadata_for_build_wheel( method build_wheel (line 233) | def build_wheel( method get_requires_for_build_editable (line 265) | def get_requires_for_build_editable( method prepare_metadata_for_build_editable (line 283) | def prepare_metadata_for_build_editable( method build_editable (line 315) | def build_editable( method get_requires_for_build_sdist (line 348) | def get_requires_for_build_sdist( method build_sdist (line 360) | def build_sdist( method _call_hook (line 378) | def _call_hook(self, hook_name: str, kwargs: Mapping[str, Any]) -> Any: FILE: src/pip/_vendor/pyproject_hooks/_in_process/__init__.py function _in_proc_script_path (line 13) | def _in_proc_script_path(): function _in_proc_script_path (line 18) | def _in_proc_script_path(): FILE: src/pip/_vendor/pyproject_hooks/_in_process/_in_process.py function write_json (line 31) | def write_json(obj, path, **kwargs): function read_json (line 36) | def read_json(path): class BackendUnavailable (line 41) | class BackendUnavailable(Exception): method __init__ (line 44) | def __init__(self, message, traceback=None): class HookMissing (line 50) | class HookMissing(Exception): method __init__ (line 53) | def __init__(self, hook_name=None): function _build_backend (line 58) | def _build_backend(): class _BackendPathFinder (line 81) | class _BackendPathFinder: method __init__ (line 89) | def __init__(self, backend_path, backend_module): method find_spec (line 94) | def find_spec(self, fullname, _path, _target=None): method find_distributions (line 111) | def find_distributions(self, context=None): function _supported_features (line 119) | def _supported_features(): function get_requires_for_build_wheel (line 132) | def get_requires_for_build_wheel(config_settings): function get_requires_for_build_editable (line 146) | def get_requires_for_build_editable(config_settings): function prepare_metadata_for_build_wheel (line 160) | def prepare_metadata_for_build_wheel( function prepare_metadata_for_build_editable (line 184) | def prepare_metadata_for_build_editable( function _dist_info_files (line 215) | def _dist_info_files(whl_zip): function _get_wheel_metadata_from_wheel (line 227) | def _get_wheel_metadata_from_wheel(whl_basename, metadata_directory, con... function _find_already_built_wheel (line 245) | def _find_already_built_wheel(metadata_directory): function build_wheel (line 268) | def build_wheel(wheel_directory, config_settings, metadata_directory=None): function build_editable (line 285) | def build_editable(wheel_directory, config_settings, metadata_directory=... function get_requires_for_build_sdist (line 306) | def get_requires_for_build_sdist(config_settings): class _DummyException (line 320) | class _DummyException(Exception): class GotUnsupportedOperation (line 324) | class GotUnsupportedOperation(Exception): method __init__ (line 327) | def __init__(self, traceback): function build_sdist (line 331) | def build_sdist(sdist_directory, config_settings): function main (line 353) | def main(): FILE: src/pip/_vendor/requests/__init__.py function check_compatibility (line 51) | def check_compatibility(urllib3_version, chardet_version, charset_normal... function _check_cryptography (line 83) | def _check_cryptography(cryptography_version): FILE: src/pip/_vendor/requests/_internal_utils.py function to_native_string (line 25) | def to_native_string(string, encoding="ascii"): function unicode_is_ascii (line 38) | def unicode_is_ascii(u_string): FILE: src/pip/_vendor/requests/adapters.py function SOCKSProxyManager (line 62) | def SOCKSProxyManager(*args, **kwargs): function _urllib3_request_context (line 76) | def _urllib3_request_context( class BaseAdapter (line 113) | class BaseAdapter: method __init__ (line 116) | def __init__(self): method send (line 119) | def send( method close (line 138) | def close(self): class HTTPAdapter (line 143) | class HTTPAdapter(BaseAdapter): method __init__ (line 178) | def __init__( method __getstate__ (line 200) | def __getstate__(self): method __setstate__ (line 203) | def __setstate__(self, state): method init_poolmanager (line 216) | def init_poolmanager( method proxy_manager_for (line 242) | def proxy_manager_for(self, proxy, **proxy_kwargs): method cert_verify (line 280) | def cert_verify(self, conn, url, verify, cert): method build_response (line 336) | def build_response(self, req, resp): method build_connection_pool_key_attributes (line 373) | def build_connection_pool_key_attributes(self, request, verify, cert=N... method get_connection_with_tls_context (line 423) | def get_connection_with_tls_context(self, request, verify, proxies=Non... method get_connection (line 472) | def get_connection(self, url, proxies=None): method close (line 513) | def close(self): method request_url (line 523) | def request_url(self, request, proxies): method add_headers (line 555) | def add_headers(self, request, **kwargs): method proxy_headers (line 569) | def proxy_headers(self, proxy): method send (line 590) | def send( FILE: src/pip/_vendor/requests/api.py function request (line 14) | def request(method, url, **kwargs): function get (line 62) | def get(url, params=None, **kwargs): function options (line 76) | def options(url, **kwargs): function head (line 88) | def head(url, **kwargs): function post (line 103) | def post(url, data=None, json=None, **kwargs): function put (line 118) | def put(url, data=None, **kwargs): function patch (line 133) | def patch(url, data=None, **kwargs): function delete (line 148) | def delete(url, **kwargs): FILE: src/pip/_vendor/requests/auth.py function _basic_auth_str (line 25) | def _basic_auth_str(username, password): class AuthBase (line 69) | class AuthBase: method __call__ (line 72) | def __call__(self, r): class HTTPBasicAuth (line 76) | class HTTPBasicAuth(AuthBase): method __init__ (line 79) | def __init__(self, username, password): method __eq__ (line 83) | def __eq__(self, other): method __ne__ (line 91) | def __ne__(self, other): method __call__ (line 94) | def __call__(self, r): class HTTPProxyAuth (line 99) | class HTTPProxyAuth(HTTPBasicAuth): method __call__ (line 102) | def __call__(self, r): class HTTPDigestAuth (line 107) | class HTTPDigestAuth(AuthBase): method __init__ (line 110) | def __init__(self, username, password): method init_per_thread_state (line 116) | def init_per_thread_state(self): method build_digest_header (line 126) | def build_digest_header(self, method, url): method handle_redirect (line 236) | def handle_redirect(self, r, **kwargs): method handle_401 (line 241) | def handle_401(self, r, **kwargs): method __call__ (line 285) | def __call__(self, r): method __eq__ (line 305) | def __eq__(self, other): method __ne__ (line 313) | def __ne__(self, other): FILE: src/pip/_vendor/requests/compat.py function _resolve_char_detection (line 29) | def _resolve_char_detection(): FILE: src/pip/_vendor/requests/cookies.py class MockRequest (line 23) | class MockRequest: method __init__ (line 35) | def __init__(self, request): method get_type (line 40) | def get_type(self): method get_host (line 43) | def get_host(self): method get_origin_req_host (line 46) | def get_origin_req_host(self): method get_full_url (line 49) | def get_full_url(self): method is_unverifiable (line 69) | def is_unverifiable(self): method has_header (line 72) | def has_header(self, name): method get_header (line 75) | def get_header(self, name, default=None): method add_header (line 78) | def add_header(self, key, val): method add_unredirected_header (line 84) | def add_unredirected_header(self, name, value): method get_new_headers (line 87) | def get_new_headers(self): method unverifiable (line 91) | def unverifiable(self): method origin_req_host (line 95) | def origin_req_host(self): method host (line 99) | def host(self): class MockResponse (line 103) | class MockResponse: method __init__ (line 110) | def __init__(self, headers): method info (line 117) | def info(self): method getheaders (line 120) | def getheaders(self, name): function extract_cookies_to_jar (line 124) | def extract_cookies_to_jar(jar, request, response): function get_cookie_header (line 140) | def get_cookie_header(jar, request): function remove_cookie_by_name (line 151) | def remove_cookie_by_name(cookiejar, name, domain=None, path=None): class CookieConflictError (line 170) | class CookieConflictError(RuntimeError): class RequestsCookieJar (line 176) | class RequestsCookieJar(cookielib.CookieJar, MutableMapping): method get (line 194) | def get(self, name, default=None, domain=None, path=None): method set (line 206) | def set(self, name, value, **kwargs): method iterkeys (line 225) | def iterkeys(self): method keys (line 234) | def keys(self): method itervalues (line 242) | def itervalues(self): method values (line 251) | def values(self): method iteritems (line 259) | def iteritems(self): method items (line 268) | def items(self): method list_domains (line 277) | def list_domains(self): method list_paths (line 285) | def list_paths(self): method multiple_domains (line 293) | def multiple_domains(self): method get_dict (line 306) | def get_dict(self, domain=None, path=None): method __contains__ (line 321) | def __contains__(self, name): method __getitem__ (line 327) | def __getitem__(self, name): method __setitem__ (line 336) | def __setitem__(self, name, value): method __delitem__ (line 343) | def __delitem__(self, name): method set_cookie (line 349) | def set_cookie(self, cookie, *args, **kwargs): method update (line 358) | def update(self, other): method _find (line 366) | def _find(self, name, domain=None, path=None): method _find_no_duplicates (line 386) | def _find_no_duplicates(self, name, domain=None, path=None): method __getstate__ (line 415) | def __getstate__(self): method __setstate__ (line 422) | def __setstate__(self, state): method copy (line 428) | def copy(self): method get_policy (line 435) | def get_policy(self): function _copy_cookie_jar (line 440) | def _copy_cookie_jar(jar): function create_cookie (line 455) | def create_cookie(name, value, **kwargs): function morsel_to_cookie (line 492) | def morsel_to_cookie(morsel): function cookiejar_from_dict (line 521) | def cookiejar_from_dict(cookie_dict, cookiejar=None, overwrite=True): function merge_cookies (line 542) | def merge_cookies(cookiejar, cookies): FILE: src/pip/_vendor/requests/exceptions.py class RequestException (line 12) | class RequestException(IOError): method __init__ (line 17) | def __init__(self, *args, **kwargs): class InvalidJSONError (line 27) | class InvalidJSONError(RequestException): class JSONDecodeError (line 31) | class JSONDecodeError(InvalidJSONError, CompatJSONDecodeError): method __init__ (line 34) | def __init__(self, *args, **kwargs): method __reduce__ (line 44) | def __reduce__(self): class HTTPError (line 55) | class HTTPError(RequestException): class ConnectionError (line 59) | class ConnectionError(RequestException): class ProxyError (line 63) | class ProxyError(ConnectionError): class SSLError (line 67) | class SSLError(ConnectionError): class Timeout (line 71) | class Timeout(RequestException): class ConnectTimeout (line 80) | class ConnectTimeout(ConnectionError, Timeout): class ReadTimeout (line 87) | class ReadTimeout(Timeout): class URLRequired (line 91) | class URLRequired(RequestException): class TooManyRedirects (line 95) | class TooManyRedirects(RequestException): class MissingSchema (line 99) | class MissingSchema(RequestException, ValueError): class InvalidSchema (line 103) | class InvalidSchema(RequestException, ValueError): class InvalidURL (line 107) | class InvalidURL(RequestException, ValueError): class InvalidHeader (line 111) | class InvalidHeader(RequestException, ValueError): class InvalidProxyURL (line 115) | class InvalidProxyURL(InvalidURL): class ChunkedEncodingError (line 119) | class ChunkedEncodingError(RequestException): class ContentDecodingError (line 123) | class ContentDecodingError(RequestException, BaseHTTPError): class StreamConsumedError (line 127) | class StreamConsumedError(RequestException, TypeError): class RetryError (line 131) | class RetryError(RequestException): class UnrewindableBodyError (line 135) | class UnrewindableBodyError(RequestException): class RequestsWarning (line 142) | class RequestsWarning(Warning): class FileModeWarning (line 146) | class FileModeWarning(RequestsWarning, DeprecationWarning): class RequestsDependencyWarning (line 150) | class RequestsDependencyWarning(RequestsWarning): FILE: src/pip/_vendor/requests/help.py function _implementation (line 27) | def _implementation(): function info (line 62) | def info(): function main (line 121) | def main(): FILE: src/pip/_vendor/requests/hooks.py function default_hooks (line 15) | def default_hooks(): function dispatch_hook (line 22) | def dispatch_hook(key, hooks, hook_data, **kwargs): FILE: src/pip/_vendor/requests/models.py class RequestEncodingMixin (line 84) | class RequestEncodingMixin: method path_url (line 86) | def path_url(self): method _encode_params (line 107) | def _encode_params(data): method _encode_files (line 137) | def _encode_files(files, data): class RequestHooksMixin (line 206) | class RequestHooksMixin: method register_hook (line 207) | def register_hook(self, event, hook): method deregister_hook (line 218) | def deregister_hook(self, event, hook): class Request (line 230) | class Request(RequestHooksMixin): method __init__ (line 258) | def __init__( method __repr__ (line 292) | def __repr__(self): method prepare (line 295) | def prepare(self): class PreparedRequest (line 313) | class PreparedRequest(RequestEncodingMixin, RequestHooksMixin): method __init__ (line 334) | def __init__(self): method prepare (line 351) | def prepare( method __repr__ (line 379) | def __repr__(self): method copy (line 382) | def copy(self): method prepare_method (line 393) | def prepare_method(self, method): method _get_idna_encoded_host (line 400) | def _get_idna_encoded_host(host): method prepare_url (line 409) | def prepare_url(self, url, params): method prepare_headers (line 483) | def prepare_headers(self, headers): method prepare_body (line 494) | def prepare_body(self, data, files, json=None): method prepare_content_length (line 572) | def prepare_content_length(self, body): method prepare_auth (line 588) | def prepare_auth(self, auth, url=""): method prepare_cookies (line 610) | def prepare_cookies(self, cookies): method prepare_hooks (line 630) | def prepare_hooks(self, hooks): class Response (line 640) | class Response: method __init__ (line 658) | def __init__(self): method __enter__ (line 705) | def __enter__(self): method __exit__ (line 708) | def __exit__(self, *args): method __getstate__ (line 711) | def __getstate__(self): method __setstate__ (line 719) | def __setstate__(self, state): method __repr__ (line 727) | def __repr__(self): method __bool__ (line 730) | def __bool__(self): method __nonzero__ (line 740) | def __nonzero__(self): method __iter__ (line 750) | def __iter__(self): method ok (line 755) | def ok(self): method is_redirect (line 770) | def is_redirect(self): method is_permanent_redirect (line 777) | def is_permanent_redirect(self): method next (line 785) | def next(self): method apparent_encoding (line 790) | def apparent_encoding(self): method iter_content (line 799) | def iter_content(self, chunk_size=1, decode_unicode=False): method iter_lines (line 857) | def iter_lines( method content (line 891) | def content(self): method text (line 910) | def text(self): method json (line 947) | def json(self, **kwargs): method links (line 983) | def links(self): method raise_for_status (line 999) | def raise_for_status(self): method close (line 1028) | def close(self): FILE: src/pip/_vendor/requests/sessions.py function merge_setting (line 61) | def merge_setting(request_setting, session_setting, dict_class=OrderedDi... function merge_hooks (line 91) | def merge_hooks(request_hooks, session_hooks, dict_class=OrderedDict): class SessionRedirectMixin (line 106) | class SessionRedirectMixin: method get_redirect_target (line 107) | def get_redirect_target(self, resp): method should_strip_auth (line 127) | def should_strip_auth(self, old_url, new_url): method resolve_redirects (line 159) | def resolve_redirects( method rebuild_auth (line 282) | def rebuild_auth(self, prepared_request, response): method rebuild_proxies (line 302) | def rebuild_proxies(self, prepared_request, proxies): method rebuild_method (line 333) | def rebuild_method(self, prepared_request, response): class Session (line 356) | class Session(SessionRedirectMixin): method __init__ (line 390) | def __init__(self): method __enter__ (line 451) | def __enter__(self): method __exit__ (line 454) | def __exit__(self, *args): method prepare_request (line 457) | def prepare_request(self, request): method request (line 500) | def request( method get (line 593) | def get(self, url, **kwargs): method options (line 604) | def options(self, url, **kwargs): method head (line 615) | def head(self, url, **kwargs): method post (line 626) | def post(self, url, data=None, json=None, **kwargs): method put (line 639) | def put(self, url, data=None, **kwargs): method patch (line 651) | def patch(self, url, data=None, **kwargs): method delete (line 663) | def delete(self, url, **kwargs): method send (line 673) | def send(self, request, **kwargs): method merge_environment_settings (line 750) | def merge_environment_settings(self, url, proxies, stream, verify, cert): method get_adapter (line 781) | def get_adapter(self, url): method close (line 794) | def close(self): method mount (line 799) | def mount(self, prefix, adapter): method __getstate__ (line 810) | def __getstate__(self): method __setstate__ (line 814) | def __setstate__(self, state): function session (line 819) | def session(): FILE: src/pip/_vendor/requests/status_codes.py function _init (line 109) | def _init(): FILE: src/pip/_vendor/requests/structures.py class CaseInsensitiveDict (line 13) | class CaseInsensitiveDict(MutableMapping): method __init__ (line 40) | def __init__(self, data=None, **kwargs): method __setitem__ (line 46) | def __setitem__(self, key, value): method __getitem__ (line 51) | def __getitem__(self, key): method __delitem__ (line 54) | def __delitem__(self, key): method __iter__ (line 57) | def __iter__(self): method __len__ (line 60) | def __len__(self): method lower_items (line 63) | def lower_items(self): method __eq__ (line 67) | def __eq__(self, other): method copy (line 76) | def copy(self): method __repr__ (line 79) | def __repr__(self): class LookupDict (line 83) | class LookupDict(dict): method __init__ (line 86) | def __init__(self, name=None): method __repr__ (line 90) | def __repr__(self): method __getitem__ (line 93) | def __getitem__(self, key): method get (line 98) | def get(self, key, default=None): FILE: src/pip/_vendor/requests/utils.py function proxy_bypass_registry (line 77) | def proxy_bypass_registry(host): function proxy_bypass (line 115) | def proxy_bypass(host): # noqa function dict_to_sequence (line 127) | def dict_to_sequence(d): function super_len (line 136) | def super_len(o): function get_netrc_auth (line 207) | def get_netrc_auth(url, raise_errors=False): function guess_filename (line 251) | def guess_filename(obj): function extract_zipped_paths (line 258) | def extract_zipped_paths(path): function atomic_open (line 296) | def atomic_open(filename): function from_key_val_list (line 308) | def from_key_val_list(value): function to_key_val_list (line 335) | def to_key_val_list(value): function parse_list_header (line 365) | def parse_list_header(value): function parse_dict_header (line 397) | def parse_dict_header(value): function unquote_header_value (line 432) | def unquote_header_value(value, is_filename=False): function dict_from_cookiejar (line 457) | def dict_from_cookiejar(cj): function add_dict_to_cookiejar (line 468) | def add_dict_to_cookiejar(cj, cookie_dict): function get_encodings_from_content (line 479) | def get_encodings_from_content(content): function _parse_content_type_header (line 504) | def _parse_content_type_header(header): function get_encoding_from_headers (line 529) | def get_encoding_from_headers(headers): function stream_decode_response_unicode (line 554) | def stream_decode_response_unicode(iterator, r): function iter_slices (line 571) | def iter_slices(string, slice_length): function get_unicode_from_response (line 581) | def get_unicode_from_response(r): function unquote_unreserved (line 626) | def unquote_unreserved(uri): function requote_uri (line 650) | def requote_uri(uri): function address_in_network (line 672) | def address_in_network(ip, net): function dotted_netmask (line 687) | def dotted_netmask(mask): function is_ipv4_address (line 698) | def is_ipv4_address(string_ip): function is_valid_cidr (line 709) | def is_valid_cidr(string_network): function set_environ (line 734) | def set_environ(env_name, value): function should_bypass_proxies (line 755) | def should_bypass_proxies(url, no_proxy): function get_environ_proxies (line 816) | def get_environ_proxies(url, no_proxy=None): function select_proxy (line 828) | def select_proxy(url, proxies): function resolve_proxies (line 854) | def resolve_proxies(request, proxies, trust_env=True): function default_user_agent (line 881) | def default_user_agent(name="python-requests"): function default_headers (line 890) | def default_headers(): function parse_header_links (line 904) | def parse_header_links(value): function guess_json_utf (line 947) | def guess_json_utf(data): function prepend_scheme_if_needed (line 979) | def prepend_scheme_if_needed(url, new_scheme): function get_auth_from_url (line 1008) | def get_auth_from_url(url): function check_header_validity (line 1024) | def check_header_validity(header): function _validate_header_part (line 1035) | def _validate_header_part(header, header_part, header_validator_index): function urldefragauth (line 1054) | def urldefragauth(url): function rewind_body (line 1071) | def rewind_body(prepared_request): FILE: src/pip/_vendor/resolvelib/providers.py class Preference (line 17) | class Preference(Protocol): method __lt__ (line 18) | def __lt__(self, __other: Any) -> bool: ... class AbstractProvider (line 21) | class AbstractProvider(Generic[RT, CT, KT]): method identify (line 24) | def identify(self, requirement_or_candidate: RT | CT) -> KT: method get_preference (line 33) | def get_preference( method find_matches (line 92) | def find_matches( method is_satisfied_by (line 127) | def is_satisfied_by(self, requirement: RT, candidate: CT) -> bool: method get_dependencies (line 138) | def get_dependencies(self, candidate: CT) -> Iterable[RT]: method narrow_requirement_selection (line 146) | def narrow_requirement_selection( FILE: src/pip/_vendor/resolvelib/reporters.py class BaseReporter (line 11) | class BaseReporter(Generic[RT, CT, KT]): method starting (line 14) | def starting(self) -> None: method starting_round (line 17) | def starting_round(self, index: int) -> None: method ending_round (line 23) | def ending_round(self, index: int, state: State[RT, CT, KT]) -> None: method ending (line 30) | def ending(self, state: State[RT, CT, KT]) -> None: method adding_requirement (line 33) | def adding_requirement(self, requirement: RT, parent: CT | None) -> None: method resolving_conflicts (line 43) | def resolving_conflicts( method rejecting_candidate (line 51) | def rejecting_candidate(self, criterion: Criterion[RT, CT], candidate:... method pinning (line 54) | def pinning(self, candidate: CT) -> None: FILE: src/pip/_vendor/resolvelib/resolvers/abstract.py class Result (line 13) | class Result(NamedTuple, Generic[RT, CT, KT]): class AbstractResolver (line 22) | class AbstractResolver(Generic[RT, CT, KT]): method __init__ (line 27) | def __init__( method resolve (line 35) | def resolve(self, requirements: Iterable[RT], **kwargs: Any) -> Result... FILE: src/pip/_vendor/resolvelib/resolvers/criterion.py class Criterion (line 8) | class Criterion(Generic[RT, CT]): method __init__ (line 28) | def __init__( method __repr__ (line 38) | def __repr__(self) -> str: method iter_requirement (line 44) | def iter_requirement(self) -> Iterator[RT]: method iter_parent (line 47) | def iter_parent(self) -> Iterator[CT | None]: FILE: src/pip/_vendor/resolvelib/resolvers/exceptions.py class ResolverException (line 11) | class ResolverException(Exception): class RequirementsConflicted (line 19) | class RequirementsConflicted(ResolverException, Generic[RT, CT]): method __init__ (line 20) | def __init__(self, criterion: Criterion[RT, CT]) -> None: method __str__ (line 24) | def __str__(self) -> str: class InconsistentCandidate (line 30) | class InconsistentCandidate(ResolverException, Generic[RT, CT]): method __init__ (line 31) | def __init__(self, candidate: CT, criterion: Criterion[RT, CT]): method __str__ (line 36) | def __str__(self) -> str: class ResolutionError (line 43) | class ResolutionError(ResolverException): class ResolutionImpossible (line 47) | class ResolutionImpossible(ResolutionError, Generic[RT, CT]): method __init__ (line 48) | def __init__(self, causes: Collection[RequirementInformation[RT, CT]]): class ResolutionTooDeep (line 54) | class ResolutionTooDeep(ResolutionError): method __init__ (line 55) | def __init__(self, round_count: int) -> None: FILE: src/pip/_vendor/resolvelib/resolvers/resolution.py function _build_result (line 38) | def _build_result(state: State[RT, CT, KT]) -> Result[RT, CT, KT]: class Resolution (line 68) | class Resolution(Generic[RT, CT, KT]): method __init__ (line 75) | def __init__( method state (line 90) | def state(self) -> State[RT, CT, KT]: method _push_new_state (line 96) | def _push_new_state(self) -> None: method _add_to_criteria (line 110) | def _add_to_criteria( method _remove_information_from_criteria (line 154) | def _remove_information_from_criteria( method _get_preference (line 181) | def _get_preference(self, name: KT) -> Preference: method _is_current_pin_satisfying (line 196) | def _is_current_pin_satisfying( method _get_updated_criteria (line 208) | def _get_updated_criteria(self, candidate: CT) -> dict[KT, Criterion[R... method _attempt_to_pin_criterion (line 214) | def _attempt_to_pin_criterion(self, name: KT) -> list[Criterion[RT, CT]]: method _patch_criteria (line 251) | def _patch_criteria( method _save_state (line 286) | def _save_state(self) -> None: method _rollback_states (line 298) | def _rollback_states(self) -> None: method _backjump (line 305) | def _backjump(self, causes: list[RequirementInformation[RT, CT]]) -> b... method _extract_causes (line 412) | def _extract_causes( method resolve (line 418) | def resolve(self, requirements: Iterable[RT], max_rounds: int) -> Stat... class Resolver (line 563) | class Resolver(AbstractResolver[RT, CT, KT]): method resolve (line 568) | def resolve( # type: ignore[override] function _has_route_to_root (line 605) | def _has_route_to_root( FILE: src/pip/_vendor/resolvelib/structs.py class RequirementInformation (line 27) | class RequirementInformation(NamedTuple, Generic[RT, CT]): class State (line 31) | class State(NamedTuple, Generic[RT, CT, KT]): class DirectedGraph (line 45) | class DirectedGraph(Generic[KT]): method __init__ (line 48) | def __init__(self) -> None: method __iter__ (line 53) | def __iter__(self) -> Iterator[KT]: method __len__ (line 56) | def __len__(self) -> int: method __contains__ (line 59) | def __contains__(self, key: KT) -> bool: method copy (line 62) | def copy(self) -> DirectedGraph[KT]: method add (line 70) | def add(self, key: KT) -> None: method remove (line 78) | def remove(self, key: KT) -> None: method connected (line 86) | def connected(self, f: KT, t: KT) -> bool: method connect (line 89) | def connect(self, f: KT, t: KT) -> None: method iter_edges (line 99) | def iter_edges(self) -> Iterator[tuple[KT, KT]]: method iter_children (line 104) | def iter_children(self, key: KT) -> Iterator[KT]: method iter_parents (line 107) | def iter_parents(self, key: KT) -> Iterator[KT]: class IteratorMapping (line 111) | class IteratorMapping(Mapping[KT, Iterator[CT]], Generic[RT, CT, KT]): method __init__ (line 112) | def __init__( method __repr__ (line 122) | def __repr__(self) -> str: method __bool__ (line 129) | def __bool__(self) -> bool: method __contains__ (line 132) | def __contains__(self, key: object) -> bool: method __getitem__ (line 135) | def __getitem__(self, k: KT) -> Iterator[CT]: method __iter__ (line 142) | def __iter__(self) -> Iterator[KT]: method __len__ (line 146) | def __len__(self) -> int: class _FactoryIterableView (line 151) | class _FactoryIterableView(Iterable[RT]): method __init__ (line 160) | def __init__(self, factory: Callable[[], Iterable[RT]]) -> None: method __repr__ (line 164) | def __repr__(self) -> str: method __bool__ (line 167) | def __bool__(self) -> bool: method __iter__ (line 174) | def __iter__(self) -> Iterator[RT]: class _SequenceIterableView (line 180) | class _SequenceIterableView(Iterable[RT]): method __init__ (line 187) | def __init__(self, sequence: Sequence[RT]): method __repr__ (line 190) | def __repr__(self) -> str: method __bool__ (line 193) | def __bool__(self) -> bool: method __iter__ (line 196) | def __iter__(self) -> Iterator[RT]: function build_iter_view (line 200) | def build_iter_view(matches: Matches[CT]) -> Iterable[CT]: FILE: src/pip/_vendor/rich/__init__.py function get_console (line 23) | def get_console() -> "Console": function reconfigure (line 39) | def reconfigure(*args: Any, **kwargs: Any) -> None: function print (line 53) | def print( function print_json (line 77) | def print_json( function inspect (line 120) | def inspect( FILE: src/pip/_vendor/rich/__main__.py class ColorBox (line 18) | class ColorBox: method __rich_console__ (line 19) | def __rich_console__( method __rich_measure__ (line 33) | def __rich_measure__( function make_test_card (line 39) | def make_test_card() -> Table: FILE: src/pip/_vendor/rich/_emoji_replace.py function _emoji_replace (line 12) | def _emoji_replace( FILE: src/pip/_vendor/rich/_extension.py function load_ipython_extension (line 4) | def load_ipython_extension(ip: Any) -> None: # pragma: no cover FILE: src/pip/_vendor/rich/_fileno.py function get_fileno (line 6) | def get_fileno(file_like: IO[str]) -> int | None: FILE: src/pip/_vendor/rich/_inspect.py function _first_paragraph (line 15) | def _first_paragraph(doc: str) -> str: class Inspect (line 21) | class Inspect(JupyterMixin): method __init__ (line 37) | def __init__( method _make_title (line 64) | def _make_title(self, obj: Any) -> Text: method __rich__ (line 74) | def __rich__(self) -> Panel: method _get_signature (line 82) | def _get_signature(self, name: str, obj: Any) -> Optional[Text]: method _render (line 121) | def _render(self) -> Iterable[RenderableType]: method _get_formatted_doc (line 214) | def _get_formatted_doc(self, object_: Any) -> Optional[str]: function get_object_types_mro (line 236) | def get_object_types_mro(obj: Union[object, Type[Any]]) -> Tuple[type, .... function get_object_types_mro_as_strings (line 245) | def get_object_types_mro_as_strings(obj: object) -> Collection[str]: function is_object_one_of_types (line 258) | def is_object_one_of_types( FILE: src/pip/_vendor/rich/_log_render.py class LogRender (line 14) | class LogRender: method __init__ (line 15) | def __init__( method __call__ (line 32) | def __call__( FILE: src/pip/_vendor/rich/_loop.py function loop_first (line 6) | def loop_first(values: Iterable[T]) -> Iterable[Tuple[bool, T]]: function loop_last (line 18) | def loop_last(values: Iterable[T]) -> Iterable[Tuple[bool, T]]: function loop_first_last (line 31) | def loop_first_last(values: Iterable[T]) -> Iterable[Tuple[bool, bool, T]]: FILE: src/pip/_vendor/rich/_null_file.py class NullFile (line 5) | class NullFile(IO[str]): method close (line 6) | def close(self) -> None: method isatty (line 9) | def isatty(self) -> bool: method read (line 12) | def read(self, __n: int = 1) -> str: method readable (line 15) | def readable(self) -> bool: method readline (line 18) | def readline(self, __limit: int = 1) -> str: method readlines (line 21) | def readlines(self, __hint: int = 1) -> List[str]: method seek (line 24) | def seek(self, __offset: int, __whence: int = 1) -> int: method seekable (line 27) | def seekable(self) -> bool: method tell (line 30) | def tell(self) -> int: method truncate (line 33) | def truncate(self, __size: Optional[int] = 1) -> int: method writable (line 36) | def writable(self) -> bool: method writelines (line 39) | def writelines(self, __lines: Iterable[str]) -> None: method __next__ (line 42) | def __next__(self) -> str: method __iter__ (line 45) | def __iter__(self) -> Iterator[str]: method __enter__ (line 48) | def __enter__(self) -> IO[str]: method __exit__ (line 51) | def __exit__( method write (line 59) | def write(self, text: str) -> int: method flush (line 62) | def flush(self) -> None: method fileno (line 65) | def fileno(self) -> int: FILE: src/pip/_vendor/rich/_pick.py function pick_bool (line 4) | def pick_bool(*values: Optional[bool]) -> bool: FILE: src/pip/_vendor/rich/_ratio.py class Edge (line 6) | class Edge(Protocol): function ratio_resolve (line 14) | def ratio_resolve(total: int, edges: Sequence[Edge]) -> List[int]: function ratio_reduce (line 75) | def ratio_reduce( function ratio_distribute (line 107) | def ratio_distribute( class E (line 147) | class E: FILE: src/pip/_vendor/rich/_stack.py class Stack (line 6) | class Stack(List[T]): method top (line 10) | def top(self) -> T: method push (line 14) | def push(self, item: T) -> None: FILE: src/pip/_vendor/rich/_timer.py function timer (line 13) | def timer(subject: str = "time") -> Generator[None, None, None]: FILE: src/pip/_vendor/rich/_win32_console.py class LegacyWindowsError (line 29) | class LegacyWindowsError(Exception): class WindowsCoordinates (line 33) | class WindowsCoordinates(NamedTuple): method from_param (line 44) | def from_param(cls, value: "WindowsCoordinates") -> COORD: class CONSOLE_SCREEN_BUFFER_INFO (line 57) | class CONSOLE_SCREEN_BUFFER_INFO(Structure): class CONSOLE_CURSOR_INFO (line 67) | class CONSOLE_CURSOR_INFO(ctypes.Structure): function GetStdHandle (line 78) | def GetStdHandle(handle: int = STDOUT) -> wintypes.HANDLE: function GetConsoleMode (line 95) | def GetConsoleMode(std_handle: wintypes.HANDLE) -> int: function FillConsoleOutputCharacter (line 128) | def FillConsoleOutputCharacter( function FillConsoleOutputAttribute (line 169) | def FillConsoleOutputAttribute( function SetConsoleTextAttribute (line 204) | def SetConsoleTextAttribute( function GetConsoleScreenBufferInfo (line 228) | def GetConsoleScreenBufferInfo( function SetConsoleCursorPosition (line 252) | def SetConsoleCursorPosition( function GetConsoleCursorInfo (line 275) | def GetConsoleCursorInfo( function SetConsoleCursorInfo (line 299) | def SetConsoleCursorInfo( function SetConsoleTitle (line 319) | def SetConsoleTitle(title: str) -> bool: class LegacyWindowsTerm (line 331) | class LegacyWindowsTerm: method __init__ (line 362) | def __init__(self, file: "IO[str]") -> None: method cursor_position (line 377) | def cursor_position(self) -> WindowsCoordinates: method screen_size (line 387) | def screen_size(self) -> WindowsCoordinates: method write_text (line 396) | def write_text(self, text: str) -> None: method write_styled (line 405) | def write_styled(self, text: str, style: Style) -> None: method move_cursor_to (line 444) | def move_cursor_to(self, new_position: WindowsCoordinates) -> None: method erase_line (line 454) | def erase_line(self) -> None: method erase_end_of_line (line 470) | def erase_end_of_line(self) -> None: method erase_start_of_line (line 484) | def erase_start_of_line(self) -> None: method move_cursor_up (line 493) | def move_cursor_up(self) -> None: method move_cursor_down (line 503) | def move_cursor_down(self) -> None: method move_cursor_forward (line 514) | def move_cursor_forward(self) -> None: method move_cursor_to_column (line 526) | def move_cursor_to_column(self, column: int) -> None: method move_cursor_backward (line 535) | def move_cursor_backward(self) -> None: method hide_cursor (line 547) | def hide_cursor(self) -> None: method show_cursor (line 553) | def show_cursor(self) -> None: method set_title (line 559) | def set_title(self, title: str) -> None: method _get_cursor_size (line 568) | def _get_cursor_size(self) -> int: FILE: src/pip/_vendor/rich/_windows.py class WindowsConsoleFeatures (line 6) | class WindowsConsoleFeatures: function get_windows_console_features (line 34) | def get_windows_console_features() -> WindowsConsoleFeatures: function get_windows_console_features (line 40) | def get_windows_console_features() -> WindowsConsoleFeatures: FILE: src/pip/_vendor/rich/_windows_renderer.py function legacy_windows_render (line 7) | def legacy_windows_render(buffer: Iterable[Segment], term: LegacyWindows... FILE: src/pip/_vendor/rich/_wrap.py function words (line 12) | def words(text: str) -> Iterable[tuple[int, int, str]]: function divide_line (line 26) | def divide_line(text: str, width: int, fold: bool = True) -> list[int]: FILE: src/pip/_vendor/rich/abc.py class RichRenderable (line 4) | class RichRenderable(ABC): method __subclasshook__ (line 16) | def __subclasshook__(cls, other: type) -> bool: class Foo (line 28) | class Foo: FILE: src/pip/_vendor/rich/align.py class Align (line 17) | class Align(JupyterMixin): method __init__ (line 33) | def __init__( method __repr__ (line 60) | def __repr__(self) -> str: method left (line 64) | def left( method center (line 86) | def center( method right (line 108) | def right( method __rich_console__ (line 129) | def __rich_console__( method __rich_measure__ (line 221) | def __rich_measure__( class VerticalCenter (line 228) | class VerticalCenter(JupyterMixin): method __init__ (line 240) | def __init__( method __repr__ (line 248) | def __repr__(self) -> str: method __rich_console__ (line 251) | def __rich_console__( method __rich_measure__ (line 278) | def __rich_measure__( FILE: src/pip/_vendor/rich/ansi.py class _AnsiToken (line 20) | class _AnsiToken(NamedTuple): function _ansi_tokenize (line 28) | def _ansi_tokenize(ansi_text: str) -> Iterable[_AnsiToken]: class AnsiDecoder (line 120) | class AnsiDecoder: method __init__ (line 123) | def __init__(self) -> None: method decode (line 126) | def decode(self, terminal_text: str) -> Iterable[Text]: method decode_line (line 138) | def decode_line(self, line: str) -> Text: function read (line 224) | def read(fd: int) -> bytes: FILE: src/pip/_vendor/rich/bar.py class Bar (line 17) | class Bar(JupyterMixin): method __init__ (line 29) | def __init__( method __repr__ (line 45) | def __repr__(self) -> str: method __rich_console__ (line 48) | def __rich_console__( method __rich_measure__ (line 86) | def __rich_measure__( FILE: src/pip/_vendor/rich/box.py class Box (line 10) | class Box: method __init__ (line 27) | def __init__(self, box: str, *, ascii: bool = False) -> None: method __repr__ (line 61) | def __repr__(self) -> str: method __str__ (line 64) | def __str__(self) -> str: method substitute (line 67) | def substitute(self, options: "ConsoleOptions", safe: bool = True) -> ... method get_plain_headed_box (line 85) | def get_plain_headed_box(self) -> "Box": method get_top (line 95) | def get_top(self, widths: Iterable[int]) -> str: method get_row (line 115) | def get_row( method get_bottom (line 164) | def get_bottom(self, widths: Iterable[int]) -> str: FILE: src/pip/_vendor/rich/cells.py function cached_cell_len (line 34) | def cached_cell_len(text: str) -> int: function cell_len (line 51) | def cell_len(text: str, _cell_len: Callable[[str], int] = cached_cell_le... function get_character_cell_size (line 68) | def get_character_cell_size(character: str) -> int: function set_cell_size (line 96) | def set_cell_size(text: str, total: int) -> str: function chop_cells (line 131) | def chop_cells( FILE: src/pip/_vendor/rich/color.py class ColorSystem (line 21) | class ColorSystem(IntEnum): method __repr__ (line 29) | def __repr__(self) -> str: method __str__ (line 32) | def __str__(self) -> str: class ColorType (line 36) | class ColorType(IntEnum): method __repr__ (line 45) | def __repr__(self) -> str: class ColorParseError (line 288) | class ColorParseError(Exception): class Color (line 303) | class Color(NamedTuple): method __rich__ (line 315) | def __rich__(self) -> "Text": method __rich_repr__ (line 326) | def __rich_repr__(self) -> Result: method system (line 333) | def system(self) -> ColorSystem: method is_system_defined (line 340) | def is_system_defined(self) -> bool: method is_default (line 345) | def is_default(self) -> bool: method get_truecolor (line 349) | def get_truecolor( method from_ansi (line 381) | def from_ansi(cls, number: int) -> "Color": method from_triplet (line 397) | def from_triplet(cls, triplet: "ColorTriplet") -> "Color": method from_rgb (line 409) | def from_rgb(cls, red: float, green: float, blue: float) -> "Color": method default (line 423) | def default(cls) -> "Color": method parse (line 433) | def parse(cls, color: str) -> "Color": method get_ansi_codes (line 485) | def get_ansi_codes(self, foreground: bool = True) -> Tuple[str, ...]: method downgrade (line 513) | def downgrade(self, system: ColorSystem) -> "Color": function parse_rgb_hex (line 571) | def parse_rgb_hex(hex_color: str) -> ColorTriplet: function blend_rgb (line 580) | def blend_rgb( FILE: src/pip/_vendor/rich/color_triplet.py class ColorTriplet (line 4) | class ColorTriplet(NamedTuple): method hex (line 15) | def hex(self) -> str: method rgb (line 21) | def rgb(self) -> str: method normalized (line 31) | def normalized(self) -> Tuple[float, float, float]: FILE: src/pip/_vendor/rich/columns.py class Columns (line 16) | class Columns(JupyterMixin): method __init__ (line 31) | def __init__( method add_renderable (line 54) | def add_renderable(self, renderable: RenderableType) -> None: method __rich_console__ (line 62) | def __rich_console__( FILE: src/pip/_vendor/rich/console.py class NoChange (line 79) | class NoChange: class ConsoleDimensions (line 109) | class ConsoleDimensions(NamedTuple): class ConsoleOptions (line 119) | class ConsoleOptions: method ascii_only (line 149) | def ascii_only(self) -> bool: method copy (line 153) | def copy(self) -> "ConsoleOptions": method update (line 163) | def update( method update_width (line 200) | def update_width(self, width: int) -> "ConsoleOptions": method update_height (line 213) | def update_height(self, height: int) -> "ConsoleOptions": method reset_height (line 226) | def reset_height(self) -> "ConsoleOptions": method update_dimensions (line 236) | def update_dimensions(self, width: int, height: int) -> "ConsoleOptions": class RichCast (line 253) | class RichCast(Protocol): method __rich__ (line 256) | def __rich__( class ConsoleRenderable (line 263) | class ConsoleRenderable(Protocol): method __rich_console__ (line 266) | def __rich_console__( class CaptureError (line 282) | class CaptureError(Exception): class NewLine (line 286) | class NewLine: method __init__ (line 289) | def __init__(self, count: int = 1) -> None: method __rich_console__ (line 292) | def __rich_console__( class ScreenUpdate (line 298) | class ScreenUpdate: method __init__ (line 301) | def __init__(self, lines: List[List[Segment]], x: int, y: int) -> None: method __rich_console__ (line 306) | def __rich_console__( class Capture (line 316) | class Capture: method __init__ (line 324) | def __init__(self, console: "Console") -> None: method __enter__ (line 328) | def __enter__(self) -> "Capture": method __exit__ (line 332) | def __exit__( method get (line 340) | def get(self) -> str: class ThemeContext (line 349) | class ThemeContext: method __init__ (line 352) | def __init__(self, console: "Console", theme: Theme, inherit: bool = T... method __enter__ (line 357) | def __enter__(self) -> "ThemeContext": method __exit__ (line 361) | def __exit__( class PagerContext (line 370) | class PagerContext: method __init__ (line 373) | def __init__( method __enter__ (line 385) | def __enter__(self) -> "PagerContext": method __exit__ (line 389) | def __exit__( class ScreenContext (line 409) | class ScreenContext: method __init__ (line 412) | def __init__( method update (line 420) | def update( method __enter__ (line 438) | def __enter__(self) -> "ScreenContext": method __exit__ (line 444) | def __exit__( class Group (line 456) | class Group: method __init__ (line 464) | def __init__(self, *renderables: "RenderableType", fit: bool = True) -... method renderables (line 470) | def renderables(self) -> List["RenderableType"]: method __rich_measure__ (line 475) | def __rich_measure__( method __rich_console__ (line 483) | def __rich_console__( function group (line 489) | def group(fit: bool = True) -> Callable[..., Callable[..., Group]]: function _is_jupyter (line 511) | def _is_jupyter() -> bool: # pragma: no cover class ConsoleThreadLocals (line 542) | class ConsoleThreadLocals(threading.local): class RenderHook (line 550) | class RenderHook(ABC): method process_renderables (line 554) | def process_renderables( function get_windows_console_features (line 572) | def get_windows_console_features() -> "WindowsConsoleFeatures": # pragm... function detect_legacy_windows (line 582) | def detect_legacy_windows() -> bool: class Console (line 587) | class Console: method __init__ (line 625) | def __init__( method __repr__ (line 759) | def __repr__(self) -> str: method file (line 763) | def file(self) -> IO[str]: method file (line 772) | def file(self, new_file: IO[str]) -> None: method _buffer (line 777) | def _buffer(self) -> List[Segment]: method _buffer_index (line 782) | def _buffer_index(self) -> int: method _buffer_index (line 787) | def _buffer_index(self, value: int) -> None: method _theme_stack (line 791) | def _theme_stack(self) -> ThemeStack: method _detect_color_system (line 795) | def _detect_color_system(self) -> Optional[ColorSystem]: method _enter_buffer (line 819) | def _enter_buffer(self) -> None: method _exit_buffer (line 823) | def _exit_buffer(self) -> None: method set_live (line 828) | def set_live(self, live: "Live") -> bool: method clear_live (line 844) | def clear_live(self) -> None: method push_render_hook (line 849) | def push_render_hook(self, hook: RenderHook) -> None: method pop_render_hook (line 858) | def pop_render_hook(self) -> None: method __enter__ (line 863) | def __enter__(self) -> "Console": method __exit__ (line 868) | def __exit__(self, exc_type: Any, exc_value: Any, traceback: Any) -> N... method begin_capture (line 872) | def begin_capture(self) -> None: method end_capture (line 876) | def end_capture(self) -> str: method push_theme (line 887) | def push_theme(self, theme: Theme, *, inherit: bool = True) -> None: method pop_theme (line 898) | def pop_theme(self) -> None: method use_theme (line 902) | def use_theme(self, theme: Theme, *, inherit: bool = True) -> ThemeCon... method color_system (line 915) | def color_system(self) -> Optional[str]: method encoding (line 928) | def encoding(self) -> str: method is_terminal (line 937) | def is_terminal(self) -> bool: method is_dumb_terminal (line 985) | def is_dumb_terminal(self) -> bool: method options (line 997) | def options(self) -> ConsoleOptions: method size (line 1011) | def size(self) -> ConsoleDimensions: method size (line 1052) | def size(self, new_size: Tuple[int, int]) -> None: method width (line 1063) | def width(self) -> int: method width (line 1072) | def width(self, width: int) -> None: method height (line 1081) | def height(self) -> int: method height (line 1090) | def height(self, height: int) -> None: method bell (line 1098) | def bell(self) -> None: method capture (line 1102) | def capture(self) -> Capture: method pager (line 1119) | def pager( method line (line 1142) | def line(self, count: int = 1) -> None: method clear (line 1152) | def clear(self, home: bool = True) -> None: method status (line 1163) | def status( method show_cursor (line 1196) | def show_cursor(self, show: bool = True) -> bool: method set_alt_screen (line 1207) | def set_alt_screen(self, enable: bool = True) -> bool: method is_alt_screen (line 1229) | def is_alt_screen(self) -> bool: method set_window_title (line 1237) | def set_window_title(self, title: str) -> bool: method screen (line 1269) | def screen( method measure (line 1283) | def measure( method render (line 1300) | def render( method render_lines (line 1351) | def render_lines( method render_str (line 1415) | def render_str( method get_style (line 1476) | def get_style( method _collect_renderables (line 1506) | def _collect_renderables( method rule (line 1585) | def rule( method control (line 1606) | def control(self, *control: Control) -> None: method out (line 1616) | def out( method print (line 1648) | def print( method print_json (line 1747) | def print_json( method update_screen (line 1808) | def update_screen( method update_screen_lines (line 1842) | def update_screen_lines( method print_exception (line 1862) | def print_exception( method _caller_frame_info (line 1898) | def _caller_frame_info( method log (line 1932) | def log( method on_broken_pipe (line 2013) | def on_broken_pipe(self) -> None: method _check_buffer (line 2027) | def _check_buffer(self) -> None: method _write_buffer (line 2042) | def _write_buffer(self) -> None: method _render_buffer (line 2115) | def _render_buffer(self, buffer: Iterable[Segment]) -> str: method input (line 2139) | def input( method export_text (line 2173) | def export_text(self, *, clear: bool = True, styles: bool = False) -> ... method save_text (line 2205) | def save_text(self, path: str, *, clear: bool = True, styles: bool = F... method export_html (line 2219) | def export_html( method save_html (line 2294) | def save_html( method export_svg (line 2325) | def export_svg( method save_svg (line 2576) | def save_svg( function _svg_hash (line 2615) | def _svg_hash(svg_main_code: str) -> str: FILE: src/pip/_vendor/rich/constrain.py class Constrain (line 10) | class Constrain(JupyterMixin): method __init__ (line 18) | def __init__(self, renderable: "RenderableType", width: Optional[int] ... method __rich_console__ (line 22) | def __rich_console__( method __rich_measure__ (line 31) | def __rich_measure__( FILE: src/pip/_vendor/rich/containers.py class Renderables (line 30) | class Renderables: method __init__ (line 33) | def __init__( method __rich_console__ (line 40) | def __rich_console__( method __rich_measure__ (line 46) | def __rich_measure__( method append (line 59) | def append(self, renderable: "RenderableType") -> None: method __iter__ (line 62) | def __iter__(self) -> Iterable["RenderableType"]: class Lines (line 66) | class Lines: method __init__ (line 69) | def __init__(self, lines: Iterable["Text"] = ()) -> None: method __repr__ (line 72) | def __repr__(self) -> str: method __iter__ (line 75) | def __iter__(self) -> Iterator["Text"]: method __getitem__ (line 79) | def __getitem__(self, index: int) -> "Text": method __getitem__ (line 83) | def __getitem__(self, index: slice) -> List["Text"]: method __getitem__ (line 86) | def __getitem__(self, index: Union[slice, int]) -> Union["Text", List[... method __setitem__ (line 89) | def __setitem__(self, index: int, value: "Text") -> "Lines": method __len__ (line 93) | def __len__(self) -> int: method __rich_console__ (line 96) | def __rich_console__( method append (line 102) | def append(self, line: "Text") -> None: method extend (line 105) | def extend(self, lines: Iterable["Text"]) -> None: method pop (line 108) | def pop(self, index: int = -1) -> "Text": method justify (line 111) | def justify( FILE: src/pip/_vendor/rich/control.py class Control (line 48) | class Control: method __init__ (line 58) | def __init__(self, *codes: Union[ControlType, ControlCode]) -> None: method bell (line 69) | def bell(cls) -> "Control": method home (line 74) | def home(cls) -> "Control": method move (line 79) | def move(cls, x: int = 0, y: int = 0) -> "Control": method move_to_column (line 108) | def move_to_column(cls, x: int, y: int = 0) -> "Control": method move_to (line 132) | def move_to(cls, x: int, y: int) -> "Control": method clear (line 145) | def clear(cls) -> "Control": method show_cursor (line 150) | def show_cursor(cls, show: bool) -> "Control": method alt_screen (line 155) | def alt_screen(cls, enable: bool) -> "Control": method title (line 163) | def title(cls, title: str) -> "Control": method __str__ (line 171) | def __str__(self) -> str: method __rich_console__ (line 174) | def __rich_console__( function strip_control_codes (line 181) | def strip_control_codes( function escape_control_codes (line 195) | def escape_control_codes( FILE: src/pip/_vendor/rich/diagnose.py function report (line 10) | def report() -> None: # pragma: no cover FILE: src/pip/_vendor/rich/emoji.py class NoEmoji (line 18) | class NoEmoji(Exception): class Emoji (line 22) | class Emoji(JupyterMixin): method __init__ (line 27) | def __init__( method replace (line 53) | def replace(cls, text: str) -> str: method __repr__ (line 64) | def __repr__(self) -> str: method __str__ (line 67) | def __str__(self) -> str: method __rich_console__ (line 70) | def __rich_console__( FILE: src/pip/_vendor/rich/errors.py class ConsoleError (line 1) | class ConsoleError(Exception): class StyleError (line 5) | class StyleError(Exception): class StyleSyntaxError (line 9) | class StyleSyntaxError(ConsoleError): class MissingStyle (line 13) | class MissingStyle(StyleError): class StyleStackError (line 17) | class StyleStackError(ConsoleError): class NotRenderableError (line 21) | class NotRenderableError(ConsoleError): class MarkupError (line 25) | class MarkupError(ConsoleError): class LiveError (line 29) | class LiveError(ConsoleError): class NoAltScreen (line 33) | class NoAltScreen(ConsoleError): FILE: src/pip/_vendor/rich/file_proxy.py class FileProxy (line 11) | class FileProxy(io.TextIOBase): method __init__ (line 14) | def __init__(self, console: "Console", file: IO[str]) -> None: method rich_proxied_file (line 21) | def rich_proxied_file(self) -> IO[str]: method __getattr__ (line 25) | def __getattr__(self, name: str) -> Any: method write (line 28) | def write(self, text: str) -> int: method flush (line 50) | def flush(self) -> None: method fileno (line 56) | def fileno(self) -> int: FILE: src/pip/_vendor/rich/filesize.py function _to_str (line 18) | def _to_str( function pick_unit_and_suffix (line 43) | def pick_unit_and_suffix(size: int, suffixes: List[str], base: int) -> T... function decimal (line 52) | def decimal( FILE: src/pip/_vendor/rich/highlighter.py function _combine_regex (line 8) | def _combine_regex(*regexes: str) -> str: class Highlighter (line 17) | class Highlighter(ABC): method __call__ (line 20) | def __call__(self, text: Union[str, Text]) -> Text: method highlight (line 42) | def highlight(self, text: Text) -> None: class NullHighlighter (line 50) | class NullHighlighter(Highlighter): method highlight (line 57) | def highlight(self, text: Text) -> None: class RegexHighlighter (line 61) | class RegexHighlighter(Highlighter): method highlight (line 67) | def highlight(self, text: Text) -> None: class ReprHighlighter (line 80) | class ReprHighlighter(RegexHighlighter): class JSONHighlighter (line 106) | class JSONHighlighter(RegexHighlighter): method highlight (line 123) | def highlight(self, text: Text) -> None: class ISO8601Highlighter (line 143) | class ISO8601Highlighter(RegexHighlighter): FILE: src/pip/_vendor/rich/json.py class JSON (line 9) | class JSON: method __init__ (line 25) | def __init__( method from_data (line 54) | def from_data( method __rich__ (line 101) | def __rich__(self) -> Text: FILE: src/pip/_vendor/rich/jupyter.py class JupyterRenderable (line 18) | class JupyterRenderable: method __init__ (line 21) | def __init__(self, html: str, text: str) -> None: method _repr_mimebundle_ (line 25) | def _repr_mimebundle_( class JupyterMixin (line 36) | class JupyterMixin: method _repr_mimebundle_ (line 41) | def _repr_mimebundle_( function _render_segments (line 59) | def _render_segments(segments: Iterable[Segment]) -> str: function display (line 84) | def display(segments: Iterable[Segment], text: str) -> None: function print (line 98) | def print(*args: Any, **kwargs: Any) -> None: FILE: src/pip/_vendor/rich/layout.py class LayoutRender (line 32) | class LayoutRender(NamedTuple): class LayoutError (line 43) | class LayoutError(Exception): class NoSplitter (line 47) | class NoSplitter(LayoutError): class _Placeholder (line 51) | class _Placeholder: method __init__ (line 56) | def __init__(self, layout: "Layout", style: StyleType = "") -> None: method __rich_console__ (line 60) | def __rich_console__( class Splitter (line 80) | class Splitter(ABC): method get_tree_icon (line 86) | def get_tree_icon(self) -> str: method divide (line 90) | def divide( class RowSplitter (line 101) | class RowSplitter(Splitter): method get_tree_icon (line 106) | def get_tree_icon(self) -> str: method divide (line 109) | def divide( class ColumnSplitter (line 121) | class ColumnSplitter(Splitter): method get_tree_icon (line 126) | def get_tree_icon(self) -> str: method divide (line 129) | def divide( class Layout (line 142) | class Layout: method __init__ (line 156) | def __init__( method __rich_repr__ (line 177) | def __rich_repr__(self) -> Result: method renderable (line 184) | def renderable(self) -> RenderableType: method children (line 189) | def children(self) -> List["Layout"]: method map (line 194) | def map(self) -> RenderMap: method get (line 198) | def get(self, name: str) -> Optional["Layout"]: method __getitem__ (line 216) | def __getitem__(self, name: str) -> "Layout": method tree (line 223) | def tree(self) -> "Tree": method split (line 261) | def split( method add_split (line 286) | def add_split(self, *layouts: Union["Layout", RenderableType]) -> None: method split_row (line 299) | def split_row(self, *layouts: Union["Layout", RenderableType]) -> None: method split_column (line 307) | def split_column(self, *layouts: Union["Layout", RenderableType]) -> N... method unsplit (line 315) | def unsplit(self) -> None: method update (line 319) | def update(self, renderable: RenderableType) -> None: method refresh_screen (line 328) | def refresh_screen(self, console: "Console", layout_name: str) -> None: method _make_region_map (line 345) | def _make_region_map(self, width: int, height: int) -> RegionMap: method render (line 366) | def render(self, console: Console, options: ConsoleOptions) -> RenderMap: method __rich_console__ (line 395) | def __rich_console__( FILE: src/pip/_vendor/rich/live.py class _RefreshThread (line 22) | class _RefreshThread(Thread): method __init__ (line 25) | def __init__(self, live: "Live", refresh_per_second: float) -> None: method stop (line 31) | def stop(self) -> None: method run (line 34) | def run(self) -> None: class Live (line 41) | class Live(JupyterMixin, RenderHook): method __init__ (line 57) | def __init__( method is_started (line 99) | def is_started(self) -> bool: method get_renderable (line 103) | def get_renderable(self) -> RenderableType: method start (line 111) | def start(self, refresh: bool = False) -> None: method stop (line 145) | def stop(self) -> None: method __enter__ (line 179) | def __enter__(self) -> Self: method __exit__ (line 183) | def __exit__( method _enable_redirect_io (line 191) | def _enable_redirect_io(self) -> None: method _disable_redirect_io (line 201) | def _disable_redirect_io(self) -> None: method renderable (line 211) | def renderable(self) -> RenderableType: method update (line 226) | def update(self, renderable: RenderableType, *, refresh: bool = False)... method refresh (line 240) | def refresh(self) -> None: method process_renderables (line 274) | def process_renderables( FILE: src/pip/_vendor/rich/live_render.py class LiveRender (line 14) | class LiveRender: method __init__ (line 22) | def __init__( method set_renderable (line 33) | def set_renderable(self, renderable: RenderableType) -> None: method position_cursor (line 41) | def position_cursor(self) -> Control: method restore_cursor (line 62) | def restore_cursor(self) -> Control: method __rich_console__ (line 76) | def __rich_console__( FILE: src/pip/_vendor/rich/logging.py class RichHandler (line 18) | class RichHandler(Handler): method __init__ (line 65) | def __init__( method get_level_text (line 117) | def get_level_text(self, record: LogRecord) -> Text: method emit (line 132) | def emit(self, record: LogRecord) -> None: method render_message (line 182) | def render_message(self, record: LogRecord, message: str) -> "ConsoleR... method render (line 207) | def render( function divide (line 283) | def divide() -> None: FILE: src/pip/_vendor/rich/markup.py class Tag (line 20) | class Tag(NamedTuple): method __str__ (line 28) | def __str__(self) -> str: method markup (line 34) | def markup(self) -> str: function escape (line 48) | def escape( function _parse (line 73) | def _parse(markup: str) -> Iterable[Tuple[int, Optional[str], Optional[T... function render (line 106) | def render( FILE: src/pip/_vendor/rich/measure.py class Measurement (line 11) | class Measurement(NamedTuple): method span (line 20) | def span(self) -> int: method normalize (line 24) | def normalize(self) -> "Measurement": method with_maximum (line 34) | def with_maximum(self, width: int) -> "Measurement": method with_minimum (line 46) | def with_minimum(self, width: int) -> "Measurement": method clamp (line 59) | def clamp( method get (line 79) | def get( function measure_renderables (line 125) | def measure_renderables( FILE: src/pip/_vendor/rich/padding.py class Padding (line 19) | class Padding(JupyterMixin): method __init__ (line 33) | def __init__( method indent (line 47) | def indent(cls, renderable: "RenderableType", level: int) -> "Padding": method unpack (line 61) | def unpack(pad: "PaddingDimensions") -> Tuple[int, int, int, int]: method __repr__ (line 76) | def __repr__(self) -> str: method __rich_console__ (line 79) | def __rich_console__( method __rich_measure__ (line 125) | def __rich_measure__( FILE: src/pip/_vendor/rich/pager.py class Pager (line 5) | class Pager(ABC): method show (line 9) | def show(self, content: str) -> None: class SystemPager (line 17) | class SystemPager(Pager): method _pager (line 20) | def _pager(self, content: str) -> Any: #  pragma: no cover method show (line 23) | def show(self, content: str) -> None: FILE: src/pip/_vendor/rich/palette.py class Palette (line 11) | class Palette: method __init__ (line 14) | def __init__(self, colors: Sequence[Tuple[int, int, int]]): method __getitem__ (line 17) | def __getitem__(self, number: int) -> ColorTriplet: method __rich__ (line 20) | def __rich__(self) -> "Table": method match (line 45) | def match(self, color: Tuple[int, int, int]) -> int: class ColorBox (line 83) | class ColorBox: method __rich_console__ (line 84) | def __rich_console__( FILE: src/pip/_vendor/rich/panel.py class Panel (line 17) | class Panel(JupyterMixin): method __init__ (line 40) | def __init__( method fit (line 74) | def fit( method _title (line 110) | def _title(self) -> Optional[Text]: method _subtitle (line 126) | def _subtitle(self) -> Optional[Text]: method __rich_console__ (line 141) | def __rich_console__( method __rich_measure__ (line 277) | def __rich_measure__( FILE: src/pip/_vendor/rich/pretty.py function _is_attr_object (line 60) | def _is_attr_object(obj: Any) -> bool: function _get_attr_fields (line 65) | def _get_attr_fields(obj: Any) -> Sequence["_attr_module.Attribute[Any]"]: function _is_dataclass_repr (line 70) | def _is_dataclass_repr(obj: object) -> bool: function _has_default_namedtuple_repr (line 93) | def _has_default_namedtuple_repr(obj: object) -> bool: function _ipy_display_hook (line 113) | def _ipy_display_hook( function _safe_isinstance (line 161) | def _safe_isinstance( function install (line 171) | def install( class Pretty (line 253) | class Pretty(JupyterMixin): method __init__ (line 273) | def __init__( method __rich_console__ (line 304) | def __rich_console__( method __rich_measure__ (line 339) | def __rich_measure__( function _get_braces_for_defaultdict (line 357) | def _get_braces_for_defaultdict(_object: DefaultDict[Any, Any]) -> Tuple... function _get_braces_for_deque (line 365) | def _get_braces_for_deque(_object: Deque[Any]) -> Tuple[str, str, str]: function _get_braces_for_array (line 375) | def _get_braces_for_array(_object: "array[Any]") -> Tuple[str, str, str]: function is_expandable (line 398) | def is_expandable(obj: Any) -> bool: class Node (line 409) | class Node: method iter_tokens (line 424) | def iter_tokens(self) -> Iterable[str]: method check_length (line 446) | def check_length(self, start_length: int, max_length: int) -> bool: method __str__ (line 463) | def __str__(self) -> str: method render (line 467) | def render( class _Line (line 494) | class _Line: method expandable (line 507) | def expandable(self) -> bool: method check_length (line 511) | def check_length(self, max_length: int) -> bool: method expand (line 519) | def expand(self, indent_size: int) -> Iterable["_Line"]: method __str__ (line 552) | def __str__(self) -> str: function _is_namedtuple (line 561) | def _is_namedtuple(obj: Any) -> bool: function traverse (line 580) | def traverse( function pretty_repr (line 878) | def pretty_repr( function pprint (line 918) | def pprint( class BrokenRepr (line 957) | class BrokenRepr: method __repr__ (line 958) | def __repr__(self) -> str: class StockKeepingUnit (line 964) | class StockKeepingUnit(NamedTuple): class Thing (line 1012) | class Thing: method __repr__ (line 1013) | def __repr__(self) -> str: FILE: src/pip/_vendor/rich/progress.py class _TrackThread (line 64) | class _TrackThread(Thread): method __init__ (line 67) | def __init__(self, progress: "Progress", task_id: "TaskID", update_per... method run (line 76) | def run(self) -> None: method __enter__ (line 90) | def __enter__(self) -> "_TrackThread": method __exit__ (line 94) | def __exit__( function track (line 104) | def track( class _Reader (line 182) | class _Reader(RawIOBase, BinaryIO): method __init__ (line 185) | def __init__( method __enter__ (line 198) | def __enter__(self) -> "_Reader": method __exit__ (line 202) | def __exit__( method __iter__ (line 210) | def __iter__(self) -> BinaryIO: method __next__ (line 213) | def __next__(self) -> bytes: method closed (line 219) | def closed(self) -> bool: method fileno (line 222) | def fileno(self) -> int: method isatty (line 225) | def isatty(self) -> bool: method mode (line 229) | def mode(self) -> str: method name (line 233) | def name(self) -> str: method readable (line 236) | def readable(self) -> bool: method seekable (line 239) | def seekable(self) -> bool: method writable (line 242) | def writable(self) -> bool: method read (line 245) | def read(self, size: int = -1) -> bytes: method readinto (line 250) | def readinto(self, b: Union[bytearray, memoryview, mmap]): # type: ig... method readline (line 255) | def readline(self, size: int = -1) -> bytes: # type: ignore[override] method readlines (line 260) | def readlines(self, hint: int = -1) -> List[bytes]: method close (line 265) | def close(self) -> None: method seek (line 270) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 275) | def tell(self) -> int: method write (line 278) | def write(self, s: Any) -> int: method writelines (line 281) | def writelines(self, lines: Iterable[Any]) -> None: class _ReadContext (line 285) | class _ReadContext(ContextManager[_I], Generic[_I]): method __init__ (line 288) | def __init__(self, progress: "Progress", reader: _I) -> None: method __enter__ (line 292) | def __enter__(self) -> _I: method __exit__ (line 296) | def __exit__( function wrap_file (line 306) | def wrap_file( function open (line 372) | def open( function open (line 397) | def open( function open (line 421) | def open( class ProgressColumn (line 507) | class ProgressColumn(ABC): method __init__ (line 512) | def __init__(self, table_column: Optional[Column] = None) -> None: method get_table_column (line 517) | def get_table_column(self) -> Column: method __call__ (line 521) | def __call__(self, task: "Task") -> RenderableType: method render (line 545) | def render(self, task: "Task") -> RenderableType: class RenderableColumn (line 549) | class RenderableColumn(ProgressColumn): method __init__ (line 556) | def __init__( method render (line 562) | def render(self, task: "Task") -> RenderableType: class SpinnerColumn (line 566) | class SpinnerColumn(ProgressColumn): method __init__ (line 576) | def __init__( method set_spinner (line 592) | def set_spinner( method render (line 607) | def render(self, task: "Task") -> RenderableType: class TextColumn (line 616) | class TextColumn(ProgressColumn): method __init__ (line 619) | def __init__( method render (line 635) | def render(self, task: "Task") -> Text: class BarColumn (line 646) | class BarColumn(ProgressColumn): method __init__ (line 657) | def __init__( method render (line 673) | def render(self, task: "Task") -> ProgressBar: class TimeElapsedColumn (line 688) | class TimeElapsedColumn(ProgressColumn): method render (line 691) | def render(self, task: "Task") -> Text: class TaskProgressColumn (line 700) | class TaskProgressColumn(TextColumn): method __init__ (line 714) | def __init__( method render_speed (line 737) | def render_speed(cls, speed: Optional[float]) -> Text: method render (line 756) | def render(self, task: "Task") -> Text: class TimeRemainingColumn (line 772) | class TimeRemainingColumn(ProgressColumn): method __init__ (line 783) | def __init__( method render (line 793) | def render(self, task: "Task") -> Text: class FileSizeColumn (line 820) | class FileSizeColumn(ProgressColumn): method render (line 823) | def render(self, task: "Task") -> Text: class TotalFileSizeColumn (line 829) | class TotalFileSizeColumn(ProgressColumn): method render (line 832) | def render(self, task: "Task") -> Text: class MofNCompleteColumn (line 838) | class MofNCompleteColumn(ProgressColumn): method __init__ (line 850) | def __init__(self, separator: str = "/", table_column: Optional[Column... method render (line 854) | def render(self, task: "Task") -> Text: class DownloadColumn (line 865) | class DownloadColumn(ProgressColumn): method __init__ (line 872) | def __init__( method render (line 878) | def render(self, task: "Task") -> Text: class TransferSpeedColumn (line 914) | class TransferSpeedColumn(ProgressColumn): method render (line 917) | def render(self, task: "Task") -> Text: class ProgressSample (line 926) | class ProgressSample(NamedTuple): class Task (line 936) | class Task: method get_time (line 983) | def get_time(self) -> float: method started (line 988) | def started(self) -> bool: method remaining (line 993) | def remaining(self) -> Optional[float]: method elapsed (line 1000) | def elapsed(self) -> Optional[float]: method finished (line 1009) | def finished(self) -> bool: method percentage (line 1014) | def percentage(self) -> float: method speed (line 1023) | def speed(self) -> Optional[float]: method time_remaining (line 1041) | def time_remaining(self) -> Optional[float]: method _reset (line 1054) | def _reset(self) -> None: class Progress (line 1061) | class Progress(JupyterMixin): method __init__ (line 1077) | def __init__( method get_default_columns (line 1114) | def get_default_columns(cls) -> Tuple[ProgressColumn, ...]: method console (line 1145) | def console(self) -> Console: method tasks (line 1149) | def tasks(self) -> List[Task]: method task_ids (line 1155) | def task_ids(self) -> List[TaskID]: method finished (line 1161) | def finished(self) -> bool: method start (line 1168) | def start(self) -> None: method stop (line 1173) | def stop(self) -> None: method __enter__ (line 1179) | def __enter__(self) -> Self: method __exit__ (line 1183) | def __exit__( method track (line 1191) | def track( method wrap_file (line 1236) | def wrap_file( method open (line 1279) | def open( method open (line 1295) | def open( method open (line 1310) | def open( method start_task (line 1387) | def start_task(self, task_id: TaskID) -> None: method stop_task (line 1401) | def stop_task(self, task_id: TaskID) -> None: method update (line 1416) | def update( method reset (line 1477) | def reset( method advance (line 1516) | def advance(self, task_id: TaskID, advance: float = 1) -> None: method refresh (line 1546) | def refresh(self) -> None: method get_renderable (line 1551) | def get_renderable(self) -> RenderableType: method get_renderables (line 1556) | def get_renderables(self) -> Iterable[RenderableType]: method make_tasks_table (line 1561) | def make_tasks_table(self, tasks: Iterable[Task]) -> Table: method __rich__ (line 1594) | def __rich__(self) -> RenderableType: method add_task (line 1599) | def add_task( method remove_task (line 1642) | def remove_task(self, task_id: TaskID) -> None: FILE: src/pip/_vendor/rich/progress_bar.py class ProgressBar (line 18) | class ProgressBar(JupyterMixin): method __init__ (line 33) | def __init__( method __repr__ (line 57) | def __repr__(self) -> str: method percentage_completed (line 61) | def percentage_completed(self) -> Optional[float]: method _get_pulse_segments (line 70) | def _get_pulse_segments( method update (line 116) | def update(self, completed: float, total: Optional[float] = None) -> N... method _render_pulse (line 126) | def _render_pulse( method __rich_console__ (line 156) | def __rich_console__( method __rich_measure__ (line 200) | def __rich_measure__( FILE: src/pip/_vendor/rich/prompt.py class PromptError (line 11) | class PromptError(Exception): class InvalidResponse (line 15) | class InvalidResponse(PromptError): method __init__ (line 23) | def __init__(self, message: TextType) -> None: method __rich__ (line 26) | def __rich__(self) -> TextType: class PromptBase (line 30) | class PromptBase(Generic[PromptType]): method __init__ (line 54) | def __init__( method ask (line 80) | def ask( method ask (line 97) | def ask( method ask (line 112) | def ask( method render_default (line 151) | def render_default(self, default: DefaultType) -> Text: method make_prompt (line 162) | def make_prompt(self, default: DefaultType) -> Text: method get_input (line 194) | def get_input( method check_choice (line 213) | def check_choice(self, value: str) -> bool: method process_response (line 227) | def process_response(self, value: str) -> PromptType: method on_validate_error (line 258) | def on_validate_error(self, value: str, error: InvalidResponse) -> None: method pre_prompt (line 267) | def pre_prompt(self) -> None: method __call__ (line 271) | def __call__(self, *, stream: Optional[TextIO] = None) -> PromptType: method __call__ (line 275) | def __call__( method __call__ (line 280) | def __call__(self, *, default: Any = ..., stream: Optional[TextIO] = N... class Prompt (line 304) | class Prompt(PromptBase[str]): class IntPrompt (line 316) | class IntPrompt(PromptBase[int]): class FloatPrompt (line 328) | class FloatPrompt(PromptBase[float]): class Confirm (line 340) | class Confirm(PromptBase[bool]): method render_default (line 353) | def render_default(self, default: DefaultType) -> Text: method process_response (line 358) | def process_response(self, value: str) -> bool: FILE: src/pip/_vendor/rich/protocol.py function is_renderable (line 10) | def is_renderable(check_object: Any) -> bool: function rich_cast (line 19) | def rich_cast(renderable: object) -> "RenderableType": FILE: src/pip/_vendor/rich/region.py class Region (line 4) | class Region(NamedTuple): FILE: src/pip/_vendor/rich/repr.py class ReprError (line 23) | class ReprError(Exception): function auto (line 28) | def auto(cls: Optional[Type[T]]) -> Type[T]: function auto (line 33) | def auto(*, angular: bool = False) -> Callable[[Type[T]], Type[T]]: function auto (line 37) | def auto( function rich_repr (line 105) | def rich_repr(cls: Optional[Type[T]]) -> Type[T]: function rich_repr (line 110) | def rich_repr(*, angular: bool = False) -> Callable[[Type[T]], Type[T]]: function rich_repr (line 114) | def rich_repr( class Foo (line 126) | class Foo: method __rich_repr__ (line 127) | def __rich_repr__(self) -> Result: FILE: src/pip/_vendor/rich/rule.py class Rule (line 12) | class Rule(JupyterMixin): method __init__ (line 23) | def __init__( method __repr__ (line 46) | def __repr__(self) -> str: method __rich_console__ (line 49) | def __rich_console__( method _rule_line (line 105) | def _rule_line(self, chars_len: int, width: int) -> Text: method __rich_measure__ (line 111) | def __rich_measure__( FILE: src/pip/_vendor/rich/scope.py function render_scope (line 14) | def render_scope( function test (line 75) | def test(foo: float, bar: float) -> None: FILE: src/pip/_vendor/rich/screen.py class Screen (line 18) | class Screen: method __init__ (line 28) | def __init__( method __rich_console__ (line 40) | def __rich_console__( FILE: src/pip/_vendor/rich/segment.py class ControlType (line 35) | class ControlType(IntEnum): class Segment (line 64) | class Segment(NamedTuple): method cell_length (line 82) | def cell_length(self) -> int: method __rich_repr__ (line 91) | def __rich_repr__(self) -> Result: method __bool__ (line 100) | def __bool__(self) -> bool: method is_control (line 105) | def is_control(self) -> bool: method _split_cells (line 111) | def _split_cells(cls, segment: "Segment", cut: int) -> Tuple["Segment"... method split_cells (line 158) | def split_cells(self, cut: int) -> Tuple["Segment", "Segment"]: method line (line 185) | def line(cls) -> "Segment": method apply_style (line 190) | def apply_style( method filter_control (line 231) | def filter_control( method split_lines (line 250) | def split_lines(cls, segments: Iterable["Segment"]) -> Iterable[List["... method split_and_crop_lines (line 279) | def split_and_crop_lines( method adjust_line_length (line 326) | def adjust_line_length( method get_line_length (line 371) | def get_line_length(cls, line: List["Segment"]) -> int: method get_shape (line 384) | def get_shape(cls, lines: List[List["Segment"]]) -> Tuple[int, int]: method set_shape (line 398) | def set_shape( method align_top (line 434) | def align_top( method align_bottom (line 463) | def align_bottom( method align_middle (line 492) | def align_middle( method simplify (line 523) | def simplify(cls, segments: Iterable["Segment"]) -> Iterable["Segment"]: method strip_links (line 550) | def strip_links(cls, segments: Iterable["Segment"]) -> Iterable["Segme... method strip_styles (line 567) | def strip_styles(cls, segments: Iterable["Segment"]) -> Iterable["Segm... method remove_color (line 580) | def remove_color(cls, segments: Iterable["Segment"]) -> Iterable["Segm... method divide (line 602) | def divide( class Segments (line 671) | class Segments: method __init__ (line 680) | def __init__(self, segments: Iterable[Segment], new_lines: bool = Fals... method __rich_console__ (line 684) | def __rich_console__( class SegmentLines (line 696) | class SegmentLines: method __init__ (line 697) | def __init__(self, lines: Iterable[List[Segment]], new_lines: bool = F... method __rich_console__ (line 708) | def __rich_console__( FILE: src/pip/_vendor/rich/spinner.py class Spinner (line 13) | class Spinner: method __init__ (line 26) | def __init__( method __rich_console__ (line 50) | def __rich_console__( method __rich_measure__ (line 55) | def __rich_measure__( method render (line 61) | def render(self, time: float) -> "RenderableType": method update (line 95) | def update( FILE: src/pip/_vendor/rich/status.py class Status (line 11) | class Status(JupyterMixin): method __init__ (line 23) | def __init__( method renderable (line 45) | def renderable(self) -> Spinner: method console (line 49) | def console(self) -> "Console": method update (line 53) | def update( method start (line 85) | def start(self) -> None: method stop (line 89) | def stop(self) -> None: method __rich__ (line 93) | def __rich__(self) -> RenderableType: method __enter__ (line 96) | def __enter__(self) -> "Status": method __exit__ (line 100) | def __exit__( FILE: src/pip/_vendor/rich/style.py class _Bit (line 21) | class _Bit: method __init__ (line 26) | def __init__(self, bit_no: int) -> None: method __get__ (line 29) | def __get__(self, obj: "Style", objtype: Type["Style"]) -> Optional[bo... class Style (line 36) | class Style: method __init__ (line 127) | def __init__( method null (line 204) | def null(cls) -> "Style": method from_color (line 209) | def from_color( method from_meta (line 233) | def from_meta(cls, meta: Optional[Dict[str, Any]]) -> "Style": method on (line 254) | def on(cls, meta: Optional[Dict[str, Any]] = None, **handlers: Any) ->... method link_id (line 286) | def link_id(self) -> str: method __str__ (line 290) | def __str__(self) -> str: method __bool__ (line 336) | def __bool__(self) -> bool: method _make_ansi_codes (line 340) | def _make_ansi_codes(self, color_system: ColorSystem) -> str: method normalize (line 385) | def normalize(cls, style: str) -> str: method pick_first (line 401) | def pick_first(cls, *values: Optional[StyleType]) -> StyleType: method __rich_repr__ (line 408) | def __rich_repr__(self) -> Result: method __eq__ (line 427) | def __eq__(self, other: Any) -> bool: method __ne__ (line 432) | def __ne__(self, other: Any) -> bool: method __hash__ (line 437) | def __hash__(self) -> int: method color (line 444) | def color(self) -> Optional[Color]: method bgcolor (line 449) | def bgcolor(self) -> Optional[Color]: method link (line 454) | def link(self) -> Optional[str]: method transparent_background (line 459) | def transparent_background(self) -> bool: method background_style (line 464) | def background_style(self) -> "Style": method meta (line 469) | def meta(self) -> Dict[str, Any]: method without_color (line 474) | def without_color(self) -> "Style": method parse (line 494) | def parse(cls, style_definition: str) -> "Style": method get_html_style (line 560) | def get_html_style(self, theme: Optional[TerminalTheme] = None) -> str: method combine (line 597) | def combine(cls, styles: Iterable["Style"]) -> "Style": method chain (line 610) | def chain(cls, *styles: "Style") -> "Style": method copy (line 622) | def copy(self) -> "Style": method clear_meta_and_links (line 645) | def clear_meta_and_links(self) -> "Style": method update_link (line 667) | def update_link(self, link: Optional[str] = None) -> "Style": method render (line 690) | def render( method test (line 716) | def test(self, text: Optional[str] = None) -> None: method _add (line 729) | def _add(self, style: Optional["Style"]) -> "Style": method __add__ (line 753) | def __add__(self, style: Optional["Style"]) -> "Style": class StyleStack (line 761) | class StyleStack: method __init__ (line 766) | def __init__(self, default_style: "Style") -> None: method __repr__ (line 769) | def __repr__(self) -> str: method current (line 773) | def current(self) -> Style: method push (line 777) | def push(self, style: Style) -> None: method pop (line 785) | def pop(self) -> Style: FILE: src/pip/_vendor/rich/styled.py class Styled (line 11) | class Styled: method __init__ (line 19) | def __init__(self, renderable: "RenderableType", style: "StyleType") -... method __rich_console__ (line 23) | def __rich_console__( method __rich_measure__ (line 31) | def __rich_measure__( FILE: src/pip/_vendor/rich/syntax.py class SyntaxTheme (line 124) | class SyntaxTheme(ABC): method get_style_for_token (line 128) | def get_style_for_token(self, token_type: TokenType) -> Style: method get_background_style (line 133) | def get_background_style(self) -> Style: class PygmentsSyntaxTheme (line 138) | class PygmentsSyntaxTheme(SyntaxTheme): method __init__ (line 141) | def __init__(self, theme: Union[str, Type[PygmentsStyle]]) -> None: method get_style_for_token (line 154) | def get_style_for_token(self, token_type: TokenType) -> Style: method get_background_style (line 176) | def get_background_style(self) -> Style: class ANSISyntaxTheme (line 180) | class ANSISyntaxTheme(SyntaxTheme): method __init__ (line 183) | def __init__(self, style_map: Dict[TokenType, Style]) -> None: method get_style_for_token (line 189) | def get_style_for_token(self, token_type: TokenType) -> Style: method get_background_style (line 209) | def get_background_style(self) -> Style: class _SyntaxHighlightRange (line 216) | class _SyntaxHighlightRange(NamedTuple): class PaddingProperty (line 229) | class PaddingProperty: method __get__ (line 232) | def __get__(self, obj: Syntax, objtype: Type[Syntax]) -> Tuple[int, in... method __set__ (line 236) | def __set__(self, obj: Syntax, padding: PaddingDimensions) -> None: class Syntax (line 240) | class Syntax(JupyterMixin): method get_theme (line 265) | def get_theme(cls, name: Union[str, SyntaxTheme]) -> SyntaxTheme: method __init__ (line 276) | def __init__( method from_path (line 317) | def from_path( method guess_lexer (line 380) | def guess_lexer(cls, path: str, code: Optional[str] = None) -> str: method _get_base_style (line 421) | def _get_base_style(self) -> Style: method _get_token_color (line 426) | def _get_token_color(self, token_type: TokenType) -> Optional[Color]: method lexer (line 439) | def lexer(self) -> Optional[Lexer]: method default_lexer (line 458) | def default_lexer(self) -> Lexer: method highlight (line 467) | def highlight( method stylize_range (line 552) | def stylize_range( method _get_line_numbers_color (line 573) | def _get_line_numbers_color(self, blend: float = 0.3) -> Color: method _numbers_column_width (line 589) | def _numbers_column_width(self) -> int: method _get_number_styles (line 599) | def _get_number_styles(self, console: Console) -> Tuple[Style, Style, ... method __rich_measure__ (line 622) | def __rich_measure__( method __rich_console__ (line 640) | def __rich_console__( method _get_syntax (line 649) | def _get_syntax( method _apply_stylized_ranges (line 787) | def _apply_stylized_ranges(self, text: Text) -> None: method _process_code (line 820) | def _process_code(self, code: str) -> Tuple[bool, str]: function _get_code_index_for_syntax_position (line 841) | def _get_code_index_for_syntax_position( FILE: src/pip/_vendor/rich/table.py class Column (line 39) | class Column: method copy (line 117) | def copy(self) -> "Column": method cells (line 122) | def cells(self) -> Iterable["RenderableType"]: method flexible (line 127) | def flexible(self) -> bool: class Row (line 133) | class Row: class _Cell (line 143) | class _Cell(NamedTuple): class Table (line 154) | class Table(JupyterMixin): method __init__ (line 189) | def __init__( method grid (line 254) | def grid( method expand (line 287) | def expand(self) -> bool: method expand (line 292) | def expand(self, expand: bool) -> None: method _extra_width (line 297) | def _extra_width(self) -> int: method row_count (line 307) | def row_count(self) -> int: method get_row_style (line 311) | def get_row_style(self, console: "Console", index: int) -> StyleType: method __rich_measure__ (line 321) | def __rich_measure__( method padding (line 355) | def padding(self) -> Tuple[int, int, int, int]: method padding (line 360) | def padding(self, padding: PaddingDimensions) -> "Table": method add_column (line 365) | def add_column( method add_row (line 423) | def add_row( method add_section (line 470) | def add_section(self) -> None: method __rich_console__ (line 476) | def __rich_console__( method _calculate_column_widths (line 523) | def _calculate_column_widths( method _collapse_widths (line 588) | def _collapse_widths( method _get_cells (line 626) | def _get_cells( method _get_padding_width (line 699) | def _get_padding_width(self, column_index: int) -> int: method _measure_column (line 707) | def _measure_column( method _render (line 747) | def _render( function header (line 967) | def header(text: str) -> None: FILE: src/pip/_vendor/rich/terminal_theme.py class TerminalTheme (line 9) | class TerminalTheme: method __init__ (line 20) | def __init__( FILE: src/pip/_vendor/rich/text.py class Span (line 47) | class Span(NamedTuple): method __repr__ (line 57) | def __repr__(self) -> str: method __bool__ (line 60) | def __bool__(self) -> bool: method split (line 63) | def split(self, offset: int) -> Tuple["Span", Optional["Span"]]: method move (line 76) | def move(self, offset: int) -> "Span": method right_crop (line 88) | def right_crop(self, offset: int) -> "Span": method extend (line 102) | def extend(self, cells: int) -> "Span": class Text (line 118) | class Text(JupyterMixin): method __init__ (line 144) | def __init__( method __len__ (line 167) | def __len__(self) -> int: method __bool__ (line 170) | def __bool__(self) -> bool: method __str__ (line 173) | def __str__(self) -> str: method __repr__ (line 176) | def __repr__(self) -> str: method __add__ (line 179) | def __add__(self, other: Any) -> "Text": method __eq__ (line 186) | def __eq__(self, other: object) -> bool: method __contains__ (line 191) | def __contains__(self, other: object) -> bool: method __getitem__ (line 198) | def __getitem__(self, slice: Union[int, slice]) -> "Text": method cell_len (line 225) | def cell_len(self) -> int: method markup (line 230) | def markup(self) -> str: method from_markup (line 260) | def from_markup( method from_ansi (line 294) | def from_ansi( method styled (line 332) | def styled( method assemble (line 357) | def assemble( method plain (line 403) | def plain(self) -> str: method plain (line 410) | def plain(self, new_text: str) -> None: method spans (line 421) | def spans(self) -> List[Span]: method spans (line 426) | def spans(self, spans: List[Span]) -> None: method blank_copy (line 430) | def blank_copy(self, plain: str = "") -> "Text": method copy (line 443) | def copy(self) -> "Text": method stylize (line 457) | def stylize( method stylize_before (line 483) | def stylize_before( method apply_meta (line 509) | def apply_meta( method on (line 523) | def on(self, meta: Optional[Dict[str, Any]] = None, **handlers: Any) -... method remove_suffix (line 543) | def remove_suffix(self, suffix: str) -> None: method get_style_at_offset (line 552) | def get_style_at_offset(self, console: "Console", offset: int) -> Style: method extend_style (line 572) | def extend_style(self, spaces: int) -> None: method highlight_regex (line 593) | def highlight_regex( method highlight_words (line 633) | def highlight_words( method rstrip (line 662) | def rstrip(self) -> None: method rstrip_end (line 666) | def rstrip_end(self, size: int) -> None: method set_length (line 680) | def set_length(self, new_length: int) -> None: method __rich_console__ (line 689) | def __rich_console__( method __rich_measure__ (line 708) | def __rich_measure__( method render (line 720) | def render(self, console: "Console", end: str = "") -> Iterable["Segme... method join (line 779) | def join(self, lines: Iterable["Text"]) -> "Text": method expand_tabs (line 818) | def expand_tabs(self, tab_size: Optional[int] = None) -> None: method truncate (line 860) | def truncate( method _trim_spans (line 887) | def _trim_spans(self) -> None: method pad (line 901) | def pad(self, count: int, character: str = " ") -> None: method pad_left (line 918) | def pad_left(self, count: int, character: str = " ") -> None: method pad_right (line 934) | def pad_right(self, count: int, character: str = " ") -> None: method align (line 945) | def align(self, align: AlignMethod, width: int, character: str = " ") ... method append (line 965) | def append( method append_text (line 1009) | def append_text(self, text: "Text") -> "Text": method append_tokens (line 1031) | def append_tokens( method copy_styles (line 1055) | def copy_styles(self, text: "Text") -> None: method split (line 1063) | def split( method divide (line 1107) | def divide(self, offsets: Iterable[int]) -> Lines: method right_crop (line 1186) | def right_crop(self, amount: int = 1) -> None: method wrap (line 1202) | def wrap( method fit (line 1250) | def fit(self, width: int) -> Lines: method detect_indentation (line 1266) | def detect_indentation(self) -> int: method with_indent_guides (line 1287) | def with_indent_guides( FILE: src/pip/_vendor/rich/theme.py class Theme (line 8) | class Theme: method __init__ (line 18) | def __init__( method config (line 31) | def config(self) -> str: method from_file (line 39) | def from_file( method read (line 59) | def read( class ThemeStackError (line 76) | class ThemeStackError(Exception): class ThemeStack (line 80) | class ThemeStack: method __init__ (line 87) | def __init__(self, theme: Theme) -> None: method push_theme (line 91) | def push_theme(self, theme: Theme, inherit: bool = True) -> None: method pop_theme (line 105) | def pop_theme(self) -> None: FILE: src/pip/_vendor/rich/traceback.py function _iter_syntax_lines (line 55) | def _iter_syntax_lines( function install (line 83) | def install( class Frame (line 215) | class Frame: class _SyntaxError (line 225) | class _SyntaxError: class Stack (line 235) | class Stack: class Trace (line 247) | class Trace: class PathHighlighter (line 251) | class PathHighlighter(RegexHighlighter): class Traceback (line 255) | class Traceback: method __init__ (line 286) | def __init__( method from_exception (line 340) | def from_exception( method extract (line 413) | def extract( method __rich_console__ (line 603) | def __rich_console__( method _render_syntax_error (line 706) | def _render_syntax_error(self, syntax_error: _SyntaxError) -> RenderRe... method _guess_lexer (line 729) | def _guess_lexer(cls, filename: str, code: str) -> str: method _render_stack (line 745) | def _render_stack(self, stack: Stack) -> RenderResult: function bar (line 877) | def bar( function foo (line 883) | def foo(a: Any) -> None: function error (line 896) | def error() -> None: FILE: src/pip/_vendor/rich/tree.py class Tree (line 14) | class Tree(JupyterMixin): method __init__ (line 37) | def __init__( method add (line 55) | def add( method __rich_console__ (line 86) | def __rich_console__( method __rich_measure__ (line 176) | def __rich_measure__( FILE: src/pip/_vendor/tomli/_parser.py class DEPRECATED_DEFAULT (line 70) | class DEPRECATED_DEFAULT: class TOMLDecodeError (line 75) | class TOMLDecodeError(ValueError): method __init__ (line 86) | def __init__( function load (line 136) | def load(__fp: IO[bytes], *, parse_float: ParseFloat = float) -> dict[st... function loads (line 148) | def loads(__s: str, *, parse_float: ParseFloat = float) -> dict[str, Any... class Flags (line 219) | class Flags: method __init__ (line 228) | def __init__(self) -> None: method add_pending (line 232) | def add_pending(self, key: Key, flag: int) -> None: method finalize_pending (line 235) | def finalize_pending(self) -> None: method unset_all (line 240) | def unset_all(self, key: Key) -> None: method set (line 248) | def set(self, key: Key, flag: int, *, recursive: bool) -> None: # noq... method is_ (line 259) | def is_(self, key: Key, flag: int) -> bool: class NestedDict (line 277) | class NestedDict: method __init__ (line 278) | def __init__(self) -> None: method get_or_create_nest (line 282) | def get_or_create_nest( method append_nest_to_list (line 299) | def append_nest_to_list(self, key: Key) -> None: class Output (line 311) | class Output: method __init__ (line 312) | def __init__(self) -> None: function skip_chars (line 317) | def skip_chars(src: str, pos: Pos, chars: Iterable[str]) -> Pos: function skip_until (line 326) | def skip_until( function skip_comment (line 348) | def skip_comment(src: str, pos: Pos) -> Pos: function skip_comments_and_array_ws (line 360) | def skip_comments_and_array_ws(src: str, pos: Pos) -> Pos: function create_dict_rule (line 369) | def create_dict_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]: function create_list_rule (line 389) | def create_list_rule(src: str, pos: Pos, out: Output) -> tuple[Pos, Key]: function key_value_rule (line 412) | def key_value_rule( function parse_key_value_pair (line 446) | def parse_key_value_pair( function parse_key (line 462) | def parse_key(src: str, pos: Pos) -> tuple[Pos, Key]: function parse_key_part (line 480) | def parse_key_part(src: str, pos: Pos) -> tuple[Pos, str]: function parse_one_line_basic_str (line 496) | def parse_one_line_basic_str(src: str, pos: Pos) -> tuple[Pos, str]: function parse_array (line 501) | def parse_array( function parse_inline_table (line 527) | def parse_inline_table( function parse_basic_str_escape (line 561) | def parse_basic_str_escape( function parse_basic_str_escape_multiline (line 590) | def parse_basic_str_escape_multiline(src: str, pos: Pos) -> tuple[Pos, s... function parse_hex_char (line 594) | def parse_hex_char(src: str, pos: Pos, hex_len: int) -> tuple[Pos, str]: function parse_literal_str (line 607) | def parse_literal_str(src: str, pos: Pos) -> tuple[Pos, str]: function parse_multiline_str (line 616) | def parse_multiline_str(src: str, pos: Pos, *, literal: bool) -> tuple[P... function parse_basic_str (line 647) | def parse_basic_str(src: str, pos: Pos, *, multiline: bool) -> tuple[Pos... function parse_value (line 679) | def parse_value( # noqa: C901 function is_unicode_scalar_value (line 755) | def is_unicode_scalar_value(codepoint: int) -> bool: function make_safe_parse_float (line 759) | def make_safe_parse_float(parse_float: ParseFloat) -> ParseFloat: FILE: src/pip/_vendor/tomli/_re.py function match_to_datetime (line 57) | def match_to_datetime(match: re.Match[str]) -> datetime | date: function cached_tz (line 96) | def cached_tz(hour_str: str, minute_str: str, sign_str: str) -> timezone: function match_to_localtime (line 106) | def match_to_localtime(match: re.Match[str]) -> time: function match_to_number (line 112) | def match_to_number(match: re.Match[str], parse_float: ParseFloat) -> Any: FILE: src/pip/_vendor/tomli_w/_writer.py class Context (line 33) | class Context: method __init__ (line 34) | def __init__(self, allow_multiline: bool, indent: int): function dump (line 43) | def dump( function dumps (line 56) | def dumps( function gen_table_chunks (line 63) | def gen_table_chunks( function format_literal (line 100) | def format_literal(obj: object, ctx: Context, *, nest_level: int = 0) ->... function format_decimal (line 126) | def format_decimal(obj: Decimal) -> str: function format_inline_table (line 135) | def format_inline_table(obj: Mapping, ctx: Context) -> str: function format_inline_array (line 156) | def format_inline_array(obj: tuple | list, ctx: Context, nest_level: int... function format_key_part (line 171) | def format_key_part(part: str) -> str: function format_string (line 185) | def format_string(s: str, *, allow_multiline: bool) -> str: function is_aot (line 215) | def is_aot(obj: Any) -> bool: function is_suitable_inline_table (line 225) | def is_suitable_inline_table(obj: Mapping, ctx: Context) -> bool: FILE: src/pip/_vendor/truststore/_api.py function inject_into_ssl (line 34) | def inject_into_ssl() -> None: function extract_from_ssl (line 66) | def extract_from_ssl() -> None: class SSLContext (line 77) | class SSLContext(_truststore_SSLContext_super_class): # type: ignore[misc] method __class__ (line 81) | def __class__(self) -> type: method __init__ (line 87) | def __init__(self, protocol: int = None) -> None: # type: ignore[assi... method wrap_socket (line 103) | def wrap_socket( method wrap_bio (line 136) | def wrap_bio( method load_verify_locations (line 154) | def load_verify_locations( method load_cert_chain (line 164) | def load_cert_chain( method load_default_certs (line 174) | def load_default_certs( method set_alpn_protocols (line 179) | def set_alpn_protocols(self, alpn_protocols: typing.Iterable[str]) -> ... method set_npn_protocols (line 182) | def set_npn_protocols(self, npn_protocols: typing.Iterable[str]) -> None: method set_ciphers (line 185) | def set_ciphers(self, __cipherlist: str) -> None: method get_ciphers (line 188) | def get_ciphers(self) -> typing.Any: method session_stats (line 191) | def session_stats(self) -> dict[str, int]: method cert_store_stats (line 194) | def cert_store_stats(self) -> dict[str, int]: method set_default_verify_paths (line 197) | def set_default_verify_paths(self) -> None: method get_ca_certs (line 201) | def get_ca_certs( method get_ca_certs (line 206) | def get_ca_certs(self, binary_form: typing.Literal[True] = ...) -> lis... method get_ca_certs (line 209) | def get_ca_certs(self, binary_form: bool = ...) -> typing.Any: ... method get_ca_certs (line 211) | def get_ca_certs(self, binary_form: bool = False) -> list[typing.Any] ... method check_hostname (line 215) | def check_hostname(self) -> bool: method check_hostname (line 219) | def check_hostname(self, value: bool) -> None: method hostname_checks_common_name (line 223) | def hostname_checks_common_name(self) -> bool: method hostname_checks_common_name (line 227) | def hostname_checks_common_name(self, value: bool) -> None: method keylog_filename (line 231) | def keylog_filename(self) -> str: method keylog_filename (line 235) | def keylog_filename(self, value: str) -> None: method maximum_version (line 239) | def maximum_version(self) -> ssl.TLSVersion: method maximum_version (line 243) | def maximum_version(self, value: ssl.TLSVersion) -> None: method minimum_version (line 249) | def minimum_version(self) -> ssl.TLSVersion: method minimum_version (line 253) | def minimum_version(self, value: ssl.TLSVersion) -> None: method options (line 259) | def options(self) -> ssl.Options: method options (line 263) | def options(self, value: ssl.Options) -> None: method post_handshake_auth (line 269) | def post_handshake_auth(self) -> bool: method post_handshake_auth (line 273) | def post_handshake_auth(self, value: bool) -> None: method protocol (line 277) | def protocol(self) -> ssl._SSLMethod: method security_level (line 281) | def security_level(self) -> int: method verify_flags (line 285) | def verify_flags(self) -> ssl.VerifyFlags: method verify_flags (line 289) | def verify_flags(self, value: ssl.VerifyFlags) -> None: method verify_mode (line 295) | def verify_mode(self) -> ssl.VerifyMode: method verify_mode (line 299) | def verify_mode(self, value: ssl.VerifyMode) -> None: function _get_unverified_chain_bytes (line 310) | def _get_unverified_chain_bytes(sslobj: ssl.SSLObject) -> list[bytes]: function _get_unverified_chain_bytes (line 319) | def _get_unverified_chain_bytes(sslobj: ssl.SSLObject) -> list[bytes]: function _verify_peercerts (line 324) | def _verify_peercerts( FILE: src/pip/_vendor/truststore/_macos.py function _load_cdll (line 31) | def _load_cdll(name: str, macos10_16_path: str) -> CDLL: function _handle_osstatus (line 223) | def _handle_osstatus(result: OSStatus, _: typing.Any, args: typing.Any) ... class CFConst (line 283) | class CFConst: function _bytes_to_cf_data_ref (line 294) | def _bytes_to_cf_data_ref(value: bytes) -> CFDataRef: # type: ignore[va... function _bytes_to_cf_string (line 300) | def _bytes_to_cf_string(value: bytes) -> CFString: function _cf_string_ref_to_str (line 314) | def _cf_string_ref_to_str(cf_string_ref: CFStringRef) -> str | None: # ... function _der_certs_to_cf_cert_array (line 337) | def _der_certs_to_cf_cert_array(certs: list[bytes]) -> CFMutableArrayRef... function _configure_context (line 368) | def _configure_context(ctx: ssl.SSLContext) -> typing.Iterator[None]: function _verify_peercerts_impl (line 380) | def _verify_peercerts_impl( function _verify_peercerts_impl_macos_10_13 (line 469) | def _verify_peercerts_impl_macos_10_13( function _verify_peercerts_impl_macos_10_14 (line 513) | def _verify_peercerts_impl_macos_10_14( FILE: src/pip/_vendor/truststore/_openssl.py function _configure_context (line 25) | def _configure_context(ctx: ssl.SSLContext) -> typing.Iterator[None]: function _capath_contains_certs (line 51) | def _capath_contains_certs(capath: str) -> bool: function _verify_peercerts_impl (line 61) | def _verify_peercerts_impl( FILE: src/pip/_vendor/truststore/_ssl_constants.py function _set_ssl_context_verify_mode (line 28) | def _set_ssl_context_verify_mode( FILE: src/pip/_vendor/truststore/_windows.py class CERT_CONTEXT (line 39) | class CERT_CONTEXT(Structure): class CERT_ENHKEY_USAGE (line 53) | class CERT_ENHKEY_USAGE(Structure): class CERT_USAGE_MATCH (line 63) | class CERT_USAGE_MATCH(Structure): class CERT_CHAIN_PARA (line 70) | class CERT_CHAIN_PARA(Structure): class CERT_TRUST_STATUS (line 90) | class CERT_TRUST_STATUS(Structure): class CERT_CHAIN_ELEMENT (line 97) | class CERT_CHAIN_ELEMENT(Structure): class CERT_SIMPLE_CHAIN (line 112) | class CERT_SIMPLE_CHAIN(Structure): class CERT_CHAIN_CONTEXT (line 127) | class CERT_CHAIN_CONTEXT(Structure): class SSL_EXTRA_CERT_CHAIN_POLICY_PARA (line 144) | class SSL_EXTRA_CERT_CHAIN_POLICY_PARA(Structure): class CERT_CHAIN_POLICY_PARA (line 153) | class CERT_CHAIN_POLICY_PARA(Structure): class CERT_CHAIN_POLICY_STATUS (line 164) | class CERT_CHAIN_POLICY_STATUS(Structure): class CERT_CHAIN_ENGINE_CONFIG (line 177) | class CERT_CHAIN_ENGINE_CONFIG(Structure): function _handle_win_error (line 238) | def _handle_win_error(result: bool, _: Any, args: Any) -> Any: function _verify_peercerts_impl (line 323) | def _verify_peercerts_impl( function _get_and_verify_cert_chain (line 415) | def _get_and_verify_cert_chain( function _verify_using_custom_ca_certs (line 505) | def _verify_using_custom_ca_certs( function _configure_context (line 558) | def _configure_context(ctx: ssl.SSLContext) -> typing.Iterator[None]: FILE: src/pip/_vendor/urllib3/__init__.py function add_stderr_logger (line 63) | def add_stderr_logger(level=logging.DEBUG): function disable_warnings (line 98) | def disable_warnings(category=exceptions.HTTPWarning): FILE: src/pip/_vendor/urllib3/_collections.py class RLock (line 11) | class RLock: method __enter__ (line 12) | def __enter__(self): method __exit__ (line 15) | def __exit__(self, exc_type, exc_value, traceback): class RecentlyUsedContainer (line 31) | class RecentlyUsedContainer(MutableMapping): method __init__ (line 47) | def __init__(self, maxsize=10, dispose_func=None): method __getitem__ (line 54) | def __getitem__(self, key): method __setitem__ (line 61) | def __setitem__(self, key, value): method __delitem__ (line 76) | def __delitem__(self, key): method __len__ (line 83) | def __len__(self): method __iter__ (line 87) | def __iter__(self): method clear (line 92) | def clear(self): method keys (line 102) | def keys(self): class HTTPHeaderDict (line 107) | class HTTPHeaderDict(MutableMapping): method __init__ (line 141) | def __init__(self, headers=None, **kwargs): method __setitem__ (line 152) | def __setitem__(self, key, val): method __getitem__ (line 156) | def __getitem__(self, key): method __delitem__ (line 160) | def __delitem__(self, key): method __contains__ (line 163) | def __contains__(self, key): method __eq__ (line 166) | def __eq__(self, other): method __ne__ (line 175) | def __ne__(self, other): method __len__ (line 184) | def __len__(self): method __iter__ (line 187) | def __iter__(self): method pop (line 192) | def pop(self, key, default=__marker): method discard (line 209) | def discard(self, key): method add (line 215) | def add(self, key, val): method extend (line 231) | def extend(self, *args, **kwargs): method getlist (line 259) | def getlist(self, key, default=__marker): method _prepare_for_method_change (line 271) | def _prepare_for_method_change(self): method __repr__ (line 297) | def __repr__(self): method _copy_from (line 300) | def _copy_from(self, other): method copy (line 308) | def copy(self): method iteritems (line 313) | def iteritems(self): method itermerged (line 320) | def itermerged(self): method items (line 326) | def items(self): method from_httplib (line 330) | def from_httplib(cls, message): # Python 2 FILE: src/pip/_vendor/urllib3/connection.py class BaseSSLError (line 24) | class BaseSSLError(BaseException): class ConnectionError (line 33) | class ConnectionError(Exception): class BrokenPipeError (line 42) | class BrokenPipeError(Exception): class HTTPConnection (line 76) | class HTTPConnection(_HTTPConnection, object): method __init__ (line 115) | def __init__(self, *args, **kw): method host (line 133) | def host(self): method host (line 152) | def host(self, value): method _new_conn (line 161) | def _new_conn(self): method _is_using_tunnel (line 192) | def _is_using_tunnel(self): method _prepare_conn (line 196) | def _prepare_conn(self, conn): method connect (line 204) | def connect(self): method putrequest (line 208) | def putrequest(self, method, url, *args, **kwargs): method putheader (line 221) | def putheader(self, header, *values): method request (line 231) | def request(self, method, url, body=None, headers=None): method request_chunked (line 246) | def request_chunked(self, method, url, body=None, headers=None): class HTTPSConnection (line 286) | class HTTPSConnection(HTTPConnection): method __init__ (line 302) | def __init__( method set_cert (line 328) | def set_cert( method connect (line 361) | def connect(self): method _connect_tls_proxy (line 479) | def _connect_tls_proxy(self, hostname, conn): function _match_hostname (line 536) | def _match_hostname(cert, asserted_hostname): function _get_default_user_agent (line 558) | def _get_default_user_agent(): class DummyConnection (line 562) | class DummyConnection(object): FILE: src/pip/_vendor/urllib3/connectionpool.py class ConnectionPool (line 69) | class ConnectionPool(object): method __init__ (line 83) | def __init__(self, host, port=None): method __str__ (line 91) | def __str__(self): method __enter__ (line 94) | def __enter__(self): method __exit__ (line 97) | def __exit__(self, exc_type, exc_val, exc_tb): method close (line 102) | def close(self): class HTTPConnectionPool (line 113) | class HTTPConnectionPool(ConnectionPool, RequestMethods): method __init__ (line 177) | def __init__( method _new_conn (line 241) | def _new_conn(self): method _get_conn (line 262) | def _get_conn(self, timeout=None): method _put_conn (line 301) | def _put_conn(self, conn): method _validate_conn (line 332) | def _validate_conn(self, conn): method _prepare_proxy (line 338) | def _prepare_proxy(self, conn): method _get_timeout (line 342) | def _get_timeout(self, timeout): method _raise_timeout (line 354) | def _raise_timeout(self, err, url, timeout_value): method _make_request (line 379) | def _make_request( method _absolute_url (line 499) | def _absolute_url(self, path): method close (line 502) | def close(self): method is_same_host (line 514) | def is_same_host(self, url): method urlopen (line 535) | def urlopen( class HTTPSConnectionPool (line 916) | class HTTPSConnectionPool(HTTPConnectionPool): method __init__ (line 933) | def __init__( method _prepare_conn (line 982) | def _prepare_conn(self, conn): method _prepare_proxy (line 1002) | def _prepare_proxy(self, conn): method _new_conn (line 1017) | def _new_conn(self): method _validate_conn (line 1053) | def _validate_conn(self, conn): function connection_from_url (line 1086) | def connection_from_url(url, **kw): function _normalize_host (line 1114) | def _normalize_host(host, scheme): function _close_pool_connections (line 1132) | def _close_pool_connections(pool): FILE: src/pip/_vendor/urllib3/contrib/_appengine_environ.py function is_appengine (line 8) | def is_appengine(): function is_appengine_sandbox (line 12) | def is_appengine_sandbox(): function is_local_appengine (line 22) | def is_local_appengine(): function is_prod_appengine (line 28) | def is_prod_appengine(): function is_prod_appengine_mvms (line 34) | def is_prod_appengine_mvms(): FILE: src/pip/_vendor/urllib3/contrib/_securetransport/bindings.py function load_cdll (line 65) | def load_cdll(name, macos10_16_path): class CFConst (line 423) | class CFConst(object): class SecurityConst (line 432) | class SecurityConst(object): FILE: src/pip/_vendor/urllib3/contrib/_securetransport/low_level.py function _cf_data_from_bytes (line 27) | def _cf_data_from_bytes(bytestring): function _cf_dictionary_from_tuples (line 37) | def _cf_dictionary_from_tuples(tuples): function _cfstr (line 59) | def _cfstr(py_bstr): function _create_cfstring_array (line 73) | def _create_cfstring_array(lst): function _cf_string_to_unicode (line 104) | def _cf_string_to_unicode(value): function _assert_no_error (line 129) | def _assert_no_error(error, exception_class=None): function _cert_array_from_pem (line 150) | def _cert_array_from_pem(pem_bundle): function _is_cert (line 196) | def _is_cert(item): function _is_identity (line 204) | def _is_identity(item): function _temporary_keychain (line 212) | def _temporary_keychain(): function _load_items_from_file (line 247) | def _load_items_from_file(keychain, path): function _load_client_cert_chain (line 302) | def _load_client_cert_chain(keychain, *paths): function _build_tls_unknown_ca_alert (line 386) | def _build_tls_unknown_ca_alert(version): FILE: src/pip/_vendor/urllib3/contrib/appengine.py class AppEnginePlatformWarning (line 71) | class AppEnginePlatformWarning(HTTPWarning): class AppEnginePlatformError (line 75) | class AppEnginePlatformError(HTTPError): class AppEngineManager (line 79) | class AppEngineManager(RequestMethods): method __init__ (line 99) | def __init__( method __enter__ (line 124) | def __enter__(self): method __exit__ (line 127) | def __exit__(self, exc_type, exc_val, exc_tb): method urlopen (line 131) | def urlopen( method _urlfetch_response_to_http_response (line 245) | def _urlfetch_response_to_http_response(self, urlfetch_resp, **respons... method _get_absolute_timeout (line 281) | def _get_absolute_timeout(self, timeout): method _get_retries (line 294) | def _get_retries(self, retries, redirect): FILE: src/pip/_vendor/urllib3/contrib/ntlmpool.py class NTLMConnectionPool (line 27) | class NTLMConnectionPool(HTTPSConnectionPool): method __init__ (line 34) | def __init__(self, user, pw, authurl, *args, **kwargs): method _new_conn (line 48) | def _new_conn(self): method urlopen (line 115) | def urlopen( FILE: src/pip/_vendor/urllib3/contrib/pyopenssl.py class UnsupportedExtension (line 59) | class UnsupportedExtension(Exception): function inject_into_urllib3 (line 130) | def inject_into_urllib3(): function extract_from_urllib3 (line 143) | def extract_from_urllib3(): function _validate_dependencies_met (line 154) | def _validate_dependencies_met(): function _dnsname_to_stdlib (line 180) | def _dnsname_to_stdlib(name): function get_subj_alt_name (line 223) | def get_subj_alt_name(peer_cert): class WrappedSocket (line 276) | class WrappedSocket(object): method __init__ (line 283) | def __init__(self, connection, socket, suppress_ragged_eofs=True): method fileno (line 290) | def fileno(self): method _decref_socketios (line 294) | def _decref_socketios(self): method recv (line 300) | def recv(self, *args, **kwargs): method recv_into (line 325) | def recv_into(self, *args, **kwargs): method settimeout (line 348) | def settimeout(self, timeout): method _send_until_done (line 351) | def _send_until_done(self, data): method sendall (line 362) | def sendall(self, data): method shutdown (line 370) | def shutdown(self): method close (line 374) | def close(self): method getpeercert (line 384) | def getpeercert(self, binary_form=False): method version (line 398) | def version(self): method _reuse (line 401) | def _reuse(self): method _drop (line 404) | def _drop(self): function makefile (line 413) | def makefile(self, mode, bufsize=-1): class PyOpenSSLContext (line 423) | class PyOpenSSLContext(object): method __init__ (line 430) | def __init__(self, protocol): method options (line 437) | def options(self): method options (line 441) | def options(self, value): method verify_mode (line 446) | def verify_mode(self): method verify_mode (line 450) | def verify_mode(self, value): method set_default_verify_paths (line 453) | def set_default_verify_paths(self): method set_ciphers (line 456) | def set_ciphers(self, ciphers): method load_verify_locations (line 461) | def load_verify_locations(self, cafile=None, capath=None, cadata=None): method load_cert_chain (line 473) | def load_cert_chain(self, certfile, keyfile=None, password=None): method set_alpn_protocols (line 481) | def set_alpn_protocols(self, protocols): method wrap_socket (line 485) | def wrap_socket( function _verify_callback (line 517) | def _verify_callback(cnx, x509, err_no, err_depth, return_code): FILE: src/pip/_vendor/urllib3/contrib/securetransport.py function inject_into_urllib3 (line 188) | def inject_into_urllib3(): function extract_from_urllib3 (line 200) | def extract_from_urllib3(): function _read_callback (line 212) | def _read_callback(connection_id, data_buffer, data_length_pointer): function _write_callback (line 267) | def _write_callback(connection_id, data_buffer, data_length_pointer): class WrappedSocket (line 325) | class WrappedSocket(object): method __init__ (line 333) | def __init__(self, socket): method _raise_on_error (line 352) | def _raise_on_error(self): method _set_ciphers (line 372) | def _set_ciphers(self): method _set_alpn_protocols (line 385) | def _set_alpn_protocols(self, protocols): method _custom_validate (line 398) | def _custom_validate(self, verify, trust_bundle): method _evaluate_trust (line 433) | def _evaluate_trust(self, trust_bundle): method handshake (line 473) | def handshake( method fileno (line 566) | def fileno(self): method _decref_socketios (line 570) | def _decref_socketios(self): method recv (line 576) | def recv(self, bufsiz): method recv_into (line 582) | def recv_into(self, buffer, nbytes=None): method settimeout (line 625) | def settimeout(self, timeout): method gettimeout (line 628) | def gettimeout(self): method send (line 631) | def send(self, data): method sendall (line 648) | def sendall(self, data): method shutdown (line 654) | def shutdown(self): method close (line 658) | def close(self): method getpeercert (line 677) | def getpeercert(self, binary_form=False): method version (line 735) | def version(self): method _reuse (line 756) | def _reuse(self): method _drop (line 759) | def _drop(self): function makefile (line 768) | def makefile(self, mode, bufsize=-1): function makefile (line 774) | def makefile(self, mode="r", buffering=None, *args, **kwargs): class SecureTransportContext (line 784) | class SecureTransportContext(object): method __init__ (line 791) | def __init__(self, protocol): method check_hostname (line 802) | def check_hostname(self): method check_hostname (line 810) | def check_hostname(self, value): method options (line 818) | def options(self): method options (line 828) | def options(self, value): method verify_mode (line 833) | def verify_mode(self): method verify_mode (line 837) | def verify_mode(self, value): method set_default_verify_paths (line 840) | def set_default_verify_paths(self): method load_default_certs (line 852) | def load_default_certs(self): method set_ciphers (line 855) | def set_ciphers(self, ciphers): method load_verify_locations (line 860) | def load_verify_locations(self, cafile=None, capath=None, cadata=None): method load_cert_chain (line 872) | def load_cert_chain(self, certfile, keyfile=None, password=None): method set_alpn_protocols (line 877) | def set_alpn_protocols(self, protocols): method wrap_socket (line 889) | def wrap_socket( FILE: src/pip/_vendor/urllib3/contrib/socks.py class SOCKSConnection (line 75) | class SOCKSConnection(HTTPConnection): method __init__ (line 80) | def __init__(self, *args, **kwargs): method _new_conn (line 84) | def _new_conn(self): class SOCKSHTTPSConnection (line 147) | class SOCKSHTTPSConnection(SOCKSConnection, HTTPSConnection): class SOCKSHTTPConnectionPool (line 151) | class SOCKSHTTPConnectionPool(HTTPConnectionPool): class SOCKSHTTPSConnectionPool (line 155) | class SOCKSHTTPSConnectionPool(HTTPSConnectionPool): class SOCKSProxyManager (line 159) | class SOCKSProxyManager(PoolManager): method __init__ (line 170) | def __init__( FILE: src/pip/_vendor/urllib3/exceptions.py class HTTPError (line 8) | class HTTPError(Exception): class HTTPWarning (line 14) | class HTTPWarning(Warning): class PoolError (line 20) | class PoolError(HTTPError): method __init__ (line 23) | def __init__(self, pool, message): method __reduce__ (line 27) | def __reduce__(self): class RequestError (line 32) | class RequestError(PoolError): method __init__ (line 35) | def __init__(self, pool, url, message): method __reduce__ (line 39) | def __reduce__(self): class SSLError (line 44) | class SSLError(HTTPError): class ProxyError (line 50) | class ProxyError(HTTPError): method __init__ (line 53) | def __init__(self, message, error, *args): class DecodeError (line 58) | class DecodeError(HTTPError): class ProtocolError (line 64) | class ProtocolError(HTTPError): class MaxRetryError (line 77) | class MaxRetryError(RequestError): method __init__ (line 87) | def __init__(self, pool, url, reason=None): class HostChangedError (line 95) | class HostChangedError(RequestError): method __init__ (line 98) | def __init__(self, pool, url, retries=3): class TimeoutStateError (line 104) | class TimeoutStateError(HTTPError): class TimeoutError (line 110) | class TimeoutError(HTTPError): class ReadTimeoutError (line 120) | class ReadTimeoutError(TimeoutError, RequestError): class ConnectTimeoutError (line 128) | class ConnectTimeoutError(TimeoutError): class NewConnectionError (line 134) | class NewConnectionError(ConnectTimeoutError, PoolError): class EmptyPoolError (line 140) | class EmptyPoolError(PoolError): class ClosedPoolError (line 146) | class ClosedPoolError(PoolError): class LocationValueError (line 152) | class LocationValueError(ValueError, HTTPError): class LocationParseError (line 158) | class LocationParseError(LocationValueError): method __init__ (line 161) | def __init__(self, location): class URLSchemeUnknown (line 168) | class URLSchemeUnknown(LocationValueError): method __init__ (line 171) | def __init__(self, scheme): class ResponseError (line 178) | class ResponseError(HTTPError): class SecurityWarning (line 185) | class SecurityWarning(HTTPWarning): class SubjectAltNameWarning (line 191) | class SubjectAltNameWarning(SecurityWarning): class InsecureRequestWarning (line 197) | class InsecureRequestWarning(SecurityWarning): class SystemTimeWarning (line 203) | class SystemTimeWarning(SecurityWarning): class InsecurePlatformWarning (line 209) | class InsecurePlatformWarning(SecurityWarning): class SNIMissingWarning (line 215) | class SNIMissingWarning(HTTPWarning): class DependencyWarning (line 221) | class DependencyWarning(HTTPWarning): class ResponseNotChunked (line 230) | class ResponseNotChunked(ProtocolError, ValueError): class BodyNotHttplibCompatible (line 236) | class BodyNotHttplibCompatible(HTTPError): class IncompleteRead (line 245) | class IncompleteRead(HTTPError, httplib_IncompleteRead): method __init__ (line 253) | def __init__(self, partial, expected): method __repr__ (line 256) | def __repr__(self): class InvalidChunkLength (line 263) | class InvalidChunkLength(HTTPError, httplib_IncompleteRead): method __init__ (line 266) | def __init__(self, response, length): method __repr__ (line 273) | def __repr__(self): class InvalidHeader (line 280) | class InvalidHeader(HTTPError): class ProxySchemeUnknown (line 286) | class ProxySchemeUnknown(AssertionError, URLSchemeUnknown): method __init__ (line 291) | def __init__(self, scheme): class ProxySchemeUnsupported (line 306) | class ProxySchemeUnsupported(ValueError): class HeaderParsingError (line 312) | class HeaderParsingError(HTTPError): method __init__ (line 315) | def __init__(self, defects, unparsed_data): class UnrewindableBodyError (line 320) | class UnrewindableBodyError(HTTPError): FILE: src/pip/_vendor/urllib3/fields.py function guess_content_type (line 10) | def guess_content_type(filename, default="application/octet-stream"): function format_header_param_rfc2231 (line 24) | def format_header_param_rfc2231(name, value): function _replace_multiple (line 82) | def _replace_multiple(value, needles_and_replacements): function format_header_param_html5 (line 95) | def format_header_param_html5(name, value): class RequestField (line 126) | class RequestField(object): method __init__ (line 143) | def __init__( method from_tuples (line 160) | def from_tuples(cls, fieldname, value, header_formatter=format_header_... method _render_part (line 195) | def _render_part(self, name, value): method _render_parts (line 208) | def _render_parts(self, header_parts): method render_headers (line 230) | def render_headers(self): method make_multipart (line 249) | def make_multipart( FILE: src/pip/_vendor/urllib3/filepost.py function choose_boundary (line 15) | def choose_boundary(): function iter_field_objects (line 25) | def iter_field_objects(fields): function iter_fields (line 45) | def iter_fields(fields): function encode_multipart_formdata (line 63) | def encode_multipart_formdata(fields, boundary=None): FILE: src/pip/_vendor/urllib3/packages/backports/makefile.py function backport_makefile (line 13) | def backport_makefile( FILE: src/pip/_vendor/urllib3/packages/backports/weakref_finalize.py class weakref_finalize (line 17) | class weakref_finalize(object): class _Info (line 40) | class _Info(object): method __init__ (line 43) | def __init__(self, obj, func, *args, **kwargs): method __call__ (line 61) | def __call__(self, _=None): method detach (line 68) | def detach(self): method peek (line 76) | def peek(self): method alive (line 85) | def alive(self): method atexit (line 90) | def atexit(self): method atexit (line 96) | def atexit(self, value): method __repr__ (line 101) | def __repr__(self): method _select_for_exit (line 115) | def _select_for_exit(cls): method _exitfunc (line 122) | def _exitfunc(cls): FILE: src/pip/_vendor/urllib3/packages/six.py class X (line 60) | class X(object): method __len__ (line 61) | 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 92) | def __init__(self, name): method __get__ (line 95) | def __get__(self, obj, tp): class MovedModule (line 107) | class MovedModule(_LazyDescr): method __init__ (line 108) | def __init__(self, name, old, new=None): method _resolve (line 117) | def _resolve(self): method __getattr__ (line 120) | def __getattr__(self, attr): class _LazyModule (line 127) | class _LazyModule(types.ModuleType): method __init__ (line 128) | def __init__(self, name): method __dir__ (line 132) | def __dir__(self): class MovedAttribute (line 141) | class MovedAttribute(_LazyDescr): method __init__ (line 142) | def __init__(self, name, old_mod, new_mod, old_attr=None, new_attr=None): method _resolve (line 160) | def _resolve(self): class _SixMetaPathImporter (line 165) | class _SixMetaPathImporter(object): method __init__ (line 174) | def __init__(self, six_module_name): method _add_module (line 178) | def _add_module(self, mod, *fullnames): method _get_module (line 182) | def _get_module(self, fullname): method find_module (line 185) | def find_module(self, fullname, path=None): method find_spec (line 190) | def find_spec(self, fullname, path, target=None): method __get_module (line 195) | def __get_module(self, fullname): method load_module (line 201) | def load_module(self, fullname): method is_package (line 215) | def is_package(self, fullname): method get_code (line 224) | def get_code(self, fullname): method create_module (line 233) | def create_module(self, spec): method exec_module (line 236) | def exec_module(self, module): class _MovedItems (line 243) | class _MovedItems(_LazyModule): class Module_six_moves_urllib_parse (line 352) | class Module_six_moves_urllib_parse(_LazyModule): class Module_six_moves_urllib_error (line 399) | class Module_six_moves_urllib_error(_LazyModule): class Module_six_moves_urllib_request (line 422) | class Module_six_moves_urllib_request(_LazyModule): class Module_six_moves_urllib_response (line 477) | class Module_six_moves_urllib_response(_LazyModule): class Module_six_moves_urllib_robotparser (line 501) | class Module_six_moves_urllib_robotparser(_LazyModule): class Module_six_moves_urllib (line 524) | class Module_six_moves_urllib(types.ModuleType): method __dir__ (line 535) | def __dir__(self): function add_move (line 544) | def add_move(move): function remove_move (line 549) | def remove_move(name): function advance_iterator (line 582) | def advance_iterator(it): function callable (line 593) | def callable(obj): function get_unbound_function (line 599) | def get_unbound_function(unbound): function create_unbound_method (line 604) | def create_unbound_method(func, cls): function get_unbound_function (line 610) | def get_unbound_function(unbound): function create_bound_method (line 613) | def create_bound_method(func, obj): function create_unbound_method (line 616) | def create_unbound_method(func, cls): class Iterator (line 619) | class Iterator(object): method next (line 620) | def next(self): function iterkeys (line 639) | def iterkeys(d, **kw): function itervalues (line 642) | def itervalues(d, **kw): function iteritems (line 645) | def iteritems(d, **kw): function iterlists (line 648) | def iterlists(d, **kw): function iterkeys (line 658) | def iterkeys(d, **kw): function itervalues (line 661) | def itervalues(d, **kw): function iteritems (line 664) | def iteritems(d, **kw): function iterlists (line 667) | def iterlists(d, **kw): function b (line 686) | def b(s): function u (line 689) | def u(s): function b (line 716) | def b(s): function u (line 721) | def u(s): function byte2int (line 727) | def byte2int(bs): function indexbytes (line 730) | def indexbytes(buf, i): function assertCountEqual (line 745) | def assertCountEqual(self, *args, **kwargs): function assertRaisesRegex (line 749) | def assertRaisesRegex(self, *args, **kwargs): function assertRegex (line 753) | def assertRegex(self, *args, **kwargs): function assertNotRegex (line 757) | def assertNotRegex(self, *args, **kwargs): function reraise (line 764) | def reraise(tp, value, tb=None): function exec_ (line 777) | def exec_(_code_, _globs_=None, _locs_=None): function raise_from (line 810) | def raise_from(value, from_value): function print_ (line 817) | def print_(*args, **kwargs): function print_ (line 878) | def print_(*args, **kwargs): function _update_wrapper (line 894) | def _update_wrapper( function wraps (line 914) | def wraps( function with_metaclass (line 929) | def with_metaclass(meta, *bases): function add_metaclass (line 953) | def add_metaclass(metaclass): function ensure_binary (line 973) | def ensure_binary(s, encoding="utf-8", errors="strict"): function ensure_str (line 991) | def ensure_str(s, encoding="utf-8", errors="strict"): function ensure_text (line 1014) | def ensure_text(s, encoding="utf-8", errors="strict"): function python_2_unicode_compatible (line 1033) | def python_2_unicode_compatible(klass): FILE: src/pip/_vendor/urllib3/poolmanager.py function _default_key_normalizer (line 79) | def _default_key_normalizer(key_class, request_context): class PoolManager (line 140) | class PoolManager(RequestMethods): method __init__ (line 171) | def __init__(self, num_pools=10, headers=None, **connection_pool_kw): method __enter__ (line 181) | def __enter__(self): method __exit__ (line 184) | def __exit__(self, exc_type, exc_val, exc_tb): method _new_pool (line 189) | def _new_pool(self, scheme, host, port, request_context=None): method clear (line 216) | def clear(self): method connection_from_host (line 225) | def connection_from_host(self, host, port=None, scheme="http", pool_kw... method connection_from_context (line 248) | def connection_from_context(self, request_context): method connection_from_pool_key (line 263) | def connection_from_pool_key(self, pool_key, request_context=None): method connection_from_url (line 287) | def connection_from_url(self, url, pool_kwargs=None): method _merge_pool_kwargs (line 303) | def _merge_pool_kwargs(self, override): method _proxy_requires_url_absolute_form (line 323) | def _proxy_requires_url_absolute_form(self, parsed_url): method _validate_proxy_scheme_url_selection (line 336) | def _validate_proxy_scheme_url_selection(self, url_scheme): method urlopen (line 353) | def urlopen(self, method, url, redirect=True, **kw): class ProxyManager (line 424) | class ProxyManager(PoolManager): method __init__ (line 464) | def __init__( method connection_from_host (line 501) | def connection_from_host(self, host, port=None, scheme="http", pool_kw... method _set_proxy_headers (line 511) | def _set_proxy_headers(self, url, headers=None): method urlopen (line 526) | def urlopen(self, method, url, redirect=True, **kw): function proxy_from_url (line 539) | def proxy_from_url(url, **kw): FILE: src/pip/_vendor/urllib3/request.py class RequestMethods (line 12) | class RequestMethods(object): method __init__ (line 43) | def __init__(self, headers=None): method urlopen (line 46) | def urlopen( method request (line 61) | def request(self, method, url, fields=None, headers=None, **urlopen_kw): method request_encode_url (line 85) | def request_encode_url(self, method, url, fields=None, headers=None, *... method request_encode_body (line 101) | def request_encode_body( class RequestModule (line 178) | class RequestModule(sys.modules[__name__].__class__): method __call__ (line 179) | def __call__(self, *args, **kwargs): FILE: src/pip/_vendor/urllib3/response.py class DeflateDecoder (line 35) | class DeflateDecoder(object): method __init__ (line 36) | def __init__(self): method __getattr__ (line 41) | def __getattr__(self, name): method decompress (line 44) | def decompress(self, data): class GzipDecoderState (line 67) | class GzipDecoderState(object): class GzipDecoder (line 74) | class GzipDecoder(object): method __init__ (line 75) | def __init__(self): method __getattr__ (line 79) | def __getattr__(self, name): method decompress (line 82) | def decompress(self, data): class BrotliDecoder (line 106) | class BrotliDecoder(object): method __init__ (line 110) | def __init__(self): method flush (line 117) | def flush(self): class MultiDecoder (line 123) | class MultiDecoder(object): method __init__ (line 132) | def __init__(self, modes): method flush (line 135) | def flush(self): method decompress (line 138) | def decompress(self, data): function _get_decoder (line 144) | def _get_decoder(mode): class HTTPResponse (line 157) | class HTTPResponse(io.IOBase): method __init__ (line 195) | def __init__( method get_redirect_location (line 262) | def get_redirect_location(self): method release_conn (line 275) | def release_conn(self): method drain_conn (line 282) | def drain_conn(self): method data (line 294) | def data(self): method connection (line 303) | def connection(self): method isclosed (line 306) | def isclosed(self): method tell (line 309) | def tell(self): method _init_length (line 317) | def _init_length(self, request_method): method _init_decoder (line 369) | def _init_decoder(self): method _decode (line 392) | def _decode(self, data, decode_content, flush_decoder): method _flush_decoder (line 414) | def _flush_decoder(self): method _error_catcher (line 426) | def _error_catcher(self): method _fp_read (line 481) | def _fp_read(self, amt): method read (line 529) | def read(self, amt=None, decode_content=None, cache_content=False): method stream (line 601) | def stream(self, amt=2 ** 16, decode_content=None): method from_httplib (line 628) | def from_httplib(ResponseCls, r, **response_kw): method getheaders (line 660) | def getheaders(self): method getheader (line 669) | def getheader(self, name, default=None): method info (line 679) | def info(self): method close (line 683) | def close(self): method closed (line 694) | def closed(self): method fileno (line 706) | def fileno(self): method flush (line 717) | def flush(self): method readable (line 725) | def readable(self): method readinto (line 729) | def readinto(self, b): method supports_chunked_reads (line 738) | def supports_chunked_reads(self): method _update_chunk_length (line 747) | def _update_chunk_length(self): method _handle_chunk (line 761) | def _handle_chunk(self, amt): method read_chunked (line 783) | def read_chunked(self, amt=None, decode_content=None): method geturl (line 853) | def geturl(self): method __iter__ (line 864) | def __iter__(self): FILE: src/pip/_vendor/urllib3/util/connection.py function is_connection_dropped (line 11) | def is_connection_dropped(conn): # Platform-specific function create_connection (line 37) | def create_connection( function _set_socket_options (line 100) | def _set_socket_options(sock, options): function allowed_gai_family (line 108) | def allowed_gai_family(): function _has_ipv6 (line 119) | def _has_ipv6(host): FILE: src/pip/_vendor/urllib3/util/proxy.py function connection_requires_http_tunnel (line 4) | def connection_requires_http_tunnel( function create_proxy_ssl_context (line 37) | def create_proxy_ssl_context( FILE: src/pip/_vendor/urllib3/util/queue.py class LifoQueue (line 11) | class LifoQueue(queue.Queue): method _init (line 12) | def _init(self, _): method _qsize (line 15) | def _qsize(self, len=len): method _put (line 18) | def _put(self, item): method _get (line 21) | def _get(self): FILE: src/pip/_vendor/urllib3/util/request.py function make_headers (line 20) | def make_headers( function set_file_position (line 92) | def set_file_position(body, pos): function rewind_body (line 110) | def rewind_body(body, body_pos): FILE: src/pip/_vendor/urllib3/util/response.py function is_fp_closed (line 9) | def is_fp_closed(obj): function assert_header_parsing (line 40) | def assert_header_parsing(headers): function is_response_to_head (line 94) | def is_response_to_head(response): FILE: src/pip/_vendor/urllib3/util/retry.py class _RetryMeta (line 35) | class _RetryMeta(type): method DEFAULT_METHOD_WHITELIST (line 37) | def DEFAULT_METHOD_WHITELIST(cls): method DEFAULT_METHOD_WHITELIST (line 46) | def DEFAULT_METHOD_WHITELIST(cls, value): method DEFAULT_REDIRECT_HEADERS_BLACKLIST (line 55) | def DEFAULT_REDIRECT_HEADERS_BLACKLIST(cls): method DEFAULT_REDIRECT_HEADERS_BLACKLIST (line 64) | def DEFAULT_REDIRECT_HEADERS_BLACKLIST(cls, value): method BACKOFF_MAX (line 73) | def BACKOFF_MAX(cls): method BACKOFF_MAX (line 82) | def BACKOFF_MAX(cls, value): class Retry (line 92) | class Retry(object): method __init__ (line 245) | def __init__( method new (line 306) | def new(self, **kw): method from_int (line 343) | def from_int(cls, retries, redirect=True, default=None): method get_backoff_time (line 356) | def get_backoff_time(self): method parse_retry_after (line 373) | def parse_retry_after(self, retry_after): method get_retry_after (line 396) | def get_retry_after(self, response): method sleep_for_retry (line 406) | def sleep_for_retry(self, response=None): method _sleep_backoff (line 414) | def _sleep_backoff(self): method sleep (line 420) | def sleep(self, response=None): method _is_connection_error (line 436) | def _is_connection_error(self, err): method _is_read_error (line 444) | def _is_read_error(self, err): method _is_method_retryable (line 450) | def _is_method_retryable(self, method): method is_retry (line 470) | def is_retry(self, method, status_code, has_retry_after=False): method is_exhausted (line 490) | def is_exhausted(self): method increment (line 506) | def increment( method __repr__ (line 600) | def __repr__(self): method __getattr__ (line 606) | def __getattr__(self, item): FILE: src/pip/_vendor/urllib3/util/ssl_.py function _const_compare_digest_backport (line 33) | def _const_compare_digest_backport(a, b): class SSLContext (line 136) | class SSLContext(object): # Platform-specific: Python 2 method __init__ (line 137) | def __init__(self, protocol_version): method load_cert_chain (line 148) | def load_cert_chain(self, certfile, keyfile): method load_verify_locations (line 152) | def load_verify_locations(self, cafile=None, capath=None, cadata=None): method set_ciphers (line 161) | def set_ciphers(self, cipher_suite): method wrap_socket (line 164) | def wrap_socket(self, socket, server_hostname=None, server_side=False): function assert_fingerprint (line 185) | def assert_fingerprint(cert, fingerprint): function resolve_cert_reqs (line 220) | def resolve_cert_reqs(candidate): function resolve_ssl_version (line 243) | def resolve_ssl_version(candidate): function create_urllib3_context (line 259) | def create_urllib3_context( function ssl_wrap_socket (line 364) | def ssl_wrap_socket( function is_ipaddress (line 466) | def is_ipaddress(hostname): function _is_key_file_encrypted (line 479) | def _is_key_file_encrypted(key_file): function _ssl_wrap_socket_impl (line 490) | def _ssl_wrap_socket_impl(sock, ssl_context, tls_in_tls, server_hostname... FILE: src/pip/_vendor/urllib3/util/ssl_match_hostname.py class CertificateError (line 21) | class CertificateError(ValueError): function _dnsname_match (line 25) | def _dnsname_match(dn, hostname, max_wildcards=1): function _to_unicode (line 79) | def _to_unicode(obj): function _ipaddress_match (line 86) | def _ipaddress_match(ipname, host_ip): function match_hostname (line 98) | def match_hostname(cert, hostname): FILE: src/pip/_vendor/urllib3/util/ssltransport.py class SSLTransport (line 11) | class SSLTransport: method _validate_ssl_context_for_tls_in_tls (line 23) | def _validate_ssl_context_for_tls_in_tls(ssl_context): method __init__ (line 44) | def __init__( method __enter__ (line 63) | def __enter__(self): method __exit__ (line 66) | def __exit__(self, *_): method fileno (line 69) | def fileno(self): method read (line 72) | def read(self, len=1024, buffer=None): method recv (line 75) | def recv(self, len=1024, flags=0): method recv_into (line 80) | def recv_into(self, buffer, nbytes=None, flags=0): method sendall (line 89) | def sendall(self, data, flags=0): method send (line 99) | def send(self, data, flags=0): method makefile (line 105) | def makefile( method unwrap (line 150) | def unwrap(self): method close (line 153) | def close(self): method getpeercert (line 156) | def getpeercert(self, binary_form=False): method version (line 159) | def version(self): method cipher (line 162) | def cipher(self): method selected_alpn_protocol (line 165) | def selected_alpn_protocol(self): method selected_npn_protocol (line 168) | def selected_npn_protocol(self): method shared_ciphers (line 171) | def shared_ciphers(self): method compression (line 174) | def compression(self): method settimeout (line 177) | def settimeout(self, value): method gettimeout (line 180) | def gettimeout(self): method _decref_socketios (line 183) | def _decref_socketios(self): method _wrap_ssl_read (line 186) | def _wrap_ssl_read(self, len, buffer=None): method _ssl_io_loop (line 195) | def _ssl_io_loop(self, func, *args): FILE: src/pip/_vendor/urllib3/util/timeout.py class Timeout (line 19) | class Timeout(object): method __init__ (line 101) | def __init__(self, total=None, connect=_Default, read=_Default): method __repr__ (line 107) | def __repr__(self): method resolve_default_timeout (line 119) | def resolve_default_timeout(cls, timeout): method _validate_timeout (line 123) | def _validate_timeout(cls, value, name): method from_float (line 169) | def from_float(cls, timeout): method clone (line 184) | def clone(self): method start_connect (line 198) | def start_connect(self): method get_connect_duration (line 209) | def get_connect_duration(self): method connect_timeout (line 224) | def connect_timeout(self): method read_timeout (line 242) | def read_timeout(self): FILE: src/pip/_vendor/urllib3/util/url.py class Url (line 82) | class Url(namedtuple("Url", url_attrs)): method __new__ (line 91) | def __new__( method hostname (line 110) | def hostname(self): method request_uri (line 115) | def request_uri(self): method netloc (line 125) | def netloc(self): method url (line 132) | def url(self): method __str__ (line 171) | def __str__(self): function split_first (line 175) | def split_first(s, delims): function _encode_invalid_chars (line 210) | def _encode_invalid_chars(component, allowed_chars, encoding="utf-8"): function _remove_path_dot_segments (line 244) | def _remove_path_dot_segments(path): function _normalize_host (line 274) | def _normalize_host(host, scheme): function _idna_encode (line 305) | def _idna_encode(name): function _encode_target (line 323) | def _encode_target(target): function parse_url (line 333) | def parse_url(url): function get_host (line 430) | def get_host(url): FILE: src/pip/_vendor/urllib3/util/wait.py class NoWayToWaitForSocketError (line 14) | class NoWayToWaitForSocketError(Exception): function _retry_on_intr (line 42) | def _retry_on_intr(fn, timeout): function _retry_on_intr (line 47) | def _retry_on_intr(fn, timeout): function select_wait_for_socket (line 70) | def select_wait_for_socket(sock, read=False, write=False, timeout=None): function poll_wait_for_socket (line 89) | def poll_wait_for_socket(sock, read=False, write=False, timeout=None): function null_wait_for_socket (line 109) | def null_wait_for_socket(*args, **kwargs): function _have_working_poll (line 113) | def _have_working_poll(): function wait_for_socket (line 126) | def wait_for_socket(*args, **kwargs): function wait_for_read (line 141) | def wait_for_read(sock, timeout=None): function wait_for_write (line 148) | def wait_for_write(sock, timeout=None): FILE: tests/conftest.py function pytest_addoption (line 57) | def pytest_addoption(parser: Parser) -> None: function pytest_collection_modifyitems (line 97) | def pytest_collection_modifyitems(config: Config, items: list[pytest.Fun... function resolver_variant (line 146) | def resolver_variant(request: pytest.FixtureRequest) -> Iterator[str]: function tmp_path_factory (line 168) | def tmp_path_factory( function tmpdir_factory (line 183) | def tmpdir_factory(tmp_path_factory: pytest.TempPathFactory) -> pytest.T... function tmp_path (line 192) | def tmp_path(request: pytest.FixtureRequest, tmp_path: Path) -> Iterator... function tmpdir (line 211) | def tmpdir(tmp_path: Path) -> Path: function isolate (line 220) | def isolate(tmpdir: Path, monkeypatch: pytest.MonkeyPatch) -> None: function scoped_global_tempdir_manager (line 323) | def scoped_global_tempdir_manager(request: pytest.FixtureRequest) -> Ite... function pip_src (line 339) | def pip_src(tmpdir_factory: pytest.TempPathFactory) -> Path: function pip_editable_parts (line 371) | def pip_editable_parts( function _common_wheel_editable_install (line 401) | def _common_wheel_editable_install( function setuptools_install (line 437) | def setuptools_install( function coverage_install (line 444) | def coverage_install( function socket_install (line 451) | def socket_install(tmpdir_factory: pytest.TempPathFactory, common_wheels... function install_pth_link (line 462) | def install_pth_link( function virtualenv_template (line 471) | def virtualenv_template( function virtualenv_factory (line 529) | def virtualenv_factory( function virtualenv (line 539) | def virtualenv( function script_factory (line 552) | def script_factory( function make_zipapp_from_pip (line 604) | def make_zipapp_from_pip(zipapp_name: Path) -> None: function zipapp (line 620) | def zipapp( function script (line 639) | def script( function common_wheels (line 655) | def common_wheels() -> Path: function shared_data (line 661) | def shared_data(tmpdir_factory: pytest.TempPathFactory) -> TestData: function data (line 666) | def data(tmpdir: Path) -> TestData: function in_memory_pip (line 671) | def in_memory_pip() -> InMemoryPip: function deprecated_python (line 676) | def deprecated_python() -> bool: function cert_factory (line 682) | def cert_factory(tmpdir_factory: pytest.TempPathFactory) -> CertFactory: function mock_server (line 703) | def mock_server() -> Iterator[MockServer]: function proxy (line 711) | def proxy(request: pytest.FixtureRequest) -> str: function enable_user_site (line 716) | def enable_user_site(virtualenv: VirtualEnvironment) -> None: class MetadataKind (line 720) | class MetadataKind(Enum): class FakePackage (line 737) | class FakePackage: method metadata_filename (line 752) | def metadata_filename(self) -> str: method generate_additional_tag (line 756) | def generate_additional_tag(self) -> str: method requires_str (line 769) | def requires_str(self) -> str: method generate_metadata (line 775) | def generate_metadata(self) -> bytes: function fake_packages (line 789) | def fake_packages() -> dict[str, list[FakePackage]]: function html_index_for_packages (line 880) | def html_index_for_packages( class OneTimeDownloadHandler (line 958) | class OneTimeDownloadHandler(http.server.SimpleHTTPRequestHandler): method do_GET (line 964) | def do_GET(self) -> None: function html_index_with_onetime_server (line 977) | def html_index_with_onetime_server( FILE: tests/data/packages/BrokenEmitsUTF8/setup.py class FakeError (line 5) | class FakeError(Exception): FILE: tests/data/packages/HackedEggInfo/setup.py class egg_info (line 5) | class egg_info(orig_egg_info.egg_info): method run (line 6) | def run(self): FILE: tests/data/packages/LocalEnvironMarker/setup.py function path_to_url (line 6) | def path_to_url(path): FILE: tests/data/packages/LocalExtras-0.0.2/setup.py function path_to_url (line 6) | def path_to_url(path): FILE: tests/data/packages/LocalExtras/setup.py function path_to_url (line 6) | def path_to_url(path): FILE: tests/data/packages/pep517_wrapper_buildsys/mybuildsys.py function build_wheel (line 12) | def build_wheel(*a, **kw): FILE: tests/data/src/chattymodule/backend.py function prepare_metadata_for_build_wheel (line 8) | def prepare_metadata_for_build_wheel(metadata_directory, config_settings... function build_wheel (line 18) | def build_wheel(wheel_directory, config_settings=None, metadata_director... FILE: tests/data/src/chattymodule/chattymodule.py function main (line 1) | def main(): FILE: tests/data/src/compilewheel/simple/__init__.py function spam (line 1) | def spam(gen): FILE: tests/data/src/singlemodule/singlemodule.py function main (line 1) | def main(): FILE: tests/functional/test_bad_url.py function test_filenotfound_error_message (line 7) | def test_filenotfound_error_message(script: Any) -> None: FILE: tests/functional/test_broken_stdout.py function setup_broken_stdout_test (line 8) | def setup_broken_stdout_test( function test_broken_stdout_pipe (line 32) | def test_broken_stdout_pipe(deprecated_python: bool) -> None: function test_broken_stdout_pipe__log_option (line 48) | def test_broken_stdout_pipe__log_option(deprecated_python: bool, tmpdir:... function test_broken_stdout_pipe__verbose (line 65) | def test_broken_stdout_pipe__verbose(deprecated_python: bool) -> None: FILE: tests/functional/test_build_constraints.py function _create_simple_test_package (line 21) | def _create_simple_test_package(script: PipTestEnvironment, name: str) -... function _create_constraints_file (line 31) | def _create_constraints_file( function _run_pip_install_with_build_constraints (line 40) | def _run_pip_install_with_build_constraints( function _run_pip_install_with_build_constraints_no_feature_flag (line 70) | def _run_pip_install_with_build_constraints_no_feature_flag( function test_build_constraints_basic_functionality_simple (line 86) | def test_build_constraints_basic_functionality_simple( function test_build_constraints_vs_regular_constraints_simple (line 108) | def test_build_constraints_vs_regular_constraints_simple( function test_build_constraints_environment_isolation_simple (line 142) | def test_build_constraints_environment_isolation_simple( function test_build_constraints_file_not_found (line 160) | def test_build_constraints_file_not_found( function test_build_constraints_without_feature_flag (line 179) | def test_build_constraints_without_feature_flag( function test_constraints_dont_pass_through (line 198) | def test_constraints_dont_pass_through( FILE: tests/functional/test_build_env.py function indent (line 36) | def indent(text: str, prefix: str) -> str: function make_test_build_env_installer (line 41) | def make_test_build_env_installer( function run_with_build_env (line 55) | def run_with_build_env( function test_build_env_allow_empty_requirements_install (line 130) | def test_build_env_allow_empty_requirements_install( function test_build_env_allow_only_one_install (line 143) | def test_build_env_allow_only_one_install( function test_build_env_requirements_check (line 165) | def test_build_env_requirements_check(script: PipTestEnvironment) -> None: function test_build_env_overlay_prefix_has_priority (line 245) | def test_build_env_overlay_prefix_has_priority( function test_build_env_isolation (line 293) | def test_build_env_isolation( FILE: tests/functional/test_cache.py function cache_dir (line 14) | def cache_dir(script: PipTestEnvironment) -> str: function http_cache_dir (line 24) | def http_cache_dir(cache_dir: str) -> str: function wheel_cache_dir (line 29) | def wheel_cache_dir(cache_dir: str) -> str: function http_cache_files (line 34) | def http_cache_files(http_cache_dir: str) -> list[str]: function wheel_cache_files (line 45) | def wheel_cache_files(wheel_cache_dir: str) -> list[str]: function populate_http_cache (line 56) | def populate_http_cache(http_cache_dir: str) -> list[tuple[str, str]]: function populate_wheel_cache (line 74) | def populate_wheel_cache(wheel_cache_dir: str) -> list[tuple[str, str]]: function empty_wheel_cache (line 93) | def empty_wheel_cache(wheel_cache_dir: str) -> None: function list_matches_wheel (line 98) | def list_matches_wheel(wheel_name: str, result: TestPipResult) -> bool: function list_matches_wheel_abspath (line 109) | def list_matches_wheel_abspath(wheel_name: str, result: TestPipResult) -... function remove_matches_http (line 128) | def remove_matches_http(http_cache_dir: str) -> RemoveMatches: function remove_matches_wheel (line 154) | def remove_matches_wheel(wheel_cache_dir: str) -> RemoveMatches: function test_cache_dir (line 181) | def test_cache_dir(script: PipTestEnvironment, cache_dir: str) -> None: function test_cache_dir_too_many_args (line 187) | def test_cache_dir_too_many_args(script: PipTestEnvironment, cache_dir: ... function test_cache_info (line 198) | def test_cache_info( function test_cache_list (line 216) | def test_cache_list(script: PipTestEnvironment) -> None: function test_cache_list_abspath (line 228) | def test_cache_list_abspath(script: PipTestEnvironment) -> None: function test_cache_list_with_empty_cache (line 240) | def test_cache_list_with_empty_cache(script: PipTestEnvironment) -> None: function test_cache_list_with_empty_cache_abspath (line 248) | def test_cache_list_with_empty_cache_abspath(script: PipTestEnvironment)... function test_cache_purge_with_empty_cache (line 256) | def test_cache_purge_with_empty_cache(script: PipTestEnvironment) -> None: function test_cache_remove_with_bad_pattern (line 265) | def test_cache_remove_with_bad_pattern(script: PipTestEnvironment) -> None: function test_cache_list_too_many_args (line 273) | def test_cache_list_too_many_args(script: PipTestEnvironment) -> None: function test_cache_list_name_match (line 279) | def test_cache_list_name_match(script: PipTestEnvironment) -> None: function test_cache_list_name_match_abspath (line 291) | def test_cache_list_name_match_abspath(script: PipTestEnvironment) -> None: function test_cache_list_name_and_version_match (line 303) | def test_cache_list_name_and_version_match(script: PipTestEnvironment) -... function test_cache_list_name_and_version_match_abspath (line 315) | def test_cache_list_name_and_version_match_abspath(script: PipTestEnviro... function test_cache_remove_no_arguments (line 327) | def test_cache_remove_no_arguments(script: PipTestEnvironment) -> None: function test_cache_remove_too_many_args (line 332) | def test_cache_remove_too_many_args(script: PipTestEnvironment) -> None: function test_cache_remove_name_match (line 338) | def test_cache_remove_name_match( function test_cache_remove_name_and_version_match (line 352) | def test_cache_remove_name_and_version_match( function test_cache_purge (line 366) | def test_cache_purge( function test_cache_purge_too_many_args (line 386) | def test_cache_purge_too_many_args( function test_cache_abort_when_no_cache_dir (line 406) | def test_cache_abort_when_no_cache_dir( function populate_wheel_cache_with_empty_dirs (line 421) | def populate_wheel_cache_with_empty_dirs(wheel_cache_dir: str) -> None: function populate_http_cache_with_empty_dirs (line 435) | def populate_http_cache_with_empty_dirs(cache_dir: str) -> None: function create_selfcheck_json (line 445) | def create_selfcheck_json(cache_dir: str) -> None: function test_cache_purge_removes_empty_dirs_and_legacy_files (line 464) | def test_cache_purge_removes_empty_dirs_and_legacy_files( function test_cache_purge_with_mixed_content (line 502) | def test_cache_purge_with_mixed_content( FILE: tests/functional/test_check.py function matches_expected_lines (line 10) | def matches_expected_lines(string: str, expected_lines: Collection[str])... function test_basic_check_clean (line 19) | def test_basic_check_clean(script: PipTestEnvironment) -> None: function test_basic_check_missing_dependency (line 28) | def test_basic_check_missing_dependency(script: PipTestEnvironment) -> N... function test_basic_check_broken_dependency (line 49) | def test_basic_check_broken_dependency(script: PipTestEnvironment) -> None: function test_basic_check_broken_dependency_and_missing_dependency (line 86) | def test_basic_check_broken_dependency_and_missing_dependency( function test_check_complicated_name_missing (line 125) | def test_check_complicated_name_missing(script: PipTestEnvironment) -> N... function test_check_complicated_name_broken (line 148) | def test_check_complicated_name_broken(script: PipTestEnvironment) -> None: function test_check_complicated_name_clean (line 188) | def test_check_complicated_name_clean(script: PipTestEnvironment) -> None: function test_check_considers_conditional_reqs (line 224) | def test_check_considers_conditional_reqs(script: PipTestEnvironment) ->... function test_check_development_versions_are_also_considered (line 249) | def test_check_development_versions_are_also_considered( function test_basic_check_broken_metadata (line 287) | def test_basic_check_broken_metadata(script: PipTestEnvironment) -> None: function test_check_skip_work_dir_pkg (line 305) | def test_check_skip_work_dir_pkg(script: PipTestEnvironment) -> None: function test_check_include_work_dir_pkg (line 327) | def test_check_include_work_dir_pkg(script: PipTestEnvironment) -> None: function test_check_unsupported (line 352) | def test_check_unsupported( FILE: tests/functional/test_cli.py function test_entrypoints_work (line 23) | def test_entrypoints_work(entrypoint: str, script: PipTestEnvironment) -... function test_no_network_imports (line 66) | def test_no_network_imports(command: str, tmp_path: Path) -> None: FILE: tests/functional/test_completion.py function script_with_launchers (line 89) | def script_with_launchers( function test_completion_for_supported_shells (line 107) | def test_completion_for_supported_shells( function autocomplete_script (line 123) | def autocomplete_script( class DoAutocomplete (line 130) | class DoAutocomplete(Protocol): method __call__ (line 131) | def __call__( function autocomplete (line 142) | def autocomplete( function test_completion_for_unknown_shell (line 172) | def test_completion_for_unknown_shell(autocomplete_script: PipTestEnviro... function test_completion_without_env_vars (line 181) | def test_completion_without_env_vars(autocomplete: DoAutocomplete) -> None: function test_completion_alone (line 192) | def test_completion_alone(autocomplete_script: PipTestEnvironment) -> None: function test_completion_for_un_snippet (line 203) | def test_completion_for_un_snippet(autocomplete: DoAutocomplete) -> None: function test_completion_for_default_parameters (line 212) | def test_completion_for_default_parameters(autocomplete: DoAutocomplete)... function test_completion_option_for_command (line 221) | def test_completion_option_for_command(autocomplete: DoAutocomplete) -> ... function test_completion_short_option (line 230) | def test_completion_short_option(autocomplete: DoAutocomplete) -> None: function test_completion_short_option_for_command (line 242) | def test_completion_short_option_for_command(autocomplete: DoAutocomplet... function test_completion_files_after_option (line 255) | def test_completion_files_after_option( function test_completion_not_files_after_option (line 289) | def test_completion_not_files_after_option( function test_pip_install_complete_files (line 313) | def test_pip_install_complete_files( function test_completion_not_files_after_nonexpecting_option (line 332) | def test_completion_not_files_after_nonexpecting_option( function test_completion_directories_after_option (line 356) | def test_completion_directories_after_option( function test_completion_subdirectories_after_option (line 381) | def test_completion_subdirectories_after_option( function test_completion_path_after_option (line 399) | def test_completion_path_after_option( function test_completion_uses_same_executable_name (line 421) | def test_completion_uses_same_executable_name( function test_completion_for_action_handler (line 452) | def test_completion_for_action_handler( function test_completion_for_action_handler_handler_not_repeated (line 460) | def test_completion_for_action_handler_handler_not_repeated( FILE: tests/functional/test_config_settings.py function make_project (line 97) | def make_project( function test_backend_sees_config (line 114) | def test_backend_sees_config(script: PipTestEnvironment) -> None: function test_backend_sees_config_reqs (line 130) | def test_backend_sees_config_reqs(script: PipTestEnvironment) -> None: function test_backend_sees_config_via_constraint (line 144) | def test_backend_sees_config_via_constraint(script: PipTestEnvironment) ... function test_backend_sees_config_via_sdist (line 165) | def test_backend_sees_config_via_sdist(script: PipTestEnvironment) -> None: function test_req_file_does_not_see_config (line 187) | def test_req_file_does_not_see_config(script: PipTestEnvironment) -> None: function test_dep_does_not_see_config (line 204) | def test_dep_does_not_see_config(script: PipTestEnvironment) -> None: function test_dep_in_req_file_does_not_see_config (line 226) | def test_dep_in_req_file_does_not_see_config(script: PipTestEnvironment)... function test_install_sees_config (line 253) | def test_install_sees_config(script: PipTestEnvironment) -> None: function test_install_sees_config_reqs (line 266) | def test_install_sees_config_reqs(script: PipTestEnvironment) -> None: function test_install_editable_sees_config (line 277) | def test_install_editable_sees_config(script: PipTestEnvironment) -> None: function test_install_config_reqs (line 291) | def test_install_config_reqs(script: PipTestEnvironment) -> None: FILE: tests/functional/test_configuration.py function get_configuration_files (line 25) | def get_configuration_files() -> dict[Kind, list[str]]: function test_no_options_passed_should_error (line 44) | def test_no_options_passed_should_error(script: PipTestEnvironment) -> N... class TestBasicLoading (line 49) | class TestBasicLoading(ConfigurationMixin): method test_basic_modification_pipeline (line 50) | def test_basic_modification_pipeline(self, script: PipTestEnvironment)... method test_listing_is_correct (line 60) | def test_listing_is_correct(self, script: PipTestEnvironment) -> None: method test_forget_section (line 79) | def test_forget_section(self, script: PipTestEnvironment) -> None: method test_env_var_values (line 83) | def test_env_var_values(self, script: PipTestEnvironment) -> None: method test_env_values (line 99) | def test_env_values(self, script: PipTestEnvironment) -> None: method test_user_values (line 125) | def test_user_values(self, script: PipTestEnvironment) -> None: method test_site_values (line 144) | def test_site_values( method test_global_config_file (line 163) | def test_global_config_file(self, script: PipTestEnvironment) -> None: method test_editor_does_not_exist (line 175) | def test_editor_does_not_exist(self, script: PipTestEnvironment) -> None: method test_config_separated (line 182) | def test_config_separated( method test_editable_mode_default_config (line 220) | def test_editable_mode_default_config( method test_user_config_overrides_global_config_with_empty_value (line 238) | def test_user_config_overrides_global_config_with_empty_value( FILE: tests/functional/test_debug.py function test_debug (line 30) | def test_debug(script: PipTestEnvironment, expected_text: str) -> None: function test_debug__library_versions (line 41) | def test_debug__library_versions(script: PipTestEnvironment) -> None: function test_debug__tags (line 63) | def test_debug__tags(script: PipTestEnvironment, args: list[str]) -> None: function test_debug__target_options (line 87) | def test_debug__target_options( FILE: tests/functional/test_download.py function fake_wheel (line 25) | def fake_wheel(data: TestData, wheel_path: str) -> None: function test_download_if_requested (line 32) | def test_download_if_requested(script: PipTestEnvironment, data: TestDat... function test_basic_download_setuptools (line 50) | def test_basic_download_setuptools(script: PipTestEnvironment, data: Tes... function test_download_wheel (line 61) | def test_download_wheel(script: PipTestEnvironment, data: TestData) -> N... function test_single_download_from_requirements_file (line 82) | def test_single_download_from_requirements_file( function test_basic_download_should_download_dependencies (line 104) | def test_basic_download_should_download_dependencies( function test_download_wheel_archive (line 120) | def test_download_wheel_archive(script: PipTestEnvironment, data: TestDa... function test_download_should_download_wheel_deps (line 130) | def test_download_should_download_wheel_deps( function test_download_should_skip_existing_files (line 153) | def test_download_should_skip_existing_files( function test_download_vcs_link (line 179) | def test_download_vcs_link(script: PipTestEnvironment) -> None: function test_only_binary_set_then_download_specific_platform (line 190) | def test_only_binary_set_then_download_specific_platform( function test_no_deps_set_then_download_specific_platform (line 214) | def test_no_deps_set_then_download_specific_platform( function test_download_specific_platform_fails (line 238) | def test_download_specific_platform_fails( function test_no_binary_set_then_download_specific_platform_fails (line 262) | def test_no_binary_set_then_download_specific_platform_fails( function test_download_specify_platform (line 288) | def test_download_specify_platform(script: PipTestEnvironment, data: Tes... class TestDownloadPlatformManylinuxes (line 408) | class TestDownloadPlatformManylinuxes: method test_download_universal (line 423) | def test_download_universal( method test_download_compatible_manylinuxes (line 455) | def test_download_compatible_manylinuxes( method test_explicit_platform_only (line 481) | def test_explicit_platform_only( function test_download__python_version (line 504) | def test_download__python_version(script: PipTestEnvironment, data: Test... function make_wheel_with_python_requires (line 624) | def make_wheel_with_python_requires( function test_download__python_version_used_for_python_requires (line 656) | def test_download__python_version_used_for_python_requires( function test_download_ignore_requires_python_dont_fail_with_wrong_python (line 695) | def test_download_ignore_requires_python_dont_fail_with_wrong_python( function test_download_specify_abi (line 722) | def test_download_specify_abi(script: PipTestEnvironment, data: TestData... function test_download_specify_implementation (line 839) | def test_download_specify_implementation( function test_download_exit_status_code_when_no_requirements (line 896) | def test_download_exit_status_code_when_no_requirements( function test_download_exit_status_code_when_blank_requirements_file (line 907) | def test_download_exit_status_code_when_blank_requirements_file( function test_download_prefer_binary_when_tarball_higher_than_wheel (line 917) | def test_download_prefer_binary_when_tarball_higher_than_wheel( function test_prefer_binary_tarball_higher_than_wheel_req_file (line 935) | def test_prefer_binary_tarball_higher_than_wheel_req_file( function test_download_prefer_binary_when_wheel_doesnt_satisfy_req (line 962) | def test_download_prefer_binary_when_wheel_doesnt_satisfy_req( function test_prefer_binary_when_wheel_doesnt_satisfy_req_req_file (line 990) | def test_prefer_binary_when_wheel_doesnt_satisfy_req_req_file( function test_download_prefer_binary_when_only_tarball_exists (line 1018) | def test_download_prefer_binary_when_only_tarball_exists( function test_prefer_binary_when_only_tarball_exists_req_file (line 1035) | def test_prefer_binary_when_only_tarball_exists_req_file( function shared_script (line 1061) | def shared_script( function test_download_file_url (line 1069) | def test_download_file_url( function test_download_file_url_existing_ok_download (line 1091) | def test_download_file_url_existing_ok_download( function test_download_file_url_existing_bad_download (line 1116) | def test_download_file_url_existing_bad_download( function test_download_http_url_bad_hash (line 1143) | def test_download_http_url_bad_hash( function test_download_editable (line 1186) | def test_download_editable( function download_local_html_index (line 1211) | def download_local_html_index( function download_server_html_index (line 1243) | def download_server_html_index( function test_download_metadata (line 1289) | def test_download_metadata( function test_download_metadata_server (line 1326) | def test_download_metadata_server( function test_incorrect_metadata_hash (line 1366) | def test_incorrect_metadata_hash( function test_metadata_not_found (line 1391) | def test_metadata_not_found( function test_produces_error_for_mismatched_package_name_in_metadata (line 1411) | def test_produces_error_for_mismatched_package_name_in_metadata( function test_canonicalizes_package_name_before_verifying_metadata (line 1434) | def test_canonicalizes_package_name_before_verifying_metadata( FILE: tests/functional/test_fast_deps.py function pip (line 18) | def pip(script: PipTestEnvironment, command: str, requirement: str) -> T... function assert_installed (line 29) | def assert_installed(script: PipTestEnvironment, names: str) -> None: function test_install_from_pypi (line 43) | def test_install_from_pypi( function test_download_from_pypi (line 58) | def test_download_from_pypi( function test_build_wheel_with_deps (line 67) | def test_build_wheel_with_deps(data: TestData, script: PipTestEnvironmen... function test_require_hash (line 76) | def test_require_hash(script: PipTestEnvironment, tmp_path: pathlib.Path... function test_hash_mismatch (line 97) | def test_hash_mismatch(script: PipTestEnvironment, tmp_path: pathlib.Pat... function test_hash_mismatch_existing_download_for_metadata_only_wheel (line 111) | def test_hash_mismatch_existing_download_for_metadata_only_wheel( FILE: tests/functional/test_freeze.py function _check_output (line 32) | def _check_output(result: str, expected: str) -> None: function test_basic_freeze (line 59) | def test_basic_freeze(script: PipTestEnvironment) -> None: function test_freeze_with_pip (line 91) | def test_freeze_with_pip(script: PipTestEnvironment) -> None: function test_freeze_with_setuptools (line 99) | def test_freeze_with_setuptools(script: PipTestEnvironment) -> None: function test_exclude_and_normalization (line 130) | def test_exclude_and_normalization(script: PipTestEnvironment, tmpdir: P... function test_freeze_multiple_exclude_with_all (line 141) | def test_freeze_multiple_exclude_with_all(script: PipTestEnvironment) ->... function test_freeze_with_invalid_names (line 152) | def test_freeze_with_invalid_names(script: PipTestEnvironment) -> None: function test_freeze_editable_not_vcs (line 206) | def test_freeze_editable_not_vcs(script: PipTestEnvironment) -> None: function test_freeze_editable_git_with_no_remote (line 229) | def test_freeze_editable_git_with_no_remote( function test_freeze_svn (line 254) | def test_freeze_svn(script: PipTestEnvironment) -> None: function test_freeze_exclude_editable (line 277) | def test_freeze_exclude_editable(script: PipTestEnvironment) -> None: function test_freeze_git_clone (line 310) | def test_freeze_git_clone(script: PipTestEnvironment) -> None: function test_freeze_git_clone_srcdir (line 368) | def test_freeze_git_clone_srcdir(script: PipTestEnvironment) -> None: function test_freeze_mercurial_clone_srcdir (line 403) | def test_freeze_mercurial_clone_srcdir(script: PipTestEnvironment) -> None: function test_freeze_git_remote (line 426) | def test_freeze_git_remote(script: PipTestEnvironment) -> None: function test_freeze_mercurial_clone (line 509) | def test_freeze_mercurial_clone(script: PipTestEnvironment) -> None: function test_freeze_bazaar_clone (line 543) | def test_freeze_bazaar_clone(script: PipTestEnvironment) -> None: function test_freeze_nested_vcs (line 576) | def test_freeze_nested_vcs( function test_freeze_with_requirement_option_file_url_egg_not_installed (line 629) | def test_freeze_with_requirement_option_file_url_egg_not_installed( function test_freeze_with_requirement_option (line 657) | def test_freeze_with_requirement_option(script: PipTestEnvironment) -> N... function test_freeze_with_requirement_option_multiple (line 717) | def test_freeze_with_requirement_option_multiple(script: PipTestEnvironm... function test_freeze_with_requirement_option_package_repeated_one_file (line 786) | def test_freeze_with_requirement_option_package_repeated_one_file( function test_freeze_with_requirement_option_package_repeated_multi_file (line 835) | def test_freeze_with_requirement_option_package_repeated_multi_file( function test_freeze_user (line 894) | def test_freeze_user( function test_freeze_path (line 912) | def test_freeze_path(tmpdir: Path, script: PipTestEnvironment, data: Tes... function test_freeze_path_exclude_user (line 927) | def test_freeze_path_exclude_user( function test_freeze_path_multiple (line 952) | def test_freeze_path_multiple( function test_freeze_direct_url_archive (line 981) | def test_freeze_direct_url_archive( function test_freeze_skip_work_dir_pkg (line 990) | def test_freeze_skip_work_dir_pkg(script: PipTestEnvironment) -> None: function test_freeze_include_work_dir_pkg (line 1005) | def test_freeze_include_work_dir_pkg(script: PipTestEnvironment) -> None: function test_freeze_pep610_editable (line 1023) | def test_freeze_pep610_editable(script: PipTestEnvironment) -> None: FILE: tests/functional/test_hash.py function test_basic_hash (line 8) | def test_basic_hash(script: PipTestEnvironment, tmpdir: Path) -> None: function test_good_algo_option (line 18) | def test_good_algo_option(script: PipTestEnvironment, tmpdir: Path) -> N... function test_bad_algo_option (line 29) | def test_bad_algo_option(script: PipTestEnvironment, tmpdir: Path) -> None: function _hello_file (line 37) | def _hello_file(tmpdir: Path) -> Path: FILE: tests/functional/test_help.py function test_run_method_should_return_success_when_finds_command_name (line 16) | def test_run_method_should_return_success_when_finds_command_name() -> N... function test_run_method_should_return_success_when_command_name_not_specified (line 27) | def test_run_method_should_return_success_when_command_name_not_specifie... function test_run_method_should_raise_command_error_when_command_does_not_exist (line 37) | def test_run_method_should_raise_command_error_when_command_does_not_exi... function test_help_command_should_exit_status_ok_when_command_exists (line 49) | def test_help_command_should_exit_status_ok_when_command_exists( function test_help_command_should_exit_status_ok_when_no_cmd_is_specified (line 59) | def test_help_command_should_exit_status_ok_when_no_cmd_is_specified( function test_help_command_should_exit_status_error_when_cmd_does_not_exist (line 69) | def test_help_command_should_exit_status_error_when_cmd_does_not_exist( function test_help_command_redact_auth_from_url (line 79) | def test_help_command_redact_auth_from_url(script: PipTestEnvironment) -... function test_help_command_redact_auth_from_url_with_extra_index_url (line 89) | def test_help_command_redact_auth_from_url_with_extra_index_url( function test_help_commands_equally_functional (line 102) | def test_help_commands_equally_functional(in_memory_pip: InMemoryPip) ->... function test_help_command_colors (line 126) | def test_help_command_colors( FILE: tests/functional/test_index.py function test_json_structured_output (line 12) | def test_json_structured_output(script: PipTestEnvironment) -> None: function test_list_all_versions_basic_search (line 42) | def test_list_all_versions_basic_search(script: PipTestEnvironment) -> N... function test_list_all_versions_search_with_pre (line 64) | def test_list_all_versions_search_with_pre(script: PipTestEnvironment) -... function test_list_all_versions_returns_no_matches_found_when_name_not_exact (line 86) | def test_list_all_versions_returns_no_matches_found_when_name_not_exact(... function test_list_all_versions_returns_matches_found_when_name_is_exact (line 99) | def test_list_all_versions_returns_matches_found_when_name_is_exact() ->... function test_index_versions_all_releases_for_package (line 111) | def test_index_versions_all_releases_for_package(script: PipTestEnvironm... function test_index_versions_only_final_for_package (line 145) | def test_index_versions_only_final_for_package(script: PipTestEnvironmen... FILE: tests/functional/test_index_invalid_wheels.py function _create_test_index_with_invalid_wheels (line 15) | def _create_test_index_with_invalid_wheels( function test_index_versions_ignores_invalid_wheel_names (line 78) | def test_index_versions_ignores_invalid_wheel_names( function test_install_ignores_invalid_wheel_names (line 100) | def test_install_ignores_invalid_wheel_names( FILE: tests/functional/test_inspect.py function simple_script (line 9) | def simple_script( function test_inspect_basic (line 26) | def test_inspect_basic(simple_script: PipTestEnvironment) -> None: FILE: tests/functional/test_install.py function test_pep518_uses_build_env (line 51) | def test_pep518_uses_build_env( function test_pep518_build_env_uses_same_pip (line 77) | def test_pep518_build_env_uses_same_pip( function test_pep518_refuses_conflicting_requires (line 103) | def test_pep518_refuses_conflicting_requires( function test_pep518_refuses_invalid_requires (line 126) | def test_pep518_refuses_invalid_requires( function test_pep518_refuses_invalid_build_system (line 145) | def test_pep518_refuses_invalid_build_system( function test_pep518_allows_missing_requires (line 164) | def test_pep518_allows_missing_requires( function test_pep518_with_user_pip (line 185) | def test_pep518_with_user_pip( function test_pep518_with_extra_and_markers (line 223) | def test_pep518_with_extra_and_markers( function test_pep518_with_namespace_package (line 239) | def test_pep518_with_namespace_package( function test_pep518_forkbombs (line 261) | def test_pep518_forkbombs( function test_pip_second_command_line_interface_works (line 291) | def test_pip_second_command_line_interface_works( function test_install_exit_status_code_when_no_requirements (line 313) | def test_install_exit_status_code_when_no_requirements( function test_install_exit_status_code_when_blank_requirements_file (line 324) | def test_install_exit_status_code_when_blank_requirements_file( function test_install_exit_status_code_when_empty_dependency_group (line 334) | def test_install_exit_status_code_when_empty_dependency_group( function test_install_dependency_group_bad_filename_error (line 350) | def test_install_dependency_group_bad_filename_error( function test_basic_install_from_pypi (line 374) | def test_basic_install_from_pypi(script: PipTestEnvironment) -> None: function test_basic_editable_install (line 396) | def test_basic_editable_install(script: PipTestEnvironment) -> None: function test_basic_install_editable_from_svn (line 406) | def test_basic_install_editable_from_svn(script: PipTestEnvironment) -> ... function _test_install_editable_from_git (line 418) | def _test_install_editable_from_git(script: PipTestEnvironment) -> None: function test_basic_install_editable_from_git (line 431) | def test_basic_install_editable_from_git(script: PipTestEnvironment) -> ... function test_install_editable_from_git_autobuild_wheel (line 435) | def test_install_editable_from_git_autobuild_wheel(script: PipTestEnviro... function test_install_editable_uninstalls_existing (line 440) | def test_install_editable_uninstalls_existing( function test_install_editable_uninstalls_existing_from_path (line 474) | def test_install_editable_uninstalls_existing_from_path( function test_basic_install_editable_from_hg (line 497) | def test_basic_install_editable_from_hg(script: PipTestEnvironment) -> N... function test_vcs_url_final_slash_normalization (line 508) | def test_vcs_url_final_slash_normalization(script: PipTestEnvironment) -... function test_install_editable_from_bazaar (line 524) | def test_install_editable_from_bazaar(script: PipTestEnvironment) -> None: function test_vcs_url_urlquote_normalization (line 539) | def test_vcs_url_urlquote_normalization(script: PipTestEnvironment) -> N... function test_basic_install_from_local_directory (line 551) | def test_basic_install_from_local_directory( function test_basic_install_relative_directory (line 580) | def test_basic_install_relative_directory( function test_install_quiet (line 619) | def test_install_quiet(script: PipTestEnvironment, data: TestData) -> None: function test_hashed_install_success (line 633) | def test_hashed_install_success( function test_hashed_install_failure (line 655) | def test_hashed_install_failure(script: PipTestEnvironment, tmpdir: Path... function test_case_insensitive_hashed_install_success (line 672) | def test_case_insensitive_hashed_install_success( function test_link_hash_pass_require_hashes (line 684) | def test_link_hash_pass_require_hashes( function test_bad_link_hash_install_failure (line 697) | def test_bad_link_hash_install_failure( function test_bad_link_hash_good_user_hash_install_success (line 707) | def test_bad_link_hash_good_user_hash_install_success( function test_link_hash_in_dep_fails_require_hashes (line 723) | def test_link_hash_in_dep_fails_require_hashes( function test_bad_link_hash_in_dep_install_failure (line 773) | def test_bad_link_hash_in_dep_install_failure( function test_hashed_install_from_cache (line 797) | def test_hashed_install_from_cache( function assert_re_match (line 838) | def assert_re_match(pattern: str, text: str) -> None: function test_hashed_install_failure_later_flag (line 844) | def test_hashed_install_failure_later_flag( function test_install_from_local_directory_with_in_tree_build (line 872) | def test_install_from_local_directory_with_in_tree_build( function test_install_from_local_directory_with_no_setup_py (line 890) | def test_install_from_local_directory_with_no_setup_py( function test_editable_install__local_dir_no_setup_py (line 901) | def test_editable_install__local_dir_no_setup_py( function test_editable_install__local_dir_setup_requires_with_pyproject (line 915) | def test_editable_install__local_dir_setup_requires_with_pyproject( function test_install_pre__setup_requires_with_pyproject (line 944) | def test_install_pre__setup_requires_with_pyproject( function test_upgrade_argparse_shadowed (line 984) | def test_upgrade_argparse_shadowed(script: PipTestEnvironment) -> None: function test_install_curdir (line 992) | def test_install_curdir(script: PipTestEnvironment, data: TestData) -> N... function test_install_pardir (line 1008) | def test_install_pardir(script: PipTestEnvironment, data: TestData) -> N... function test_install_with_hacked_egg_info (line 1020) | def test_install_with_hacked_egg_info( function test_install_package_with_same_name_in_curdir (line 1031) | def test_install_package_with_same_name_in_curdir( function test_install_folder_using_dot_slash (line 1051) | def test_install_folder_using_dot_slash(script: PipTestEnvironment) -> N... function test_install_folder_using_slash_in_the_end (line 1063) | def test_install_folder_using_slash_in_the_end(script: PipTestEnvironmen... function test_install_folder_using_relative_path (line 1075) | def test_install_folder_using_relative_path(script: PipTestEnvironment) ... function test_install_package_which_contains_dev_in_name (line 1088) | def test_install_package_which_contains_dev_in_name( function test_install_package_with_target (line 1103) | def test_install_package_with_target(script: PipTestEnvironment) -> None: function test_install_package_to_usersite_with_target_must_fail (line 1138) | def test_install_package_to_usersite_with_target_must_fail( function test_install_nonlocal_compatible_wheel (line 1152) | def test_install_nonlocal_compatible_wheel( function test_install_nonlocal_compatible_wheel_path (line 1198) | def test_install_nonlocal_compatible_wheel_path( function test_install_with_target_or_prefix_and_scripts_no_warning (line 1235) | def test_install_with_target_or_prefix_and_scripts_no_warning( function test_install_package_with_root (line 1273) | def test_install_package_with_root(script: PipTestEnvironment, data: Tes... function test_install_package_with_prefix (line 1303) | def test_install_package_with_prefix( function _test_install_editable_with_prefix (line 1331) | def _test_install_editable_with_prefix( function test_install_editable_with_target (line 1373) | def test_install_editable_with_target(script: PipTestEnvironment) -> None: function test_install_editable_with_prefix_setup_py (line 1400) | def test_install_editable_with_prefix_setup_py(script: PipTestEnvironmen... function test_install_package_conflict_prefix_and_user (line 1408) | def test_install_package_conflict_prefix_and_user( function test_install_package_that_emits_unicode (line 1430) | def test_install_package_that_emits_unicode( function test_install_package_with_utf8_setup (line 1454) | def test_install_package_with_utf8_setup( function test_install_package_with_latin1_setup (line 1462) | def test_install_package_with_latin1_setup( function test_url_req_case_mismatch_no_index (line 1470) | def test_url_req_case_mismatch_no_index( function test_url_req_case_mismatch_file_index (line 1499) | def test_url_req_case_mismatch_file_index( function test_url_incorrect_case_no_index (line 1533) | def test_url_incorrect_case_no_index( function test_url_incorrect_case_file_index (line 1557) | def test_url_incorrect_case_file_index( function test_compiles_pyc (line 1585) | def test_compiles_pyc(script: PipTestEnvironment, data: TestData) -> None: function test_no_compiles_pyc (line 1604) | def test_no_compiles_pyc(script: PipTestEnvironment, data: TestData) -> ... function test_install_upgrade_editable_depending_on_other_editable (line 1623) | def test_install_upgrade_editable_depending_on_other_editable( function test_install_subprocess_output_handling (line 1665) | def test_install_subprocess_output_handling( function test_install_log (line 1703) | def test_install_log(script: PipTestEnvironment, data: TestData, tmpdir:... function test_install_topological_sort (line 1718) | def test_install_topological_sort(script: PipTestEnvironment, data: Test... function test_install_builds_wheels (line 1734) | def test_install_builds_wheels(script: PipTestEnvironment, data: TestDat... function test_install_no_binary_builds_wheels (line 1775) | def test_install_no_binary_builds_wheels( function test_install_no_binary_builds_pep_517_wheel (line 1798) | def test_install_no_binary_builds_pep_517_wheel( function test_install_no_binary_uses_local_backend (line 1812) | def test_install_no_binary_uses_local_backend( function test_install_no_binary_uses_cached_wheels (line 1826) | def test_install_no_binary_uses_cached_wheels( function test_install_editable_with_wrong_egg_name (line 1850) | def test_install_editable_with_wrong_egg_name( function test_install_tar_xz (line 1882) | def test_install_tar_xz(script: PipTestEnvironment, data: TestData) -> N... function test_install_tar_lzma (line 1893) | def test_install_tar_lzma(script: PipTestEnvironment, data: TestData) ->... function test_double_install (line 1904) | def test_double_install(script: PipTestEnvironment) -> None: function test_double_install_fail (line 1913) | def test_double_install_fail( function _get_expected_error_text (line 1932) | def _get_expected_error_text() -> str: function test_install_incompatible_python_requires (line 1938) | def test_install_incompatible_python_requires(script: PipTestEnvironment... function test_install_incompatible_python_requires_editable (line 1955) | def test_install_incompatible_python_requires_editable( function test_install_incompatible_python_requires_wheel (line 1976) | def test_install_incompatible_python_requires_wheel(script: PipTestEnvir... function test_install_compatible_python_requires (line 2002) | def test_install_compatible_python_requires(script: PipTestEnvironment) ... function test_install_pep508_with_url (line 2020) | def test_install_pep508_with_url(script: PipTestEnvironment) -> None: function test_install_pep508_with_url_in_install_requires (line 2033) | def test_install_pep508_with_url_in_install_requires( function test_install_from_test_pypi_with_ext_url_dep_is_blocked (line 2053) | def test_install_from_test_pypi_with_ext_url_dep_is_blocked( function test_installing_scripts_outside_path_prints_warning (line 2080) | def test_installing_scripts_outside_path_prints_warning( function test_installing_scripts_outside_path_can_suppress_warning (line 2088) | def test_installing_scripts_outside_path_can_suppress_warning( function test_installing_scripts_on_path_does_not_print_warning (line 2098) | def test_installing_scripts_on_path_does_not_print_warning( function test_install_conflict_results_in_warning (line 2106) | def test_install_conflict_results_in_warning( function test_install_conflict_warning_can_be_suppressed (line 2139) | def test_install_conflict_warning_can_be_suppressed( function test_target_install_ignores_distutils_config_install_prefix (line 2171) | def test_target_install_ignores_distutils_config_install_prefix( function test_user_config_accepted (line 2198) | def test_user_config_accepted(script: PipTestEnvironment) -> None: function test_install_pip_does_not_modify_pip_when_satisfied (line 2220) | def test_install_pip_does_not_modify_pip_when_satisfied( function test_ignore_yanked_file (line 2236) | def test_ignore_yanked_file(script: PipTestEnvironment, data: TestData) ... function test_invalid_index_url_argument (line 2251) | def test_invalid_index_url_argument( function test_valid_index_url_argument (line 2272) | def test_valid_index_url_argument( function test_install_yanked_file_and_print_warning (line 2290) | def test_install_yanked_file_and_print_warning( function test_yanked_version_missing_from_available_versions_error_message (line 2313) | def test_yanked_version_missing_from_available_versions_error_message( function test_error_all_yanked_files_and_no_pin (line 2340) | def test_error_all_yanked_files_and_no_pin( function test_install_sends_client_cert (line 2367) | def test_install_sends_client_cert( function test_install_sends_certs_for_pep518_deps (line 2416) | def test_install_sends_certs_for_pep518_deps( function test_install_skip_work_dir_pkg (line 2448) | def test_install_skip_work_dir_pkg(script: PipTestEnvironment, data: Tes... function test_install_verify_package_name_normalization (line 2476) | def test_install_verify_package_name_normalization( function test_install_logs_pip_version_in_debug (line 2496) | def test_install_logs_pip_version_in_debug( function install_find_links (line 2505) | def install_find_links( function test_install_dry_run_nothing_installed (line 2536) | def test_install_dry_run_nothing_installed( function test_install_existing_memory_distribution (line 2573) | def test_install_existing_memory_distribution(script: PipTestEnvironment... function test_install_pip_prints_req_chain_local (line 2611) | def test_install_pip_prints_req_chain_local(script: PipTestEnvironment) ... function test_install_dist_restriction_without_target (line 2648) | def test_install_dist_restriction_without_target(script: PipTestEnvironm... function test_install_dist_restriction_dry_run_doesnt_require_target (line 2658) | def test_install_dist_restriction_dry_run_doesnt_require_target( function test_install_pip_prints_req_chain_pypi (line 2683) | def test_install_pip_prints_req_chain_pypi(script: PipTestEnvironment) -... function test_install_sdist_links (line 2704) | def test_install_sdist_links( FILE: tests/functional/test_install_check.py function assert_contains_expected_lines (line 6) | def assert_contains_expected_lines(string: str, expected_lines: Iterable... function test_check_install_canonicalization (line 11) | def test_check_install_canonicalization(script: PipTestEnvironment) -> N... function test_check_install_does_not_warn_for_out_of_graph_issues (line 74) | def test_check_install_does_not_warn_for_out_of_graph_issues( FILE: tests/functional/test_install_cleanup.py function test_no_clean_option_blocks_cleaning_after_install (line 10) | def test_no_clean_option_blocks_cleaning_after_install( FILE: tests/functional/test_install_compat.py function test_debian_egg_name_workaround (line 17) | def test_debian_egg_name_workaround( function test_setup_py_with_dos_line_endings (line 67) | def test_setup_py_with_dos_line_endings( FILE: tests/functional/test_install_config.py function test_options_from_env_vars (line 24) | def test_options_from_env_vars(script: PipTestEnvironment) -> None: function test_command_line_options_override_env_vars (line 37) | def test_command_line_options_override_env_vars( function test_env_vars_override_config_file (line 61) | def test_env_vars_override_config_file( function test_command_line_append_flags (line 93) | def test_command_line_append_flags( function test_command_line_appends_correctly (line 130) | def test_command_line_appends_correctly( function test_config_file_override_stack (line 152) | def test_config_file_override_stack( function test_options_from_venv_config (line 218) | def test_options_from_venv_config( function test_install_no_binary_via_config_disables_cached_wheels (line 238) | def test_install_no_binary_via_config_disables_cached_wheels( function test_prompt_for_authentication (line 269) | def test_prompt_for_authentication( function test_do_not_prompt_for_authentication (line 308) | def test_do_not_prompt_for_authentication( function test_do_not_prompt_for_authentication_git (line 349) | def test_do_not_prompt_for_authentication_git( function interactive (line 378) | def interactive(request: pytest.FixtureRequest) -> bool: function auth_needed (line 383) | def auth_needed(request: pytest.FixtureRequest) -> bool: function keyring_provider (line 388) | def keyring_provider(request: pytest.FixtureRequest) -> str: function keyring_provider_implementation (line 393) | def keyring_provider_implementation(request: pytest.FixtureRequest) -> str: function flags (line 398) | def flags( function test_prompt_for_keyring_if_needed (line 425) | def test_prompt_for_keyring_if_needed( function test_install_quiet_log (line 543) | def test_install_quiet_log(script: PipTestEnvironment, data: TestData) -... FILE: tests/functional/test_install_direct_url.py function test_install_find_links_no_direct_url (line 8) | def test_install_find_links_no_direct_url(script: PipTestEnvironment) ->... function test_install_vcs_non_editable_direct_url (line 13) | def test_install_vcs_non_editable_direct_url(script: PipTestEnvironment)... function test_install_archive_direct_url (line 25) | def test_install_archive_direct_url(script: PipTestEnvironment, data: Te... function test_install_vcs_constraint_direct_url (line 33) | def test_install_vcs_constraint_direct_url(script: PipTestEnvironment) -... function test_install_vcs_constraint_direct_file_url (line 44) | def test_install_vcs_constraint_direct_file_url(script: PipTestEnvironme... FILE: tests/functional/test_install_extras.py function test_simple_extras_install_from_pypi (line 17) | def test_simple_extras_install_from_pypi(script: PipTestEnvironment) -> ... function test_extras_after_wheel (line 30) | def test_extras_after_wheel(script: PipTestEnvironment, data: TestData) ... function test_no_extras_uninstall (line 60) | def test_no_extras_uninstall(script: PipTestEnvironment) -> None: function test_nonexistent_extra_warns_user_no_wheel (line 77) | def test_nonexistent_extra_warns_user_no_wheel( function test_nonexistent_extra_warns_user_with_wheel (line 100) | def test_nonexistent_extra_warns_user_with_wheel( function test_nonexistent_options_listed_in_order (line 119) | def test_nonexistent_options_listed_in_order( function test_install_fails_if_extra_at_end (line 138) | def test_install_fails_if_extra_at_end( function test_install_special_extra (line 170) | def test_install_special_extra( function test_install_requirements_no_r_flag (line 195) | def test_install_requirements_no_r_flag(script: PipTestEnvironment) -> N... function test_install_extra_merging (line 211) | def test_install_extra_merging( function test_install_extras (line 245) | def test_install_extras(script: PipTestEnvironment) -> None: function test_install_setuptools_extras_inconsistency (line 262) | def test_install_setuptools_extras_inconsistency( FILE: tests/functional/test_install_force_reinstall.py function check_installed_version (line 6) | def check_installed_version( function check_force_reinstall (line 19) | def check_force_reinstall( function test_force_reinstall_with_no_version_specifier (line 46) | def test_force_reinstall_with_no_version_specifier(script: PipTestEnviro... function test_force_reinstall_with_same_version_specifier (line 54) | def test_force_reinstall_with_same_version_specifier( FILE: tests/functional/test_install_format_control.py function test_order_no_binary_then_only_binary (line 16) | def test_order_no_binary_then_only_binary(script: PipTestEnvironment) ->... function test_order_only_binary_then_no_binary (line 36) | def test_order_only_binary_then_no_binary(script: PipTestEnvironment) ->... function test_reqfile_no_binary_overrides_cmdline_only_binary (line 56) | def test_reqfile_no_binary_overrides_cmdline_only_binary( function test_reqfile_only_binary_overrides_cmdline_no_binary (line 77) | def test_reqfile_only_binary_overrides_cmdline_no_binary( function test_package_specific_overrides_all_in_requirements_file (line 98) | def test_package_specific_overrides_all_in_requirements_file( FILE: tests/functional/test_install_index.py function test_find_links_relative_path (line 7) | def test_find_links_relative_path(script: PipTestEnvironment, data: Test... function test_find_links_no_doctype (line 24) | def test_find_links_no_doctype(script: PipTestEnvironment, data: TestDat... function test_find_links_requirements_file_relative_path (line 40) | def test_find_links_requirements_file_relative_path( function test_install_from_file_index_hash_link (line 66) | def test_install_from_file_index_hash_link( function test_file_index_url_quoting (line 80) | def test_file_index_url_quoting(script: PipTestEnvironment, data: TestDa... FILE: tests/functional/test_install_release_control.py function test_all_releases_allows_prereleases (line 8) | def test_all_releases_allows_prereleases(script: PipTestEnvironment) -> ... function test_all_releases_package_specific (line 18) | def test_all_releases_package_specific(script: PipTestEnvironment) -> None: function test_only_final_blocks_prereleases (line 28) | def test_only_final_blocks_prereleases(script: PipTestEnvironment) -> None: function test_only_final_package_specific (line 43) | def test_only_final_package_specific(script: PipTestEnvironment) -> None: function test_pre_transforms_to_all_releases (line 58) | def test_pre_transforms_to_all_releases(script: PipTestEnvironment) -> N... function test_pre_with_all_releases_fails (line 68) | def test_pre_with_all_releases_fails(script: PipTestEnvironment) -> None: function test_pre_with_only_final_fails (line 80) | def test_pre_with_only_final_fails(script: PipTestEnvironment) -> None: function test_all_releases_none (line 92) | def test_all_releases_none(script: PipTestEnvironment) -> None: function test_package_specific_overrides_all (line 109) | def test_package_specific_overrides_all(script: PipTestEnvironment) -> N... function test_requirements_file_all_releases (line 126) | def test_requirements_file_all_releases(script: PipTestEnvironment) -> N... function test_requirements_file_only_final (line 138) | def test_requirements_file_only_final(script: PipTestEnvironment) -> None: function test_order_only_final_then_all_releases (line 152) | def test_order_only_final_then_all_releases(script: PipTestEnvironment) ... function test_order_all_releases_then_only_final (line 171) | def test_order_all_releases_then_only_final(script: PipTestEnvironment) ... function test_no_matching_version_without_release_control (line 192) | def test_no_matching_version_without_release_control( function test_no_matching_version_with_all_releases (line 213) | def test_no_matching_version_with_all_releases( function test_pre_flag_with_requirements_file_containing_options (line 233) | def test_pre_flag_with_requirements_file_containing_options( function test_reqfile_all_releases_overrides_cmdline_only_final (line 257) | def test_reqfile_all_releases_overrides_cmdline_only_final( function test_reqfile_only_final_overrides_cmdline_all_releases (line 276) | def test_reqfile_only_final_overrides_cmdline_all_releases( function test_package_specific_overrides_all_in_requirements_file (line 295) | def test_package_specific_overrides_all_in_requirements_file( FILE: tests/functional/test_install_report.py function _install_dict (line 12) | def _install_dict(report: dict[str, Any]) -> dict[str, Any]: function test_install_report_basic (line 16) | def test_install_report_basic( function test_install_report_dep (line 46) | def test_install_report_dep( function test_yanked_version (line 68) | def test_yanked_version( function test_skipped_yanked_version (line 96) | def test_skipped_yanked_version( function test_install_report_index (line 134) | def test_install_report_index( function test_install_report_index_multiple_extras (line 165) | def test_install_report_index_multiple_extras( function test_install_report_direct_archive (line 184) | def test_install_report_direct_archive( function test_install_report_vcs_and_wheel_cache (line 217) | def test_install_report_vcs_and_wheel_cache( function test_install_report_vcs_editable (line 277) | def test_install_report_vcs_editable( function test_install_report_local_path_with_extras (line 302) | def test_install_report_local_path_with_extras( function test_install_report_editable_local_path_with_extras (line 346) | def test_install_report_editable_local_path_with_extras( function test_install_report_to_stdout (line 391) | def test_install_report_to_stdout( FILE: tests/functional/test_install_reqs.py class ArgRecordingSdist (line 23) | class ArgRecordingSdist: method __init__ (line 24) | def __init__(self, sdist_path: Path, args_path: Path) -> None: method args (line 28) | def args(self) -> Any: class ArgRecordingSdistMaker (line 32) | class ArgRecordingSdistMaker(Protocol): method __call__ (line 33) | def __call__(self, name: str, **kwargs: Any) -> ArgRecordingSdist: ... function arg_recording_sdist_maker (line 37) | def arg_recording_sdist_maker( function test_requirements_file (line 73) | def test_requirements_file(script: PipTestEnvironment, data: TestData) -... function test_dependency_group (line 101) | def test_dependency_group( function test_multiple_dependency_groups (line 129) | def test_multiple_dependency_groups(script: PipTestEnvironment) -> None: function test_dependency_group_with_non_normalized_name (line 145) | def test_dependency_group_with_non_normalized_name(script: PipTestEnviro... function test_schema_check_in_requirements_file (line 161) | def test_schema_check_in_requirements_file(script: PipTestEnvironment) -... function test_relative_requirements_file (line 187) | def test_relative_requirements_file( function test_multiple_requirements_files (line 245) | def test_multiple_requirements_files(script: PipTestEnvironment, tmpdir:... function test_package_in_constraints_and_dependencies (line 272) | def test_package_in_constraints_and_dependencies( function test_constraints_apply_to_dependency_groups (line 291) | def test_constraints_apply_to_dependency_groups( function test_multiple_constraints_files (line 318) | def test_multiple_constraints_files(script: PipTestEnvironment, data: Te... function test_respect_order_in_requirements_file (line 335) | def test_respect_order_in_requirements_file( function test_install_local_editable_with_extras (line 371) | def test_install_local_editable_with_extras( function test_install_collected_dependencies_first (line 382) | def test_install_collected_dependencies_first(script: PipTestEnvironment... function test_install_local_editable_with_subdirectory (line 391) | def test_install_local_editable_with_subdirectory(script: PipTestEnviron... function test_install_local_with_subdirectory (line 405) | def test_install_local_with_subdirectory(script: PipTestEnvironment) -> ... function test_wheel_user_with_prefix_in_pydistutils_cfg (line 418) | def test_wheel_user_with_prefix_in_pydistutils_cfg( function test_constraints_not_installed_by_default (line 449) | def test_constraints_not_installed_by_default( function test_constraints_only_causes_error (line 466) | def test_constraints_only_causes_error( function test_constraints_local_editable_install_causes_error (line 482) | def test_constraints_local_editable_install_causes_error( function test_constraints_local_editable_install_pep518 (line 506) | def test_constraints_local_editable_install_pep518( function test_constraints_local_install_causes_error (line 515) | def test_constraints_local_install_causes_error( function test_constraints_constrain_to_local_editable (line 537) | def test_constraints_constrain_to_local_editable( function test_constraints_constrain_to_local (line 563) | def test_constraints_constrain_to_local( function test_constrained_to_url_install_same_url (line 584) | def test_constrained_to_url_install_same_url( function test_double_install_spurious_hash_mismatch (line 604) | def test_double_install_spurious_hash_mismatch( function test_install_with_extras_from_constraints (line 645) | def test_install_with_extras_from_constraints( function test_install_with_extras_from_install (line 665) | def test_install_with_extras_from_install(script: PipTestEnvironment) ->... function test_install_with_extras_joined (line 683) | def test_install_with_extras_joined( function test_install_with_extras_editable_joined (line 704) | def test_install_with_extras_editable_joined( function test_install_distribution_full_union (line 725) | def test_install_distribution_full_union( function test_install_distribution_duplicate_extras (line 737) | def test_install_distribution_duplicate_extras( function test_install_distribution_union_with_constraints (line 747) | def test_install_distribution_union_with_constraints( function test_install_distribution_union_with_versions (line 769) | def test_install_distribution_union_with_versions( function test_install_distribution_union_conflicting_extras (line 792) | def test_install_distribution_union_conflicting_extras( function test_install_unsupported_wheel_link_with_marker (line 807) | def test_install_unsupported_wheel_link_with_marker(script: PipTestEnvir... function test_install_unsupported_wheel_file (line 826) | def test_install_unsupported_wheel_file( function test_config_settings_local_to_package (line 847) | def test_config_settings_local_to_package( class TestEditableDirectURL (line 919) | class TestEditableDirectURL: method test_install_local_project (line 920) | def test_install_local_project( method test_install_local_project_with_extra (line 929) | def test_install_local_project_with_extra( method test_install_local_git_repo (line 946) | def test_install_local_git_repo( method test_install_remote_git_repo_with_extra (line 957) | def test_install_remote_git_repo_with_extra( FILE: tests/functional/test_install_requested.py function _assert_requested_present (line 6) | def _assert_requested_present( function _assert_requested_absent (line 15) | def _assert_requested_absent( function test_install_requested_basic (line 24) | def test_install_requested_basic(script: PipTestEnvironment, data: TestD... function test_install_requested_requirements (line 38) | def test_install_requested_requirements( function test_install_requested_dep_in_requirements (line 55) | def test_install_requested_dep_in_requirements( function test_install_requested_reqs_and_constraints (line 75) | def test_install_requested_reqs_and_constraints( function test_install_requested_in_reqs_and_constraints (line 96) | def test_install_requested_in_reqs_and_constraints( function test_install_requested_from_cli_with_constraint (line 119) | def test_install_requested_from_cli_with_constraint( function test_install_requested_from_cli_with_url_constraint (line 138) | def test_install_requested_from_cli_with_url_constraint( FILE: tests/functional/test_install_script.py function test_script_file (line 7) | def test_script_file(script: PipTestEnvironment) -> None: function test_multiple_scripts (line 31) | def test_multiple_scripts(script: PipTestEnvironment) -> None: function test_script_file_python_version (line 50) | def test_script_file_python_version(script: PipTestEnvironment) -> None: function test_script_invalid_TOML (line 86) | def test_script_invalid_TOML(script: PipTestEnvironment) -> None: function test_script_multiple_blocks (line 118) | def test_script_multiple_blocks(script: PipTestEnvironment) -> None: FILE: tests/functional/test_install_upgrade.py function test_no_upgrade_unless_requested (line 19) | def test_no_upgrade_unless_requested(script: PipTestEnvironment) -> None: function test_invalid_upgrade_strategy_causes_error (line 31) | def test_invalid_upgrade_strategy_causes_error(script: PipTestEnvironmen... function test_only_if_needed_does_not_upgrade_deps_when_satisfied (line 44) | def test_only_if_needed_does_not_upgrade_deps_when_satisfied( function test_only_if_needed_does_upgrade_deps_when_no_longer_satisfied (line 71) | def test_only_if_needed_does_upgrade_deps_when_no_longer_satisfied( function test_eager_does_upgrade_dependencies_when_currently_satisfied (line 92) | def test_eager_does_upgrade_dependencies_when_currently_satisfied( function test_eager_does_upgrade_dependencies_when_no_longer_satisfied (line 112) | def test_eager_does_upgrade_dependencies_when_no_longer_satisfied( function test_upgrade_to_specific_version (line 136) | def test_upgrade_to_specific_version(script: PipTestEnvironment) -> None: function test_upgrade_if_requested (line 148) | def test_upgrade_if_requested(script: PipTestEnvironment) -> None: function test_upgrade_with_newest_already_installed (line 159) | def test_upgrade_with_newest_already_installed( function test_upgrade_force_reinstall_newest (line 191) | def test_upgrade_force_reinstall_newest(script: PipTestEnvironment) -> N... function test_uninstall_before_upgrade (line 204) | def test_uninstall_before_upgrade(script: PipTestEnvironment) -> None: function test_uninstall_before_upgrade_from_url (line 218) | def test_uninstall_before_upgrade_from_url(script: PipTestEnvironment) -... function test_upgrade_to_same_version_from_url (line 235) | def test_upgrade_to_same_version_from_url(script: PipTestEnvironment) ->... function test_upgrade_from_reqs_file (line 254) | def test_upgrade_from_reqs_file(script: PipTestEnvironment) -> None: function test_uninstall_rollback (line 285) | def test_uninstall_rollback(script: PipTestEnvironment, data: TestData) ... function test_should_not_install_always_from_cache (line 321) | def test_should_not_install_always_from_cache( function test_install_with_ignoreinstalled_requested (line 335) | def test_install_with_ignoreinstalled_requested(script: PipTestEnvironme... function test_upgrade_vcs_req_with_no_dists_found (line 348) | def test_upgrade_vcs_req_with_no_dists_found( function test_upgrade_vcs_req_with_dist_found (line 364) | def test_upgrade_vcs_req_with_dist_found(script: PipTestEnvironment) -> ... function test_install_find_existing_package_canonicalize (line 388) | def test_install_find_existing_package_canonicalize( function test_modifying_pip_presents_error (line 424) | def test_modifying_pip_presents_error(script: PipTestEnvironment) -> None: FILE: tests/functional/test_install_user.py function _patch_dist_in_site_packages (line 23) | def _patch_dist_in_site_packages(virtualenv: VirtualEnvironment) -> None: class Tests_UserSite (line 40) | class Tests_UserSite: method test_reset_env_system_site_packages_usersite (line 41) | def test_reset_env_system_site_packages_usersite( method test_install_subversion_usersite_editable_with_distribute (line 62) | def test_install_subversion_usersite_editable_with_distribute( method test_install_from_current_directory_into_usersite (line 81) | def test_install_from_current_directory_into_usersite( method test_install_user_venv_nositepkgs_fails (line 103) | def test_install_user_venv_nositepkgs_fails( method test_install_user_conflict_in_usersite (line 125) | def test_install_user_conflict_in_usersite( method test_install_user_conflict_in_globalsite (line 150) | def test_install_user_conflict_in_globalsite( method test_upgrade_user_conflict_in_globalsite (line 192) | def test_upgrade_user_conflict_in_globalsite( method test_install_user_conflict_in_globalsite_and_usersite (line 235) | def test_install_user_conflict_in_globalsite_and_usersite( method test_install_user_in_global_virtualenv_with_conflict_fails (line 292) | def test_install_user_in_global_virtualenv_with_conflict_fails( method test_install_user_nositepkgs_fails (line 334) | def test_install_user_nositepkgs_fails( FILE: tests/functional/test_install_vcs_git.py function _get_editable_repo_dir (line 21) | def _get_editable_repo_dir(script: PipTestEnvironment, package_name: str... function _get_editable_branch (line 28) | def _get_editable_branch(script: PipTestEnvironment, package_name: str) ... function _get_branch_remote (line 37) | def _get_branch_remote( function _github_checkout (line 46) | def _github_checkout( function _make_version_pkg_url (line 76) | def _make_version_pkg_url( function _install_version_pkg_only (line 94) | def _install_version_pkg_only( function _install_version_pkg (line 119) | def _install_version_pkg( function test_git_install_again_after_changes (line 146) | def test_git_install_again_after_changes(script: PipTestEnvironment) -> ... function test_git_install_branch_again_after_branch_changes (line 164) | def test_git_install_branch_again_after_branch_changes( function test_install_editable_from_git_with_https (line 181) | def test_install_editable_from_git_with_https( function test_install_noneditable_git (line 196) | def test_install_noneditable_git(script: PipTestEnvironment) -> None: function test_git_with_sha1_revisions (line 211) | def test_git_with_sha1_revisions(script: PipTestEnvironment) -> None: function test_git_with_short_sha1_revisions (line 227) | def test_git_with_short_sha1_revisions(script: PipTestEnvironment) -> None: function test_git_with_branch_name_as_revision (line 249) | def test_git_with_branch_name_as_revision(script: PipTestEnvironment) ->... function test_git_with_tag_name_as_revision (line 261) | def test_git_with_tag_name_as_revision(script: PipTestEnvironment) -> None: function _add_ref (line 272) | def _add_ref(script: PipTestEnvironment, path: Path, ref: str) -> None: function test_git_install_ref (line 279) | def test_git_install_ref(script: PipTestEnvironment) -> None: function test_git_install_then_install_ref (line 297) | def test_git_install_then_install_ref(script: PipTestEnvironment) -> None: function test_install_git_logs_commit_sha (line 335) | def test_install_git_logs_commit_sha( function test_git_branch_should_not_be_changed (line 350) | def test_git_branch_should_not_be_changed( function test_git_with_non_editable_unpacking (line 365) | def test_git_with_non_editable_unpacking( function test_git_with_editable_where_egg_contains_dev_string (line 387) | def test_git_with_editable_where_egg_contains_dev_string( function test_git_with_non_editable_where_egg_contains_dev_string (line 406) | def test_git_with_non_editable_where_egg_contains_dev_string( function test_git_with_ambiguous_revs (line 425) | def test_git_with_ambiguous_revs(script: PipTestEnvironment) -> None: function test_editable__no_revision (line 439) | def test_editable__no_revision(script: PipTestEnvironment) -> None: function test_editable__branch_with_sha_same_as_default (line 453) | def test_editable__branch_with_sha_same_as_default(script: PipTestEnviro... function test_editable__branch_with_sha_different_from_default (line 470) | def test_editable__branch_with_sha_different_from_default( function test_editable__non_master_default_branch (line 493) | def test_editable__non_master_default_branch(script: PipTestEnvironment)... function test_reinstalling_works_with_editable_non_master_branch (line 508) | def test_reinstalling_works_with_editable_non_master_branch( function test_check_submodule_addition (line 535) | def test_check_submodule_addition(script: PipTestEnvironment) -> None: function test_install_git_branch_not_cached (line 566) | def test_install_git_branch_not_cached(script: PipTestEnvironment) -> None: function test_install_git_sha_cached (line 581) | def test_install_git_sha_cached(script: PipTestEnvironment) -> None: FILE: tests/functional/test_install_wheel.py function make_wheel_with_file (line 17) | def make_wheel_with_file(name: str, version: str, **kwargs: Any) -> Whee... function test_install_from_future_wheel_version (line 23) | def test_install_from_future_wheel_version( function test_install_from_broken_wheel (line 59) | def test_install_from_broken_wheel( function test_basic_install_from_wheel (line 73) | def test_basic_install_from_wheel( function test_basic_install_from_wheel_with_extras (line 93) | def test_basic_install_from_wheel_with_extras( function test_basic_install_from_wheel_file (line 114) | def test_basic_install_from_wheel_file( function test_basic_install_from_unicode_wheel (line 135) | def test_basic_install_from_unicode_wheel( function get_header_scheme_path_for_script (line 167) | def get_header_scheme_path_for_script( function test_install_from_wheel_with_headers (line 179) | def test_install_from_wheel_with_headers(script: PipTestEnvironment) -> ... function test_install_wheel_with_target (line 198) | def test_install_wheel_with_target( function test_install_wheel_with_target_and_data_files (line 218) | def test_install_wheel_with_target_and_data_files( function test_install_wheel_with_root (line 248) | def test_install_wheel_with_root( function test_install_wheel_with_prefix (line 268) | def test_install_wheel_with_prefix( function test_install_from_wheel_installs_deps (line 291) | def test_install_from_wheel_installs_deps( function test_install_from_wheel_no_deps (line 311) | def test_install_from_wheel_no_deps( function test_wheel_record_lines_in_deterministic_order (line 332) | def test_wheel_record_lines_in_deterministic_order( function test_wheel_record_lines_have_hash_for_data_files (line 349) | def test_wheel_record_lines_have_hash_for_data_files( function test_wheel_record_lines_have_updated_hash_for_scripts (line 370) | def test_wheel_record_lines_have_updated_hash_for_scripts( function test_install_user_wheel (line 409) | def test_install_user_wheel( function test_install_from_wheel_gen_entrypoint (line 430) | def test_install_from_wheel_gen_entrypoint( function test_install_from_wheel_gen_uppercase_entrypoint (line 457) | def test_install_from_wheel_gen_uppercase_entrypoint( function test_install_from_wheel_gen_unicode_entrypoint (line 485) | def test_install_from_wheel_gen_unicode_entrypoint(script: PipTestEnviro... function test_install_from_wheel_with_legacy (line 505) | def test_install_from_wheel_with_legacy( function test_install_from_wheel_no_setuptools_entrypoint (line 530) | def test_install_from_wheel_no_setuptools_entrypoint( function test_skipping_setuptools_doesnt_skip_legacy (line 560) | def test_skipping_setuptools_doesnt_skip_legacy( function test_install_from_wheel_gui_entrypoint (line 585) | def test_install_from_wheel_gui_entrypoint( function test_wheel_compiles_pyc (line 606) | def test_wheel_compiles_pyc( function test_wheel_no_compiles_pyc (line 630) | def test_wheel_no_compiles_pyc( function test_install_from_wheel_uninstalls_old_version (line 655) | def test_install_from_wheel_uninstalls_old_version( function test_wheel_compile_syntax_error (line 669) | def test_wheel_compile_syntax_error(script: PipTestEnvironment, data: Te... function test_wheel_install_with_no_cache_dir (line 676) | def test_wheel_install_with_no_cache_dir( function test_wheel_install_fails_with_extra_dist_info (line 685) | def test_wheel_install_fails_with_extra_dist_info(script: PipTestEnviron... function test_wheel_install_fails_with_unrelated_dist_info (line 701) | def test_wheel_install_fails_with_unrelated_dist_info( function test_wheel_installs_ok_with_nested_dist_info (line 720) | def test_wheel_installs_ok_with_nested_dist_info(script: PipTestEnvironm... function test_wheel_installs_ok_with_badly_encoded_irrelevant_dist_info_file (line 735) | def test_wheel_installs_ok_with_badly_encoded_irrelevant_dist_info_file( function test_wheel_install_fails_with_badly_encoded_metadata (line 747) | def test_wheel_install_fails_with_badly_encoded_metadata( function test_correct_package_name_while_creating_wheel_bug (line 765) | def test_correct_package_name_while_creating_wheel_bug( function test_wheel_with_file_in_data_dir_has_reasonable_error (line 777) | def test_wheel_with_file_in_data_dir_has_reasonable_error( function test_wheel_with_unknown_subdir_in_data_dir_has_reasonable_error (line 792) | def test_wheel_with_unknown_subdir_in_data_dir_has_reasonable_error( FILE: tests/functional/test_invalid_versions_and_specifiers.py function test_install_from_index_with_invalid_version (line 10) | def test_install_from_index_with_invalid_version( function test_install_from_index_with_invalid_specifier (line 24) | def test_install_from_index_with_invalid_specifier( function _install_invalid_version (line 47) | def _install_invalid_version(script: PipTestEnvironment, data: TestData)... function _install_require_invalid_version (line 57) | def _install_require_invalid_version( function test_uninstall_invalid_version (line 69) | def test_uninstall_invalid_version(script: PipTestEnvironment, data: Tes... function test_upgrade_invalid_version (line 78) | def test_upgrade_invalid_version(script: PipTestEnvironment, data: TestD... function test_upgrade_require_invalid_version (line 88) | def test_upgrade_require_invalid_version( function test_list_invalid_version (line 100) | def test_list_invalid_version( function test_freeze_invalid_version (line 110) | def test_freeze_invalid_version(script: PipTestEnvironment, data: TestDa... function test_show_invalid_version (line 119) | def test_show_invalid_version(script: PipTestEnvironment, data: TestData... function test_show_require_invalid_version (line 128) | def test_show_require_invalid_version( FILE: tests/functional/test_list.py function simple_script (line 21) | def simple_script( function test_basic_list (line 40) | def test_basic_list(simple_script: PipTestEnvironment) -> None: function test_verbose_flag (line 50) | def test_verbose_flag(simple_script: PipTestEnvironment) -> None: function test_columns_flag (line 63) | def test_columns_flag(simple_script: PipTestEnvironment) -> None: function test_format_priority (line 75) | def test_format_priority(simple_script: PipTestEnvironment) -> None: function test_local_flag (line 96) | def test_local_flag(simple_script: PipTestEnvironment) -> None: function test_local_columns_flag (line 105) | def test_local_columns_flag(simple_script: PipTestEnvironment) -> None: function test_multiple_exclude_and_normalization (line 117) | def test_multiple_exclude_and_normalization( function test_user_flag (line 134) | def test_user_flag(script: PipTestEnvironment, data: TestData) -> None: function test_user_columns_flag (line 147) | def test_user_columns_flag(script: PipTestEnvironment, data: TestData) -... function test_uptodate_flag (line 162) | def test_uptodate_flag(script: PipTestEnvironment, data: TestData) -> None: function test_uptodate_columns_flag (line 203) | def test_uptodate_columns_flag(script: PipTestEnvironment, data: TestDat... function test_outdated_flag (line 239) | def test_outdated_flag(script: PipTestEnvironment, data: TestData) -> None: function test_outdated_columns_flag (line 294) | def test_outdated_columns_flag(script: PipTestEnvironment, data: TestDat... function pip_test_package_script (line 334) | def pip_test_package_script( function test_editables_flag (line 359) | def test_editables_flag(pip_test_package_script: PipTestEnvironment) -> ... function test_exclude_editable_flag (line 370) | def test_exclude_editable_flag(pip_test_package_script: PipTestEnvironme... function test_editables_columns_flag (line 380) | def test_editables_columns_flag(pip_test_package_script: PipTestEnvironm... function test_uptodate_editables_flag (line 392) | def test_uptodate_editables_flag( function test_uptodate_editables_columns_flag (line 411) | def test_uptodate_editables_columns_flag( function test_outdated_editables_flag (line 434) | def test_outdated_editables_flag(script: PipTestEnvironment, data: TestD... function test_outdated_editables_columns_flag (line 465) | def test_outdated_editables_columns_flag( function test_outdated_not_required_flag (line 500) | def test_outdated_not_required_flag(script: PipTestEnvironment, data: Te... function test_outdated_pre (line 525) | def test_outdated_pre(script: PipTestEnvironment, data: TestData) -> None: function test_outdated_formats (line 579) | def test_outdated_formats(script: PipTestEnvironment, data: TestData) ->... function test_not_required_flag (line 649) | def test_not_required_flag(script: PipTestEnvironment, data: TestData) -... function test_list_freeze (line 665) | def test_list_freeze(simple_script: PipTestEnvironment) -> None: function test_list_json (line 675) | def test_list_json(simple_script: PipTestEnvironment) -> None: function test_list_path (line 686) | def test_list_path(tmpdir: Path, script: PipTestEnvironment, data: TestD... function test_list_path_exclude_user (line 701) | def test_list_path_exclude_user( function test_list_path_multiple (line 720) | def test_list_path_multiple( function test_list_skip_work_dir_pkg (line 744) | def test_list_skip_work_dir_pkg(script: PipTestEnvironment) -> None: function test_list_include_work_dir_pkg (line 759) | def test_list_include_work_dir_pkg(script: PipTestEnvironment) -> None: function test_list_pep610_editable (line 778) | def test_list_pep610_editable(script: PipTestEnvironment) -> None: function test_list_wheel_build (line 803) | def test_list_wheel_build(script: PipTestEnvironment) -> None: function test_outdated_only_final_for_specific_package (line 816) | def test_outdated_only_final_for_specific_package( function test_outdated_all_releases_for_specific_package (line 858) | def test_outdated_all_releases_for_specific_package( FILE: tests/functional/test_lock.py function test_lock_wheel_from_findlinks (line 12) | def test_lock_wheel_from_findlinks( function test_lock_sdist_from_findlinks (line 56) | def test_lock_sdist_from_findlinks( function test_lock_local_directory (line 93) | def test_lock_local_directory( function test_lock_local_editable_with_dep (line 128) | def test_lock_local_editable_with_dep( function test_lock_vcs (line 188) | def test_lock_vcs(script: PipTestEnvironment, shared_data: TestData) -> ... function test_lock_archive (line 213) | def test_lock_archive(script: PipTestEnvironment, shared_data: TestData)... FILE: tests/functional/test_new_resolver.py function make_fake_wheel (line 23) | def make_fake_wheel(script: PipTestEnvironment) -> MakeFakeWheel: function test_new_resolver_can_install (line 39) | def test_new_resolver_can_install(script: PipTestEnvironment) -> None: function test_new_resolver_can_install_with_version (line 56) | def test_new_resolver_can_install_with_version(script: PipTestEnvironmen... function test_new_resolver_picks_latest_version (line 73) | def test_new_resolver_picks_latest_version(script: PipTestEnvironment) -... function test_new_resolver_picks_installed_version (line 95) | def test_new_resolver_picks_installed_version(script: PipTestEnvironment... function test_new_resolver_picks_installed_version_if_no_match_found (line 128) | def test_new_resolver_picks_installed_version_if_no_match_found( function test_new_resolver_installs_dependencies (line 156) | def test_new_resolver_installs_dependencies(script: PipTestEnvironment) ... function test_new_resolver_ignore_dependencies (line 179) | def test_new_resolver_ignore_dependencies(script: PipTestEnvironment) ->... function test_new_resolver_installs_extras (line 211) | def test_new_resolver_installs_extras( function test_new_resolver_installs_extras_warn_missing (line 240) | def test_new_resolver_installs_extras_warn_missing(script: PipTestEnviro... function test_new_resolver_installed_message (line 266) | def test_new_resolver_installed_message(script: PipTestEnvironment) -> N... function test_new_resolver_no_dist_message (line 280) | def test_new_resolver_no_dist_message(script: PipTestEnvironment) -> None: function test_new_resolver_installs_editable (line 304) | def test_new_resolver_installs_editable(script: PipTestEnvironment) -> N... function test_new_resolver_requires_python (line 342) | def test_new_resolver_requires_python( function test_new_resolver_requires_python_error (line 383) | def test_new_resolver_requires_python_error(script: PipTestEnvironment) ... function test_new_resolver_requires_python_ok_with_python_version_flag (line 407) | def test_new_resolver_requires_python_ok_with_python_version_flag( function test_new_resolver_installed (line 431) | def test_new_resolver_installed(script: PipTestEnvironment) -> None: function test_new_resolver_ignore_installed (line 468) | def test_new_resolver_ignore_installed(script: PipTestEnvironment) -> None: function test_new_resolver_only_builds_sdists_when_needed (line 501) | def test_new_resolver_only_builds_sdists_when_needed( function test_new_resolver_install_different_version (line 547) | def test_new_resolver_install_different_version(script: PipTestEnvironme... function test_new_resolver_force_reinstall (line 576) | def test_new_resolver_force_reinstall(script: PipTestEnvironment) -> None: function test_new_resolver_handles_prerelease (line 620) | def test_new_resolver_handles_prerelease( function test_new_resolver_skips_marker (line 648) | def test_new_resolver_skips_marker( function test_new_resolver_constraints (line 675) | def test_new_resolver_constraints( function test_new_resolver_constraint_no_specifier (line 697) | def test_new_resolver_constraint_no_specifier(script: PipTestEnvironment... function test_new_resolver_constraint_reject_invalid (line 732) | def test_new_resolver_constraint_reject_invalid( function test_new_resolver_constraint_on_dependency (line 753) | def test_new_resolver_constraint_on_dependency(script: PipTestEnvironmen... function test_new_resolver_constraint_on_path_empty (line 781) | def test_new_resolver_constraint_on_path_empty( function test_new_resolver_constraint_only_marker_match (line 812) | def test_new_resolver_constraint_only_marker_match(script: PipTestEnviro... function test_new_resolver_upgrade_needs_option (line 839) | def test_new_resolver_upgrade_needs_option(script: PipTestEnvironment) -... function test_new_resolver_upgrade_strategy (line 884) | def test_new_resolver_upgrade_strategy(script: PipTestEnvironment) -> None: class PackageBuilder (line 937) | class PackageBuilder(Protocol): method __call__ (line 938) | def __call__( function _local_with_setup (line 948) | def _local_with_setup( function _direct_wheel (line 966) | def _direct_wheel( function _wheel_from_index (line 984) | def _wheel_from_index( class TestExtraMerge (line 1002) | class TestExtraMerge: method test_new_resolver_extra_merge_in_package (line 1016) | def test_new_resolver_extra_merge_in_package( function test_new_resolver_build_directory_error_zazo_19 (line 1046) | def test_new_resolver_build_directory_error_zazo_19(script: PipTestEnvir... function test_new_resolver_upgrade_same_version (line 1092) | def test_new_resolver_upgrade_same_version(script: PipTestEnvironment) -... function test_new_resolver_local_and_req (line 1118) | def test_new_resolver_local_and_req(script: PipTestEnvironment) -> None: function test_new_resolver_no_deps_checks_requires_python (line 1134) | def test_new_resolver_no_deps_checks_requires_python( function test_new_resolver_prefers_installed_in_upgrade_if_latest (line 1168) | def test_new_resolver_prefers_installed_in_upgrade_if_latest( function test_new_resolver_presents_messages_when_backtracking_a_lot (line 1198) | def test_new_resolver_presents_messages_when_backtracking_a_lot( function test_new_resolver_check_wheel_version_normalized (line 1269) | def test_new_resolver_check_wheel_version_normalized( function test_new_resolver_does_reinstall_local_sdists (line 1290) | def test_new_resolver_does_reinstall_local_sdists(script: PipTestEnviron... function test_new_resolver_does_reinstall_local_paths (line 1317) | def test_new_resolver_does_reinstall_local_paths(script: PipTestEnvironm... function test_new_resolver_does_not_reinstall_when_from_a_local_index (line 1339) | def test_new_resolver_does_not_reinstall_when_from_a_local_index( function test_new_resolver_skip_inconsistent_metadata (line 1372) | def test_new_resolver_skip_inconsistent_metadata(script: PipTestEnvironm... function test_new_resolver_lazy_fetch_candidates (line 1400) | def test_new_resolver_lazy_fetch_candidates( function test_new_resolver_no_fetch_no_satisfying (line 1443) | def test_new_resolver_no_fetch_no_satisfying(script: PipTestEnvironment)... function test_new_resolver_does_not_install_unneeded_packages_with_url_constraint (line 1472) | def test_new_resolver_does_not_install_unneeded_packages_with_url_constr... function test_new_resolver_installs_packages_with_url_constraint (line 1507) | def test_new_resolver_installs_packages_with_url_constraint( function test_new_resolver_reinstall_link_requirement_with_constraint (line 1526) | def test_new_resolver_reinstall_link_requirement_with_constraint( function test_new_resolver_prefers_url_constraint (line 1561) | def test_new_resolver_prefers_url_constraint(script: PipTestEnvironment)... function test_new_resolver_prefers_url_constraint_on_update (line 1593) | def test_new_resolver_prefers_url_constraint_on_update( function test_new_resolver_fails_with_url_constraint_and_incompatible_version (line 1639) | def test_new_resolver_fails_with_url_constraint_and_incompatible_version( function test_new_resolver_ignores_unneeded_conflicting_constraints (line 1694) | def test_new_resolver_ignores_unneeded_conflicting_constraints( function test_new_resolver_fails_on_needed_conflicting_constraints (line 1736) | def test_new_resolver_fails_on_needed_conflicting_constraints( function test_new_resolver_fails_on_conflicting_constraint_and_requirement (line 1788) | def test_new_resolver_fails_on_conflicting_constraint_and_requirement( function test_new_resolver_succeeds_on_matching_constraint_and_requirement (line 1836) | def test_new_resolver_succeeds_on_matching_constraint_and_requirement( function test_new_resolver_applies_url_constraint_to_dep (line 1876) | def test_new_resolver_applies_url_constraint_to_dep(script: PipTestEnvir... function test_new_resolver_handles_compatible_wheel_tags_in_constraint_url (line 1911) | def test_new_resolver_handles_compatible_wheel_tags_in_constraint_url( function test_new_resolver_handles_incompatible_wheel_tags_in_constraint_url (line 1950) | def test_new_resolver_handles_incompatible_wheel_tags_in_constraint_url( function test_new_resolver_avoids_incompatible_wheel_tags_in_constraint_url (line 1983) | def test_new_resolver_avoids_incompatible_wheel_tags_in_constraint_url( function test_new_resolver_direct_url_equivalent (line 2078) | def test_new_resolver_direct_url_equivalent( function test_new_resolver_direct_url_with_extras (line 2118) | def test_new_resolver_direct_url_with_extras( function test_new_resolver_modifies_installed_incompatible (line 2161) | def test_new_resolver_modifies_installed_incompatible( function test_new_resolver_transitively_depends_on_unnamed_local (line 2197) | def test_new_resolver_transitively_depends_on_unnamed_local( function _to_localhost_uri (line 2231) | def _to_localhost_uri(path: pathlib.Path) -> str: function test_new_resolver_file_url_normalize (line 2251) | def test_new_resolver_file_url_normalize( function test_new_resolver_dont_backtrack_on_extra_if_base_constrained (line 2279) | def test_new_resolver_dont_backtrack_on_extra_if_base_constrained( function test_new_resolver_dont_backtrack_on_extra_if_base_constrained_in_requirement (line 2304) | def test_new_resolver_dont_backtrack_on_extra_if_base_constrained_in_req... function test_new_resolver_dont_backtrack_on_conflicting_constraints_on_extras (line 2342) | def test_new_resolver_dont_backtrack_on_conflicting_constraints_on_extras( function test_new_resolver_respect_user_requested_if_extra_is_installed (line 2399) | def test_new_resolver_respect_user_requested_if_extra_is_installed( function test_new_resolver_constraint_on_link_with_extra (line 2434) | def test_new_resolver_constraint_on_link_with_extra( function test_new_resolver_constraint_on_link_with_extra_indirect (line 2455) | def test_new_resolver_constraint_on_link_with_extra_indirect( function test_new_resolver_do_not_backtrack_on_build_failure (line 2479) | def test_new_resolver_do_not_backtrack_on_build_failure( function test_new_resolver_works_when_failing_package_builds_are_disallowed (line 2498) | def test_new_resolver_works_when_failing_package_builds_are_disallowed( function test_new_resolver_comes_from_with_extra (line 2522) | def test_new_resolver_comes_from_with_extra( FILE: tests/functional/test_new_resolver_errors.py function test_new_resolver_conflict_requirements_file (line 12) | def test_new_resolver_conflict_requirements_file( function test_new_resolver_conflict_constraints_file (line 48) | def test_new_resolver_conflict_constraints_file( function test_new_resolver_requires_python_error (line 74) | def test_new_resolver_requires_python_error(script: PipTestEnvironment) ... function test_new_resolver_checks_requires_python_before_dependencies (line 102) | def test_new_resolver_checks_requires_python_before_dependencies( function test_new_resolver_no_versions_available_hint (line 140) | def test_new_resolver_no_versions_available_hint(script: PipTestEnvironm... FILE: tests/functional/test_new_resolver_hashes.py function _create_find_links (line 18) | def _create_find_links(script: PipTestEnvironment) -> _FindLinks: function test_new_resolver_hash_intersect (line 60) | def test_new_resolver_hash_intersect( function test_new_resolver_hash_intersect_from_constraint (line 89) | def test_new_resolver_hash_intersect_from_constraint( function test_new_resolver_hash_intersect_empty (line 143) | def test_new_resolver_hash_intersect_empty( function test_new_resolver_hash_intersect_empty_from_constraint (line 186) | def test_new_resolver_hash_intersect_empty_from_constraint( function test_new_resolver_hash_requirement_and_url_constraint_can_succeed (line 220) | def test_new_resolver_hash_requirement_and_url_constraint_can_succeed( function test_new_resolver_hash_requirement_and_url_constraint_can_fail (line 255) | def test_new_resolver_hash_requirement_and_url_constraint_can_fail( function test_new_resolver_hash_with_extras (line 295) | def test_new_resolver_hash_with_extras(script: PipTestEnvironment) -> None: FILE: tests/functional/test_new_resolver_target.py function make_fake_wheel (line 17) | def make_fake_wheel(script: PipTestEnvironment) -> MakeFakeWheel: function test_new_resolver_target_checks_compatibility_failure (line 37) | def test_new_resolver_target_checks_compatibility_failure( FILE: tests/functional/test_new_resolver_user.py function test_new_resolver_install_user (line 11) | def test_new_resolver_install_user(script: PipTestEnvironment) -> None: function test_new_resolver_install_user_satisfied_by_global_site (line 26) | def test_new_resolver_install_user_satisfied_by_global_site( function test_new_resolver_install_user_conflict_in_user_site (line 57) | def test_new_resolver_install_user_conflict_in_user_site( function patch_dist_in_site_packages (line 95) | def patch_dist_in_site_packages(virtualenv: VirtualEnvironment) -> None: function test_new_resolver_install_user_reinstall_global_site (line 112) | def test_new_resolver_install_user_reinstall_global_site( function test_new_resolver_install_user_conflict_in_global_site (line 147) | def test_new_resolver_install_user_conflict_in_global_site( function test_new_resolver_install_user_conflict_in_global_and_user_sites (line 184) | def test_new_resolver_install_user_conflict_in_global_and_user_sites( FILE: tests/functional/test_no_color.py function test_no_color (line 17) | def test_no_color(script: PipTestEnvironment) -> None: FILE: tests/functional/test_pep517.py function make_project (line 24) | def make_project( function test_backend (line 43) | def test_backend(tmpdir: Path, data: TestData) -> None: function test_backend_path (line 71) | def test_backend_path(tmpdir: Path, data: TestData) -> None: function test_backend_path_and_dep (line 86) | def test_backend_path_and_dep(tmpdir: Path, data: TestData) -> None: function test_pep517_install (line 108) | def test_pep517_install( function test_pep517_install_with_reqs (line 120) | def test_pep517_install_with_reqs( function test_conflicting_pep517_backend_requirements (line 141) | def test_conflicting_pep517_backend_requirements( function test_no_check_build_deps (line 167) | def test_no_check_build_deps( function test_validate_missing_pep517_backend_requirements (line 187) | def test_validate_missing_pep517_backend_requirements( function test_validate_conflicting_pep517_backend_requirements (line 208) | def test_validate_conflicting_pep517_backend_requirements( function test_pep517_backend_requirements_satisfied_by_prerelease (line 231) | def test_pep517_backend_requirements_satisfied_by_prerelease( function test_pep517_backend_requirements_already_satisfied (line 251) | def test_pep517_backend_requirements_already_satisfied( function test_pep517_install_with_no_cache_dir (line 268) | def test_pep517_install_with_no_cache_dir( function make_pyproject_with_setup (line 285) | def make_pyproject_with_setup( function test_no_build_system_section (line 325) | def test_no_build_system_section( function test_no_build_backend_entry (line 336) | def test_no_build_backend_entry( function test_explicit_setuptools_backend (line 347) | def test_explicit_setuptools_backend( function test_nested_builds (line 359) | def test_nested_builds(script: PipTestEnvironment, flag: str, data: Test... FILE: tests/functional/test_pep660.py function _make_project (line 65) | def _make_project( function _assert_hook_called (line 87) | def _assert_hook_called(project_dir: Path, hook: str) -> None: function _assert_hook_called_with_config_settings (line 92) | def _assert_hook_called_with_config_settings( function _assert_hook_not_called (line 102) | def _assert_hook_not_called(project_dir: Path, hook: str) -> None: function test_install_pep517_basic (line 107) | def test_install_pep517_basic(tmpdir: Path, script: PipTestEnvironment) ... function test_install_pep660_basic (line 122) | def test_install_pep660_basic(tmpdir: Path, script: PipTestEnvironment) ... function test_install_pep660_from_reqs_file (line 144) | def test_install_pep660_from_reqs_file( function test_install_no_pep660 (line 169) | def test_install_no_pep660( function test_wheel_editable_pep660_basic (line 195) | def test_wheel_editable_pep660_basic(tmpdir: Path, script: PipTestEnviro... function test_download_editable_pep660_basic (line 218) | def test_download_editable_pep660_basic( FILE: tests/functional/test_pep668.py function patch_check_externally_managed (line 12) | def patch_check_externally_managed(virtualenv: VirtualEnvironment) -> None: function test_fails (line 39) | def test_fails(script: PipTestEnvironment, arguments: list[str]) -> None: function test_succeeds_when_overridden (line 53) | def test_succeeds_when_overridden( function test_allows_if_out_of_environment (line 69) | def test_allows_if_out_of_environment( function test_allows_install_dry_run (line 80) | def test_allows_install_dry_run( FILE: tests/functional/test_pip_runner_script.py function test_runner_work_in_environments_with_no_pip (line 9) | def test_runner_work_in_environments_with_no_pip( FILE: tests/functional/test_proxy.py class AccessLogPlugin (line 20) | class AccessLogPlugin(HttpProxyBasePlugin): method on_access_log (line 21) | def on_access_log(self, context: dict[str, Any]) -> None: function test_proxy_overrides_env (line 26) | def test_proxy_overrides_env( function test_proxy_does_not_override_netrc (line 50) | def test_proxy_does_not_override_netrc( function test_build_deps_use_proxy_from_cli (line 103) | def test_build_deps_use_proxy_from_cli( FILE: tests/functional/test_python_option.py function test_python_interpreter (line 9) | def test_python_interpreter( function test_error_python_option_wrong_location (line 44) | def test_error_python_option_wrong_location( FILE: tests/functional/test_search.py function test_version_compare (line 17) | def test_version_compare() -> None: function test_pypi_xml_transformation (line 26) | def test_pypi_xml_transformation() -> None: function test_basic_search (line 66) | def test_basic_search(script: PipTestEnvironment) -> None: function test_multiple_search (line 85) | def test_multiple_search(script: PipTestEnvironment) -> None: function test_search_missing_argument (line 96) | def test_search_missing_argument(script: PipTestEnvironment) -> None: function test_run_method_should_return_success_when_find_packages (line 106) | def test_run_method_should_return_success_when_find_packages() -> None: function test_run_method_should_return_no_matches_found_when_does_not_find_pkgs (line 120) | def test_run_method_should_return_no_matches_found_when_does_not_find_pk... function test_search_should_exit_status_code_zero_when_find_packages (line 134) | def test_search_should_exit_status_code_zero_when_find_packages( function test_search_exit_status_code_when_finds_no_package (line 146) | def test_search_exit_status_code_when_finds_no_package( function test_latest_prerelease_install_message (line 157) | def test_latest_prerelease_install_message( function test_search_print_results_should_contain_latest_versions (line 186) | def test_search_print_results_should_contain_latest_versions( FILE: tests/functional/test_self_update.py function test_self_update_editable (line 7) | def test_self_update_editable(script: Any, pip_src: Any, common_wheels: ... FILE: tests/functional/test_show.py function test_basic_show (line 20) | def test_basic_show(script: PipTestEnvironment) -> None: function test_show_with_files_not_found (line 33) | def test_show_with_files_not_found(script: PipTestEnvironment, data: Tes... function test_show_with_files_from_wheel (line 51) | def test_show_with_files_from_wheel(script: PipTestEnvironment, data: Te... function test_show_with_files_from_legacy (line 64) | def test_show_with_files_from_legacy( function test_missing_argument (line 107) | def test_missing_argument(script: PipTestEnvironment) -> None: function test_find_package_not_found (line 115) | def test_find_package_not_found() -> None: function test_report_single_not_found (line 123) | def test_report_single_not_found(script: PipTestEnvironment) -> None: function test_report_mixed_not_found (line 137) | def test_report_mixed_not_found(script: PipTestEnvironment) -> None: function test_search_any_case (line 149) | def test_search_any_case() -> None: function test_more_than_one_package (line 159) | def test_more_than_one_package() -> None: function test_show_verbose_with_classifiers (line 168) | def test_show_verbose_with_classifiers(script: PipTestEnvironment) -> None: function test_show_verbose_installer (line 179) | def test_show_verbose_installer(script: PipTestEnvironment, data: TestDa... function test_show_verbose_project_urls (line 190) | def test_show_verbose_project_urls(script: PipTestEnvironment) -> None: function test_show_verbose (line 201) | def test_show_verbose(script: PipTestEnvironment) -> None: function test_all_fields (line 214) | def test_all_fields(script: PipTestEnvironment) -> None: function test_pip_show_is_short (line 252) | def test_pip_show_is_short(script: PipTestEnvironment) -> None: function test_pip_show_divider (line 261) | def test_pip_show_divider(script: PipTestEnvironment) -> None: function test_package_name_is_canonicalized (line 271) | def test_package_name_is_canonicalized(script: PipTestEnvironment) -> None: function test_show_required_by_packages_basic (line 281) | def test_show_required_by_packages_basic( function test_show_required_by_packages_capitalized (line 299) | def test_show_required_by_packages_capitalized( function test_show_required_by_packages_requiring_capitalized (line 318) | def test_show_required_by_packages_requiring_capitalized( function test_show_skip_work_dir_pkg (line 344) | def test_show_skip_work_dir_pkg(script: PipTestEnvironment) -> None: function test_show_include_work_dir_pkg (line 359) | def test_show_include_work_dir_pkg(script: PipTestEnvironment) -> None: function test_show_deduplicate_requirements (line 378) | def test_show_deduplicate_requirements(script: PipTestEnvironment) -> None: function test_show_populate_homepage_from_project_urls (line 408) | def test_show_populate_homepage_from_project_urls( function test_show_license_expression (line 425) | def test_show_license_expression(script: PipTestEnvironment, data: TestD... function test_show_license_for_metadata_24 (line 436) | def test_show_license_for_metadata_24( FILE: tests/functional/test_truststore.py function pip_no_truststore (line 11) | def pip_no_truststore(script: PipTestEnvironment) -> PipRunner: function test_no_truststore_can_install (line 27) | def test_no_truststore_can_install( FILE: tests/functional/test_uninstall.py function test_basic_uninstall (line 27) | def test_basic_uninstall(script: PipTestEnvironment, data: TestData) -> ... function test_basic_uninstall_distutils (line 44) | def test_basic_uninstall_distutils(script: PipTestEnvironment) -> None: function test_basic_uninstall_with_scripts (line 80) | def test_basic_uninstall_with_scripts(script: PipTestEnvironment) -> None: function test_uninstall_invalid_parameter (line 101) | def test_uninstall_invalid_parameter( function test_uninstall_easy_install_after_import (line 117) | def test_uninstall_easy_install_after_import(script: PipTestEnvironment)... function test_uninstall_trailing_newline (line 146) | def test_uninstall_trailing_newline(script: PipTestEnvironment) -> None: function test_basic_uninstall_namespace_package (line 181) | def test_basic_uninstall_namespace_package(script: PipTestEnvironment) -... function test_uninstall_overlapping_package (line 198) | def test_uninstall_overlapping_package( function test_uninstall_entry_point_colon_in_name (line 245) | def test_uninstall_entry_point_colon_in_name( function test_uninstall_gui_scripts (line 279) | def test_uninstall_gui_scripts(script: PipTestEnvironment) -> None: function test_uninstall_console_scripts (line 303) | def test_uninstall_console_scripts(script: PipTestEnvironment) -> None: function test_uninstall_console_scripts_uppercase_name (line 329) | def test_uninstall_console_scripts_uppercase_name(script: PipTestEnviron... function test_uninstall_easy_installed_console_scripts (line 357) | def test_uninstall_easy_installed_console_scripts(script: PipTestEnviron... function test_uninstall_editable_from_svn (line 382) | def test_uninstall_editable_from_svn(script: PipTestEnvironment, tmpdir:... function test_uninstall_editable_with_source_outside_venv (line 408) | def test_uninstall_editable_with_source_outside_venv( function _test_uninstall_editable_with_source_outside_venv (line 426) | def _test_uninstall_editable_with_source_outside_venv( function test_uninstall_from_reqs_file (line 451) | def test_uninstall_from_reqs_file(script: PipTestEnvironment, tmpdir: Pa... function test_uninstallpathset_no_paths (line 497) | def test_uninstallpathset_no_paths(caplog: pytest.LogCaptureFixture) -> ... function test_uninstall_non_local_distutils (line 516) | def test_uninstall_non_local_distutils( function test_uninstall_wheel (line 538) | def test_uninstall_wheel(script: PipTestEnvironment, data: TestData) -> ... function test_uninstall_without_record_fails (line 562) | def test_uninstall_without_record_fails( function test_uninstall_with_symlink (line 607) | def test_uninstall_with_symlink( function test_uninstall_setuptools_develop_install (line 630) | def test_uninstall_setuptools_develop_install( function test_uninstall_editable_and_pip_install (line 656) | def test_uninstall_editable_and_pip_install( function move_easy_install_pth (line 688) | def move_easy_install_pth(script: PipTestEnvironment) -> Iterator[None]: function test_uninstall_editable_and_pip_install_easy_install_remove (line 698) | def test_uninstall_editable_and_pip_install_easy_install_remove( function test_uninstall_ignores_missing_packages (line 735) | def test_uninstall_ignores_missing_packages( function test_uninstall_ignores_missing_packages_and_uninstalls_rest (line 750) | def test_uninstall_ignores_missing_packages_and_uninstalls_rest( FILE: tests/functional/test_uninstall_user.py class Tests_UninstallUserSite (line 18) | class Tests_UninstallUserSite: method test_uninstall_from_usersite (line 20) | def test_uninstall_from_usersite(self, script: PipTestEnvironment) -> ... method test_uninstall_from_usersite_with_dist_in_global_site (line 28) | def test_uninstall_from_usersite_with_dist_in_global_site( method test_uninstall_editable_from_usersite (line 85) | def test_uninstall_editable_from_usersite( FILE: tests/functional/test_uploaded_prior_to.py class TestUploadedPriorTo (line 16) | class TestUploadedPriorTo: method test_uploaded_prior_to_invalid_date (line 19) | def test_uploaded_prior_to_invalid_date( method test_uploaded_prior_to_file_index_no_upload_time (line 28) | def test_uploaded_prior_to_file_index_no_upload_time( method test_uploaded_prior_to_http_index_no_upload_time (line 43) | def test_uploaded_prior_to_http_index_no_upload_time( method test_uploaded_prior_to_with_real_pypi (line 67) | def test_uploaded_prior_to_with_real_pypi(self, script: PipTestEnviron... method test_uploaded_prior_to_date_formats (line 92) | def test_uploaded_prior_to_date_formats(self, script: PipTestEnvironme... method test_uploaded_prior_to_allows_local_files (line 112) | def test_uploaded_prior_to_allows_local_files( method test_uploaded_prior_to_allows_find_links (line 127) | def test_uploaded_prior_to_allows_find_links( FILE: tests/functional/test_vcs_bazaar.py function test_ensure_bzr_available (line 21) | def test_ensure_bzr_available() -> None: function test_get_remote_url__no_remote (line 27) | def test_get_remote_url__no_remote(script: PipTestEnvironment, tmpdir: P... FILE: tests/functional/test_vcs_git.py function test_get_backend_for_scheme (line 21) | def test_get_backend_for_scheme() -> None: function get_head_sha (line 25) | def get_head_sha(script: PipTestEnvironment, dest: str) -> str: function checkout_ref (line 33) | def checkout_ref(script: PipTestEnvironment, repo_dir: str, ref: str) ->... function checkout_new_branch (line 37) | def checkout_new_branch(script: PipTestEnvironment, repo_dir: str, branc... function do_commit (line 47) | def do_commit(script: PipTestEnvironment, dest: str) -> str: function add_commits (line 52) | def add_commits(script: PipTestEnvironment, dest: str, count: int) -> li... function check_rev (line 62) | def check_rev(repo_dir: str, rev: str, expected: tuple[str | None, bool]... function test_git_dir_ignored (line 66) | def test_git_dir_ignored(tmpdir: pathlib.Path) -> None: function test_git_work_tree_ignored (line 80) | def test_git_work_tree_ignored(tmpdir: pathlib.Path) -> None: function test_get_remote_url (line 96) | def test_get_remote_url(script: PipTestEnvironment, tmpdir: pathlib.Path... function test_get_remote_url__no_remote (line 112) | def test_get_remote_url__no_remote( function test_get_current_branch (line 128) | def test_get_current_branch(script: PipTestEnvironment) -> None: function test_get_current_branch__branch_and_tag_same_name (line 146) | def test_get_current_branch__branch_and_tag_same_name( function test_get_revision_sha (line 167) | def test_get_revision_sha(script: PipTestEnvironment) -> None: function test_is_commit_id_equal (line 223) | def test_is_commit_id_equal(script: PipTestEnvironment) -> None: function test_is_immutable_rev_checkout (line 239) | def test_is_immutable_rev_checkout(script: PipTestEnvironment) -> None: function test_get_repository_root (line 251) | def test_get_repository_root(script: PipTestEnvironment) -> None: function test_resolve_commit_not_on_branch (line 265) | def test_resolve_commit_not_on_branch( function _initialize_clonetest_server (line 302) | def _initialize_clonetest_server( function test_git_parse_fail_warning (line 331) | def test_git_parse_fail_warning( function test_partial_clone (line 351) | def test_partial_clone(script: PipTestEnvironment, tmp_path: pathlib.Pat... function test_partial_clone_without_server_support (line 393) | def test_partial_clone_without_server_support( function test_clone_without_partial_clone_support (line 436) | def test_clone_without_partial_clone_support( FILE: tests/functional/test_vcs_mercurial.py function test_get_repository_root (line 9) | def test_get_repository_root(script: PipTestEnvironment) -> None: FILE: tests/functional/test_vcs_subversion.py function test_get_remote_url__no_remote (line 12) | def test_get_remote_url__no_remote(script: PipTestEnvironment, tmpdir: P... function test_get_remote_url__no_remote_with_setup (line 24) | def test_get_remote_url__no_remote_with_setup( FILE: tests/functional/test_warning.py function warnings_demo (line 12) | def warnings_demo(tmpdir: Path) -> Path: function test_deprecation_warnings_are_correct (line 30) | def test_deprecation_warnings_are_correct( function test_deprecation_warnings_can_be_silenced (line 38) | def test_deprecation_warnings_can_be_silenced( function test_version_warning_is_not_shown_if_python_version_is_not_2 (line 50) | def test_version_warning_is_not_shown_if_python_version_is_not_2( function test_flag_does_nothing_if_python_version_is_not_2 (line 58) | def test_flag_does_nothing_if_python_version_is_not_2( function test_pip_works_with_warnings_as_errors (line 67) | def test_pip_works_with_warnings_as_errors(script: PipTestEnvironment) -... FILE: tests/functional/test_wheel.py function add_files_to_dist_directory (line 20) | def add_files_to_dist_directory(folder: Path) -> None: function test_wheel_exit_status_code_when_no_requirements (line 29) | def test_wheel_exit_status_code_when_no_requirements( function test_wheel_exit_status_code_when_blank_requirements_file (line 40) | def test_wheel_exit_status_code_when_blank_requirements_file( function test_pip_wheel_success (line 50) | def test_pip_wheel_success(script: PipTestEnvironment, data: TestData) -... function test_pip_wheel_success_with_dependency_group (line 74) | def test_pip_wheel_success_with_dependency_group( function test_pip_wheel_build_cache (line 110) | def test_pip_wheel_build_cache(script: PipTestEnvironment, data: TestDat... function test_basic_pip_wheel_downloads_wheels (line 141) | def test_basic_pip_wheel_downloads_wheels( function test_pip_wheel_build_relative_cachedir (line 160) | def test_pip_wheel_build_relative_cachedir( function test_pip_wheel_builds_when_no_binary_set (line 179) | def test_pip_wheel_builds_when_no_binary_set( function test_pip_wheel_readonly_cache (line 198) | def test_pip_wheel_readonly_cache( function test_pip_wheel_builds_editable_deps (line 220) | def test_pip_wheel_builds_editable_deps( function test_pip_wheel_builds_editable (line 241) | def test_pip_wheel_builds_editable(script: PipTestEnvironment, data: Tes... function test_pip_wheel_git_editable_keeps_clone (line 261) | def test_pip_wheel_git_editable_keeps_clone( function test_pip_wheel_builds_editable_does_not_create_zip (line 282) | def test_pip_wheel_builds_editable_does_not_create_zip( function test_pip_wheel_fail (line 306) | def test_pip_wheel_fail(script: PipTestEnvironment, data: TestData) -> N... function test_pip_wheel_source_deps (line 327) | def test_pip_wheel_source_deps(script: PipTestEnvironment, data: TestDat... function test_wheel_package_with_latin1_setup (line 347) | def test_wheel_package_with_latin1_setup( function test_pip_wheel_with_pep518_build_reqs (line 357) | def test_pip_wheel_with_pep518_build_reqs( function test_pip_wheel_with_pep518_build_reqs_no_isolation (line 376) | def test_pip_wheel_with_pep518_build_reqs_no_isolation( function test_pip_wheel_with_user_set_in_config (line 395) | def test_pip_wheel_with_user_set_in_config( function test_pip_wheel_ext_module_with_tmpdir_inside (line 411) | def test_pip_wheel_ext_module_with_tmpdir_inside( function test_pep517_wheels_are_not_confused_with_other_files (line 428) | def test_pep517_wheels_are_not_confused_with_other_files( function test_legacy_wheels_are_not_confused_with_other_files (line 451) | def test_legacy_wheels_are_not_confused_with_other_files( FILE: tests/lib/__init__.py function make_test_search_scope (line 57) | def make_test_search_scope( function make_test_link_collector (line 73) | def make_test_link_collector( function make_test_finder (line 92) | def make_test_finder( class TestData (line 127) | class TestData: method __init__ (line 141) | def __init__( method copy (line 150) | def copy(cls, root: pathlib.Path) -> TestData: method reset (line 155) | def reset(self) -> None: method packages (line 163) | def packages(self) -> pathlib.Path: method packages2 (line 167) | def packages2(self) -> pathlib.Path: method packages3 (line 171) | def packages3(self) -> pathlib.Path: method pypi_packages (line 175) | def pypi_packages(self) -> pathlib.Path: method src (line 179) | def src(self) -> pathlib.Path: method indexes (line 183) | def indexes(self) -> pathlib.Path: method reqfiles (line 187) | def reqfiles(self) -> pathlib.Path: method completion_paths (line 191) | def completion_paths(self) -> pathlib.Path: method find_links (line 195) | def find_links(self) -> str: method find_links2 (line 199) | def find_links2(self) -> str: method find_links3 (line 203) | def find_links3(self) -> str: method backends (line 207) | def backends(self) -> str: method index_url (line 210) | def index_url(self, index: str = "simple") -> str: method common_wheels (line 214) | def common_wheels(self) -> pathlib.Path: class TestFailure (line 220) | class TestFailure(AssertionError): class FoundFiles (line 229) | class FoundFiles(Mapping[StrPath, FoundFile]): method __init__ (line 230) | def __init__(self, paths: Mapping[str, FoundFile]) -> None: method __contains__ (line 233) | def __contains__(self, o: object) -> bool: method __len__ (line 240) | def __len__(self) -> int: method __getitem__ (line 243) | def __getitem__(self, k: StrPath) -> FoundFile: method __iter__ (line 250) | def __iter__(self) -> Iterator[pathlib.Path]: class TestPipResult (line 254) | class TestPipResult: method __init__ (line 257) | def __init__(self, impl: ProcResult, verbose: bool = False) -> None: method __getattr__ (line 267) | def __getattr__(self, attr: str) -> Any: method stdout (line 273) | def stdout(self) -> str: method stderr (line 277) | def stderr(self) -> str: method __str__ (line 280) | def __str__(self) -> str: method __str__ (line 286) | def __str__(self) -> str: method files_created (line 290) | def files_created(self) -> FoundFiles: method files_updated (line 294) | def files_updated(self) -> FoundFiles: method files_deleted (line 298) | def files_deleted(self) -> FoundFiles: method get_created_direct_url_path (line 301) | def get_created_direct_url_path(self, pkg: str) -> Path | None: method get_created_direct_url (line 312) | def get_created_direct_url(self, pkg: str) -> DirectUrl | None: method assert_installed (line 319) | def assert_installed( method did_create (line 392) | def did_create(self, path: StrPath, message: str | None = None) -> None: method did_not_create (line 395) | def did_not_create(self, p: StrPath, message: str | None = None) -> None: method did_update (line 398) | def did_update(self, path: StrPath, message: str | None = None) -> None: method did_not_update (line 401) | def did_not_update(self, p: StrPath, message: str | None = None) -> None: function _one_or_both (line 405) | def _one_or_both(a: str | None, b: Any) -> str: function make_check_stderr_message (line 413) | def make_check_stderr_message(stderr: str, line: str, reason: str) -> str: function _check_stderr (line 426) | def _check_stderr( class PipTestEnvironment (line 477) | class PipTestEnvironment(TestFileEnvironment): method __init__ (line 494) | def __init__( method _ignore_file (line 581) | def _ignore_file(self, fn: str) -> bool: method _find_traverse (line 592) | def _find_traverse(self, path: str, result: dict[str, FoundDir]) -> None: method run (line 602) | def run( method pip (line 692) | def pip( method pip_install_local (line 711) | def pip_install_local( method pip_install_local_report (line 739) | def pip_install_local_report( method easy_install (line 760) | def easy_install(self, *args: str, **kwargs: Any) -> TestPipResult: method assert_installed (line 764) | def assert_installed(self, **kwargs: str) -> None: method assert_not_installed (line 773) | def assert_not_installed(self, *args: str) -> None: method assert_installed_editable (line 781) | def assert_installed_editable(self, dist_name: str) -> None: method temporary_file (line 792) | def temporary_file( method temporary_multiline_file (line 800) | def temporary_multiline_file( function diff_states (line 810) | def diff_states( function assert_all_changes (line 855) | def assert_all_changes( function _create_main_file (line 894) | def _create_main_file( function _git_commit (line 916) | def _git_commit( function _vcs_add (line 954) | def _vcs_add( function _create_test_package_with_subdirectory (line 1012) | def _create_test_package_with_subdirectory( function _create_test_package_with_srcdir (line 1061) | def _create_test_package_with_srcdir( function _create_test_package (line 1089) | def _create_test_package( function _create_svn_repo (line 1112) | def _create_svn_repo(repo_path: pathlib.Path, version_pkg_path: StrPath)... function _change_test_package_version (line 1131) | def _change_test_package_version( function requirements_file (line 1142) | def requirements_file(contents: str, tmpdir: pathlib.Path) -> Iterator[p... function create_test_package_with_setup (line 1156) | def create_test_package_with_setup( function urlsafe_b64encode_nopad (line 1174) | def urlsafe_b64encode_nopad(data: bytes) -> str: function create_really_basic_wheel (line 1178) | def create_really_basic_wheel(name: str, version: str) -> bytes: function create_basic_wheel_for_package (line 1216) | def create_basic_wheel_for_package( function create_basic_sdist_for_package (line 1276) | def create_basic_sdist_for_package( function need_executable (line 1338) | def need_executable(name: str, check_cmd: tuple[str, ...]) -> Callable[[... function is_bzr_installed (line 1349) | def is_bzr_installed() -> bool: function is_svn_installed (line 1357) | def is_svn_installed() -> bool: function need_bzr (line 1365) | def need_bzr(fn: _Test) -> _Test: function need_svn (line 1369) | def need_svn(fn: _Test) -> _Test: function need_mercurial (line 1377) | def need_mercurial(fn: _Test) -> _Test: class InMemoryPipResult (line 1381) | class InMemoryPipResult: method __init__ (line 1382) | def __init__(self, returncode: int, stdout: str) -> None: class InMemoryPip (line 1387) | class InMemoryPip: method pip (line 1388) | def pip(self, *args: str | pathlib.Path) -> InMemoryPipResult: class ScriptFactory (line 1406) | class ScriptFactory(Protocol): method __call__ (line 1407) | def __call__( FILE: tests/lib/certs.py function make_tls_cert (line 10) | def make_tls_cert(hostname: str) -> tuple[x509.Certificate, rsa.RSAPriva... function serialize_key (line 49) | def serialize_key(key: rsa.RSAPrivateKey) -> bytes: function serialize_cert (line 57) | def serialize_cert(cert: x509.Certificate) -> bytes: FILE: tests/lib/compat.py function blocked_signals (line 17) | def blocked_signals() -> Iterator[None]: FILE: tests/lib/configuration_helpers.py class ConfigurationMixin (line 19) | class ConfigurationMixin: method setup_method (line 20) | def setup_method(self) -> None: method patch_configuration (line 25) | def patch_configuration(self, variant: Kind, di: dict[str, Any]) -> None: method tmpfile (line 45) | def tmpfile(self, contents: str) -> Iterator[str]: FILE: tests/lib/filesystem.py function get_filelist (line 13) | def get_filelist(base: str) -> set[str]: function chmod (line 26) | def chmod(path: str | Path, mode: int) -> Iterator[None]: function create_file (line 36) | def create_file(path: str | Path, contents: str | None = None) -> None: FILE: tests/lib/git_submodule_helpers.py function _create_test_package_submodule (line 8) | def _create_test_package_submodule(env: PipTestEnvironment) -> Path: function _change_test_package_submodule (line 19) | def _change_test_package_submodule( function _pull_in_submodule_changes_to_module (line 28) | def _pull_in_submodule_changes_to_module( function _create_test_package_with_submodule (line 41) | def _create_test_package_with_submodule( FILE: tests/lib/index.py function make_mock_candidate (line 7) | def make_mock_candidate( FILE: tests/lib/local_repos.py function _create_svn_initools_repo (line 10) | def _create_svn_initools_repo(initools_dir: str) -> None: function local_checkout (line 30) | def local_checkout( function local_repo (line 68) | def local_repo(remote_repo: str, temp_path: Path) -> str: FILE: tests/lib/options_helpers.py class FakeCommand (line 10) | class FakeCommand(Command): method main (line 11) | def main( # type: ignore[override] class AddFakeCommandMixin (line 22) | class AddFakeCommandMixin: method setup_method (line 23) | def setup_method(self) -> None: method teardown_method (line 30) | def teardown_method(self) -> None: FILE: tests/lib/requests_mocks.py class FakeStream (line 12) | class FakeStream: method __init__ (line 13) | def __init__(self, contents: bytes) -> None: method read (line 16) | def read(self, size: int, decode_content: bool | None = None) -> bytes: method stream (line 19) | def stream(self, size: int, decode_content: bool | None = None) -> Ite... method release_conn (line 22) | def release_conn(self) -> None: class MockResponse (line 26) | class MockResponse: method __init__ (line 31) | def __init__(self, contents: bytes) -> None: class MockConnection (line 41) | class MockConnection: method _send (line 42) | def _send(self, req: MockRequest, **kwargs: Any) -> MockResponse: method send (line 45) | def send(self, req: MockRequest, **kwargs: Any) -> MockResponse: class MockRequest (line 52) | class MockRequest: method __init__ (line 53) | def __init__(self, url: str) -> None: method register_hook (line 58) | def register_hook(self, event_name: str, callback: _Hook) -> None: FILE: tests/lib/server.py function patch_getfqdn (line 23) | def patch_getfqdn() -> Iterator[None]: class _MockServer (line 35) | class _MockServer(BaseWSGIServer): class _RequestHandler (line 39) | class _RequestHandler(WSGIRequestHandler): method make_environ (line 40) | def make_environ(self) -> dict[str, Any]: function _mock_wsgi_adapter (line 64) | def _mock_wsgi_adapter( function make_mock_server (line 81) | def make_mock_server(**kwargs: Any) -> _MockServer: function server_running (line 122) | def server_running(server: BaseWSGIServer) -> Iterator[None]: function text_html_response (line 138) | def text_html_response(text: str) -> "WSGIApplication": function html5_page (line 151) | def html5_page(text: str) -> str: function package_page (line 168) | def package_page(spec: dict[str, str]) -> "WSGIApplication": function file_response (line 176) | def file_response(path: pathlib.Path) -> "WSGIApplication": function authorization_response (line 190) | def authorization_response(path: pathlib.Path) -> "WSGIApplication": class MockServer (line 209) | class MockServer: method __init__ (line 210) | def __init__(self, server: _MockServer) -> None: method port (line 216) | def port(self) -> int: method host (line 220) | def host(self) -> str: method set_responses (line 223) | def set_responses(self, responses: Iterable["WSGIApplication"]) -> None: method start (line 227) | def start(self) -> None: method _set_running (line 233) | def _set_running(self) -> Iterator[None]: method stop (line 240) | def stop(self) -> None: method get_requests (line 244) | def get_requests(self) -> list[dict[str, str]]: FILE: tests/lib/test_lib.py function assert_error_startswith (line 18) | def assert_error_startswith( function test_tmp_dir_exists_in_env (line 30) | def test_tmp_dir_exists_in_env(script: PipTestEnvironment) -> None: function test_correct_pip_version (line 42) | def test_correct_pip_version(script: PipTestEnvironment) -> None: function test_as_import (line 82) | def test_as_import(script: PipTestEnvironment) -> None: class TestPipTestEnvironment (line 91) | class TestPipTestEnvironment: method run_stderr_with_prefix (line 92) | def run_stderr_with_prefix( method run_with_log_command (line 103) | def run_with_log_command( method test_run__allowed_stderr (line 125) | def test_run__allowed_stderr(self, script: PipTestEnvironment, prefix:... method test_run__allow_stderr_warning (line 132) | def test_run__allow_stderr_warning(self, script: PipTestEnvironment) -... method test_run__allow_stderr_error (line 159) | def test_run__allow_stderr_error( method test_run__unexpected_stderr (line 175) | def test_run__unexpected_stderr( method test_run__logging_error (line 184) | def test_run__logging_error(self, script: PipTestEnvironment) -> None: method test_run__allow_stderr_error_false_error_with_expect_error (line 203) | def test_run__allow_stderr_error_false_error_with_expect_error( method test_run__allow_stderr_warning_false_error_with_expect_stderr (line 213) | def test_run__allow_stderr_warning_false_error_with_expect_stderr( method test_run__allow_stderr_warning_false_error (line 236) | def test_run__allow_stderr_warning_false_error( method test_run__expect_error_fails_when_zero_returncode (line 249) | def test_run__expect_error_fails_when_zero_returncode( method test_run__no_expect_error_fails_when_nonzero_returncode (line 256) | def test_run__no_expect_error_fails_when_nonzero_returncode( FILE: tests/lib/test_wheel.py function test_message_from_dict_one_value (line 20) | def test_message_from_dict_one_value() -> None: function test_message_from_dict_multiple_values (line 25) | def test_message_from_dict_multiple_values() -> None: function message_from_bytes (line 30) | def message_from_bytes(contents: bytes) -> Message: function default_metadata_checks (line 44) | def default_metadata_checks(f: File) -> Message: function test_make_metadata_file_defaults (line 53) | def test_make_metadata_file_defaults() -> None: function test_make_metadata_file_custom_value (line 59) | def test_make_metadata_file_custom_value() -> None: function test_make_metadata_file_custom_value_list (line 66) | def test_make_metadata_file_custom_value_list() -> None: function test_make_metadata_file_custom_value_overrides (line 73) | def test_make_metadata_file_custom_value_overrides() -> None: function test_make_metadata_file_custom_contents (line 80) | def test_make_metadata_file_custom_contents() -> None: function default_wheel_metadata_checks (line 98) | def default_wheel_metadata_checks(f: File) -> Message: function test_make_wheel_metadata_file_defaults (line 108) | def test_make_wheel_metadata_file_defaults() -> None: function test_make_wheel_metadata_file_custom_value (line 114) | def test_make_wheel_metadata_file_custom_value() -> None: function test_make_wheel_metadata_file_custom_value_list (line 121) | def test_make_wheel_metadata_file_custom_value_list() -> None: function test_make_wheel_metadata_file_custom_value_override (line 128) | def test_make_wheel_metadata_file_custom_value_override() -> None: function test_make_wheel_metadata_file_custom_contents (line 135) | def test_make_wheel_metadata_file_custom_contents() -> None: function test_make_wheel_metadata_file_no_contents (line 143) | def test_make_wheel_metadata_file_no_contents() -> None: function test_make_wheel_basics (line 148) | def test_make_wheel_basics(tmpdir: Path) -> None: function test_make_wheel_default_record (line 163) | def test_make_wheel_default_record() -> None: function test_make_wheel_extra_files (line 205) | def test_make_wheel_extra_files() -> None: function test_make_wheel_no_files (line 228) | def test_make_wheel_no_files() -> None: function test_make_wheel_custom_files (line 239) | def test_make_wheel_custom_files() -> None: FILE: tests/lib/venv.py class VirtualEnvironment (line 19) | class VirtualEnvironment: method __init__ (line 25) | def __init__( method _legacy_virtualenv (line 47) | def _legacy_virtualenv(self) -> bool: method __update_paths_legacy (line 52) | def __update_paths_legacy(self) -> None: method _update_paths (line 63) | def _update_paths(self) -> None: method __repr__ (line 78) | def __repr__(self) -> str: method _create (line 81) | def _create(self, clear: bool = False) -> None: method _fix_legacy_virtualenv_site_module (line 131) | def _fix_legacy_virtualenv_site_module(self) -> None: method _customize_site (line 165) | def _customize_site(self) -> None: method _rewrite_pyvenv_cfg (line 200) | def _rewrite_pyvenv_cfg(self, replacements: dict[str, str]) -> None: method clear (line 215) | def clear(self) -> None: method move (line 218) | def move(self, location: Path | str) -> None: method sitecustomize (line 224) | def sitecustomize(self) -> str | None: method sitecustomize (line 228) | def sitecustomize(self, value: str | None) -> None: method user_site_packages (line 233) | def user_site_packages(self) -> bool: method user_site_packages (line 237) | def user_site_packages(self, value: bool) -> None: FILE: tests/lib/wheel.py class Default (line 37) | class Default(Enum): function ensure_binary (line 49) | def ensure_binary(value: bytes | str) -> bytes: function message_from_dict (line 55) | def message_from_dict(headers: dict[str, HeaderValue]) -> Message: function dist_info_path (line 70) | def dist_info_path(name: str, version: str, path: str) -> str: function make_metadata_file (line 74) | def make_metadata_file( function make_wheel_metadata_file (line 106) | def make_wheel_metadata_file( function make_entry_points_file (line 136) | def make_entry_points_file( function make_files (line 164) | def make_files(files: dict[str, bytes | str]) -> list[File]: function make_metadata_files (line 168) | def make_metadata_files( function make_data_files (line 178) | def make_data_files(name: str, version: str, files: dict[str, AnyStr]) -... function urlsafe_b64encode_nopad (line 186) | def urlsafe_b64encode_nopad(data: bytes) -> str: function digest (line 190) | def digest(contents: bytes) -> str: function record_file_maker_wrapper (line 194) | def record_file_maker_wrapper( function wheel_name (line 227) | def wheel_name( class WheelBuilder (line 246) | class WheelBuilder: method __init__ (line 249) | def __init__(self, name: str, files: Iterable[File]) -> None: method save_to_dir (line 253) | def save_to_dir(self, path: Path | str) -> str: method save_to (line 263) | def save_to(self, path: Path | str) -> str: method as_bytes (line 273) | def as_bytes(self) -> bytes: method as_zipfile (line 280) | def as_zipfile(self) -> ZipFile: method as_distribution (line 283) | def as_distribution(self, name: str) -> BaseDistribution: function make_wheel (line 290) | def make_wheel( FILE: tests/unit/metadata/test_metadata.py function test_dist_get_direct_url_no_metadata (line 24) | def test_dist_get_direct_url_no_metadata(mock_read_text: mock.Mock) -> N... function test_dist_get_direct_url_invalid_json (line 34) | def test_dist_get_direct_url_invalid_json( function test_metadata_reads_egg_info_requires_txt (line 54) | def test_metadata_reads_egg_info_requires_txt(tmp_path: Path) -> None: function test_metadata_pkg_info_requires_priority (line 66) | def test_metadata_pkg_info_requires_priority(tmp_path: Path) -> None: function test_dist_get_direct_url_valid_metadata (line 85) | def test_dist_get_direct_url_valid_metadata(mock_read_text: mock.Mock) -... function test_metadata_dict (line 97) | def test_metadata_dict(tmp_path: Path) -> None: function test_no_dist_found_in_wheel (line 111) | def test_no_dist_found_in_wheel(tmp_path: Path) -> None: function test_dist_found_in_directory_named_whl (line 117) | def test_dist_found_in_directory_named_whl(tmp_path: Path) -> None: function test_dist_found_in_zip (line 129) | def test_dist_found_in_zip(tmp_path: Path) -> None: function test_trailing_slash_directory_metadata (line 146) | def test_trailing_slash_directory_metadata(path: str) -> None: FILE: tests/unit/metadata/test_metadata_pkg_resources.py function _dist_is_local (line 23) | def _dist_is_local(dist: mock.Mock) -> bool: function _dist_in_usersite (line 27) | def _dist_in_usersite(dist: mock.Mock) -> bool: function patch_distribution_lookups (line 32) | def patch_distribution_lookups(monkeypatch: pytest.MonkeyPatch) -> None: class _MockWorkingSet (line 37) | class _MockWorkingSet(list[mock.Mock]): method require (line 38) | def require(self, name: str) -> None: function test_get_distribution (line 72) | def test_get_distribution(ws: _MockWorkingSet, req_name: str) -> None: function test_get_distribution_nonexist (line 79) | def test_get_distribution_nonexist() -> None: function test_wheel_metadata_works (line 84) | def test_wheel_metadata_works() -> None: function test_wheel_metadata_throws_on_bad_unicode (line 121) | def test_wheel_metadata_throws_on_bad_unicode() -> None: FILE: tests/unit/resolution_resolvelib/conftest.py function finder (line 25) | def finder(data: TestData) -> PackageFinder: function preparer (line 35) | def preparer(finder: PackageFinder) -> Iterator[RequirementPreparer]: function factory (line 57) | def factory(finder: PackageFinder, preparer: RequirementPreparer) -> Fac... function provider (line 72) | def provider(factory: Factory) -> PipProvider: FILE: tests/unit/resolution_resolvelib/test_provider.py class FakeCandidate (line 29) | class FakeCandidate(Candidate): method __init__ (line 32) | def __init__(self, *args: object, **kwargs: object) -> None: ... function build_req_info (line 35) | def build_req_info(name: str, parent: Candidate | None = None) -> Prefer... function build_explicit_req_info (line 46) | def build_explicit_req_info( function test_get_preference (line 155) | def test_get_preference( function test_narrow_requirement_selection (line 219) | def test_narrow_requirement_selection( FILE: tests/unit/resolution_resolvelib/test_requirement.py function _is_satisfied_by (line 27) | def _is_satisfied_by(requirement: Requirement, candidate: Candidate) -> ... function test_cases (line 36) | def test_cases(data: TestData) -> list[tuple[str, str, int]]: function test_new_resolver_requirement_has_name (line 68) | def test_new_resolver_requirement_has_name( function test_new_resolver_correct_number_of_matches (line 78) | def test_new_resolver_correct_number_of_matches( function test_new_resolver_candidates_match_requirement (line 97) | def test_new_resolver_candidates_match_requirement( function test_new_resolver_full_resolve (line 118) | def test_new_resolver_full_resolve(factory: Factory, provider: PipProvid... FILE: tests/unit/resolution_resolvelib/test_resolver.py function resolver (line 23) | def resolver(preparer: RequirementPreparer, finder: PackageFinder) -> Re... function _make_graph (line 39) | def _make_graph( function test_new_resolver_get_installation_order (line 87) | def test_new_resolver_get_installation_order( function test_new_resolver_topological_weights (line 293) | def test_new_resolver_topological_weights( FILE: tests/unit/test_appdirs.py class TestUserCacheDir (line 14) | class TestUserCacheDir: method test_user_cache_dir_win (line 16) | def test_user_cache_dir_win(self, monkeypatch: pytest.MonkeyPatch) -> ... method test_user_cache_dir_osx (line 33) | def test_user_cache_dir_osx(self, monkeypatch: pytest.MonkeyPatch) -> ... method test_user_cache_dir_linux (line 39) | def test_user_cache_dir_linux(self, monkeypatch: pytest.MonkeyPatch) -... method test_user_cache_dir_linux_override (line 46) | def test_user_cache_dir_linux_override( method test_user_cache_dir_linux_home_slash (line 55) | def test_user_cache_dir_linux_home_slash( method test_user_cache_dir_unicode (line 64) | def test_user_cache_dir_unicode(self, monkeypatch: pytest.MonkeyPatch)... class TestSiteConfigDirs (line 89) | class TestSiteConfigDirs: method test_site_config_dirs_win (line 91) | def test_site_config_dirs_win(self, monkeypatch: pytest.MonkeyPatch) -... method test_site_config_dirs_osx (line 105) | def test_site_config_dirs_osx(self, monkeypatch: pytest.MonkeyPatch) -... method test_site_config_dirs_osx_homebrew (line 113) | def test_site_config_dirs_osx_homebrew( method test_site_config_dirs_linux (line 129) | def test_site_config_dirs_linux(self, monkeypatch: pytest.MonkeyPatch)... method test_site_config_dirs_linux_override (line 138) | def test_site_config_dirs_linux_override( method test_site_config_dirs_linux_empty (line 152) | def test_site_config_dirs_linux_empty( class TestUserConfigDir (line 163) | class TestUserConfigDir: method test_user_config_dir_win_no_roaming (line 165) | def test_user_config_dir_win_no_roaming( method test_user_config_dir_win_yes_roaming (line 184) | def test_user_config_dir_win_yes_roaming( method test_user_config_dir_osx (line 202) | def test_user_config_dir_osx(self, monkeypatch: pytest.MonkeyPatch) ->... method test_user_config_dir_linux (line 214) | def test_user_config_dir_linux(self, monkeypatch: pytest.MonkeyPatch) ... method test_user_config_dir_linux_override (line 221) | def test_user_config_dir_linux_override( method test_user_config_dir_linux_home_slash (line 230) | def test_user_config_dir_linux_home_slash( FILE: tests/unit/test_base_command.py function fixed_time (line 22) | def fixed_time() -> Iterator[None]: class FakeCommand (line 31) | class FakeCommand(Command): method __init__ (line 34) | def __init__( method main (line 45) | def main(self, args: list[str]) -> int: method run (line 49) | def run(self, options: Values, args: list[str]) -> int: class FakeCommandWithUnicode (line 58) | class FakeCommandWithUnicode(FakeCommand): method run (line 61) | def run(self, options: Values, args: list[str]) -> int: class TestCommand (line 67) | class TestCommand: method call_main (line 68) | def call_main(self, capsys: pytest.CaptureFixture[str], args: list[str... method test_raise_broken_stdout (line 83) | def test_raise_broken_stdout(self, capsys: pytest.CaptureFixture[str])... method test_raise_broken_stdout__debug_logging (line 91) | def test_raise_broken_stdout__debug_logging( function test_handle_pip_version_check_called (line 104) | def test_handle_pip_version_check_called(mock_handle_version_check: Mock... function test_debug_enables_verbose_logs (line 113) | def test_debug_enables_verbose_logs() -> None: function test_log_command_success (line 119) | def test_log_command_success(fixed_time: None, tmpdir: Path) -> None: function test_log_command_error (line 128) | def test_log_command_error(fixed_time: None, tmpdir: Path) -> None: function test_log_file_command_error (line 137) | def test_log_file_command_error(fixed_time: None, tmpdir: Path) -> None: function test_log_unicode_messages (line 146) | def test_log_unicode_messages(fixed_time: None, tmpdir: Path) -> None: function test_base_command_provides_tempdir_helpers (line 156) | def test_base_command_provides_tempdir_helpers() -> None: function test_base_command_global_tempdir_cleanup (line 177) | def test_base_command_global_tempdir_cleanup(kind: str, exists: bool) ->... function test_base_command_local_tempdir_cleanup (line 200) | def test_base_command_local_tempdir_cleanup(kind: str, exists: bool) -> ... FILE: tests/unit/test_build_constraints.py class TestSubprocessBuildEnvironmentInstaller (line 17) | class TestSubprocessBuildEnvironmentInstaller: method test_deprecation_check_no_pip_constraint (line 21) | def test_deprecation_check_no_pip_constraint(self) -> None: method test_deprecation_check_empty_pip_constraint (line 33) | def test_deprecation_check_empty_pip_constraint(self) -> None: method test_deprecation_check_whitespace_pip_constraint (line 45) | def test_deprecation_check_whitespace_pip_constraint(self) -> None: method test_deprecation_check_feature_enabled (line 57) | def test_deprecation_check_feature_enabled(self) -> None: method test_deprecation_check_warning_shown (line 69) | def test_deprecation_check_warning_shown(self) -> None: method test_install_calls_deprecation_check (line 94) | def test_install_calls_deprecation_check( FILE: tests/unit/test_cache.py function test_falsey_path_none (line 11) | def test_falsey_path_none() -> None: function test_subdirectory_fragment (line 16) | def test_subdirectory_fragment(tmp_path: Path) -> None: function test_wheel_name_filter (line 26) | def test_wheel_name_filter(tmpdir: Path) -> None: function test_cache_hash (line 45) | def test_cache_hash() -> None: function test_link_to_cache (line 54) | def test_link_to_cache(tmpdir: Path) -> None: function test_get_cache_entry (line 96) | def test_get_cache_entry(tmpdir: Path) -> None: FILE: tests/unit/test_cli_colors.py function test_color_formatter_option_strings (line 6) | def test_color_formatter_option_strings() -> None: FILE: tests/unit/test_cli_spinners.py function patch_logger_level (line 19) | def patch_logger_level(level: int) -> Generator[None]: class TestRichSpinner (line 29) | class TestRichSpinner: method test_finish (line 38) | def test_finish(self, status: str, func: Callable[[], None]) -> None: method test_verbosity (line 58) | def test_verbosity(self, level: int, visible: bool) -> None: FILE: tests/unit/test_cmdoptions.py function test_convert_python_version (line 37) | def test_convert_python_version( function test_identify_python_interpreter_venv (line 44) | def test_identify_python_interpreter_venv(tmpdir: Path) -> None: function test_handle_uploaded_prior_to_with_timezone (line 77) | def test_handle_uploaded_prior_to_with_timezone( function test_handle_uploaded_prior_to_naive_gets_local_timezone (line 102) | def test_handle_uploaded_prior_to_naive_gets_local_timezone( function test_handle_uploaded_prior_to_invalid_dates (line 133) | def test_handle_uploaded_prior_to_invalid_dates(invalid_value: str) -> N... FILE: tests/unit/test_collector.py function test_get_simple_response_archive_to_naive_scheme (line 64) | def test_get_simple_response_archive_to_naive_scheme(url: str) -> None: function test_get_simple_response_archive_to_http_scheme (line 81) | def test_get_simple_response_archive_to_http_scheme( function test_get_index_content_invalid_content_type_archive (line 115) | def test_get_index_content_invalid_content_type_archive( function test_get_simple_response_archive_to_http_scheme_is_html (line 143) | def test_get_simple_response_archive_to_http_scheme_is_html( function test_get_simple_response_no_head (line 187) | def test_get_simple_response_no_head( function test_get_simple_response_dont_log_clear_text_password (line 224) | def test_get_simple_response_dont_log_clear_text_password( function test_clean_url_path (line 300) | def test_clean_url_path(path: str, expected: str, is_local_path: bool) -... function test_clean_url_path_with_local_path (line 322) | def test_clean_url_path_with_local_path(path: str, expected: str) -> None: function test_ensure_quoted_url (line 423) | def test_ensure_quoted_url(url: str, clean_url: str) -> None: function _test_parse_links_data_attribute (line 427) | def _test_parse_links_data_attribute( function test_parse_links__requires_python (line 470) | def test_parse_links__requires_python(anchor_html: str, expected: str | ... function test_parse_links_json (line 480) | def test_parse_links_json() -> None: function test_parse_links__yanked_reason (line 614) | def test_parse_links__yanked_reason(anchor_html: str, expected: str | No... function test_parse_links__metadata_file_data (line 663) | def test_parse_links__metadata_file_data( function test_parse_links_caches_same_page_by_url (line 672) | def test_parse_links_caches_same_page_by_url() -> None: function test_request_http_error (line 721) | def test_request_http_error( function test_request_retries (line 733) | def test_request_retries(caplog: pytest.LogCaptureFixture) -> None: function test_make_index_content (line 742) | def test_make_index_content() -> None: function test_get_index_content_invalid_scheme (line 763) | def test_get_index_content_invalid_scheme( function test_get_index_content_invalid_content_type (line 792) | def test_get_index_content_invalid_content_type( function make_fake_html_response (line 822) | def make_fake_html_response(url: str) -> mock.Mock: function test_get_index_content_directory_append_index (line 838) | def test_get_index_content_directory_append_index(tmpdir: Path) -> None: function test_collect_sources__file_expand_dir (line 861) | def test_collect_sources__file_expand_dir(data: TestData) -> None: function test_collect_sources__file_not_find_link (line 887) | def test_collect_sources__file_not_find_link(data: TestData) -> None: function test_collect_sources__non_existing_path (line 913) | def test_collect_sources__non_existing_path() -> None: function check_links_include (line 935) | def check_links_include(links: list[Link], names: list[str]) -> None: class TestLinkCollector (line 946) | class TestLinkCollector: method test_fetch_response (line 948) | def test_fetch_response(self, mock_get_simple_response: mock.Mock) -> ... method test_collect_page_sources (line 971) | def test_collect_page_sources( method test_collect_file_sources (line 1020) | def test_collect_file_sources( function test_link_collector_create (line 1079) | def test_link_collector_create( function test_link_collector_create_find_links_expansion (line 1110) | def test_link_collector_create_find_links_expansion( function test_link_hash_parsing (line 1177) | def test_link_hash_parsing(url: str, result: LinkHash | None) -> None: function test_metadata_file_info_parsing_html (line 1194) | def test_metadata_file_info_parsing_html( FILE: tests/unit/test_command_install.py class TestDecideUserInstall (line 13) | class TestDecideUserInstall: method test_prefix_and_target (line 16) | def test_prefix_and_target(self, sp_writable: mock.Mock) -> None: method test_most_cases (line 32) | def test_most_cases( function test_create_os_error_message (line 176) | def test_create_os_error_message( FILE: tests/unit/test_commands.py function check_commands (line 27) | def check_commands(pred: Callable[[Command], bool], expected: list[str])... function test_commands_dict__order (line 36) | def test_commands_dict__order() -> None: function test_create_command (line 48) | def test_create_command(name: str) -> None: function test_session_commands (line 55) | def test_session_commands() -> None: function test_index_group_commands (line 76) | def test_index_group_commands() -> None: function test_index_group_handle_pip_version_check (line 107) | def test_index_group_handle_pip_version_check( function test_requirement_commands (line 135) | def test_requirement_commands() -> None: function test_list_pip_version_check (line 149) | def test_list_pip_version_check(version_check_mock: mock.Mock, flag: str... FILE: tests/unit/test_compat.py function test_get_path_uid (line 9) | def test_get_path_uid() -> None: function test_get_path_uid_without_NOFOLLOW (line 15) | def test_get_path_uid_without_NOFOLLOW(monkeypatch: pytest.MonkeyPatch) ... function test_get_path_uid_symlink (line 24) | def test_get_path_uid_symlink(tmpdir: Path) -> None: function test_get_path_uid_symlink_without_NOFOLLOW (line 36) | def test_get_path_uid_symlink_without_NOFOLLOW( FILE: tests/unit/test_configuration.py class TestConfigurationLoading (line 14) | class TestConfigurationLoading(ConfigurationMixin): method test_global_loading (line 15) | def test_global_loading(self) -> None: method test_user_loading (line 21) | def test_user_loading(self) -> None: method test_site_loading (line 27) | def test_site_loading(self) -> None: method test_environment_config_loading (line 33) | def test_environment_config_loading(self, monkeypatch: pytest.MonkeyPa... method test_environment_var_loading (line 47) | def test_environment_var_loading(self, monkeypatch: pytest.MonkeyPatch... method test_environment_var_does_not_load_lowercase (line 54) | def test_environment_var_does_not_load_lowercase( method test_environment_var_does_not_load_version (line 63) | def test_environment_var_does_not_load_version( method test_environment_config_errors_if_malformed (line 73) | def test_environment_config_errors_if_malformed( method test_no_such_key_error_message_no_command (line 91) | def test_no_such_key_error_message_no_command(self) -> None: method test_no_such_key_error_message_missing_option (line 102) | def test_no_such_key_error_message_missing_option(self) -> None: class TestConfigurationPrecedence (line 111) | class TestConfigurationPrecedence(ConfigurationMixin): method test_env_overrides_site (line 115) | def test_env_overrides_site(self) -> None: method test_env_overrides_user (line 122) | def test_env_overrides_user(self) -> None: method test_env_overrides_global (line 129) | def test_env_overrides_global(self) -> None: method test_site_overrides_user (line 136) | def test_site_overrides_user(self) -> None: method test_site_overrides_global (line 143) | def test_site_overrides_global(self) -> None: method test_user_overrides_global (line 150) | def test_user_overrides_global(self) -> None: method test_env_not_overridden_by_environment_var (line 157) | def test_env_not_overridden_by_environment_var( method test_site_not_overridden_by_environment_var (line 168) | def test_site_not_overridden_by_environment_var( method test_user_not_overridden_by_environment_var (line 179) | def test_user_not_overridden_by_environment_var( method test_global_not_overridden_by_environment_var (line 190) | def test_global_not_overridden_by_environment_var( class TestConfigurationModification (line 202) | class TestConfigurationModification(ConfigurationMixin): method test_no_specific_given_modification (line 205) | def test_no_specific_given_modification(self) -> None: method test_site_modification (line 211) | def test_site_modification(self) -> None: method test_user_modification (line 226) | def test_user_modification(self) -> None: method test_global_modification (line 245) | def test_global_modification(self) -> None: method test_normalization (line 261) | def test_normalization(self) -> None: FILE: tests/unit/test_direct_url.py function test_from_json (line 12) | def test_from_json() -> None: function test_to_json (line 20) | def test_to_json() -> None: function test_archive_info (line 31) | def test_archive_info() -> None: function test_dir_info (line 49) | def test_dir_info() -> None: function test_vcs_info (line 66) | def test_vcs_info() -> None: function test_parsing_validation (line 84) | def test_parsing_validation() -> None: function test_redact_url (line 114) | def test_redact_url() -> None: function test_hash_to_hashes (line 145) | def test_hash_to_hashes() -> None: function test_hash_to_hashes_constructor (line 152) | def test_hash_to_hashes_constructor() -> None: FILE: tests/unit/test_direct_url_helpers.py function test_as_pep440_requirement_archive (line 15) | def test_as_pep440_requirement_archive() -> None: function test_as_pep440_requirement_dir (line 41) | def test_as_pep440_requirement_dir() -> None: function test_as_pep440_requirement_editable_dir (line 53) | def test_as_pep440_requirement_editable_dir() -> None: function test_as_pep440_requirement_vcs (line 68) | def test_as_pep440_requirement_vcs() -> None: function test_from_link_vcs (line 89) | def test_from_link_vcs(mock_get_backend_for_scheme: mock.Mock) -> None: function test_from_link_vcs_with_source_dir_obtains_commit_id (line 114) | def test_from_link_vcs_with_source_dir_obtains_commit_id(tmpdir: Path) -... function test_from_link_vcs_without_source_dir (line 131) | def test_from_link_vcs_without_source_dir() -> None: function test_from_link_archive (line 140) | def test_from_link_archive() -> None: function test_from_link_dir (line 155) | def test_from_link_dir(tmpdir: Path) -> None: function test_from_link_hide_user_password (line 162) | def test_from_link_hide_user_password() -> None: FILE: tests/unit/test_exceptions.py class TestDiagnosticPipErrorCreation (line 19) | class TestDiagnosticPipErrorCreation: method test_fails_without_reference (line 20) | def test_fails_without_reference(self) -> None: method test_can_fetch_reference_from_subclass (line 29) | def test_can_fetch_reference_from_subclass(self) -> None: method test_can_fetch_reference_from_arguments (line 36) | def test_can_fetch_reference_from_arguments(self) -> None: method test_rejects_non_kebab_case_names (line 59) | def test_rejects_non_kebab_case_names(self, name: str) -> None: function rendered_in_ascii (line 69) | def rendered_in_ascii(error: DiagnosticPipError, *, color: bool = False)... class TestDiagnosticPipErrorPresentation_ASCII (line 80) | class TestDiagnosticPipErrorPresentation_ASCII: method test_complete (line 81) | def test_complete(self) -> None: method test_complete_color (line 105) | def test_complete_color(self) -> None: method test_no_context (line 132) | def test_no_context(self) -> None: method test_no_note (line 153) | def test_no_note(self) -> None: method test_no_hint (line 176) | def test_no_hint(self) -> None: method test_no_context_no_hint (line 199) | def test_no_context_no_hint(self) -> None: method test_no_context_no_note (line 219) | def test_no_context_no_note(self) -> None: method test_no_hint_no_note (line 239) | def test_no_hint_no_note(self) -> None: method test_no_hint_no_note_no_context (line 260) | def test_no_hint_no_note_no_context(self) -> None: function rendered (line 279) | def rendered(error: DiagnosticPipError, *, color: bool = False) -> str: class TestDiagnosticPipErrorPresentation_Unicode (line 290) | class TestDiagnosticPipErrorPresentation_Unicode: method test_complete (line 291) | def test_complete(self) -> None: method test_complete_color (line 314) | def test_complete_color(self) -> None: method test_no_context (line 340) | def test_no_context(self) -> None: method test_no_note (line 361) | def test_no_note(self) -> None: method test_no_hint (line 383) | def test_no_hint(self) -> None: method test_no_context_no_hint (line 405) | def test_no_context_no_hint(self) -> None: method test_no_context_no_note (line 425) | def test_no_context_no_note(self) -> None: method test_no_hint_no_note (line 445) | def test_no_hint_no_note(self) -> None: method test_no_hint_no_note_no_context (line 465) | def test_no_hint_no_note_no_context(self) -> None: class TestExternallyManagedEnvironment (line 484) | class TestExternallyManagedEnvironment: method patch_locale (line 493) | def patch_locale(self, monkeypatch: pytest.MonkeyPatch) -> None: method marker (line 506) | def marker(self, tmp_path: pathlib.Path) -> pathlib.Path: method test_invalid_config_format (line 511) | def test_invalid_config_format( method test_config_without_key (line 533) | def test_config_without_key( method test_config_canonical (line 587) | def test_config_canonical( method test_config_canonical_no_localization (line 642) | def test_config_canonical_no_localization( FILE: tests/unit/test_finder.py function test_no_mpkg (line 28) | def test_no_mpkg(data: TestData) -> None: function test_no_partial_name_match (line 37) | def test_no_partial_name_match(data: TestData) -> None: function test_tilde (line 46) | def test_tilde() -> None: function test_duplicates_sort_ok (line 58) | def test_duplicates_sort_ok(data: TestData) -> None: function test_finder_detects_latest_find_links (line 68) | def test_finder_detects_latest_find_links(data: TestData) -> None: function test_incorrect_case_file_index (line 77) | def test_incorrect_case_file_index(data: TestData) -> None: function test_finder_detects_latest_already_satisfied_find_links (line 86) | def test_finder_detects_latest_already_satisfied_find_links(data: TestDa... function test_finder_detects_latest_already_satisfied_pypi_links (line 102) | def test_finder_detects_latest_already_satisfied_pypi_links() -> None: class TestWheel (line 118) | class TestWheel: method test_skip_invalid_wheel_link (line 119) | def test_skip_invalid_wheel_link( method test_not_find_wheel_not_supported (line 138) | def test_not_find_wheel_not_supported(self, data: TestData) -> None: method test_find_wheel_supported (line 154) | def test_find_wheel_supported( method test_wheel_over_sdist_priority (line 172) | def test_wheel_over_sdist_priority(self, data: TestData) -> None: method test_existing_over_wheel_priority (line 183) | def test_existing_over_wheel_priority(self, data: TestData) -> None: class TestCandidateEvaluator (line 201) | class TestCandidateEvaluator: method test_link_sorting (line 202) | def test_link_sorting(self) -> None: method test_link_sorting_wheels_with_build_tags (line 247) | def test_link_sorting_wheels_with_build_tags(self) -> None: method test_build_tag_is_less_important_than_other_tags (line 274) | def test_build_tag_is_less_important_than_other_tags(self) -> None: function test_finder_priority_file_over_page (line 315) | def test_finder_priority_file_over_page(data: TestData) -> None: function test_finder_priority_nonegg_over_eggfragments (line 337) | def test_finder_priority_nonegg_over_eggfragments() -> None: function test_finder_only_installs_stable_releases (line 366) | def test_finder_only_installs_stable_releases(data: TestData) -> None: function test_finder_only_installs_data_require (line 395) | def test_finder_only_installs_data_require(data: TestData) -> None: function test_finder_installs_pre_releases (line 412) | def test_finder_installs_pre_releases(data: TestData) -> None: function test_finder_installs_dev_releases (line 444) | def test_finder_installs_dev_releases(data: TestData) -> None: function test_finder_installs_pre_releases_with_version_spec (line 461) | def test_finder_installs_pre_releases_with_version_spec() -> None: class TestLinkEvaluator (line 481) | class TestLinkEvaluator: method make_test_link_evaluator (line 482) | def make_test_link_evaluator(self, formats: Iterable[str]) -> LinkEval... method test_evaluate_link__match (line 499) | def test_evaluate_link__match(self, url: str, expected_version: str) -... method test_evaluate_link__substring_fails (line 523) | def test_evaluate_link__substring_fails( function test_process_project_url (line 536) | def test_process_project_url(data: TestData) -> None: function test_find_all_candidates_nothing (line 553) | def test_find_all_candidates_nothing() -> None: function test_find_all_candidates_find_links (line 559) | def test_find_all_candidates_find_links(data: TestData) -> None: function test_find_all_candidates_index (line 565) | def test_find_all_candidates_index(data: TestData) -> None: function test_find_all_candidates_find_links_and_index (line 571) | def test_find_all_candidates_find_links_and_index(data: TestData) -> None: class TestPackageFinderUploadedPriorTo (line 581) | class TestPackageFinderUploadedPriorTo: method test_package_finder_create_with_uploaded_prior_to (line 587) | def test_package_finder_create_with_uploaded_prior_to(self) -> None: method test_package_finder_make_link_evaluator_with_uploaded_prior_to (line 597) | def test_package_finder_make_link_evaluator_with_uploaded_prior_to(sel... method test_package_finder_uploaded_prior_to_none (line 608) | def test_package_finder_uploaded_prior_to_none(self) -> None: FILE: tests/unit/test_format_control.py class SimpleCommand (line 11) | class SimpleCommand(Command): method __init__ (line 12) | def __init__(self) -> None: method add_options (line 15) | def add_options(self) -> None: method run (line 19) | def run(self, options: Values, args: list[str]) -> int: function test_no_binary_overrides (line 24) | def test_no_binary_overrides() -> None: function test_only_binary_overrides (line 31) | def test_only_binary_overrides() -> None: function test_none_resets (line 38) | def test_none_resets() -> None: function test_none_preserves_other_side (line 45) | def test_none_preserves_other_side() -> None: function test_comma_separated_values (line 52) | def test_comma_separated_values() -> None: function test_fmt_ctl_matches (line 68) | def test_fmt_ctl_matches( FILE: tests/unit/test_index.py function test_check_link_requires_python (line 47) | def test_check_link_requires_python(requires_python: str, expected: bool... function check_caplog (line 54) | def check_caplog( function test_check_link_requires_python__incompatible_python (line 86) | def test_check_link_requires_python__incompatible_python( function test_check_link_requires_python__invalid_requires (line 107) | def test_check_link_requires_python__invalid_requires( class TestLinkEvaluator (line 124) | class TestLinkEvaluator: method test_evaluate_link (line 151) | def test_evaluate_link( method test_evaluate_link__allow_yanked (line 202) | def test_evaluate_link__allow_yanked( method test_evaluate_link__incompatible_wheel (line 223) | def test_evaluate_link__incompatible_wheel(self) -> None: function test_filter_unallowed_hashes (line 255) | def test_filter_unallowed_hashes(hex_digest: str, expected_versions: lis... function test_filter_unallowed_hashes__no_hashes (line 277) | def test_filter_unallowed_hashes__no_hashes(caplog: pytest.LogCaptureFix... function test_filter_unallowed_hashes__log_message_with_match (line 301) | def test_filter_unallowed_hashes__log_message_with_match( function test_filter_unallowed_hashes__log_message_with_no_match (line 342) | def test_filter_unallowed_hashes__log_message_with_no_match( class TestLinkEvaluatorUploadedPriorTo (line 370) | class TestLinkEvaluatorUploadedPriorTo: method make_test_link_evaluator (line 376) | def make_test_link_evaluator( method test_evaluate_link_uploaded_prior_to (line 436) | def test_evaluate_link_uploaded_prior_to( method test_evaluate_link_no_upload_time_no_filter (line 458) | def test_evaluate_link_no_upload_time_no_filter(self) -> None: method test_evaluate_link_timezone_handling (line 471) | def test_evaluate_link_timezone_handling(self) -> None: method test_uploaded_prior_to_different_timezone_formats (line 503) | def test_uploaded_prior_to_different_timezone_formats( class TestCandidateEvaluator (line 523) | class TestCandidateEvaluator: method test_create (line 533) | def test_create(self, allow_all_prereleases: bool, prefer_binary: bool... method test_create__target_python_none (line 555) | def test_create__target_python_none(self) -> None: method test_create__specifier_none (line 563) | def test_create__specifier_none(self) -> None: method test_get_applicable_candidates (line 571) | def test_get_applicable_candidates(self) -> None: method test_get_applicable_candidates__hashes (line 597) | def test_get_applicable_candidates__hashes( method test_compute_best_candidate (line 623) | def test_compute_best_candidate(self) -> None: method test_compute_best_candidate__none_best (line 643) | def test_compute_best_candidate__none_best(self) -> None: method test_sort_key__hash (line 671) | def test_sort_key__hash(self, hex_digest: str | None, expected: int) -... method test_sort_key__is_yanked (line 695) | def test_sort_key__is_yanked( method test_sort_best_candidate__no_candidates (line 708) | def test_sort_best_candidate__no_candidates(self) -> None: method test_sort_best_candidate__best_yanked_but_not_all (line 716) | def test_sort_best_candidate__best_yanked_but_not_all( class TestPackageFinder (line 741) | class TestPackageFinder: method test_create__candidate_prefs (line 751) | def test_create__candidate_prefs( method test_create__link_collector (line 782) | def test_create__link_collector(self) -> None: method test_create__target_python (line 797) | def test_create__target_python(self) -> None: method test_create__target_python_none (line 817) | def test_create__target_python_none(self) -> None: method test_create__allow_yanked (line 836) | def test_create__allow_yanked(self, allow_yanked: bool) -> None: method test_create__ignore_requires_python (line 852) | def test_create__ignore_requires_python(self, ignore_requires_python: ... method test_create__format_control (line 870) | def test_create__format_control(self) -> None: method test_make_link_evaluator (line 904) | def test_make_link_evaluator( method test_make_candidate_evaluator (line 954) | def test_make_candidate_evaluator( function test_find_name_version_sep (line 1023) | def test_find_name_version_sep( function test_find_name_version_sep_failure (line 1040) | def test_find_name_version_sep_failure(fragment: str, canonical_name: st... function test_extract_version_from_fragment (line 1076) | def test_extract_version_from_fragment( FILE: tests/unit/test_link.py class TestLink (line 10) | class TestLink: method test_repr (line 20) | def test_repr(self, url: str, expected: str) -> None: method test_filename (line 48) | def test_filename(self, url: str, expected: str) -> None: method test_splitext (line 52) | def test_splitext(self) -> None: method test_no_ext (line 55) | def test_no_ext(self) -> None: method test_ext (line 58) | def test_ext(self) -> None: method test_ext_fragment (line 61) | def test_ext_fragment(self) -> None: method test_ext_query (line 64) | def test_ext_query(self) -> None: method test_is_wheel (line 67) | def test_is_wheel(self) -> None: method test_is_wheel_false (line 70) | def test_is_wheel_false(self) -> None: method test_fragments (line 73) | def test_fragments(self) -> None: method test_invalid_egg_fragments (line 100) | def test_invalid_egg_fragments(self, fragment: str) -> None: method test_invalid_egg_fragment_with_extras_and_version_hint (line 105) | def test_invalid_egg_fragment_with_extras_and_version_hint(self) -> None: method test_is_yanked (line 126) | def test_is_yanked(self, yanked_reason: str | None, expected: bool) ->... method test_is_hash_allowed (line 147) | def test_is_hash_allowed( method test_is_hash_allowed__no_hash (line 158) | def test_is_hash_allowed__no_hash(self) -> None: method test_is_hash_allowed__none_hashes (line 174) | def test_is_hash_allowed__none_hashes( method test_is_vcs (line 191) | def test_is_vcs(self, url: str, expected: bool) -> None: function test_links_equivalent (line 221) | def test_links_equivalent(url1: str, url2: str) -> None: function test_links_equivalent_false (line 245) | def test_links_equivalent_false(url1: str, url2: str) -> None: FILE: tests/unit/test_locations.py function _get_scheme_dict (line 26) | def _get_scheme_dict(*args: Any, **kwargs: Any) -> dict[str, str]: class TestLocations (line 31) | class TestLocations: method setup_method (line 32) | def setup_method(self) -> None: method teardown_method (line 38) | def teardown_method(self) -> None: method patch (line 42) | def patch(self) -> None: method revert_patch (line 60) | def revert_patch(self) -> None: method get_mock_fstat (line 70) | def get_mock_fstat(self, fd: int) -> os.stat_result: method get_mock_getpwuid (line 78) | def get_mock_getpwuid(self, uid: int) -> Any: method test_default_should_use_sysconfig (line 86) | def test_default_should_use_sysconfig( method test_vendor_overridden_should_use_sysconfig (line 96) | def test_vendor_overridden_should_use_sysconfig( class TestDistutilsScheme (line 105) | class TestDistutilsScheme: method test_root_modifies_appropriately (line 106) | def test_root_modifies_appropriately(self) -> None: method test_distutils_config_file_read (line 122) | def test_distutils_config_file_read( method test_install_lib_takes_precedence (line 148) | def test_install_lib_takes_precedence( method test_prefix_modifies_appropriately (line 170) | def test_prefix_modifies_appropriately(self) -> None: FILE: tests/unit/test_logging.py class TestIndentingFormatter (line 21) | class TestIndentingFormatter: method make_record (line 24) | def make_record(self, msg: str, level_name: str) -> logging.LogRecord: method test_format (line 47) | def test_format(self, level_name: str, expected: str) -> None: method test_format_with_timestamp (line 67) | def test_format_with_timestamp(self, level_name: str, expected: str) -... method test_format_deprecated (line 80) | def test_format_deprecated(self, level_name: str, expected: str) -> None: method test_thread_safety_base (line 92) | def test_thread_safety_base(self) -> None: method test_thread_safety_indent_log (line 109) | def test_thread_safety_indent_log(self) -> None: class TestColorizedStreamHandler (line 128) | class TestColorizedStreamHandler: method _make_log_record (line 129) | def _make_log_record(self) -> logging.LogRecord: method test_broken_pipe_in_stderr_flush (line 137) | def test_broken_pipe_in_stderr_flush(self) -> None: method test_broken_pipe_in_stdout_write (line 161) | def test_broken_pipe_in_stdout_write(self) -> None: method test_broken_pipe_in_stdout_flush (line 177) | def test_broken_pipe_in_stdout_flush(self) -> None: FILE: tests/unit/test_models.py class TestPackageIndex (line 9) | class TestPackageIndex: method test_gives_right_urls (line 12) | def test_gives_right_urls(self) -> None: method test_PyPI_urls_are_correct (line 24) | def test_PyPI_urls_are_correct(self) -> None: method test_TestPyPI_urls_are_correct (line 33) | def test_TestPyPI_urls_are_correct(self) -> None: class TestInstallationCandidate (line 43) | class TestInstallationCandidate: method test_sets_correct_variables (line 44) | def test_sets_correct_variables(self) -> None: FILE: tests/unit/test_models_wheel.py class TestWheelFile (line 10) | class TestWheelFile: method test_std_wheel_pattern (line 11) | def test_std_wheel_pattern(self) -> None: method test_wheel_pattern_multi_values (line 20) | def test_wheel_pattern_multi_values(self) -> None: method test_wheel_with_build_tag (line 34) | def test_wheel_with_build_tag(self) -> None: method test_single_digit_version (line 45) | def test_single_digit_version(self) -> None: method test_non_pep440_version (line 49) | def test_non_pep440_version(self) -> None: method test_missing_version_raises (line 53) | def test_missing_version_raises(self) -> None: method test_invalid_filename_raises (line 57) | def test_invalid_filename_raises(self) -> None: method test_supported_single_version (line 61) | def test_supported_single_version(self) -> None: method test_supported_multi_version (line 68) | def test_supported_multi_version(self) -> None: method test_not_supported_version (line 75) | def test_not_supported_version(self) -> None: method test_supported_osx_version (line 82) | def test_supported_osx_version(self) -> None: method test_not_supported_osx_version (line 94) | def test_not_supported_osx_version(self) -> None: method test_supported_multiarch_darwin (line 104) | def test_supported_multiarch_darwin(self) -> None: method test_not_supported_multiarch_darwin (line 142) | def test_not_supported_multiarch_darwin(self) -> None: method test_supported_ios_version (line 160) | def test_supported_ios_version(self) -> None: method test_not_supported_ios_version (line 172) | def test_not_supported_ios_version(self) -> None: method test_android (line 182) | def test_android(self) -> None: method test_support_index_min (line 232) | def test_support_index_min(self) -> None: method test_support_index_min__none_supported (line 246) | def test_support_index_min__none_supported(self) -> None: method test_version_underscore_conversion (line 254) | def test_version_underscore_conversion(self) -> None: method test_invalid_wheel_raises (line 261) | def test_invalid_wheel_raises(self) -> None: FILE: tests/unit/test_network_auth.py function reset_keyring (line 19) | def reset_keyring() -> Iterable[None]: function test_get_credentials_parses_correctly (line 55) | def test_get_credentials_parses_correctly( function test_get_credentials_not_to_uses_cached_credentials (line 72) | def test_get_credentials_not_to_uses_cached_credentials() -> None: function test_get_credentials_not_to_uses_cached_credentials_only_username (line 81) | def test_get_credentials_not_to_uses_cached_credentials_only_username() ... function test_get_credentials_uses_cached_credentials (line 90) | def test_get_credentials_uses_cached_credentials() -> None: function test_get_credentials_uses_cached_credentials_only_username (line 99) | def test_get_credentials_uses_cached_credentials_only_username() -> None: function test_get_index_url_credentials (line 108) | def test_get_index_url_credentials() -> None: function test_prioritize_longest_path_prefix_match_organization (line 124) | def test_prioritize_longest_path_prefix_match_organization() -> None: function test_prioritize_longest_path_prefix_match_project (line 143) | def test_prioritize_longest_path_prefix_match_project() -> None: class KeyringModuleV1 (line 163) | class KeyringModuleV1: method __init__ (line 168) | def __init__(self) -> None: method get_password (line 171) | def get_password(self, system: str, username: str) -> str | None: method set_password (line 178) | def set_password(self, system: str, username: str, password: str) -> N... function test_keyring_get_password (line 194) | def test_keyring_get_password( function test_keyring_get_password_after_prompt (line 210) | def test_keyring_get_password_after_prompt(monkeypatch: pytest.MonkeyPat... function test_keyring_get_password_after_prompt_when_none (line 224) | def test_keyring_get_password_after_prompt_when_none( function test_keyring_get_password_username_in_index (line 245) | def test_keyring_get_password_username_in_index( function test_keyring_set_password (line 278) | def test_keyring_set_password( class KeyringModuleV2 (line 331) | class KeyringModuleV2: class Credential (line 334) | class Credential: method __init__ (line 335) | def __init__(self, username: str, password: str) -> None: method get_password (line 339) | def get_password(self, system: str, username: str) -> None: method get_credential (line 342) | def get_credential(self, system: str, username: str) -> Credential | N... function test_keyring_get_credential (line 358) | def test_keyring_get_credential( class KeyringModuleBroken (line 372) | class KeyringModuleBroken: method __init__ (line 375) | def __init__(self) -> None: method get_credential (line 378) | def get_credential(self, system: str, username: str) -> None: function test_broken_keyring_disables_keyring (line 383) | def test_broken_keyring_disables_keyring(monkeypatch: pytest.MonkeyPatch... class KeyringSubprocessResult (line 400) | class KeyringSubprocessResult(KeyringModuleV1): method __call__ (line 405) | def __call__( method check_returncode (line 442) | def check_returncode(self) -> None: function test_keyring_cli_get_password (line 459) | def test_keyring_cli_get_password( function test_keyring_cli_set_password (line 493) | def test_keyring_cli_set_password( FILE: tests/unit/test_network_cache.py function cache_tmpdir (line 15) | def cache_tmpdir(tmpdir: Path) -> Path: class TestSafeFileCache (line 21) | class TestSafeFileCache: method test_cache_roundtrip (line 28) | def test_cache_roundtrip(self, cache_tmpdir: Path) -> None: method test_cache_roundtrip_body (line 41) | def test_cache_roundtrip_body(self, cache_tmpdir: Path) -> None: method test_safe_get_no_perms (line 59) | def test_safe_get_no_perms( method test_safe_set_no_perms (line 69) | def test_safe_set_no_perms(self, cache_tmpdir: Path) -> None: method test_safe_delete_no_perms (line 75) | def test_safe_delete_no_perms(self, cache_tmpdir: Path) -> None: method test_cache_hashes_are_same (line 80) | def test_cache_hashes_are_same(self, cache_tmpdir: Path) -> None: method test_cache_inherit_perms (line 94) | def test_cache_inherit_perms( method test_cache_not_inherit_perms (line 104) | def test_cache_not_inherit_perms( FILE: tests/unit/test_network_download.py function test_log_download (line 79) | def test_log_download( function test_sanitize_content_filename (line 120) | def test_sanitize_content_filename(filename: str, expected: str) -> None: function test_sanitize_content_filename__platform_dependent (line 138) | def test_sanitize_content_filename__platform_dependent( function test_parse_content_disposition (line 157) | def test_parse_content_disposition( function test_downloader (line 309) | def test_downloader( function test_resumed_download_caching (line 355) | def test_resumed_download_caching(tmpdir: Path) -> None: FILE: tests/unit/test_network_lazy_wheel.py function session (line 32) | def session() -> PipSession: function mypy_whl_no_range (line 37) | def mypy_whl_no_range(mock_server: MockServer, shared_data: TestData) ->... function test_dist_from_wheel_url (line 47) | def test_dist_from_wheel_url(session: PipSession) -> None: function test_dist_from_wheel_url_no_range (line 57) | def test_dist_from_wheel_url_no_range( function test_dist_from_wheel_url_not_zip (line 66) | def test_dist_from_wheel_url_not_zip(session: PipSession) -> None: FILE: tests/unit/test_network_session.py function get_user_agent (line 23) | def get_user_agent() -> str: function test_user_agent (line 30) | def test_user_agent() -> None: function test_user_agent__ci (line 47) | def test_user_agent__ci( function test_user_agent_user_data (line 69) | def test_user_agent_user_data(monkeypatch: pytest.MonkeyPatch) -> None: class TestPipSession (line 74) | class TestPipSession: method test_cache_defaults_off (line 75) | def test_cache_defaults_off(self) -> None: method test_cache_is_enabled (line 81) | def test_cache_is_enabled(self, tmpdir: Path) -> None: method test_http_cache_is_not_enabled (line 89) | def test_http_cache_is_not_enabled(self, tmpdir: Path) -> None: method test_trusted_hosts_adapter (line 94) | def test_trusted_hosts_adapter(self, tmpdir: Path) -> None: method test_add_trusted_host (line 107) | def test_add_trusted_host(self) -> None: method test_add_trusted_host__logging (line 163) | def test_add_trusted_host__logging(self, caplog: pytest.LogCaptureFixt... method test_iter_secure_origins (line 185) | def test_iter_secure_origins(self) -> None: method test_iter_secure_origins__trusted_hosts_empty (line 199) | def test_iter_secure_origins__trusted_hosts_empty(self) -> None: method test_is_secure_origin (line 232) | def test_is_secure_origin( method test_proxy (line 261) | def test_proxy(self, proxy: str | None) -> None: FILE: tests/unit/test_network_utils.py function test_raise_for_status_raises_exception (line 16) | def test_raise_for_status_raises_exception(status_code: int, error_type:... function test_raise_for_status_does_not_raises_exception (line 30) | def test_raise_for_status_does_not_raises_exception() -> None: FILE: tests/unit/test_operations_prepare.py function test_unpack_url_with_urllib_response_without_content_type (line 22) | def test_unpack_url_with_urllib_response_without_content_type(data: Test... function test_download_http_url__no_directory_traversal (line 61) | def test_download_http_url__no_directory_traversal( function clean_project (line 95) | def clean_project(tmpdir_factory: pytest.TempPathFactory, data: TestData... class Test_unpack_url (line 103) | class Test_unpack_url: method prep (line 104) | def prep(self, tmpdir: Path, data: TestData) -> None: method test_unpack_url_no_download (line 117) | def test_unpack_url_no_download(self, tmpdir: Path, data: TestData) ->... method test_unpack_url_bad_hash (line 123) | def test_unpack_url_bad_hash(self, tmpdir: Path, data: TestData) -> None: FILE: tests/unit/test_options.py function assert_option_error (line 23) | def assert_option_error( function assert_is_default_cache_dir (line 40) | def assert_is_default_cache_dir(value: str) -> None: class TestOptionPrecedence (line 46) | class TestOptionPrecedence(AddFakeCommandMixin): method get_config_section (line 53) | def get_config_section(self, section: str) -> list[tuple[str, str]]: method get_config_section_global (line 60) | def get_config_section_global(self, section: str) -> list[tuple[str, s... method test_env_override_default_int (line 67) | def test_env_override_default_int(self, monkeypatch: pytest.MonkeyPatc... method test_env_override_default_append (line 77) | def test_env_override_default_append( method test_env_override_default_choice (line 89) | def test_env_override_default_choice( method test_env_alias_override_default (line 101) | def test_env_alias_override_default( method test_cli_override_environment (line 114) | def test_cli_override_environment(self, monkeypatch: pytest.MonkeyPatc... method test_cache_dir__PIP_NO_CACHE_DIR (line 141) | def test_cache_dir__PIP_NO_CACHE_DIR( method test_cache_dir__PIP_NO_CACHE_DIR__with_cache_dir (line 154) | def test_cache_dir__PIP_NO_CACHE_DIR__with_cache_dir( method test_cache_dir__PIP_NO_CACHE_DIR__with_no_cache_dir (line 172) | def test_cache_dir__PIP_NO_CACHE_DIR__with_no_cache_dir( method test_cache_dir__PIP_NO_CACHE_DIR_invalid__with_no_cache_dir (line 187) | def test_cache_dir__PIP_NO_CACHE_DIR_invalid__with_no_cache_dir( class TestOptionsInterspersed (line 202) | class TestOptionsInterspersed(AddFakeCommandMixin): method test_general_option_after_subcommand (line 203) | def test_general_option_after_subcommand(self) -> None: method test_option_after_subcommand_arg (line 210) | def test_option_after_subcommand_arg(self) -> None: method test_additive_before_after_subcommand (line 217) | def test_additive_before_after_subcommand(self) -> None: method test_subcommand_option_before_subcommand_fails (line 222) | def test_subcommand_option_before_subcommand_fails(self) -> None: function tmpconfig (line 228) | def tmpconfig(option: str, value: Any, section: str = "global") -> Itera... class TestCountOptions (line 238) | class TestCountOptions(AddFakeCommandMixin): method test_cli_long (line 241) | def test_cli_long(self, option: str, value: int) -> None: method test_cli_short (line 250) | def test_cli_short(self, option: str, value: int) -> None: method test_env_var (line 259) | def test_env_var( method test_env_var_integrate_cli (line 269) | def test_env_var_integrate_cli( method test_env_var_invalid (line 279) | def test_env_var_invalid( method test_env_var_false (line 293) | def test_env_var_false( method test_env_var_true (line 304) | def test_env_var_true( method test_config_file (line 314) | def test_config_file( method test_config_file_integrate_cli (line 325) | def test_config_file_integrate_cli( method test_config_file_invalid (line 338) | def test_config_file_invalid( method test_config_file_false (line 353) | def test_config_file_false( method test_config_file_true (line 365) | def test_config_file_true( class TestGeneralOptions (line 375) | class TestGeneralOptions(AddFakeCommandMixin): method test_cache_dir__default (line 379) | def test_cache_dir__default(self) -> None: method test_cache_dir__provided (line 385) | def test_cache_dir__provided(self) -> None: method test_no_cache_dir__provided (line 392) | def test_no_cache_dir__provided(self) -> None: method test_require_virtualenv (line 397) | def test_require_virtualenv(self) -> None: method test_log (line 408) | def test_log(self) -> None: method test_local_log (line 418) | def test_local_log(self) -> None: method test_no_input (line 428) | def test_no_input(self) -> None: method test_proxy (line 435) | def test_proxy(self) -> None: method test_retries (line 445) | def test_retries(self) -> None: method test_timeout (line 455) | def test_timeout(self) -> None: method test_exists_action (line 465) | def test_exists_action(self) -> None: method test_cert (line 475) | def test_cert(self) -> None: method test_client_cert (line 485) | def test_client_cert(self) -> None: class TestOptionsConfigFiles (line 496) | class TestOptionsConfigFiles: method test_venv_config_file_found (line 497) | def test_venv_config_file_found(self, monkeypatch: pytest.MonkeyPatch)... method test_config_file_options (line 523) | def test_config_file_options( class TestOptionsExpandUser (line 541) | class TestOptionsExpandUser(AddFakeCommandMixin): method test_cache_dir (line 542) | def test_cache_dir(self) -> None: method test_log (line 549) | def test_log(self) -> None: method test_local_log (line 556) | def test_local_log(self) -> None: method test_cert (line 563) | def test_cert(self) -> None: method test_client_cert (line 570) | def test_client_cert(self) -> None: class TestReleaseControlOptions (line 578) | class TestReleaseControlOptions: method test_all_releases_and_only_final_together (line 581) | def test_all_releases_and_only_final_together(self) -> None: method test_pre_transforms_to_all_releases (line 593) | def test_pre_transforms_to_all_releases(self) -> None: method test_check_release_control_exclusive_with_pre_and_all_releases (line 608) | def test_check_release_control_exclusive_with_pre_and_all_releases(sel... method test_check_release_control_exclusive_with_pre_and_only_final (line 618) | def test_check_release_control_exclusive_with_pre_and_only_final(self)... method test_check_release_control_exclusive_without_pre (line 628) | def test_check_release_control_exclusive_without_pre(self) -> None: FILE: tests/unit/test_packaging.py function test_check_requires_python (line 19) | def test_check_requires_python( function test_check_requires_python__invalid (line 26) | def test_check_requires_python__invalid() -> None: function test_get_or_create_caching (line 34) | def test_get_or_create_caching() -> None: FILE: tests/unit/test_pep517.py function test_pep517_parsing_checks_requirements (line 14) | def test_pep517_parsing_checks_requirements(tmpdir: Path, spec: tuple[st... FILE: tests/unit/test_pyproject_config.py function test_supports_config (line 14) | def test_supports_config(command: str, expected: bool) -> None: function test_set_config_value_true (line 20) | def test_set_config_value_true() -> None: function test_set_config_value (line 27) | def test_set_config_value() -> None: function test_set_config_empty_value (line 33) | def test_set_config_empty_value() -> None: function test_multiple_config_values (line 46) | def test_multiple_config_values(passed: list[str], expected: dict[str, s... FILE: tests/unit/test_release_control.py class SimpleCommand (line 15) | class SimpleCommand(Command): method __init__ (line 16) | def __init__(self) -> None: method add_options (line 19) | def add_options(self) -> None: method run (line 23) | def run(self, options: Values, args: list[str]) -> int: function test_all_releases_overrides (line 28) | def test_all_releases_overrides() -> None: function test_only_final_overrides (line 35) | def test_only_final_overrides() -> None: function test_none_resets (line 42) | def test_none_resets() -> None: function test_none_preserves_other_side (line 49) | def test_none_preserves_other_side() -> None: function test_comma_separated_values (line 58) | def test_comma_separated_values() -> None: function test_allows_prereleases (line 84) | def test_allows_prereleases( function test_order_tracking_all_releases (line 91) | def test_order_tracking_all_releases() -> None: function test_order_tracking_only_final (line 103) | def test_order_tracking_only_final() -> None: function test_order_tracking_mixed (line 115) | def test_order_tracking_mixed() -> None: function test_order_tracking_all_special (line 135) | def test_order_tracking_all_special() -> None: function test_order_tracking_critical_case (line 147) | def test_order_tracking_critical_case() -> None: function test_order_tracking_none_reset (line 160) | def test_order_tracking_none_reset() -> None: function test_order_tracking_comma_separated (line 180) | def test_order_tracking_comma_separated() -> None: FILE: tests/unit/test_req.py function get_processed_req_from_line (line 59) | def get_processed_req_from_line( class TestRequirementSet (line 78) | class TestRequirementSet: method setup_method (line 81) | def setup_method(self) -> None: method teardown_method (line 84) | def teardown_method(self) -> None: method _basic_resolver (line 88) | def _basic_resolver( method test_no_reuse_existing_build_dir (line 133) | def test_no_reuse_existing_build_dir(self, data: TestData) -> None: method test_environment_marker_extras (line 156) | def test_environment_marker_extras(self, data: TestData) -> None: method test_missing_hash_with_require_hashes (line 172) | def test_missing_hash_with_require_hashes(self, data: TestData) -> None: method test_missing_hash_with_require_hashes_in_reqs_file (line 195) | def test_missing_hash_with_require_hashes_in_reqs_file( method test_unsupported_hashes (line 209) | def test_unsupported_hashes(self, data: TestData) -> None: method test_unpinned_hash_checking (line 249) | def test_unpinned_hash_checking(self, data: TestData) -> None: method test_hash_mismatch (line 283) | def test_hash_mismatch(self, data: TestData) -> None: method test_unhashed_deps_on_require_hashes (line 307) | def test_unhashed_deps_on_require_hashes(self, data: TestData) -> None: method test_hashed_deps_on_require_hashes (line 334) | def test_hashed_deps_on_require_hashes(self) -> None: method test_download_info_find_links (line 361) | def test_download_info_find_links(self, data: TestData) -> None: method test_download_info_index_url (line 374) | def test_download_info_index_url(self) -> None: method test_download_info_web_archive (line 386) | def test_download_info_web_archive(self) -> None: method test_download_info_archive_legacy_cache (line 408) | def test_download_info_archive_legacy_cache( method test_download_info_archive_cache_with_origin (line 430) | def test_download_info_archive_cache_with_origin( method test_download_info_archive_cache_with_invalid_origin (line 457) | def test_download_info_archive_cache_with_invalid_origin( method test_download_info_local_wheel (line 478) | def test_download_info_local_wheel(self, data: TestData) -> None: method test_download_info_local_dir (line 496) | def test_download_info_local_dir(self, data: TestData) -> None: method test_download_info_local_editable_dir (line 509) | def test_download_info_local_editable_dir(self, data: TestData) -> None: method test_download_info_vcs (line 524) | def test_download_info_vcs(self) -> None: class TestInstallRequirement (line 540) | class TestInstallRequirement: method setup_method (line 541) | def setup_method(self) -> None: method teardown_method (line 544) | def teardown_method(self) -> None: method test_url_with_query (line 547) | def test_url_with_query(self) -> None: method test_pep440_wheel_link_requirement (line 555) | def test_pep440_wheel_link_requirement(self) -> None: method test_pep440_url_link_requirement (line 564) | def test_pep440_url_link_requirement(self) -> None: method test_url_with_authentication_link_requirement (line 573) | def test_url_with_authentication_link_requirement(self) -> None: method test_str (line 582) | def test_str(self) -> None: method test_repr (line 586) | def test_repr(self) -> None: method test_invalid_wheel_requirement_raises (line 590) | def test_invalid_wheel_requirement_raises(self) -> None: method test_wheel_requirement_sets_req_attribute (line 594) | def test_wheel_requirement_sets_req_attribute(self) -> None: method test_url_preserved_line_req (line 599) | def test_url_preserved_line_req(self) -> None: method test_url_preserved_editable_req (line 606) | def test_url_preserved_editable_req(self) -> None: method test_markers (line 613) | def test_markers(self) -> None: method test_markers_semicolon (line 628) | def test_markers_semicolon(self) -> None: method test_markers_url (line 636) | def test_markers_url(self) -> None: method test_markers_match_from_line (line 653) | def test_markers_match_from_line(self) -> None: method test_markers_match (line 674) | def test_markers_match(self) -> None: method test_extras_for_line_path_requirement (line 695) | def test_extras_for_line_path_requirement(self) -> None: method test_extras_for_line_url_requirement (line 703) | def test_extras_for_line_url_requirement(self) -> None: method test_extras_for_editable_path_requirement (line 711) | def test_extras_for_editable_path_requirement(self) -> None: method test_extras_for_editable_url_requirement (line 719) | def test_extras_for_editable_url_requirement(self) -> None: method test_unexisting_path (line 727) | def test_unexisting_path(self) -> None: method test_single_equal_sign (line 734) | def test_single_equal_sign(self) -> None: method test_unidentifiable_name (line 741) | def test_unidentifiable_name(self) -> None: method test_requirement_file (line 748) | def test_requirement_file(self) -> None: method test_install_req_drop_extras (line 775) | def test_install_req_drop_extras(self, inp: str, out: str) -> None: method test_install_req_extend_extras (line 821) | def test_install_req_extend_extras( function test_parse_editable_pep508 (line 864) | def test_parse_editable_pep508( function test_parse_editable_local (line 873) | def test_parse_editable_local( function test_parse_editable_explicit_vcs (line 888) | def test_parse_editable_explicit_vcs() -> None: function test_parse_editable_vcs_extras (line 896) | def test_parse_editable_vcs_extras() -> None: function test_parse_editable_local_extras (line 907) | def test_parse_editable_local_extras( function test_mismatched_versions (line 925) | def test_mismatched_versions(caplog: pytest.LogCaptureFixture) -> None: function test_looks_like_path (line 960) | def test_looks_like_path(args: str, expected: bool) -> None: function test_looks_like_path_win (line 977) | def test_looks_like_path_win(args: str, expected: bool) -> None: function test_get_url_from_path (line 1017) | def test_get_url_from_path( function test_get_url_from_path__archive_file (line 1031) | def test_get_url_from_path__archive_file( function test_get_url_from_path__installable_dir (line 1043) | def test_get_url_from_path__installable_dir( function test_get_url_from_path__installable_error (line 1054) | def test_get_url_from_path__installable_error(isdir_mock: mock.Mock) -> ... FILE: tests/unit/test_req_dependency_group.py function test_parse_simple_dependency_groups (line 12) | def test_parse_simple_dependency_groups( function test_parse_cyclic_dependency_groups (line 32) | def test_parse_cyclic_dependency_groups( function test_parse_with_no_dependency_groups_defined (line 62) | def test_parse_with_no_dependency_groups_defined( function test_parse_with_no_pyproject_file (line 76) | def test_parse_with_no_pyproject_file( function test_parse_with_malformed_pyproject_file (line 85) | def test_parse_with_malformed_pyproject_file( function test_parse_gets_unexpected_oserror (line 103) | def test_parse_gets_unexpected_oserror( FILE: tests/unit/test_req_file.py function session (line 40) | def session() -> PipSession: function finder (line 45) | def finder(session: PipSession) -> PackageFinder: function options (line 50) | def options(session: PipSession) -> mock.Mock: function parse_reqfile (line 59) | def parse_reqfile( function test_missing_constraint_file_message_mentions_constraints (line 87) | def test_missing_constraint_file_message_mentions_constraints( function test_read_file_url (line 98) | def test_read_file_url(tmp_path: Path, session: PipSession) -> None: class TestPreprocess (line 114) | class TestPreprocess: method test_comments_and_joins_case1 (line 117) | def test_comments_and_joins_case1(self) -> None: method test_comments_and_joins_case2 (line 128) | def test_comments_and_joins_case2(self) -> None: method test_comments_and_joins_case3 (line 138) | def test_comments_and_joins_case3(self) -> None: class TestIgnoreComments (line 150) | class TestIgnoreComments: method test_ignore_line (line 153) | def test_ignore_line(self) -> None: method test_ignore_comment (line 158) | def test_ignore_comment(self) -> None: method test_strip_comment (line 163) | def test_strip_comment(self) -> None: class TestJoinLines (line 169) | class TestJoinLines: method test_join_lines (line 172) | def test_join_lines(self) -> None: method test_last_line_with_escape (line 193) | def test_last_line_with_escape(self) -> None: class LineProcessor (line 208) | class LineProcessor(Protocol): method __call__ (line 209) | def __call__( function line_processor (line 222) | def line_processor(monkeypatch: pytest.MonkeyPatch, tmpdir: Path) -> Lin... class TestProcessLine (line 254) | class TestProcessLine: method test_parser_error (line 257) | def test_parser_error(self, line_processor: LineProcessor) -> None: method test_parser_offending_line (line 261) | def test_parser_offending_line(self, line_processor: LineProcessor) ->... method test_parser_non_offending_line (line 267) | def test_parser_non_offending_line(self, line_processor: LineProcessor... method test_only_one_req_per_line (line 273) | def test_only_one_req_per_line(self, line_processor: LineProcessor) ->... method test_error_message (line 278) | def test_error_message(self, line_processor: LineProcessor) -> None: method test_yield_line_requirement (line 297) | def test_yield_line_requirement(self, line_processor: LineProcessor) -... method test_yield_pep440_line_requirement (line 304) | def test_yield_pep440_line_requirement(self, line_processor: LineProce... method test_yield_line_constraint (line 311) | def test_yield_line_constraint(self, line_processor: LineProcessor) ->... method test_yield_line_requirement_with_spaces_in_specifier (line 320) | def test_yield_line_requirement_with_spaces_in_specifier( method test_yield_editable_requirement (line 331) | def test_yield_editable_requirement(self, line_processor: LineProcesso... method test_nested_constraints_file (line 339) | def test_nested_constraints_file( method test_repeated_requirement_files (line 355) | def test_repeated_requirement_files( method test_recursive_requirements_file (line 368) | def test_recursive_requirements_file( method test_recursive_relative_requirements_file (line 404) | def test_recursive_relative_requirements_file( method test_options_on_a_requirement_line (line 425) | def test_options_on_a_requirement_line(self, line_processor: LineProce... method test_hash_options (line 431) | def test_hash_options(self, line_processor: LineProcessor) -> None: method test_set_isolated (line 458) | def test_set_isolated( method test_set_finder_no_index (line 467) | def test_set_finder_no_index( method test_set_finder_no_index_is_remembered_for_later_invocations (line 473) | def test_set_finder_no_index_is_remembered_for_later_invocations( method test_set_finder_index_url (line 480) | def test_set_finder_index_url( method test_set_finder_find_links (line 487) | def test_set_finder_find_links( method test_set_finder_extra_index_urls (line 493) | def test_set_finder_extra_index_urls( method test_set_finder_trusted_host (line 502) | def test_set_finder_trusted_host( method test_set_finder_allow_all_prereleases (line 527) | def test_set_finder_allow_all_prereleases( method test_set_finder_all_releases (line 535) | def test_set_finder_all_releases( method test_set_finder_all_releases_specific_package (line 542) | def test_set_finder_all_releases_specific_package( method test_set_finder_only_final (line 550) | def test_set_finder_only_final( method test_set_finder_only_final_specific_package (line 557) | def test_set_finder_only_final_specific_package( method test_use_feature (line 565) | def test_use_feature( method test_use_feature_with_error (line 571) | def test_use_feature_with_error( method test_relative_local_find_links (line 578) | def test_relative_local_find_links( method test_relative_http_nested_req_files (line 608) | def test_relative_http_nested_req_files( method test_relative_local_nested_req_files (line 638) | def test_relative_local_nested_req_files( method test_absolute_local_nested_req_files (line 657) | def test_absolute_local_nested_req_files( method test_absolute_http_nested_req_file_in_local (line 679) | def test_absolute_http_nested_req_file_in_local( class TestBreakOptionsArgs (line 708) | class TestBreakOptionsArgs: method test_no_args (line 709) | def test_no_args(self) -> None: method test_no_options (line 712) | def test_no_options(self) -> None: method test_args_short_options (line 715) | def test_args_short_options(self) -> None: method test_args_long_options (line 719) | def test_args_long_options(self) -> None: class TestOptionVariants (line 724) | class TestOptionVariants: method test_variant1 (line 727) | def test_variant1( method test_variant2 (line 733) | def test_variant2( method test_variant3 (line 739) | def test_variant3( method test_variant4 (line 745) | def test_variant4( method test_variant5 (line 751) | def test_variant5( class TestParseRequirements (line 758) | class TestParseRequirements: method test_remote_reqs_parse (line 762) | def test_remote_reqs_parse(self) -> None: method test_multiple_appending_options (line 776) | def test_multiple_appending_options( method test_expand_existing_env_variables (line 794) | def test_expand_existing_env_variables( method test_expand_missing_env_variables (line 830) | def test_expand_missing_env_variables( method test_join_lines (line 859) | def test_join_lines(self, tmpdir: Path, finder: PackageFinder) -> None: method test_req_file_parse_no_only_binary (line 871) | def test_req_file_parse_no_only_binary( method test_req_file_parse_comment_start_of_line (line 884) | def test_req_file_parse_comment_start_of_line( method test_invalid_options (line 901) | def test_invalid_options(self, tmpdir: Path, finder: PackageFinder) ->... method test_req_file_parse_comment_end_of_line_with_url (line 915) | def test_req_file_parse_comment_end_of_line_with_url( method test_req_file_parse_egginfo_end_of_line_with_url (line 934) | def test_req_file_parse_egginfo_end_of_line_with_url( method test_req_file_no_finder (line 952) | def test_req_file_no_finder(self, tmpdir: Path) -> None: method test_general_decoding (line 986) | def test_general_decoding( method test_decoding_with_BOM (line 1016) | def test_decoding_with_BOM( method test_warns_and_falls_back_to_locale_on_utf8_decode_fail (line 1031) | def test_warns_and_falls_back_to_locale_on_utf8_decode_fail( method test_errors_on_non_decodable_data (line 1071) | def test_errors_on_non_decodable_data( FILE: tests/unit/test_req_install.py class TestInstallRequirementBuildDirectory (line 17) | class TestInstallRequirementBuildDirectory: method test_tmp_build_directory (line 20) | def test_tmp_build_directory(self) -> None: method test_forward_slash_results_in_a_link (line 41) | def test_forward_slash_results_in_a_link(self, tmpdir: Path) -> None: class TestInstallRequirementFrom (line 55) | class TestInstallRequirementFrom: method test_install_req_from_string_invalid_requirement (line 56) | def test_install_req_from_string_invalid_requirement(self) -> None: method test_install_req_from_string_without_comes_from (line 71) | def test_install_req_from_string_without_comes_from(self) -> None: method test_install_req_from_string_with_comes_from_without_link (line 92) | def test_install_req_from_string_with_comes_from_without_link(self) ->... FILE: tests/unit/test_req_uninstall.py function mock_permitted (line 27) | def mock_permitted(ups: UninstallPathSet, path: str) -> bool: function test_uninstallation_paths (line 31) | def test_uninstallation_paths() -> None: function test_compressed_listing (line 60) | def test_compressed_listing(tmpdir: Path) -> None: class TestUninstallPathSet (line 129) | class TestUninstallPathSet: method test_add (line 130) | def test_add(self, tmpdir: Path, monkeypatch: pytest.MonkeyPatch) -> N... method test_add_pth (line 150) | def test_add_pth(self, tmp_path: Path, monkeypatch: pytest.MonkeyPatch... method test_add_symlink (line 184) | def test_add_symlink(self, tmpdir: Path, monkeypatch: pytest.MonkeyPat... method test_compact_shorter_path (line 200) | def test_compact_shorter_path(self, monkeypatch: pytest.MonkeyPatch) -... method test_detect_symlink_dirs (line 217) | def test_detect_symlink_dirs( class TestStashedUninstallPathSet (line 243) | class TestStashedUninstallPathSet: method mock_walk (line 256) | def mock_walk(cls, root: str) -> Iterator[tuple[str, list[str], list[s... method test_compress_for_rename (line 262) | def test_compress_for_rename(self, monkeypatch: pytest.MonkeyPatch) ->... method make_stash (line 290) | def make_stash( method test_stash (line 310) | def test_stash(self, tmpdir: Path) -> None: method test_commit (line 327) | def test_commit(self, tmpdir: Path) -> None: method test_rollback (line 344) | def test_rollback(self, tmpdir: Path) -> None: method test_commit_symlinks (line 362) | def test_commit_symlinks(self, tmpdir: Path) -> None: method test_rollback_symlinks (line 396) | def test_rollback_symlinks(self, tmpdir: Path) -> None: FILE: tests/unit/test_resolution_legacy_resolver.py class FakeDist (line 34) | class FakeDist(BaseDistribution): method __init__ (line 35) | def __init__(self, metadata: email.message.Message) -> None: method __str__ (line 39) | def __str__(self) -> str: method canonical_name (line 43) | def canonical_name(self) -> NormalizedName: method metadata (line 47) | def metadata(self) -> email.message.Message: function make_fake_dist (line 51) | def make_fake_dist( function make_test_resolver (line 63) | def make_test_resolver( class TestAddRequirement (line 87) | class TestAddRequirement: method test_unsupported_wheel_link_requirement_raises (line 92) | def test_unsupported_wheel_link_requirement_raises( method test_unsupported_wheel_local_file_requirement_raises (line 110) | def test_unsupported_wheel_local_file_requirement_raises( method test_exclusive_environment_markers (line 128) | def test_exclusive_environment_markers( class TestCheckDistRequiresPython (line 150) | class TestCheckDistRequiresPython: method test_compatible (line 155) | def test_compatible(self, caplog: pytest.LogCaptureFixture) -> None: method test_incompatible (line 169) | def test_incompatible(self) -> None: method test_incompatible_with_ignore_requires (line 185) | def test_incompatible_with_ignore_requires( method test_none_requires_python (line 207) | def test_none_requires_python(self, caplog: pytest.LogCaptureFixture) ... method test_invalid_requires_python (line 225) | def test_invalid_requires_python(self, caplog: pytest.LogCaptureFixtur... method test_empty_metadata_error (line 251) | def test_empty_metadata_error(self, metadata_name: str) -> None: class TestYankedWarning (line 273) | class TestYankedWarning: method test_sort_best_candidate__has_non_yanked (line 278) | def test_sort_best_candidate__has_non_yanked( method test_sort_best_candidate__all_yanked (line 300) | def test_sort_best_candidate__all_yanked( method test_sort_best_candidate__yanked_reason (line 343) | def test_sort_best_candidate__yanked_reason( FILE: tests/unit/test_search_scope.py class TestSearchScope (line 5) | class TestSearchScope: method test_get_formatted_locations_basic_auth (line 6) | def test_get_formatted_locations_basic_auth(self) -> None: method test_get_index_urls_locations (line 28) | def test_get_index_urls_locations(self) -> None: FILE: tests/unit/test_self_check_outdated.py function test_get_statefile_name_known_values (line 35) | def test_get_statefile_name_known_values(key: str, expected: str) -> None: function test_pip_self_version_check_calls_underlying_implementation (line 43) | def test_pip_self_version_check_calls_underlying_implementation( function test_core_logic (line 89) | def test_core_logic( class TestSelfCheckState (line 140) | class TestSelfCheckState: method test_no_cache (line 141) | def test_no_cache(self) -> None: method test_reads_expected_statefile (line 146) | def test_reads_expected_statefile(self, tmpdir: Path) -> None: method test_writes_expected_statefile (line 166) | def test_writes_expected_statefile(self, tmpdir: Path) -> None: function test_suppressed_by_externally_managed (line 200) | def test_suppressed_by_externally_managed(mocked_function: Mock, tmpdir:... FILE: tests/unit/test_target_python.py class TestTargetPython (line 15) | class TestTargetPython: method test_init__py_version_info (line 28) | def test_init__py_version_info( method test_init__py_version_info_none (line 46) | def test_init__py_version_info_none(self) -> None: method test_format_given (line 80) | def test_format_given(self, kwargs: dict[str, Any], expected: str) -> ... method test_get_sorted_tags (line 100) | def test_get_sorted_tags( method test_get_unsorted_tags__uses_cached_value (line 118) | def test_get_unsorted_tags__uses_cached_value(self) -> None: FILE: tests/unit/test_urls.py function test_path_to_url_unix (line 11) | def test_path_to_url_unix() -> None: function test_path_to_url_win (line 25) | def test_path_to_url_win(path: str, url: str) -> None: function test_unc_path_to_url_win (line 30) | def test_unc_path_to_url_win() -> None: function test_relative_path_to_url_win (line 40) | def test_relative_path_to_url_win() -> None: function test_url_to_path (line 58) | def test_url_to_path(url: str, win_expected: str, non_win_expected: str)... function test_url_to_path_path_to_url_symmetry_win (line 72) | def test_url_to_path_path_to_url_symmetry_win() -> None: FILE: tests/unit/test_utils.py class Tests_EgglinkPath (line 57) | class Tests_EgglinkPath: method setup_method (line 60) | def setup_method(self) -> None: method teardown_method (line 88) | def teardown_method(self) -> None: method eggLinkInUserSite (line 99) | def eggLinkInUserSite(self, egglink: str) -> bool: method eggLinkInSitePackages (line 102) | def eggLinkInSitePackages(self, egglink: str) -> bool: method test_egglink_in_usersite_notvenv (line 108) | def test_egglink_in_usersite_notvenv(self) -> None: method test_egglink_in_usersite_venv_noglobal (line 117) | def test_egglink_in_usersite_venv_noglobal(self) -> None: method test_egglink_in_usersite_venv_global (line 123) | def test_egglink_in_usersite_venv_global(self) -> None: method test_egglink_in_sitepkgs_notvenv (line 135) | def test_egglink_in_sitepkgs_notvenv(self) -> None: method test_egglink_in_sitepkgs_venv_noglobal (line 144) | def test_egglink_in_sitepkgs_venv_noglobal(self) -> None: method test_egglink_in_sitepkgs_venv_global (line 153) | def test_egglink_in_sitepkgs_venv_global(self) -> None: method test_egglink_in_both_notvenv (line 165) | def test_egglink_in_both_notvenv(self) -> None: method test_egglink_in_both_venv_noglobal (line 174) | def test_egglink_in_both_venv_noglobal(self) -> None: method test_egglink_in_both_venv_global (line 183) | def test_egglink_in_both_venv_global(self) -> None: method test_noegglink_in_sitepkgs_notvenv (line 195) | def test_noegglink_in_sitepkgs_notvenv(self) -> None: method test_noegglink_in_sitepkgs_venv_noglobal (line 201) | def test_noegglink_in_sitepkgs_venv_noglobal(self) -> None: method test_noegglink_in_sitepkgs_venv_global (line 207) | def test_noegglink_in_sitepkgs_venv_global(self) -> None: function test_rmtree_errorhandler_nonexistent_directory (line 214) | def test_rmtree_errorhandler_nonexistent_directory(tmpdir: Path) -> None: function test_rmtree_errorhandler_readonly_directory (line 226) | def test_rmtree_errorhandler_readonly_directory(tmpdir: Path) -> None: function test_rmtree_errorhandler_reraises_error (line 247) | def test_rmtree_errorhandler_reraises_error(tmpdir: Path) -> None: function test_rmtree_skips_nonexistent_directory (line 279) | def test_rmtree_skips_nonexistent_directory() -> None: class Failer (line 287) | class Failer: method __init__ (line 288) | def __init__(self, duration: int = 1) -> None: method call (line 291) | def call(self, *args: Any, **kw: Any) -> None: function test_rmtree_retries (line 297) | def test_rmtree_retries(monkeypatch: pytest.MonkeyPatch) -> None: function test_rmtree_retries_for_3sec (line 305) | def test_rmtree_retries_for_3sec(monkeypatch: pytest.MonkeyPatch) -> None: class Test_display_path (line 324) | class Test_display_path: method test_display (line 350) | def test_display(self, path: str, fake_cwd: Path, expected: str) -> None: class Test_normalize_path (line 357) | class Test_normalize_path: method test_resolve_symlinks (line 362) | def test_resolve_symlinks(self, tmpdir: Path) -> None: class TestHashes (line 394) | class TestHashes: method test_is_hash_allowed (line 409) | def test_is_hash_allowed( method test_success (line 418) | def test_success(self, tmpdir: Path) -> None: method test_failure (line 438) | def test_failure(self) -> None: method test_missing_hashes (line 444) | def test_missing_hashes(self) -> None: method test_unknown_hash (line 449) | def test_unknown_hash(self) -> None: method test_non_zero (line 456) | def test_non_zero(self) -> None: method test_equality (line 463) | def test_equality(self) -> None: method test_hash (line 468) | def test_hash(self) -> None: method test_has_one_of (line 473) | def test_has_one_of(self) -> None: function raises (line 482) | def raises(error: type[Exception]) -> NoReturn: class TestGlibc (line 486) | class TestGlibc: method test_glibc_version_string (line 488) | def test_glibc_version_string(self, monkeypatch: pytest.MonkeyPatch) -... method test_glibc_version_string_confstr (line 498) | def test_glibc_version_string_confstr( method test_glibc_version_string_confstr_fail (line 517) | def test_glibc_version_string_confstr_fail( method test_glibc_version_string_confstr_missing (line 523) | def test_glibc_version_string_confstr_missing( method test_glibc_version_string_ctypes_missing (line 529) | def test_glibc_version_string_ctypes_missing( function test_normalize_version_info (line 546) | def test_normalize_version_info( class TestGetProg (line 553) | class TestGetProg: method test_get_prog (line 563) | def test_get_prog( function test_build_netloc (line 586) | def test_build_netloc(host_port: tuple[str, int | None], expected_netloc... function test_build_url_from_netloc_and_parse_netloc (line 611) | def test_build_url_from_netloc_and_parse_netloc( function test_split_auth_from_netloc (line 639) | def test_split_auth_from_netloc( function test_split_auth_netloc_from_url (line 686) | def test_split_auth_netloc_from_url( function test_redact_netloc (line 712) | def test_redact_netloc(netloc: str, expected: str) -> None: function test_remove_auth_from_url (line 741) | def test_remove_auth_from_url(auth_url: str, expected_url: str) -> None: function test_redact_auth_from_url (line 760) | def test_redact_auth_from_url(auth_url: str, expected_url: str) -> None: function test_redact_auth_from_requirement (line 785) | def test_redact_auth_from_requirement(req: str, expected: str) -> None: class TestHiddenText (line 789) | class TestHiddenText: method test_basic (line 790) | def test_basic(self) -> None: method test_equality_with_str (line 800) | def test_equality_with_str(self) -> None: method test_equality_same_secret (line 814) | def test_equality_same_secret(self) -> None: method test_equality_different_secret (line 826) | def test_equality_different_secret(self) -> None: function test_hide_value (line 838) | def test_hide_value() -> None: function test_hide_url (line 846) | def test_hide_url() -> None: function patch_deprecation_check_version (line 855) | def patch_deprecation_check_version() -> Iterator[None]: function test_deprecated_message_contains_information (line 870) | def test_deprecated_message_contains_information( function test_deprecated_raises_error_if_too_old (line 900) | def test_deprecated_raises_error_if_too_old( function test_deprecated_message_reads_well_past (line 924) | def test_deprecated_message_reads_well_past() -> None: function test_deprecated_message_reads_well_future (line 945) | def test_deprecated_message_reads_well_future() -> None: function test_is_console_interactive (line 977) | def test_is_console_interactive( function test_format_size (line 997) | def test_format_size(size: int, expected: str) -> None: function test_tabulate (line 1025) | def test_tabulate(rows: list[tuple[str]], table: list[str], sizes: list[... FILE: tests/unit/test_utils_compatibility_tags.py function test_version_info_to_nodot (line 23) | def test_version_info_to_nodot(version_info: tuple[int], expected: str) ... class Testcompatibility_tags (line 28) | class Testcompatibility_tags: method mock_get_config_var (line 29) | def mock_get_config_var(self, **kwd: str) -> Callable[[str], Any]: method test_no_hyphen_tag (line 42) | def test_no_hyphen_tag(self) -> None: class TestManylinux2010Tags (line 59) | class TestManylinux2010Tags: method test_manylinux2010_implies_manylinux1 (line 67) | def test_manylinux2010_implies_manylinux1( class TestManylinux2014Tags (line 84) | class TestManylinux2014Tags: method test_manylinuxA_implies_manylinuxB (line 92) | def test_manylinuxA_implies_manylinuxB( FILE: tests/unit/test_utils_datetime.py function test_parse_iso_datetime_valid (line 30) | def test_parse_iso_datetime_valid(isodate: str) -> None: function test_parse_iso_datetime_invalid (line 50) | def test_parse_iso_datetime_invalid(isodate: str) -> None: FILE: tests/unit/test_utils_filesystem.py function make_file (line 11) | def make_file(path: str) -> None: function make_valid_symlink (line 15) | def make_valid_symlink(path: str) -> None: function make_broken_symlink (line 21) | def make_broken_symlink(path: str) -> None: function make_dir (line 25) | def make_dir(path: str) -> None: class TestSubdirsWithoutGeneric (line 29) | class TestSubdirsWithoutGeneric: method test_yieled_in_reverse_order (line 32) | def test_yieled_in_reverse_order(self, tmp_path: Path) -> None: class TestSubdirsWithoutFiles (line 49) | class TestSubdirsWithoutFiles: method test_empty_directory_tree (line 52) | def test_empty_directory_tree(self, tmp_path: Path) -> None: method test_directory_with_file (line 61) | def test_directory_with_file(self, tmp_path: Path) -> None: method test_nested_empty_directories (line 71) | def test_nested_empty_directories(self, tmp_path: Path) -> None: method test_mixed_empty_and_non_empty (line 83) | def test_mixed_empty_and_non_empty(self, tmp_path: Path) -> None: method test_deeply_nested_file_marks_parents (line 102) | def test_deeply_nested_file_marks_parents(self, tmp_path: Path) -> None: method test_multiple_files_at_various_levels (line 118) | def test_multiple_files_at_various_levels(self, tmp_path: Path) -> None: class TestSubdirsWithoutWheels (line 139) | class TestSubdirsWithoutWheels: method test_directory_with_wheel_file (line 142) | def test_directory_with_wheel_file(self, tmp_path: Path) -> None: method test_directory_with_non_wheel_files (line 152) | def test_directory_with_non_wheel_files(self, tmp_path: Path) -> None: method test_mixed_wheel_and_non_wheel_dirs (line 163) | def test_mixed_wheel_and_non_wheel_dirs(self, tmp_path: Path) -> None: method test_nested_wheel_marks_parents (line 181) | def test_nested_wheel_marks_parents(self, tmp_path: Path) -> None: method test_wheel_file_extension_matching (line 196) | def test_wheel_file_extension_matching(self, tmp_path: Path) -> None: method test_empty_directory_tree_no_wheels (line 215) | def test_empty_directory_tree_no_wheels(self, tmp_path: Path) -> None: FILE: tests/unit/test_utils_retry.py function test_retry_no_error (line 12) | def test_retry_no_error() -> None: function test_retry_no_error_after_retry (line 19) | def test_retry_no_error_after_retry() -> None: function test_retry_last_error_is_reraised (line 35) | def test_retry_last_error_is_reraised() -> None: function test_retry_ignores_base_exception (line 53) | def test_retry_ignores_base_exception(exc: type[BaseException]) -> None: function create_timestamped_callable (line 61) | def create_timestamped_callable(sleep_per_call: float = 0) -> tuple[Mock... function test_retry_wait (line 78) | def test_retry_wait(wait_duration: float) -> None: function test_retry_time_limit (line 97) | def test_retry_time_limit(call_duration: float, max_allowed_calls: int) ... function test_retry_method (line 109) | def test_retry_method() -> None: FILE: tests/unit/test_utils_subprocess.py function test_format_command_args (line 37) | def test_format_command_args(args: CommandArgs, expected: str) -> None: function test_call_subprocess_stdout_only (line 49) | def test_call_subprocess_stdout_only( class FakeSpinner (line 80) | class FakeSpinner(SpinnerInterface): method __init__ (line 81) | def __init__(self) -> None: method spin (line 85) | def spin(self) -> None: method finish (line 88) | def finish(self, final_status: str) -> None: class TestCallSubprocess (line 92) | class TestCallSubprocess: method check_result (line 97) | def check_result( method prepare_call (line 152) | def prepare_call( method test_debug_logging (line 167) | def test_debug_logging( method test_info_logging (line 201) | def test_info_logging( method test_info_logging__subprocess_error (line 231) | def test_info_logging__subprocess_error( method test_info_logging_with_show_stdout_true (line 280) | def test_info_logging_with_show_stdout_true( method test_spinner_finish (line 337) | def test_spinner_finish( method test_closes_stdin (line 373) | def test_closes_stdin(self) -> None: function test_unicode_decode_error (line 382) | def test_unicode_decode_error(caplog: pytest.LogCaptureFixture) -> None: FILE: tests/unit/test_utils_temp_dir.py function test_symlinked_path (line 28) | def test_symlinked_path() -> None: function test_deletes_readonly_files (line 45) | def test_deletes_readonly_files() -> None: function test_path_access_after_context_raises (line 66) | def test_path_access_after_context_raises() -> None: function test_path_access_after_clean_raises (line 76) | def test_path_access_after_clean_raises() -> None: function test_create_and_cleanup_work (line 87) | def test_create_and_cleanup_work() -> None: function test_adjacent_directory_names (line 111) | def test_adjacent_directory_names(name: str) -> None: function test_adjacent_directory_exists (line 172) | def test_adjacent_directory_exists(name: str, tmpdir: Path) -> None: function test_adjacent_directory_permission_error (line 187) | def test_adjacent_directory_permission_error(monkeypatch: pytest.MonkeyP... function test_global_tempdir_manager (line 204) | def test_global_tempdir_manager() -> None: function test_tempdirectory_asserts_global_tempdir (line 212) | def test_tempdirectory_asserts_global_tempdir(monkeypatch: pytest.Monkey... function test_tempdir_registry (line 239) | def test_tempdir_registry(delete: bool | _Default, kind: str, exists: bo... function test_temp_dir_does_not_delete_explicit_paths_by_default (line 251) | def test_temp_dir_does_not_delete_explicit_paths_by_default( function test_tempdir_registry_lazy (line 268) | def test_tempdir_registry_lazy(should_delete: bool) -> None: function test_tempdir_cleanup_ignore_errors (line 281) | def test_tempdir_cleanup_ignore_errors() -> None: FILE: tests/unit/test_utils_unpacking.py class TestUnpackArchives (line 26) | class TestUnpackArchives: method setup_method (line 46) | def setup_method(self) -> None: method teardown_method (line 54) | def teardown_method(self) -> None: method mode (line 58) | def mode(self, path: str) -> int: method _probe_created_file_mode (line 61) | def _probe_created_file_mode(self) -> int: method _probe_created_dir_mode (line 69) | def _probe_created_dir_mode(self) -> int: method confirm_files (line 76) | def confirm_files(self) -> None: method make_zip_file (line 114) | def make_zip_file(self, filename: str, file_list: list[str]) -> str: method make_tar_file (line 124) | def make_tar_file(self, filename: str, file_list: list[str]) -> str: method test_confirm_files_mode_preconditions (line 138) | def test_confirm_files_mode_preconditions(self) -> None: method test_unpack_tgz (line 145) | def test_unpack_tgz(self, data: TestData) -> None: method test_unpack_zip (line 157) | def test_unpack_zip(self, data: TestData) -> None: method test_unpack_zip_failure (line 165) | def test_unpack_zip_failure(self) -> None: method test_unpack_zip_success (line 176) | def test_unpack_zip_success(self) -> None: method test_unpack_tar_failure (line 190) | def test_unpack_tar_failure(self) -> None: method test_unpack_tar_success (line 207) | def test_unpack_tar_success(self) -> None: method test_unpack_tar_filter (line 225) | def test_unpack_tar_filter(self) -> None: method test_unpack_tar_links (line 249) | def test_unpack_tar_links(self, input_prefix: str, unpack_prefix: str)... method test_unpack_normal_tar_link1_no_data_filter (line 282) | def test_unpack_normal_tar_link1_no_data_filter( method test_unpack_normal_tar_link2_no_data_filter (line 317) | def test_unpack_normal_tar_link2_no_data_filter( method test_unpack_evil_tar_link1_no_data_filter (line 352) | def test_unpack_evil_tar_link1_no_data_filter( method test_unpack_evil_tar_link2_no_data_filter (line 387) | def test_unpack_evil_tar_link2_no_data_filter( function test_unpack_tar_unicode (line 425) | def test_unpack_tar_unicode(tmpdir: Path) -> None: function test_is_within_directory (line 459) | def test_is_within_directory(args: tuple[str, str], expected: bool) -> N... FILE: tests/unit/test_utils_virtualenv.py function test_running_under_virtualenv (line 28) | def test_running_under_virtualenv( function test_virtualenv_no_global_with_regular_virtualenv (line 55) | def test_virtualenv_no_global_with_regular_virtualenv( function test_virtualenv_no_global_with_pep_405_virtual_environment (line 103) | def test_virtualenv_no_global_with_pep_405_virtual_environment( function test_get_pyvenv_cfg_lines_for_pep_405_virtual_environment (line 136) | def test_get_pyvenv_cfg_lines_for_pep_405_virtual_environment( FILE: tests/unit/test_utils_wheel.py function zip_dir (line 21) | def zip_dir() -> Iterator[_ZipDir]: function test_wheel_dist_info_dir_found (line 41) | def test_wheel_dist_info_dir_found(tmpdir: Path, zip_dir: _ZipDir) -> None: function test_wheel_dist_info_dir_multiple (line 49) | def test_wheel_dist_info_dir_multiple(tmpdir: Path, zip_dir: _ZipDir) ->... function test_wheel_dist_info_dir_none (line 61) | def test_wheel_dist_info_dir_none(tmpdir: Path, zip_dir: _ZipDir) -> None: function test_wheel_dist_info_dir_wrong_name (line 67) | def test_wheel_dist_info_dir_wrong_name(tmpdir: Path, zip_dir: _ZipDir) ... function test_wheel_version_ok (line 76) | def test_wheel_version_ok(data: TestData) -> None: function test_wheel_metadata_fails_missing_wheel (line 80) | def test_wheel_metadata_fails_missing_wheel(tmpdir: Path, zip_dir: _ZipD... function test_wheel_metadata_fails_on_bad_encoding (line 90) | def test_wheel_metadata_fails_on_bad_encoding(tmpdir: Path, zip_dir: _Zi... function test_wheel_version_fails_on_no_wheel_version (line 101) | def test_wheel_version_fails_on_no_wheel_version() -> None: function test_wheel_version_fails_on_bad_wheel_version (line 115) | def test_wheel_version_fails_on_bad_wheel_version(version: str) -> None: function test_check_compatibility (line 121) | def test_check_compatibility() -> None: FILE: tests/unit/test_vcs.py function test_ensure_svn_available (line 27) | def test_ensure_svn_available() -> None: function test_make_vcs_requirement_url (line 62) | def test_make_vcs_requirement_url(args: tuple[Any, ...], expected: str) ... function test_rev_options_repr (line 67) | def test_rev_options_repr() -> None: function test_rev_options_to_args (line 89) | def test_rev_options_to_args( function test_rev_options_to_display (line 102) | def test_rev_options_to_display() -> None: function test_rev_options_make_new (line 115) | def test_rev_options_make_new() -> None: function test_looks_like_hash (line 142) | def test_looks_like_hash(sha: str, expected: bool) -> None: function test_should_add_vcs_url_prefix (line 160) | def test_should_add_vcs_url_prefix( function test_git_remote_url_to_pip (line 186) | def test_git_remote_url_to_pip(url: str, target: str) -> None: function test_paths_are_not_mistaken_for_scp_shorthand (line 200) | def test_paths_are_not_mistaken_for_scp_shorthand(url: str, platform: st... function test_git_remote_local_path (line 212) | def test_git_remote_local_path(tmpdir: pathlib.Path) -> None: function test_git_get_src_requirements (line 237) | def test_git_get_src_requirements( function test_git_resolve_revision_rev_exists (line 257) | def test_git_resolve_revision_rev_exists(get_sha_mock: mock.Mock) -> None: function test_git_resolve_revision_rev_not_found (line 267) | def test_git_resolve_revision_rev_not_found(get_sha_mock: mock.Mock) -> ... function test_git_resolve_revision_not_found_warning (line 277) | def test_git_resolve_revision_not_found_warning( function test_git_is_commit_id_equal (line 314) | def test_git_is_commit_id_equal( function test_git__get_netloc_and_auth (line 335) | def test_git__get_netloc_and_auth( function test_subversion__get_netloc_and_auth (line 364) | def test_subversion__get_netloc_and_auth( function test_git__get_url_rev__idempotent (line 375) | def test_git__get_url_rev__idempotent() -> None: function test_version_control__get_url_rev_and_auth (line 409) | def test_version_control__get_url_rev_and_auth( function test_version_control__get_url_rev_and_auth__missing_plus (line 427) | def test_version_control__get_url_rev_and_auth__missing_plus(url: str) -... function test_version_control__get_url_rev_and_auth__no_revision (line 445) | def test_version_control__get_url_rev_and_auth__no_revision(url: str) ->... function test_version_control__run_command__fails (line 466) | def test_version_control__run_command__fails( function test_bazaar__get_url_rev_and_auth (line 512) | def test_bazaar__get_url_rev_and_auth(url: str, expected: str) -> None: function test_subversion__get_url_rev_and_auth (line 545) | def test_subversion__get_url_rev_and_auth( function test_git__make_rev_args (line 565) | def test_git__make_rev_args( function test_subversion__make_rev_args (line 587) | def test_subversion__make_rev_args( function test_subversion__get_url_rev_options (line 597) | def test_subversion__get_url_rev_options() -> None: function test_get_git_version (line 611) | def test_get_git_version() -> None: function test_get_git_version_parser (line 626) | def test_get_git_version_parser(version: str, expected: tuple[int, int])... function test_subversion__init_use_interactive (line 643) | def test_subversion__init_use_interactive( function test_subversion__call_vcs_version (line 655) | def test_subversion__call_vcs_version() -> None: function test_subversion__call_vcs_version_patched (line 691) | def test_subversion__call_vcs_version_patched( function test_subversion__call_vcs_version_svn_not_installed (line 703) | def test_subversion__call_vcs_version_svn_not_installed( function test_subversion__get_vcs_version_cached (line 723) | def test_subversion__get_vcs_version_cached(version: tuple[int, ...]) ->... function test_subversion__get_vcs_version_call_vcs (line 741) | def test_subversion__get_vcs_version_call_vcs( function test_subversion__get_remote_call_options (line 767) | def test_subversion__get_remote_call_options( class _TestVcsArgs (line 778) | class _TestVcsArgs: method setup_base (line 780) | def setup_base( method assert_call_args (line 790) | def assert_call_args(self, args: CommandArgs) -> None: class TestBazaarArgs (line 794) | class TestBazaarArgs(_TestVcsArgs): method setup_method (line 795) | def setup_method(self) -> None: method test_fetch_new (line 803) | def test_fetch_new(self) -> None: method test_fetch_new_quiet (line 815) | def test_fetch_new_quiet(self) -> None: method test_fetch_new_very_verbose (line 828) | def test_fetch_new_very_verbose(self) -> None: method test_update (line 841) | def test_update(self) -> None: method test_update_quiet (line 850) | def test_update_quiet(self) -> None: class TestGitArgs (line 861) | class TestGitArgs(_TestVcsArgs): method setup_method (line 862) | def setup_method(self) -> None: method test_fetch_new (line 868) | def test_fetch_new(self) -> None: method test_fetch_new_legacy (line 887) | def test_fetch_new_legacy(self) -> None: method test_fetch_new_legacy_quiet (line 905) | def test_fetch_new_legacy_quiet(self) -> None: method test_fetch_new_quiet (line 924) | def test_fetch_new_quiet(self) -> None: method test_switch (line 944) | def test_switch(self) -> None: method test_switch_quiet (line 958) | def test_switch_quiet(self) -> None: method test_update (line 973) | def test_update(self) -> None: method test_update_legacy (line 997) | def test_update_legacy(self) -> None: method test_update_legacy_quiet (line 1020) | def test_update_legacy_quiet(self) -> None: method test_update_quiet (line 1046) | def test_update_quiet(self) -> None: class TestMercurialArgs (line 1072) | class TestMercurialArgs(_TestVcsArgs): method setup_method (line 1073) | def setup_method(self) -> None: method test_fetch_new (line 1079) | def test_fetch_new(self) -> None: method test_fetch_new_quiet (line 1095) | def test_fetch_new_quiet(self) -> None: method test_fetch_new_very_verbose (line 1113) | def test_fetch_new_very_verbose(self) -> None: method test_fetch_new_debug (line 1131) | def test_fetch_new_debug(self) -> None: method test_update (line 1151) | def test_update(self) -> None: method test_update_quiet (line 1164) | def test_update_quiet(self) -> None: class TestSubversionArgs (line 1180) | class TestSubversionArgs(_TestVcsArgs): method setup_method (line 1181) | def setup_method(self) -> None: method test_obtain (line 1189) | def test_obtain(self) -> None: method test_obtain_quiet (line 1205) | def test_obtain_quiet(self) -> None: method test_fetch_new (line 1222) | def test_fetch_new(self) -> None: method test_fetch_new_quiet (line 1234) | def test_fetch_new_quiet(self) -> None: method test_fetch_new_revision (line 1247) | def test_fetch_new_revision(self) -> None: method test_fetch_new_revision_quiet (line 1262) | def test_fetch_new_revision_quiet(self) -> None: method test_switch (line 1278) | def test_switch(self) -> None: method test_update (line 1290) | def test_update(self) -> None: FILE: tests/unit/test_vcs_mercurial.py function test_mercurial_switch_updates_config_file_when_found (line 16) | def test_mercurial_switch_updates_config_file_when_found(tmpdir: Path) -... FILE: tests/unit/test_wheel.py function test_get_entrypoints (line 50) | def test_get_entrypoints(tmp_path: pathlib.Path, console_scripts: str) -... function test_get_entrypoints_no_entrypoints (line 71) | def test_get_entrypoints_no_entrypoints(tmp_path: pathlib.Path) -> None: function test_normalized_outrows (line 117) | def test_normalized_outrows( function call_get_csv_rows_for_installed (line 124) | def call_get_csv_rows_for_installed(tmpdir: Path, text: str) -> list[Ins... function test_get_csv_rows_for_installed (line 145) | def test_get_csv_rows_for_installed( function test_get_csv_rows_for_installed__long_lines (line 165) | def test_get_csv_rows_for_installed__long_lines( function test_wheel_root_is_purelib (line 200) | def test_wheel_root_is_purelib(text: str, expected: bool) -> None: function test_dist_from_broken_wheel_fails (line 204) | def test_dist_from_broken_wheel_fails(data: TestData) -> None: class TestWheelFile (line 215) | class TestWheelFile: method test_unpack_wheel_no_flatten (line 216) | def test_unpack_wheel_no_flatten(self, tmpdir: Path) -> None: class TestInstallUnpackedWheel (line 222) | class TestInstallUnpackedWheel: method prep (line 227) | def prep(self, data: TestData, tmp_path: Path) -> None: method assert_permission (line 295) | def assert_permission(self, path: str, mode: int) -> None: method assert_installed (line 299) | def assert_installed(self, expected_permission: int) -> None: method test_std_install (line 314) | def test_std_install(self, data: TestData, tmpdir: Path) -> None: method test_std_install_with_custom_umask (line 325) | def test_std_install_with_custom_umask( method test_std_install_requested (line 344) | def test_std_install_requested(self, data: TestData, tmpdir: Path) -> ... method test_std_install_with_direct_url (line 357) | def test_std_install_with_direct_url(self, data: TestData, tmpdir: Pat... method test_install_prefix (line 386) | def test_install_prefix(self, data: TestData, tmpdir: Path) -> None: method test_dist_info_contains_empty_dir (line 408) | def test_dist_info_contains_empty_dir(self, data: TestData, tmpdir: Pa... method test_wheel_install_rejects_bad_paths (line 424) | def test_wheel_install_rejects_bad_paths( method test_invalid_entrypoints_fail (line 446) | def test_invalid_entrypoints_fail( class TestMessageAboutScriptsNotOnPATH (line 466) | class TestMessageAboutScriptsNotOnPATH: method _template (line 472) | def _template(self, paths: list[str], scripts: list[str]) -> str | None: method test_no_script (line 476) | def test_no_script(self) -> None: method test_single_script__single_dir_not_on_PATH (line 480) | def test_single_script__single_dir_not_on_PATH(self) -> None: method test_two_script__single_dir_not_on_PATH (line 487) | def test_two_script__single_dir_not_on_PATH(self) -> None: method test_multi_script__multi_dir_not_on_PATH (line 496) | def test_multi_script__multi_dir_not_on_PATH(self) -> None: method test_multi_script_all__multi_dir_not_on_PATH (line 507) | def test_multi_script_all__multi_dir_not_on_PATH(self) -> None: method test_two_script__single_dir_on_PATH (line 518) | def test_two_script__single_dir_on_PATH(self) -> None: method test_multi_script__multi_dir_on_PATH (line 524) | def test_multi_script__multi_dir_on_PATH(self) -> None: method test_multi_script__single_dir_on_PATH (line 531) | def test_multi_script__single_dir_on_PATH(self) -> None: method test_PATH_check_path_normalization (line 537) | def test_PATH_check_path_normalization(self) -> None: method test_single_script__single_dir_on_PATH (line 543) | def test_single_script__single_dir_on_PATH(self) -> None: method test_PATH_check_case_insensitive_on_windows (line 547) | def test_PATH_check_case_insensitive_on_windows(self) -> None: method test_trailing_ossep_removal (line 555) | def test_trailing_ossep_removal(self) -> None: method test_missing_PATH_env_treated_as_empty_PATH_env (line 561) | def test_missing_PATH_env_treated_as_empty_PATH_env( method test_no_script_tilde_in_path (line 574) | def test_no_script_tilde_in_path(self) -> None: method test_multi_script_all_tilde__multi_dir_not_on_PATH (line 578) | def test_multi_script_all_tilde__multi_dir_not_on_PATH(self) -> None: method test_multi_script_all_tilde_not_at_start__multi_dir_not_on_PATH (line 597) | def test_multi_script_all_tilde_not_at_start__multi_dir_not_on_PATH(se... class TestWheelHashCalculators (line 615) | class TestWheelHashCalculators: method prep (line 616) | def prep(self, tmpdir: Path) -> None: method test_hash_file (line 629) | def test_hash_file(self, tmpdir: Path) -> None: method test_rehash (line 635) | def test_rehash(self, tmpdir: Path) -> None: function test_get_console_script_specs_replaces_python_version (line 642) | def test_get_console_script_specs_replaces_python_version( FILE: tests/unit/test_wheel_builder.py function test_contains_egg_info (line 31) | def test_contains_egg_info(s: str, expected: bool) -> None: class ReqMock (line 37) | class ReqMock: function test_should_cache (line 57) | def test_should_cache(req: ReqMock, expected: bool) -> None: function test_should_cache_git_sha (line 61) | def test_should_cache_git_sha(tmpdir: Path) -> None: FILE: tools/protected_pip.py function pip (line 15) | def pip(args: Iterable[str | pathlib.Path]) -> None: FILE: tools/release/__init__.py function get_version_from_arguments (line 19) | def get_version_from_arguments(session: Session) -> str | None: function modified_files_in_git (line 44) | def modified_files_in_git(*args: str) -> int: function strip_rtl_ltr_overrides (line 51) | def strip_rtl_ltr_overrides(a: str) -> str: function get_author_list (line 79) | def get_author_list() -> list[str]: function generate_authors (line 104) | def generate_authors(filename: str) -> None: function commit_file (line 114) | def commit_file(session: Session, filename: str, *, message: str) -> None: function generate_news (line 119) | def generate_news(session: Session, version: str) -> None: function update_version_file (line 124) | def update_version_file(version: str, filepath: str) -> None: function create_git_tag (line 140) | def create_git_tag(session: Session, tag_name: str, *, message: str) -> ... function get_next_development_version (line 150) | def get_next_development_version(version: str) -> str: function have_files_in_folder (line 177) | def have_files_in_folder(folder_name: str) -> bool: function workdir (line 184) | def workdir( function isolated_temporary_checkout (line 199) | def isolated_temporary_checkout( function get_git_untracked_files (line 223) | def get_git_untracked_files() -> Iterator[str]: FILE: tools/release/check_version.py function is_this_a_good_version_number (line 11) | def is_this_a_good_version_number(string: str) -> str | None: function main (line 35) | def main() -> None: FILE: tools/update-rtd-redirects.py function next_step (line 37) | def next_step(msg: str) -> None: function log_response (line 41) | def log_response(response: httpx.Response) -> None: function get_rtd_api (line 46) | def get_rtd_api() -> httpx.Client: