SYMBOL INDEX (3284 symbols across 310 files) FILE: src/poetry/config/config.py function boolean_validator (line 35) | def boolean_validator(val: str) -> bool: function boolean_normalizer (line 39) | def boolean_normalizer(val: str) -> bool: function int_normalizer (line 43) | def int_normalizer(val: str) -> int: function build_config_setting_validator (line 47) | def build_config_setting_validator(val: str) -> bool: function build_config_setting_normalizer (line 73) | def build_config_setting_normalizer(val: str) -> Mapping[str, str | Sequ... class PackageFilterPolicy (line 79) | class PackageFilterPolicy: method __post_init__ (line 83) | def __post_init__(self, policy: str | list[str] | None) -> None: method allows (line 90) | def allows(self, package_name: str) -> bool: method has_exact_package (line 100) | def has_exact_package(self, package_name: str) -> bool: method is_reserved (line 104) | def is_reserved(cls, name: str) -> bool: method normalize (line 108) | def normalize(cls, policy: str) -> list[str]: method validator (line 124) | def validator(cls, policy: str) -> bool: class Config (line 147) | class Config: method __init__ (line 184) | def __init__(self, use_environment: bool = True) -> None: method config (line 191) | def config(self) -> dict[str, Any]: method config_source (line 195) | def config_source(self) -> ConfigSource: method auth_config_source (line 199) | def auth_config_source(self) -> ConfigSource: method set_config_source (line 202) | def set_config_source(self, config_source: ConfigSource) -> Config: method set_auth_config_source (line 207) | def set_auth_config_source(self, config_source: ConfigSource) -> Config: method merge (line 212) | def merge(self, config: dict[str, Any]) -> None: method all (line 217) | def all(self) -> dict[str, Any]: method raw (line 237) | def raw(self) -> dict[str, Any]: method _get_environment_repositories (line 241) | def _get_environment_repositories() -> dict[str, dict[str, str]]: method _get_environment_build_config_settings (line 255) | def _get_environment_build_config_settings() -> Mapping[ method repository_cache_directory (line 275) | def repository_cache_directory(self) -> Path: method artifacts_cache_directory (line 279) | def artifacts_cache_directory(self) -> Path: method virtualenvs_path (line 283) | def virtualenvs_path(self) -> Path: method python_installation_dir (line 290) | def python_installation_dir(self) -> Path: method installer_max_workers (line 297) | def installer_max_workers(self) -> int: method get (line 312) | def get(self, setting_name: str, default: Any = None) -> Any: method process (line 362) | def process(self, value: Any) -> Any: method _get_normalizer (line 379) | def _get_normalizer(name: str) -> Callable[[str], Any]: method create (line 413) | def create(cls, reload: bool = False) -> Config: FILE: src/poetry/config/config_source.py class PropertyNotFoundError (line 21) | class PropertyNotFoundError(ValueError): class ConfigSource (line 25) | class ConfigSource(ABC): method get_property (line 27) | def get_property(self, key: str) -> Any: ... method add_property (line 30) | def add_property(self, key: str, value: Any) -> None: ... method remove_property (line 33) | def remove_property(self, key: str) -> None: ... class ConfigSourceMigration (line 37) | class ConfigSourceMigration: method dry_run (line 42) | def dry_run(self, config_source: ConfigSource, io: IO | None = None) -... method apply (line 67) | def apply(self, config_source: ConfigSource) -> None: function drop_empty_config_category (line 83) | def drop_empty_config_category( FILE: src/poetry/config/dict_config_source.py class DictConfigSource (line 9) | class DictConfigSource(ConfigSource): method __init__ (line 10) | def __init__(self) -> None: method config (line 14) | def config(self) -> dict[str, Any]: method get_property (line 17) | def get_property(self, key: str) -> Any: method add_property (line 30) | def add_property(self, key: str, value: Any) -> None: method remove_property (line 44) | def remove_property(self, key: str) -> None: FILE: src/poetry/config/file_config_source.py class FileConfigSource (line 23) | class FileConfigSource(ConfigSource): method __init__ (line 24) | def __init__(self, file: TOMLFile) -> None: method name (line 28) | def name(self) -> str: method file (line 32) | def file(self) -> TOMLFile: method get_property (line 35) | def get_property(self, key: str) -> Any: method add_property (line 49) | def add_property(self, key: str, value: Any) -> None: method remove_property (line 64) | def remove_property(self, key: str) -> None: method secure (line 86) | def secure(self) -> Iterator[TOMLDocument]: FILE: src/poetry/config/source.py class Source (line 15) | class Source: method __post_init__ (line 22) | def __post_init__(self) -> None: method to_dict (line 26) | def to_dict(self) -> dict[str, str | bool]: method to_toml_table (line 36) | def to_toml_table(self) -> Table: FILE: src/poetry/console/application.py function load_command (line 43) | def load_command(name: str) -> Callable[[], Command]: class Application (line 124) | class Application(BaseApplication): method __init__ (line 125) | def __init__(self) -> None: method _default_definition (line 146) | def _default_definition(self) -> Definition: method project_directory (line 189) | def project_directory(self) -> Path: method poetry (line 193) | def poetry(self) -> Poetry: method command_loader (line 209) | def command_loader(self) -> CommandLoader: method reset_poetry (line 214) | def reset_poetry(self) -> None: method create_io (line 217) | def create_io( method _run (line 247) | def _run(self, io: IO) -> int: method _error_write_command_suggestions (line 306) | def _error_write_command_suggestions( method _configure_global_options (line 324) | def _configure_global_options(self, io: IO) -> None: method _sort_global_options (line 356) | def _sort_global_options(self, io: IO) -> None: method _configure_run_command (line 416) | def _configure_run_command(self, io: IO) -> None: method _configure_io (line 506) | def _configure_io(self, io: IO) -> None: method register_command_loggers (line 511) | def register_command_loggers( method configure_env (line 563) | def configure_env(self, event: Event, event_name: str, _: EventDispatc... method configure_installer_for_event (line 589) | def configure_installer_for_event( method configure_installer_for_command (line 607) | def configure_installer_for_command(command: InstallerCommand, io: IO)... method _load_plugins (line 623) | def _load_plugins(self, io: IO) -> None: function main (line 641) | def main() -> int: FILE: src/poetry/console/command_loader.py class CommandLoader (line 15) | class CommandLoader(FactoryCommandLoader): method register_factory (line 16) | def register_factory( FILE: src/poetry/console/commands/about.py class AboutCommand (line 6) | class AboutCommand(Command): method handle (line 11) | def handle(self) -> int: FILE: src/poetry/console/commands/add.py class AddCommand (line 29) | class AddCommand(InstallerCommand, InitCommand): method handle (line 127) | def handle(self) -> int: method get_existing_packages_from_input (line 421) | def get_existing_packages_from_input( method _hint_update_packages (line 441) | def _hint_update_packages(self) -> str: method notify_about_existing_packages (line 448) | def notify_about_existing_packages(self, existing_packages: list[str])... method _add_dependency_to_extras (line 457) | def _add_dependency_to_extras( FILE: src/poetry/console/commands/build.py class BuildOptions (line 34) | class BuildOptions: method __post_init__ (line 40) | def __post_init__(self) -> None: class BuildHandler (line 46) | class BuildHandler: method __init__ (line 47) | def __init__(self, poetry: Poetry, env: Env, io: IO) -> None: method _build (line 52) | def _build( method _isolated_build (line 67) | def _isolated_build( method _requires_isolated_build (line 81) | def _requires_isolated_build(self) -> bool: method _get_builder (line 120) | def _get_builder(self) -> Callable[..., None]: method _has_build_backend_defined (line 126) | def _has_build_backend_defined(self) -> bool: method build (line 129) | def build(self, options: BuildOptions) -> int: class BuildCommand (line 162) | class BuildCommand(EnvCommand): method _prepare_config_settings (line 202) | def _prepare_config_settings( method _prepare_formats (line 229) | def _prepare_formats(fmt: str | None) -> list[str]: method handle (line 234) | def handle(self) -> int: FILE: src/poetry/console/commands/cache/clear.py class CacheClearCommand (line 22) | class CacheClearCommand(Command): method handle (line 33) | def handle(self) -> int: FILE: src/poetry/console/commands/cache/list.py class CacheListCommand (line 7) | class CacheListCommand(Command): method handle (line 11) | def handle(self) -> int: FILE: src/poetry/console/commands/check.py class CheckCommand (line 18) | class CheckCommand(Command): method _validate_classifiers (line 39) | def _validate_classifiers( method _validate_readme (line 89) | def _validate_readme(self, readme: str | list[str], poetry_file: Path)... method _validate_dependencies_source (line 101) | def _validate_dependencies_source(self, config: dict[str, Any]) -> lis... method handle (line 132) | def handle(self) -> int: FILE: src/poetry/console/commands/command.py class Command (line 16) | class Command(BaseCommand): method poetry (line 22) | def poetry(self) -> Poetry: method set_poetry (line 28) | def set_poetry(self, poetry: Poetry) -> None: method get_application (line 36) | def get_application(self) -> Application: method reset_poetry (line 43) | def reset_poetry(self) -> None: method option (line 46) | def option(self, name: str, default: Any = None) -> Any: FILE: src/poetry/console/commands/config.py class ConfigCommand (line 46) | class ConfigCommand(Command): method unique_config_values (line 76) | def unique_config_values(self) -> dict[str, tuple[Any, Any]]: method handle (line 111) | def handle(self) -> int: method _handle_single_value (line 346) | def _handle_single_value( method _list_configuration (line 366) | def _list_configuration( method _migrate (line 400) | def _migrate(self) -> None: FILE: src/poetry/console/commands/debug/info.py class DebugInfoCommand (line 10) | class DebugInfoCommand(Command): method handle (line 14) | def handle(self) -> int: FILE: src/poetry/console/commands/debug/resolve.py class DebugResolveCommand (line 20) | class DebugResolveCommand(InitCommand): method handle (line 45) | def handle(self) -> int: FILE: src/poetry/console/commands/debug/tags.py class DebugTagsCommand (line 6) | class DebugTagsCommand(EnvCommand): method handle (line 10) | def handle(self) -> int: FILE: src/poetry/console/commands/env/activate.py class ShellNotSupportedError (line 19) | class ShellNotSupportedError(Exception): class EnvActivateCommand (line 23) | class EnvActivateCommand(EnvCommand): method handle (line 27) | def handle(self) -> int: method _get_activate_command (line 45) | def _get_activate_command(self, env: Env, shell: str) -> str: method _quote (line 67) | def _quote(activation_script: Path, shell: str) -> str: FILE: src/poetry/console/commands/env/info.py class EnvInfoCommand (line 17) | class EnvInfoCommand(Command): method handle (line 28) | def handle(self) -> int: method _display_complete_info (line 52) | def _display_complete_info(self, env: Env) -> None: FILE: src/poetry/console/commands/env/list.py class EnvListCommand (line 15) | class EnvListCommand(Command): method handle (line 23) | def handle(self) -> int: FILE: src/poetry/console/commands/env/remove.py class EnvRemoveCommand (line 17) | class EnvRemoveCommand(Command): method handle (line 39) | def handle(self) -> int: FILE: src/poetry/console/commands/env/use.py class EnvUseCommand (line 15) | class EnvUseCommand(Command): method handle (line 23) | def handle(self) -> int: FILE: src/poetry/console/commands/env_command.py class EnvCommand (line 12) | class EnvCommand(Command): method __init__ (line 13) | def __init__(self) -> None: method env (line 20) | def env(self) -> Env: method set_env (line 24) | def set_env(self, env: Env) -> None: FILE: src/poetry/console/commands/group_command.py class GroupCommand (line 19) | class GroupCommand(Command): method _group_dependency_options (line 21) | def _group_dependency_options() -> list[Option]: method non_optional_groups (line 47) | def non_optional_groups(self) -> set[str]: method default_group (line 56) | def default_group(self) -> str | None: method default_groups (line 66) | def default_groups(self) -> set[str]: method activated_groups (line 75) | def activated_groups(self) -> set[NormalizedName]: method project_with_activated_groups_only (line 112) | def project_with_activated_groups_only(self) -> ProjectPackage: method _validate_group_options (line 117) | def _validate_group_options(self, group_options: dict[str, set[str]]) ... FILE: src/poetry/console/commands/init.py class InitCommand (line 33) | class InitCommand(Command): method __init__ (line 68) | def __init__(self) -> None: method handle (line 73) | def handle(self) -> int: method _init_pyproject (line 86) | def _init_pyproject( method _generate_choice_list (line 285) | def _generate_choice_list( method _determine_requirements (line 305) | def _determine_requirements( method _find_best_version_for_package (line 441) | def _find_best_version_for_package( method _parse_requirements (line 462) | def _parse_requirements(self, requirements: list[str]) -> list[dict[st... method _format_requirements (line 482) | def _format_requirements(self, requirements: list[dict[str, str]]) -> ... method _validate_author (line 499) | def _validate_author(author: str, default: str) -> str | None: method _validate_package (line 518) | def _validate_package(package: str | None) -> str | None: method _get_pool (line 524) | def _get_pool(self) -> RepositoryPool: FILE: src/poetry/console/commands/install.py class InstallCommand (line 17) | class InstallCommand(InstallerCommand): method activated_groups (line 87) | def activated_groups(self) -> set[NormalizedName]: method _alternative_sync_command (line 94) | def _alternative_sync_command(self) -> str: method _with_synchronization (line 98) | def _with_synchronization(self) -> bool: method handle (line 109) | def handle(self) -> int: FILE: src/poetry/console/commands/installer_command.py class InstallerCommand (line 16) | class InstallerCommand(GroupCommand, EnvCommand): method __init__ (line 17) | def __init__(self) -> None: method reset_poetry (line 23) | def reset_poetry(self) -> None: method installer (line 30) | def installer(self) -> Installer: method set_installer (line 34) | def set_installer(self, installer: Installer) -> None: method execute (line 37) | def execute(self, io: IO) -> int: FILE: src/poetry/console/commands/lock.py class LockCommand (line 15) | class LockCommand(InstallerCommand): method handle (line 41) | def handle(self) -> int: FILE: src/poetry/console/commands/new.py class NewCommand (line 17) | class NewCommand(InitCommand): method handle (line 60) | def handle(self) -> int: FILE: src/poetry/console/commands/publish.py class PublishCommand (line 16) | class PublishCommand(Command): method handle (line 62) | def handle(self) -> int: FILE: src/poetry/console/commands/python/__init__.py function get_request_title (line 4) | def get_request_title(request: str, implementation: str, free_threaded: ... FILE: src/poetry/console/commands/python/install.py class PythonInstallCommand (line 26) | class PythonInstallCommand(Command): method handle (line 55) | def handle(self) -> int: FILE: src/poetry/console/commands/python/list.py class PythonListCommand (line 23) | class PythonListCommand(Command): method handle (line 51) | def handle(self) -> int: FILE: src/poetry/console/commands/python/remove.py class PythonRemoveCommand (line 24) | class PythonRemoveCommand(Command): method remove_python_installation (line 49) | def remove_python_installation( method handle (line 99) | def handle(self) -> int: FILE: src/poetry/console/commands/remove.py class RemoveCommand (line 24) | class RemoveCommand(InstallerCommand): method handle (line 58) | def handle(self) -> int: method _remove_packages (line 187) | def _remove_packages( method _remove_references_to_group (line 215) | def _remove_references_to_group( FILE: src/poetry/console/commands/run.py class RunCommand (line 17) | class RunCommand(EnvCommand): method handle (line 25) | def handle(self) -> int: method _module (line 40) | def _module(self) -> Module: method run_script (line 50) | def run_script(self, script: str | dict[str, str], args: list[str]) ->... method _warning_not_installed_script (line 90) | def _warning_not_installed_script(self, script: str) -> None: FILE: src/poetry/console/commands/search.py class SearchCommand (line 15) | class SearchCommand(Command): method handle (line 23) | def handle(self) -> int: FILE: src/poetry/console/commands/self/add.py class SelfAddCommand (line 17) | class SelfAddCommand(SelfCommand, AddCommand): method _hint_update_packages (line 36) | def _hint_update_packages(self) -> str: FILE: src/poetry/console/commands/self/install.py class SelfInstallCommand (line 18) | class SelfInstallCommand(SelfCommand, InstallCommand): method activated_groups (line 38) | def activated_groups(self) -> set[NormalizedName]: method _alternative_sync_command (line 42) | def _alternative_sync_command(self) -> str: FILE: src/poetry/console/commands/self/lock.py class SelfLockCommand (line 7) | class SelfLockCommand(SelfCommand, LockCommand): FILE: src/poetry/console/commands/self/remove.py class SelfRemoveCommand (line 14) | class SelfRemoveCommand(SelfCommand, RemoveCommand): FILE: src/poetry/console/commands/self/self_command.py class SelfCommand (line 30) | class SelfCommand(InstallerCommand): method get_default_system_pyproject_file (line 34) | def get_default_system_pyproject_file() -> Path: method system_pyproject (line 44) | def system_pyproject(self) -> Path: method reset_env (line 49) | def reset_env(self) -> None: method env (line 53) | def env(self) -> Env: method default_group (line 60) | def default_group(self) -> str: method activated_groups (line 64) | def activated_groups(self) -> set[NormalizedName]: method generate_system_pyproject (line 67) | def generate_system_pyproject(self) -> None: method reset_poetry (line 101) | def reset_poetry(self) -> None: method poetry (line 109) | def poetry(self) -> Poetry: method _system_project_handle (line 116) | def _system_project_handle(self) -> int: method reset (line 129) | def reset(self) -> None: method handle (line 137) | def handle(self) -> int: FILE: src/poetry/console/commands/self/show/__init__.py class SelfShowCommand (line 17) | class SelfShowCommand(SelfCommand, ShowCommand): method activated_groups (line 41) | def activated_groups(self) -> set[NormalizedName]: FILE: src/poetry/console/commands/self/show/plugins.py class PluginPackage (line 17) | class PluginPackage: method append (line 24) | def append(self, entry_point: metadata.EntryPoint) -> None: class SelfShowPluginsCommand (line 39) | class SelfShowPluginsCommand(SelfCommand): method _system_project_handle (line 51) | def _system_project_handle(self) -> int: FILE: src/poetry/console/commands/self/sync.py class SelfSyncCommand (line 13) | class SelfSyncCommand(SelfInstallCommand): method _with_synchronization (line 34) | def _with_synchronization(self) -> bool: FILE: src/poetry/console/commands/self/update.py class SelfUpdateCommand (line 20) | class SelfUpdateCommand(SelfCommand): method _system_project_handle (line 43) | def _system_project_handle(self) -> int: FILE: src/poetry/console/commands/show.py function reverse_deps (line 32) | def reverse_deps(pkg: Package, repo: Repository) -> dict[str, str]: class OutputFormats (line 43) | class OutputFormats(str, Enum): class ShowCommand (line 48) | class ShowCommand(GroupCommand, EnvCommand): method handle (line 96) | def handle(self) -> int: method _lock_create_command (line 169) | def _lock_create_command(self) -> str: method _display_single_package_information (line 175) | def _display_single_package_information( method _display_packages_information (line 261) | def _display_packages_information( method _display_packages_tree_information (line 506) | def _display_packages_tree_information( method display_package_tree (line 519) | def display_package_tree( method _display_tree (line 568) | def _display_tree( method _write_tree_line (line 624) | def _write_tree_line(self, io: IO, line: str) -> None: method init_styles (line 633) | def init_styles(self, io: IO) -> None: method find_latest_package (line 641) | def find_latest_package( method get_update_status (line 670) | def get_update_status(self, latest: Package, package: Package) -> str: method get_installed_status (line 685) | def get_installed_status( FILE: src/poetry/console/commands/source/add.py class SourceAddCommand (line 23) | class SourceAddCommand(Command): method handle (line 52) | def handle(self) -> int: FILE: src/poetry/console/commands/source/remove.py class SourceRemoveCommand (line 16) | class SourceRemoveCommand(Command): method handle (line 27) | def handle(self) -> int: FILE: src/poetry/console/commands/source/show.py class SourceShowCommand (line 16) | class SourceShowCommand(Command): method notify_implicit_pypi (line 29) | def notify_implicit_pypi(self) -> None: method handle (line 40) | def handle(self) -> int: FILE: src/poetry/console/commands/sync.py class SyncCommand (line 13) | class SyncCommand(InstallCommand): method _with_synchronization (line 39) | def _with_synchronization(self) -> bool: FILE: src/poetry/console/commands/update.py class UpdateCommand (line 22) | class UpdateCommand(InstallerCommand): method handle (line 50) | def handle(self) -> int: FILE: src/poetry/console/commands/version.py class VersionCommand (line 21) | class VersionCommand(Command): method handle (line 54) | def handle(self) -> int: method increment_version (line 92) | def increment_version( FILE: src/poetry/console/exceptions.py class PoetryConsoleError (line 19) | class PoetryConsoleError(CleoError): class GroupNotFoundError (line 23) | class GroupNotFoundError(PoetryConsoleError): class ConsoleMessage (line 28) | class ConsoleMessage: method stripped (line 43) | def stripped(self) -> str: method wrap (line 48) | def wrap(self, tag: str) -> ConsoleMessage: method indent (line 53) | def indent(self, indent: str) -> ConsoleMessage: method make_section (line 59) | def make_section( class PrettyCalledProcessError (line 76) | class PrettyCalledProcessError: method __post_init__ (line 103) | def __post_init__(self, exception: CalledProcessError, indent: str) ->... class PoetryRuntimeError (line 124) | class PoetryRuntimeError(PoetryConsoleError): method __init__ (line 129) | def __init__( method write (line 140) | def write(self, io: IO) -> None: method get_text (line 148) | def get_text( method __str__ (line 180) | def __str__(self) -> str: method create (line 184) | def create( method append (line 229) | def append(self, message: str | ConsoleMessage) -> PoetryRuntimeError: FILE: src/poetry/console/logging/formatters/builder_formatter.py class BuilderLogFormatter (line 8) | class BuilderLogFormatter(Formatter): method format (line 9) | def format(self, msg: str) -> str: FILE: src/poetry/console/logging/formatters/formatter.py class Formatter (line 7) | class Formatter(ABC): method format (line 9) | def format(self, msg: str) -> str: ... FILE: src/poetry/console/logging/io_formatter.py class IOFormatter (line 19) | class IOFormatter(logging.Formatter): method format (line 27) | def format(self, record: LogRecord) -> str: function _log_prefix (line 50) | def _log_prefix(record: LogRecord) -> str: function _path_to_package (line 57) | def _path_to_package(path: Path) -> str | None: FILE: src/poetry/console/logging/io_handler.py class IOHandler (line 14) | class IOHandler(logging.Handler): method __init__ (line 15) | def __init__(self, io: IO) -> None: method emit (line 20) | def emit(self, record: LogRecord) -> None: FILE: src/poetry/exceptions.py class PoetryError (line 4) | class PoetryError(Exception): FILE: src/poetry/factory.py class Factory (line 48) | class Factory(BaseFactory): method _ensure_valid_poetry_version (line 53) | def _ensure_valid_poetry_version(self, cwd: Path | None) -> None: method create_poetry (line 67) | def create_poetry( method create_pool (line 151) | def create_pool( method create_package_source (line 207) | def create_package_source( method create_legacy_pyproject_from_package (line 252) | def create_legacy_pyproject_from_package(cls, package: Package) -> TOM... method validate (line 358) | def validate( FILE: src/poetry/inspection/info.py class PackageInfoError (line 45) | class PackageInfoError(ValueError): method __init__ (line 46) | def __init__(self, path: Path, *reasons: BaseException | str) -> None: class PackageInfo (line 51) | class PackageInfo: method __init__ (line 52) | def __init__( method cache_version (line 77) | def cache_version(self) -> str | None: method update (line 80) | def update(self, other: PackageInfo) -> PackageInfo: method asdict (line 90) | def asdict(self) -> dict[str, Any]: method load (line 106) | def load(cls, data: dict[str, Any]) -> PackageInfo: method to_package (line 116) | def to_package( method _requirements_from_distribution (line 219) | def _requirements_from_distribution( method _from_distribution (line 256) | def _from_distribution( method _from_sdist_file (line 290) | def _from_sdist_file(cls, path: Path) -> PackageInfo: method _find_dist_info (line 345) | def _find_dist_info(path: Path) -> Iterator[Path]: method from_metadata (line 361) | def from_metadata(cls, metadata: RawMetadata) -> PackageInfo: method from_metadata_directory (line 376) | def from_metadata_directory(cls, path: Path) -> PackageInfo | None: method from_package (line 409) | def from_package(cls, package: Package) -> PackageInfo: method _get_poetry_package (line 432) | def _get_poetry_package(path: Path) -> ProjectPackage | None: method from_directory (line 442) | def from_directory(cls, path: Path) -> PackageInfo: method from_sdist (line 472) | def from_sdist(cls, path: Path) -> PackageInfo: method from_wheel (line 486) | def from_wheel(cls, path: Path) -> PackageInfo: method from_bdist (line 499) | def from_bdist(cls, path: Path) -> PackageInfo: method from_path (line 515) | def from_path(cls, path: Path) -> PackageInfo: function get_pep517_metadata (line 528) | def get_pep517_metadata(path: Path) -> PackageInfo: FILE: src/poetry/inspection/lazy_wheel.py class LazyWheelUnsupportedError (line 43) | class LazyWheelUnsupportedError(Exception): class HTTPRangeRequestUnsupportedError (line 47) | class HTTPRangeRequestUnsupportedError(LazyWheelUnsupportedError): class HTTPRangeRequestNotRespectedError (line 51) | class HTTPRangeRequestNotRespectedError(LazyWheelUnsupportedError): class UnsupportedWheelError (line 56) | class UnsupportedWheelError(LazyWheelUnsupportedError): class InvalidWheelError (line 60) | class InvalidWheelError(LazyWheelUnsupportedError): method __init__ (line 63) | def __init__(self, location: str, name: str) -> None: method __str__ (line 67) | def __str__(self) -> str: function metadata_from_wheel_url (line 71) | def metadata_from_wheel_url( class MergeIntervals (line 116) | class MergeIntervals: method __init__ (line 119) | def __init__(self, *, left: Iterable[int] = (), right: Iterable[int] =... method __repr__ (line 123) | def __repr__(self) -> str: method _merge (line 129) | def _merge( method minimal_intervals_covering (line 151) | def minimal_intervals_covering( class ReadOnlyIOWrapper (line 170) | class ReadOnlyIOWrapper(IO[bytes]): method __init__ (line 177) | def __init__(self, inner: IO[bytes]) -> None: method __enter__ (line 180) | def __enter__(self) -> Self: method __exit__ (line 184) | def __exit__( method __iter__ (line 192) | def __iter__(self) -> Iterator[bytes]: method __next__ (line 195) | def __next__(self) -> bytes: method mode (line 199) | def mode(self) -> str: method name (line 204) | def name(self) -> str: method seekable (line 208) | def seekable(self) -> bool: method close (line 212) | def close(self) -> None: method closed (line 217) | def closed(self) -> bool: method fileno (line 221) | def fileno(self) -> int: method flush (line 224) | def flush(self) -> None: method isatty (line 227) | def isatty(self) -> bool: method readable (line 230) | def readable(self) -> bool: method read (line 234) | def read(self, size: int = -1) -> bytes: method readline (line 243) | def readline(self, limit: int = -1) -> bytes: method readlines (line 247) | def readlines(self, hint: int = -1) -> list[bytes]: method seek (line 250) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 260) | def tell(self) -> int: method truncate (line 264) | def truncate(self, size: int | None = None) -> int: method writable (line 274) | def writable(self) -> bool: method write (line 278) | def write(self, s: Any) -> int: method writelines (line 281) | def writelines(self, lines: Iterable[Any]) -> None: class LazyFileOverHTTP (line 285) | class LazyFileOverHTTP(ReadOnlyIOWrapper): method __init__ (line 292) | def __init__( method __enter__ (line 308) | def __enter__(self) -> Self: method __exit__ (line 313) | def __exit__( method read (line 322) | def read(self, size: int = -1) -> bytes: method _uncached_headers (line 347) | def _uncached_headers(cls) -> dict[str, str]: method _setup_content (line 361) | def _setup_content(self) -> None: method _reset_content (line 386) | def _reset_content(self) -> None: method _content_length_from_head (line 401) | def _content_length_from_head(self) -> int: method _fetch_content_length (line 419) | def _fetch_content_length(self) -> int: method _stream_response (line 425) | def _stream_response(self, start: int, end: int) -> Response: method _fetch_content_range (line 446) | def _fetch_content_range(self, start: int, end: int) -> Iterator[bytes]: method _stay (line 457) | def _stay(self) -> Iterator[None]: method _ensure_downloaded (line 468) | def _ensure_downloaded(self, start: int, end: int) -> None: class LazyWheelOverHTTP (line 488) | class LazyWheelOverHTTP(LazyFileOverHTTP): method read_metadata (line 501) | def read_metadata(self, name: str) -> bytes: method _initial_chunk_length (line 509) | def _initial_chunk_length(cls) -> int: method _fetch_content_length (line 524) | def _fetch_content_length(self) -> int: method _parse_full_length_from_content_range (line 585) | def _parse_full_length_from_content_range(arg: str) -> int: method _try_initial_chunk_request (line 598) | def _try_initial_chunk_request( method _extract_content_length (line 647) | def _extract_content_length( method _prefetch_metadata (line 704) | def _prefetch_metadata(self, name: str) -> str: FILE: src/poetry/installation/chef.py class ChefError (line 25) | class ChefError(Exception): ... class Chef (line 28) | class Chef: method __init__ (line 29) | def __init__( method prepare (line 36) | def prepare( method _prepare (line 65) | def _prepare( method _prepare_sdist (line 90) | def _prepare_sdist( method _should_prepare (line 129) | def _should_prepare(self, archive: Path) -> bool: method _is_wheel (line 133) | def _is_wheel(cls, archive: Path) -> bool: FILE: src/poetry/installation/chooser.py class Chooser (line 30) | class Chooser: method __init__ (line 35) | def __init__( method choose_for (line 48) | def choose_for(self, package: Package) -> Link: method _no_links_found_error (line 125) | def _no_links_found_error( method _get_links (line 199) | def _get_links(self, package: Package) -> list[Link]: method _sort_key (line 268) | def _sort_key( method _is_link_hash_allowed_for_package (line 329) | def _is_link_hash_allowed_for_package(self, link: Link, package: Packa... FILE: src/poetry/installation/executor.py function _package_get_name (line 56) | def _package_get_name(package: Package) -> str | None: class Executor (line 62) | class Executor: method __init__ (line 63) | def __init__( method installations_count (line 117) | def installations_count(self) -> int: method updates_count (line 121) | def updates_count(self) -> int: method removals_count (line 125) | def removals_count(self) -> int: method enabled (line 129) | def enabled(self) -> bool: method supports_fancy_output (line 132) | def supports_fancy_output(self) -> bool: method disable (line 135) | def disable(self) -> Executor: method dry_run (line 140) | def dry_run(self, dry_run: bool = True) -> Executor: method verbose (line 145) | def verbose(self, verbose: bool = True) -> Executor: method enable_bytecode_compilation (line 150) | def enable_bytecode_compilation(self, enable: bool = True) -> None: method execute (line 153) | def execute(self, operations: list[Operation]) -> int: method _write (line 250) | def _write(self, operation: Operation, line: str) -> None: method _execute_operation (line 268) | def _execute_operation(self, operation: Operation) -> None: method _do_execute_operation (line 409) | def _do_execute_operation(self, operation: Operation) -> int: method _increment_operations_count (line 443) | def _increment_operations_count(self, operation: Operation, executed: ... method run_pip (line 450) | def run_pip(self, *args: Any, **kwargs: Any) -> int: method get_operation_message (line 465) | def get_operation_message( method _display_summary (line 520) | def _display_summary(self, operations: list[Operation]) -> None: method _execute_install (line 553) | def _execute_install(self, operation: Install | Update) -> int: method _execute_update (line 560) | def _execute_update(self, operation: Install | Update) -> int: method _execute_uninstall (line 567) | def _execute_uninstall(self, operation: Uninstall) -> int: method _install (line 574) | def _install(self, operation: Install | Update) -> int: method _update (line 614) | def _update(self, operation: Install | Update) -> int: method _remove (line 617) | def _remove(self, package: Package) -> int: method _prepare_archive (line 632) | def _prepare_archive( method _prepare_git_archive (line 662) | def _prepare_git_archive(self, operation: Install | Update) -> Path: method _download (line 719) | def _download(self, operation: Install | Update) -> Path: method _download_link (line 736) | def _download_link(self, operation: Install | Update, link: Link) -> P... method _populate_hashes_dict (line 782) | def _populate_hashes_dict(self, archive: Path, package: Package) -> None: method _validate_archive_hash (line 788) | def _validate_archive_hash(archive: Path, package: Package) -> str: method _download_archive (line 809) | def _download_archive( method _should_write_operation (line 850) | def _should_write_operation(self, operation: Operation) -> bool: method _save_url_reference (line 855) | def _save_url_reference(self, operation: Operation) -> None: method _create_git_url_reference (line 894) | def _create_git_url_reference(self, package: Package) -> dict[str, Any]: method _create_url_url_reference (line 908) | def _create_url_url_reference(self, package: Package) -> dict[str, Any]: method _create_file_url_reference (line 913) | def _create_file_url_reference(self, package: Package) -> dict[str, Any]: method _create_directory_url_reference (line 922) | def _create_directory_url_reference(self, package: Package) -> dict[st... method _get_archive_info (line 934) | def _get_archive_info(self, package: Package) -> dict[str, Any]: FILE: src/poetry/installation/installer.py class Installer (line 36) | class Installer: method __init__ (line 37) | def __init__( method executor (line 88) | def executor(self) -> Executor: method set_package (line 91) | def set_package(self, package: ProjectPackage) -> Installer: method set_locker (line 96) | def set_locker(self, locker: Locker) -> Installer: method run (line 101) | def run(self) -> int: method dry_run (line 115) | def dry_run(self, dry_run: bool = True) -> Installer: method is_dry_run (line 121) | def is_dry_run(self) -> bool: method requires_synchronization (line 124) | def requires_synchronization( method verbose (line 131) | def verbose(self, verbose: bool = True) -> Installer: method is_verbose (line 137) | def is_verbose(self) -> bool: method only_groups (line 140) | def only_groups(self, groups: Iterable[NormalizedName]) -> Installer: method update (line 145) | def update(self, update: bool = True) -> Installer: method skip_directory (line 150) | def skip_directory(self, skip_directory: bool = False) -> Installer: method lock (line 155) | def lock(self, update: bool = True) -> Installer: method is_updating (line 165) | def is_updating(self) -> bool: method execute_operations (line 168) | def execute_operations(self, execute: bool = True) -> Installer: method whitelist (line 174) | def whitelist(self, packages: Iterable[str]) -> Installer: method extras (line 179) | def extras(self, extras: list[str]) -> Installer: method _do_refresh (line 184) | def _do_refresh(self) -> int: method _do_install (line 216) | def _do_install(self) -> int: method _lock_fix_command (line 384) | def _lock_fix_command(self) -> str: method _write_lock_file (line 392) | def _write_lock_file( method _execute (line 404) | def _execute(self, operations: list[Operation]) -> int: method _get_installed (line 407) | def _get_installed(self) -> InstalledRepository: FILE: src/poetry/installation/operations/install.py class Install (line 12) | class Install(Operation): method __init__ (line 13) | def __init__( method package (line 21) | def package(self) -> Package: method job_type (line 25) | def job_type(self) -> str: method __str__ (line 28) | def __str__(self) -> str: method __repr__ (line 34) | def __repr__(self) -> str: FILE: src/poetry/installation/operations/operation.py class Operation (line 13) | class Operation(ABC): method __init__ (line 14) | def __init__(self, reason: str | None = None, priority: float = 0) -> ... method job_type (line 23) | def job_type(self) -> str: ... method reason (line 26) | def reason(self) -> str | None: method skipped (line 30) | def skipped(self) -> bool: method skip_reason (line 34) | def skip_reason(self) -> str | None: method priority (line 38) | def priority(self) -> float: method package (line 43) | def package(self) -> Package: ... method format_version (line 45) | def format_version(self, package: Package) -> str: method skip (line 49) | def skip(self, reason: str) -> Self: FILE: src/poetry/installation/operations/uninstall.py class Uninstall (line 12) | class Uninstall(Operation): method __init__ (line 13) | def __init__( method package (line 24) | def package(self) -> Package: method job_type (line 28) | def job_type(self) -> str: method __str__ (line 31) | def __str__(self) -> str: method __repr__ (line 37) | def __repr__(self) -> str: FILE: src/poetry/installation/operations/update.py class Update (line 12) | class Update(Operation): method __init__ (line 13) | def __init__( method initial_package (line 26) | def initial_package(self) -> Package: method target_package (line 30) | def target_package(self) -> Package: method package (line 34) | def package(self) -> Package: method job_type (line 38) | def job_type(self) -> str: method __str__ (line 41) | def __str__(self) -> str: method __repr__ (line 49) | def __repr__(self) -> str: FILE: src/poetry/installation/wheel_installer.py class WheelDestination (line 32) | class WheelDestination(SchemeDictionaryDestination): method write_to_fs (line 35) | def write_to_fs( class WheelInstaller (line 68) | class WheelInstaller: method __init__ (line 69) | def __init__(self, env: Env) -> None: method enable_bytecode_compilation (line 85) | def enable_bytecode_compilation(self, enable: bool = True) -> None: method install (line 88) | def install(self, wheel: Path) -> None: FILE: src/poetry/json/__init__.py function validate_object (line 13) | def validate_object(obj: dict[str, Any]) -> list[str]: FILE: src/poetry/layouts/__init__.py function layout (line 10) | def layout(name: str) -> type[Layout]: FILE: src/poetry/layouts/layout.py class Layout (line 61) | class Layout: method __init__ (line 62) | def __init__( method basedir (line 95) | def basedir(self) -> Path: method package_path (line 99) | def package_path(self) -> Path: method get_package_include (line 102) | def get_package_include(self) -> InlineTable | None: method create (line 125) | def create( method generate_project_content (line 139) | def generate_project_content( method _create_default (line 220) | def _create_default(self, path: Path, src: bool = True) -> None: method _create_readme (line 227) | def _create_readme(self, path: Path) -> Path: method _create_tests (line 233) | def _create_tests(path: Path) -> None: method _write_poetry (line 240) | def _write_poetry(self, path: Path) -> None: FILE: src/poetry/layouts/src.py class SrcLayout (line 8) | class SrcLayout(Layout): method basedir (line 10) | def basedir(self) -> Path: FILE: src/poetry/locations.py function data_dir (line 21) | def data_dir() -> Path: FILE: src/poetry/masonry/builders/editable.py class EditableBuilder (line 44) | class EditableBuilder(Builder): method __init__ (line 45) | def __init__(self, poetry: Poetry, env: Env, io: IO) -> None: method build (line 52) | def build(self, target_dir: Path | None = None) -> Path: method _run_build_script (line 83) | def _run_build_script(self, build_script: str) -> None: method _setup_build (line 88) | def _setup_build(self) -> None: method _add_pth (line 107) | def _add_pth(self) -> list[Path]: method _add_scripts (line 142) | def _add_scripts(self) -> list[Path]: method _add_dist_info (line 216) | def _add_dist_info(self, added_files: list[Path]) -> None: method _get_file_hash (line 260) | def _get_file_hash(self, filepath: Path) -> str: method _debug (line 273) | def _debug(self, msg: str) -> None: FILE: src/poetry/mixology/__init__.py function resolve_version (line 15) | def resolve_version(root: ProjectPackage, provider: Provider) -> SolverR... FILE: src/poetry/mixology/assignment.py class Assignment (line 15) | class Assignment(Term): method __init__ (line 20) | def __init__( method decision_level (line 35) | def decision_level(self) -> int: method index (line 39) | def index(self) -> int: method cause (line 43) | def cause(self) -> Incompatibility | None: method decision (line 47) | def decision(cls, package: Package, decision_level: int, index: int) -... method derivation (line 51) | def derivation( method is_decision (line 61) | def is_decision(self) -> bool: FILE: src/poetry/mixology/failure.py class SolveFailureError (line 15) | class SolveFailureError(Exception): method __init__ (line 16) | def __init__(self, incompatibility: Incompatibility) -> None: method message (line 20) | def message(self) -> str: method __str__ (line 23) | def __str__(self) -> str: class _Writer (line 27) | class _Writer: method __init__ (line 28) | def __init__(self, root: Incompatibility) -> None: method write (line 36) | def write(self) -> str: method _write (line 133) | def _write( method _visit (line 143) | def _visit( method _is_collapsible (line 269) | def _is_collapsible(self, incompatibility: Incompatibility) -> bool: method _is_single_line (line 293) | def _is_single_line(self, cause: ConflictCauseError) -> bool: method _count_derivations (line 298) | def _count_derivations(self, incompatibility: Incompatibility) -> None: FILE: src/poetry/mixology/incompatibility.py class Incompatibility (line 21) | class Incompatibility: method __init__ (line 22) | def __init__(self, terms: list[Term], cause: IncompatibilityCauseError... method terms (line 80) | def terms(self) -> list[Term]: method cause (line 84) | def cause(self) -> IncompatibilityCauseError: method external_incompatibilities (line 88) | def external_incompatibilities( method is_failure (line 103) | def is_failure(self) -> bool: method __str__ (line 108) | def __str__(self) -> str: method and_to_string (line 206) | def and_to_string( method _try_requires_both (line 235) | def _try_requires_both( method _try_requires_through (line 284) | def _try_requires_through( method _try_requires_forbidden (line 365) | def _try_requires_forbidden( method _terse (line 422) | def _terse(self, term: Term, allow_every: bool = False) -> str: method _single_term_where (line 435) | def _single_term_where(self, callable: Callable[[Term], bool]) -> Term... method __repr__ (line 448) | def __repr__(self) -> str: FILE: src/poetry/mixology/incompatibility_cause.py class IncompatibilityCauseError (line 10) | class IncompatibilityCauseError(Exception): class RootCauseError (line 16) | class RootCauseError(IncompatibilityCauseError): class NoVersionsCauseError (line 20) | class NoVersionsCauseError(IncompatibilityCauseError): class DependencyCauseError (line 24) | class DependencyCauseError(IncompatibilityCauseError): class ConflictCauseError (line 28) | class ConflictCauseError(IncompatibilityCauseError): method __init__ (line 34) | def __init__(self, conflict: Incompatibility, other: Incompatibility) ... method conflict (line 39) | def conflict(self) -> Incompatibility: method other (line 43) | def other(self) -> Incompatibility: method __str__ (line 46) | def __str__(self) -> str: class PythonCauseError (line 50) | class PythonCauseError(IncompatibilityCauseError): method __init__ (line 57) | def __init__(self, python_version: str, root_python_version: str) -> N... method python_version (line 62) | def python_version(self) -> str: method root_python_version (line 66) | def root_python_version(self) -> str: class PlatformCauseError (line 70) | class PlatformCauseError(IncompatibilityCauseError): method __init__ (line 76) | def __init__(self, platform: str) -> None: method platform (line 80) | def platform(self) -> str: FILE: src/poetry/mixology/partial_solution.py class PartialSolution (line 17) | class PartialSolution: method __init__ (line 27) | def __init__(self) -> None: method decisions (line 56) | def decisions(self) -> list[Package]: method decision_level (line 60) | def decision_level(self) -> int: method attempted_solutions (line 64) | def attempted_solutions(self) -> int: method unsatisfied (line 68) | def unsatisfied(self) -> list[Dependency]: method decide (line 75) | def decide(self, package: Package) -> None: method derive (line 94) | def derive( method _assign (line 110) | def _assign(self, assignment: Assignment) -> None: method backtrack (line 117) | def backtrack(self, decision_level: int) -> None: method _register (line 143) | def _register(self, assignment: Assignment) -> None: method satisfier (line 170) | def satisfier(self, term: Term) -> Assignment: method satisfies (line 204) | def satisfies(self, term: Term) -> bool: method relation (line 207) | def relation(self, term: Term) -> str: FILE: src/poetry/mixology/result.py class SolverResult (line 11) | class SolverResult: method __init__ (line 12) | def __init__( method packages (line 23) | def packages(self) -> list[Package]: method attempted_solutions (line 27) | def attempted_solutions(self) -> int: FILE: src/poetry/mixology/set_relation.py class SetRelation (line 4) | class SetRelation: FILE: src/poetry/mixology/term.py class Term (line 15) | class Term: method __init__ (line 23) | def __init__(self, dependency: Dependency, is_positive: bool) -> None: method inverse (line 30) | def inverse(self) -> Term: method dependency (line 34) | def dependency(self) -> Dependency: method constraint (line 38) | def constraint(self) -> VersionConstraint: method is_positive (line 41) | def is_positive(self) -> bool: method satisfies (line 44) | def satisfies(self, other: Term) -> bool: method _relation (line 53) | def _relation(self, other: Term) -> str: method _intersect (line 121) | def _intersect(self, other: Term) -> Term | None: method difference (line 153) | def difference(self, other: Term) -> Term | None: method _compatible_dependency (line 160) | def _compatible_dependency(self, other: Dependency) -> bool: method _non_empty_term (line 173) | def _non_empty_term( method __str__ (line 193) | def __str__(self) -> str: method __repr__ (line 197) | def __repr__(self) -> str: FILE: src/poetry/mixology/version_solver.py class Preference (line 34) | class Preference(IntEnum): class DependencyCache (line 53) | class DependencyCache: method __init__ (line 62) | def __init__(self, provider: Provider) -> None: method _search_for (line 83) | def _search_for( method search_for (line 110) | def search_for( method clear_level (line 140) | def clear_level(self, level: int) -> None: class VersionSolver (line 147) | class VersionSolver: method __init__ (line 156) | def __init__(self, root: ProjectPackage, provider: Provider) -> None: method solution (line 169) | def solution(self) -> PartialSolution: method solve (line 172) | def solve(self) -> SolverResult: method _propagate (line 200) | def _propagate(self, package: str) -> None: method _propagate_incompatibility (line 244) | def _propagate_incompatibility( method _resolve_conflict (line 305) | def _resolve_conflict(self, incompatibility: Incompatibility) -> Incom... method _get_comp_key (line 450) | def _get_comp_key(self, dependency: Dependency) -> CompKey: method _choose_next (line 555) | def _choose_next(self, unsatisfied: list[Dependency]) -> Dependency: method _choose_package_version (line 561) | def _choose_package_version(self) -> str | None: method _result (line 623) | def _result(self) -> SolverResult: method _add_incompatibility (line 635) | def _add_incompatibility(self, incompatibility: Incompatibility) -> None: method _log (line 652) | def _log(self, text: str) -> None: FILE: src/poetry/packages/dependency_package.py class DependencyPackage (line 13) | class DependencyPackage: method __init__ (line 14) | def __init__(self, dependency: Dependency, package: Package) -> None: method dependency (line 19) | def dependency(self) -> Dependency: method package (line 23) | def package(self) -> Package: method clone (line 26) | def clone(self) -> DependencyPackage: method with_features (line 29) | def with_features(self, features: Iterable[str]) -> DependencyPackage: method without_features (line 32) | def without_features(self) -> DependencyPackage: method __str__ (line 35) | def __str__(self) -> str: method __repr__ (line 38) | def __repr__(self) -> str: method __hash__ (line 41) | def __hash__(self) -> int: method __eq__ (line 44) | def __eq__(self, other: object) -> bool: FILE: src/poetry/packages/direct_origin.py function _get_package_from_git (line 26) | def _get_package_from_git( class DirectOrigin (line 58) | class DirectOrigin: method __init__ (line 59) | def __init__(self, artifact_cache: ArtifactCache) -> None: method get_package_from_file (line 66) | def get_package_from_file(cls, file_path: Path) -> Package: method get_package_from_directory (line 87) | def get_package_from_directory(cls, directory: Path) -> Package: method _download_file (line 90) | def _download_file(self, url: str, dest: Path) -> None: method get_package_from_url (line 95) | def get_package_from_url(self, url: str) -> Package: method get_package_from_vcs (line 109) | def get_package_from_vcs( FILE: src/poetry/packages/locker.py class Locker (line 55) | class Locker: method __init__ (line 72) | def __init__(self, lock: Path, pyproject_data: dict[str, Any]) -> None: method lock (line 79) | def lock(self) -> Path: method lock_data (line 83) | def lock_data(self) -> dict[str, Any]: method is_locked (line 89) | def is_locked(self) -> bool: method is_fresh (line 95) | def is_fresh(self) -> bool: method is_locked_groups_and_markers (line 126) | def is_locked_groups_and_markers(self) -> bool: method set_pyproject_data (line 133) | def set_pyproject_data(self, pyproject_data: dict[str, Any]) -> None: method set_local_config (line 137) | def set_local_config(self, local_config: dict[str, Any]) -> None: method locked_repository (line 147) | def locked_repository(self) -> LockfileRepository: method locked_packages (line 168) | def locked_packages(self) -> dict[Package, TransitivePackageInfo]: method set_lock_data (line 201) | def set_lock_data( method _compute_lock_data (line 213) | def _compute_lock_data( method _should_write (line 248) | def _should_write(self, lock: TOMLDocument) -> bool: method _write_lock_data (line 261) | def _write_lock_data(self, data: TOMLDocument) -> None: method _get_content_hash (line 292) | def _get_content_hash(self, *, with_dependency_groups: bool = True) ->... method _get_lock_data (line 343) | def _get_lock_data(self) -> dict[str, Any]: method _get_locked_package (line 387) | def _get_locked_package( method _lock_packages (line 495) | def _lock_packages( method _dump_package (line 518) | def _dump_package( FILE: src/poetry/packages/package_collection.py class PackageCollection (line 15) | class PackageCollection(list[DependencyPackage]): method __init__ (line 16) | def __init__( method append (line 28) | def append(self, package: Package | DependencyPackage) -> None: FILE: src/poetry/packages/transitive_package_info.py function group_sort_key (line 17) | def group_sort_key(group: NormalizedName) -> tuple[bool, NormalizedName]: class TransitivePackageInfo (line 22) | class TransitivePackageInfo: method get_marker (line 27) | def get_marker(self, groups: Iterable[NormalizedName]) -> BaseMarker: FILE: src/poetry/plugins/application_plugin.py class ApplicationPlugin (line 13) | class ApplicationPlugin(BasePlugin): method commands (line 21) | def commands(self) -> list[type[Command]]: method activate (line 24) | def activate(self, application: Application) -> None: FILE: src/poetry/plugins/base_plugin.py class BasePlugin (line 7) | class BasePlugin(ABC): method group (line 18) | def group(self) -> str: FILE: src/poetry/plugins/plugin.py class Plugin (line 15) | class Plugin(BasePlugin): method activate (line 23) | def activate(self, poetry: Poetry, io: IO) -> None: ... FILE: src/poetry/plugins/plugin_manager.py class PluginManager (line 45) | class PluginManager: method __init__ (line 50) | def __init__(self, group: str) -> None: method add_project_plugin_path (line 55) | def add_project_plugin_path(directory: Path) -> None: method ensure_project_plugins (line 72) | def ensure_project_plugins(cls, poetry: Poetry, io: IO) -> None: method load_plugins (line 75) | def load_plugins(self) -> None: method get_plugin_entry_points (line 81) | def get_plugin_entry_points(self) -> list[metadata.EntryPoint]: method activate (line 84) | def activate(self, *args: Any, **kwargs: Any) -> None: method _add_plugin (line 88) | def _add_plugin(self, plugin: Plugin) -> None: method _load_plugin_entry_point (line 96) | def _load_plugin_entry_point(self, ep: metadata.EntryPoint) -> None: class ProjectPluginCache (line 109) | class ProjectPluginCache: method __init__ (line 112) | def __init__(self, poetry: Poetry, io: IO) -> None: method _plugin_section (line 120) | def _plugin_section(self) -> dict[str, Any]: method _config (line 126) | def _config(self) -> dict[str, Any]: method ensure_plugins (line 135) | def ensure_plugins(self) -> None: method _is_fresh (line 255) | def _is_fresh(self) -> bool: method _install (line 264) | def _install( method _write_config (line 300) | def _write_config(self) -> None: method _ensure_cache_directory (line 310) | def _ensure_cache_directory(self) -> None: FILE: src/poetry/poetry.py class Poetry (line 29) | class Poetry(BasePoetry): method __init__ (line 32) | def __init__( method pyproject (line 55) | def pyproject(self) -> PyProjectTOML: method file (line 60) | def file(self) -> TOMLFile: method locker (line 64) | def locker(self) -> Locker: method pool (line 68) | def pool(self) -> RepositoryPool: method config (line 72) | def config(self) -> Config: method disable_cache (line 76) | def disable_cache(self) -> bool: method build_constraints (line 80) | def build_constraints(self) -> Mapping[NormalizedName, list[Dependency]]: method set_locker (line 83) | def set_locker(self, locker: Locker) -> Poetry: method set_pool (line 88) | def set_pool(self, pool: RepositoryPool) -> Poetry: method set_config (line 93) | def set_config(self, config: Config) -> Poetry: method get_sources (line 98) | def get_sources(self) -> list[Source]: FILE: src/poetry/publishing/hash_manager.py class Hexdigest (line 15) | class Hexdigest(NamedTuple): class HashManager (line 21) | class HashManager: method __init__ (line 22) | def __init__(self) -> None: method _md5_update (line 35) | def _md5_update(self, content: bytes) -> None: method _md5_hexdigest (line 39) | def _md5_hexdigest(self) -> str | None: method _blake_update (line 44) | def _blake_update(self, content: bytes) -> None: method _blake_hexdigest (line 48) | def _blake_hexdigest(self) -> str | None: method hash (line 53) | def hash(self, file: Path) -> None: method hexdigest (line 60) | def hexdigest(self) -> Hexdigest: FILE: src/poetry/publishing/publisher.py class Publisher (line 21) | class Publisher: method __init__ (line 26) | def __init__(self, poetry: Poetry, io: IO, dist_dir: Path | None = Non... method files (line 34) | def files(self) -> list[Path]: method publish (line 37) | def publish( FILE: src/poetry/publishing/uploader.py class UploadError (line 36) | class UploadError(Exception): class Uploader (line 40) | class Uploader: method __init__ (line 41) | def __init__(self, poetry: Poetry, io: IO, dist_dir: Path | None = Non... method user_agent (line 50) | def user_agent(self) -> str: method default_dist_dir (line 55) | def default_dist_dir(self) -> Path: method dist_dir (line 59) | def dist_dir(self) -> Path: method files (line 66) | def files(self) -> list[Path]: method version (line 70) | def version(self) -> str: method _files_and_version (line 74) | def _files_and_version(self) -> tuple[list[Path], str]: method auth (line 101) | def auth(self, username: str | None, password: str | None) -> None: method make_session (line 105) | def make_session(self) -> requests.Session: method get_auth (line 114) | def get_auth(self) -> tuple[str, str] | None: method upload (line 120) | def upload( method post_data (line 139) | def post_data(cls, file: Path) -> dict[str, Any]: method _upload (line 190) | def _upload( method _upload_file (line 200) | def _upload_file( method _register (line 286) | def _register(self, session: requests.Session, url: str) -> requests.R... method _prepare_data (line 307) | def _prepare_data(self, data: dict[str, Any]) -> list[tuple[str, str]]: method _get_type (line 319) | def _get_type(file: Path) -> Literal["bdist_wheel", "sdist"]: method _get_metadata (line 329) | def _get_metadata(file: Path) -> RawMetadata: method _is_file_exists_error (line 357) | def _is_file_exists_error(self, response: requests.Response) -> bool: FILE: src/poetry/puzzle/exceptions.py class SolverProblemError (line 13) | class SolverProblemError(Exception): method __init__ (line 14) | def __init__(self, error: SolveFailureError) -> None: method error (line 20) | def error(self) -> SolveFailureError: class OverrideNeededError (line 24) | class OverrideNeededError(Exception): method __init__ (line 25) | def __init__(self, *overrides: dict[Package, dict[str, Dependency]]) -... method overrides (line 29) | def overrides(self) -> tuple[dict[Package, dict[str, Dependency]], ...]: FILE: src/poetry/puzzle/provider.py class IncompatibleConstraintsError (line 63) | class IncompatibleConstraintsError(Exception): method __init__ (line 68) | def __init__( class Indicator (line 87) | class Indicator(ProgressIndicator): method context (line 92) | def context() -> Iterator[Callable[[str | None], None]]: method _formatter_context (line 100) | def _formatter_context(self) -> str: method _formatter_elapsed (line 106) | def _formatter_elapsed(self) -> str: class Provider (line 113) | class Provider: method __init__ (line 116) | def __init__( method pool (line 158) | def pool(self) -> RepositoryPool: method use_latest (line 162) | def use_latest(self) -> Collection[NormalizedName]: method _overrides_marker_intersection (line 166) | def _overrides_marker_intersection(self) -> BaseMarker: method _python_constraint (line 176) | def _python_constraint(self) -> VersionConstraint: method is_debugging (line 181) | def is_debugging(self) -> bool: method set_overrides (line 184) | def set_overrides(self, overrides: dict[Package, dict[str, Dependency]... method load_deferred (line 189) | def load_deferred(self, load_deferred: bool) -> None: method use_source_root (line 193) | def use_source_root(self, source_root: Path) -> Iterator[Provider]: method use_environment (line 203) | def use_environment(self, env: Env) -> Iterator[Provider]: method use_latest_for (line 221) | def use_latest_for(self, names: Collection[NormalizedName]) -> Iterato... method validate_package_for_dependency (line 230) | def validate_package_for_dependency( method search_for_direct_origin_dependency (line 240) | def search_for_direct_origin_dependency(self, dependency: Dependency) ... method search_for (line 278) | def search_for(self, dependency: Dependency) -> list[DependencyPackage]: method _search_for_vcs (line 315) | def _search_for_vcs(self, dependency: VCSDependency) -> Package: method _search_for_file (line 339) | def _search_for_file(self, dependency: FileDependency) -> Package: method _search_for_directory (line 350) | def _search_for_directory(self, dependency: DirectoryDependency) -> Pa... method _search_for_url (line 363) | def _search_for_url(self, dependency: URLDependency) -> Package: method _get_dependencies_with_overrides (line 378) | def _get_dependencies_with_overrides( method incompatibilities_for (line 400) | def incompatibilities_for( method _files_list_for_cmp (line 456) | def _files_list_for_cmp(files: Sequence[PackageFile]) -> list[str]: method complete_package (line 465) | def complete_package( method get_locked (line 775) | def get_locked(self, dependency: Dependency) -> DependencyPackage | None: method debug (line 796) | def debug(self, message: str, depth: int = 0) -> None: method _group_by_source (line 882) | def _group_by_source( method _merge_dependencies_by_constraint (line 902) | def _merge_dependencies_by_constraint( method _is_relevant_marker (line 930) | def _is_relevant_marker( method _resolve_overlapping_markers (line 949) | def _resolve_overlapping_markers( method _marker_values (line 1040) | def _marker_values( FILE: src/poetry/puzzle/solver.py class Solver (line 50) | class Solver: method __init__ (line 51) | def __init__( method provider (line 76) | def provider(self) -> Provider: method use_environment (line 80) | def use_environment(self, env: Env) -> Iterator[None]: method solve (line 84) | def solve( method _progress (line 130) | def _progress(self) -> Iterator[None]: method _solve_in_compatibility_mode (line 145) | def _solve_in_compatibility_mode( method _solve (line 169) | def _solve(self) -> dict[Package, TransitivePackageInfo]: method _aggregate_solved_packages (line 184) | def _aggregate_solved_packages( class DFSNode (line 225) | class DFSNode: method __init__ (line 226) | def __init__(self, id: DFSNodeID, name: str, base_name: str) -> None: method reachable (line 231) | def reachable(self) -> Sequence[Self]: method visit (line 234) | def visit(self, parents: list[PackageNode]) -> None: method __str__ (line 237) | def __str__(self) -> str: function depth_first_search (line 241) | def depth_first_search( function dfs_visit (line 268) | def dfs_visit( class PackageNode (line 295) | class PackageNode(DFSNode): method __init__ (line 296) | def __init__( method reachable (line 327) | def reachable(self) -> Sequence[PackageNode]: method visit (line 357) | def visit(self, parents: list[PackageNode]) -> None: function aggregate_package_nodes (line 369) | def aggregate_package_nodes( function calculate_markers (line 390) | def calculate_markers( function merge_override_packages (line 444) | def merge_override_packages( function remove_other_from_marker (line 512) | def remove_other_from_marker(marker: BaseMarker, other: BaseMarker) -> B... function simplify_marker (line 525) | def simplify_marker( FILE: src/poetry/puzzle/transaction.py class Transaction (line 20) | class Transaction: method __init__ (line 21) | def __init__( method get_solved_packages (line 41) | def get_solved_packages(self) -> dict[Package, TransitivePackageInfo]: method calculate_operations (line 45) | def calculate_operations( FILE: src/poetry/pyproject/toml.py class PyProjectTOML (line 17) | class PyProjectTOML(BasePyProjectTOML): method __init__ (line 26) | def __init__(self, path: Path) -> None: method file (line 32) | def file(self) -> TOMLFile: method data (line 36) | def data(self) -> TOMLDocument: method save (line 45) | def save(self) -> None: method reload (line 60) | def reload(self) -> None: FILE: src/poetry/repositories/abstract_repository.py class AbstractRepository (line 14) | class AbstractRepository(ABC): method __init__ (line 15) | def __init__(self, name: str) -> None: method name (line 19) | def name(self) -> str: method find_packages (line 23) | def find_packages(self, dependency: Dependency) -> list[Package]: ... method search (line 26) | def search(self, query: str | list[str]) -> list[Package]: ... method package (line 29) | def package(self, name: str, version: Version) -> Package: ... FILE: src/poetry/repositories/cached_repository.py class CachedRepository (line 24) | class CachedRepository(Repository, ABC): method __init__ (line 27) | def __init__( method _get_release_info (line 36) | def _get_release_info( method get_release_info (line 40) | def get_release_info(self, name: NormalizedName, version: Version) -> ... method package (line 69) | def package(self, name: str, version: Version) -> Package: method forget (line 74) | def forget(self, name: str, version: Version) -> None: FILE: src/poetry/repositories/exceptions.py class RepositoryError (line 4) | class RepositoryError(Exception): class PackageNotFoundError (line 8) | class PackageNotFoundError(Exception): class InvalidSourceError (line 12) | class InvalidSourceError(Exception): FILE: src/poetry/repositories/http_repository.py class HTTPRepository (line 49) | class HTTPRepository(CachedRepository): method __init__ (line 50) | def __init__( method session (line 84) | def session(self) -> Authenticator: method url (line 88) | def url(self) -> str: method certificates (line 92) | def certificates(self) -> RepositoryCertificateConfig: method authenticated_url (line 96) | def authenticated_url(self) -> str: method _download (line 99) | def _download( method _cached_or_downloaded_file (line 111) | def _cached_or_downloaded_file( method _get_info_from_wheel (line 122) | def _get_info_from_wheel(self, link: Link) -> PackageInfo: method _get_info_from_sdist (line 165) | def _get_info_from_sdist(self, link: Link) -> PackageInfo: method _get_info_from_metadata (line 171) | def _get_info_from_metadata(self, link: Link) -> PackageInfo | None: method _get_info_from_links (line 204) | def _get_info_from_links( method _links_to_data (line 338) | def _links_to_data(self, links: list[Link], data: PackageInfo) -> dict... method calculate_sha256 (line 403) | def calculate_sha256(self, link: Link) -> str | None: method _get_response (line 431) | def _get_response( method _get_prefer_json_header (line 458) | def _get_prefer_json_header(self) -> dict[str, str]: method _is_json_response (line 465) | def _is_json_response(self, response: requests.Response) -> bool: method _get_page (line 471) | def _get_page(self, name: NormalizedName) -> LinkSource: FILE: src/poetry/repositories/installed_repository.py class InstalledRepository (line 30) | class InstalledRepository(Repository): method __init__ (line 31) | def __init__(self, packages: Sequence[Package] | None = None) -> None: method add_package (line 35) | def add_package(self, package: Package, *, is_system_site: bool = Fals... method get_package_paths (line 41) | def get_package_paths(cls, env: Env, name: str) -> set[Path]: method get_package_vcs_properties_from_path (line 87) | def get_package_vcs_properties_from_path(cls, src: Path) -> tuple[str,... method is_vcs_package (line 94) | def is_vcs_package(cls, package: Path | Package, env: Env) -> bool: method _create_package_from_distribution (line 109) | def _create_package_from_distribution( method _create_package_from_pep610 (line 183) | def _create_package_from_pep610( method load (line 240) | def load(cls, env: Env, with_dependencies: bool = False) -> InstalledR... FILE: src/poetry/repositories/legacy_repository.py class LegacyRepository (line 29) | class LegacyRepository(HTTPRepository): method __init__ (line 30) | def __init__( method package (line 50) | def package(self, name: str, version: Version) -> Package: method find_links_for_package (line 74) | def find_links_for_package(self, package: Package) -> list[Link]: method _find_packages (line 82) | def _find_packages( method _get_release_info (line 112) | def _get_release_info( method root_page (line 135) | def root_page(self) -> SimpleRepositoryRootPage: method search (line 150) | def search(self, query: str | list[str]) -> list[Package]: FILE: src/poetry/repositories/link_sources/base.py class LinkSource (line 31) | class LinkSource: method __init__ (line 44) | def __init__(self, url: str) -> None: method url (line 48) | def url(self) -> str: method versions (line 51) | def versions(self, name: NormalizedName) -> Iterator[Version]: method packages (line 55) | def packages(self) -> Iterator[Package]: method links (line 63) | def links(self) -> Iterator[Link]: method link_package_data (line 69) | def link_package_data(cls, link: Link) -> Package | None: method links_for_version (line 99) | def links_for_version( method clean_link (line 104) | def clean_link(self, url: str) -> str: method yanked (line 110) | def yanked(self, name: NormalizedName, version: Version) -> str | bool: method _link_cache (line 125) | def _link_cache(self) -> LinkCache: class SimpleRepositoryRootPage (line 129) | class SimpleRepositoryRootPage: method search (line 134) | def search(self, query: str | list[str]) -> list[str]: method package_names (line 145) | def package_names(self) -> list[str]: FILE: src/poetry/repositories/link_sources/html.py class HTMLPage (line 21) | class HTMLPage(LinkSource): method __init__ (line 22) | def __init__(self, url: str, content: str) -> None: method _link_cache (line 31) | def _link_cache(self) -> LinkCache: class SimpleRepositoryHTMLRootPage (line 72) | class SimpleRepositoryHTMLRootPage(SimpleRepositoryRootPage): method __init__ (line 81) | def __init__(self, content: str | None = None) -> None: method package_names (line 87) | def package_names(self) -> list[str]: FILE: src/poetry/repositories/link_sources/json.py class SimpleJsonPage (line 20) | class SimpleJsonPage(LinkSource): method __init__ (line 23) | def __init__(self, url: str, content: dict[str, Any]) -> None: method _link_cache (line 28) | def _link_cache(self) -> LinkCache: class SimpleRepositoryJsonRootPage (line 70) | class SimpleRepositoryJsonRootPage(SimpleRepositoryRootPage): method __init__ (line 79) | def __init__(self, content: dict[str, Any]) -> None: method package_names (line 83) | def package_names(self) -> list[str]: FILE: src/poetry/repositories/lockfile_repository.py class LockfileRepository (line 12) | class LockfileRepository(Repository): method __init__ (line 18) | def __init__(self) -> None: method has_package (line 21) | def has_package(self, package: Package) -> bool: FILE: src/poetry/repositories/parsers/html_page_parser.py class HTMLPageParser (line 6) | class HTMLPageParser(HTMLParser): method __init__ (line 7) | def __init__(self) -> None: method handle_starttag (line 12) | def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]... FILE: src/poetry/repositories/parsers/pypi_search_parser.py class Result (line 20) | class Result: class SearchResultParser (line 26) | class SearchResultParser(HTMLParser): method __init__ (line 29) | def __init__(self) -> None: method _match_class (line 37) | def _match_class(attrs: list[tuple[str, str | None]], name: str) -> bool: method handle_starttag (line 41) | def handle_starttag(self, tag: str, attrs: list[tuple[str, str | None]... method handle_data (line 62) | def handle_data(self, data: str) -> None: method handle_endtag (line 67) | def handle_endtag(self, tag: str) -> None: FILE: src/poetry/repositories/pypi_repository.py class PyPiRepository (line 40) | class PyPiRepository(HTTPRepository): method __init__ (line 41) | def __init__( method search (line 61) | def search(self, query: str | list[str]) -> list[Package]: method get_package_info (line 96) | def get_package_info(self, name: NormalizedName) -> dict[str, Any]: method _find_packages (line 105) | def _find_packages( method _get_package_info (line 125) | def _get_package_info(self, name: NormalizedName) -> dict[str, Any]: method find_links_for_package (line 133) | def find_links_for_package(self, package: Package) -> list[Link]: method _get_release_info (line 146) | def _get_release_info( method _get_page (line 211) | def _get_page(self, name: NormalizedName) -> SimpleJsonPage: method _get (line 216) | def _get( method _get_yanked (line 244) | def _get_yanked(json_data: dict[str, Any]) -> str | bool: FILE: src/poetry/repositories/repository.py class Repository (line 24) | class Repository(AbstractRepository): method __init__ (line 25) | def __init__(self, name: str, packages: Sequence[Package] | None = Non... method packages (line 33) | def packages(self) -> list[Package]: method find_packages (line 36) | def find_packages(self, dependency: Dependency) -> list[Package]: method has_package (line 67) | def has_package(self, package: Package) -> bool: method add_package (line 73) | def add_package(self, package: Package) -> None: method search (line 76) | def search(self, query: str | list[str]) -> list[Package]: method _find_packages (line 86) | def _find_packages( method _log (line 95) | def _log(self, msg: str, level: str = "info") -> None: method __len__ (line 99) | def __len__(self) -> int: method find_links_for_package (line 102) | def find_links_for_package(self, package: Package) -> list[Link]: method package (line 105) | def package(self, name: str, version: Version) -> Package: FILE: src/poetry/repositories/repository_pool.py class Priority (line 24) | class Priority(IntEnum): class PrioritizedRepository (line 33) | class PrioritizedRepository: class RepositoryPool (line 38) | class RepositoryPool(AbstractRepository): method __init__ (line 39) | def __init__( method from_packages (line 58) | def from_packages(packages: list[Package], config: Config | None) -> R... method repositories (line 77) | def repositories(self) -> list[Repository]: method all_repositories (line 94) | def all_repositories(self) -> list[Repository]: method _sorted_repositories (line 98) | def _sorted_repositories(self) -> list[PrioritizedRepository]: method artifact_cache (line 104) | def artifact_cache(self) -> ArtifactCache: method has_primary_repositories (line 107) | def has_primary_repositories(self) -> bool: method _contains_priority (line 110) | def _contains_priority(self, priority: Priority) -> bool: method has_repository (line 115) | def has_repository(self, name: str) -> bool: method repository (line 118) | def repository(self, name: str) -> Repository: method get_priority (line 121) | def get_priority(self, name: str) -> Priority: method _get_prioritized_repository (line 124) | def _get_prioritized_repository(self, name: str) -> PrioritizedReposit... method add_repository (line 130) | def add_repository( method remove_repository (line 147) | def remove_repository(self, name: str) -> RepositoryPool: method package (line 155) | def package( method find_packages (line 168) | def find_packages(self, dependency: Dependency) -> list[Package]: method search (line 180) | def search(self, query: str | list[str]) -> list[Package]: method refresh (line 186) | def refresh(self, package: Package) -> Package: FILE: src/poetry/repositories/single_page_repository.py class SinglePageRepository (line 14) | class SinglePageRepository(LegacyRepository): method _get_page (line 15) | def _get_page(self, name: NormalizedName) -> HTMLPage: FILE: src/poetry/toml/exceptions.py class TOMLError (line 7) | class TOMLError(TOMLKitError, PoetryCoreError): FILE: src/poetry/toml/file.py class TOMLFile (line 14) | class TOMLFile(BaseTOMLFile): method __init__ (line 15) | def __init__(self, path: Path) -> None: method path (line 20) | def path(self) -> Path: method exists (line 23) | def exists(self) -> bool: method read (line 26) | def read(self) -> TOMLDocument: method __str__ (line 36) | def __str__(self) -> str: FILE: src/poetry/utils/_compat.py function decode (line 22) | def decode(string: bytes | str, encodings: list[str] | None = None) -> str: function encode (line 35) | def encode(string: str, encodings: list[str] | None = None) -> bytes: function getencoding (line 48) | def getencoding() -> str: function __getattr__ (line 55) | def __getattr__(name: str) -> object: FILE: src/poetry/utils/authenticator.py class RepositoryCertificateConfig (line 43) | class RepositoryCertificateConfig: method create (line 49) | def create( class AuthenticatorRepositoryConfig (line 68) | class AuthenticatorRepositoryConfig: method __post_init__ (line 74) | def __post_init__(self) -> None: method certs (line 79) | def certs(self, config: Config) -> RepositoryCertificateConfig: method get_http_credentials (line 82) | def get_http_credentials( class Authenticator (line 100) | class Authenticator: method __init__ (line 101) | def __init__( method create_session (line 133) | def create_session(self) -> requests.Session: method get_session (line 149) | def get_session(self, url: str | None = None) -> requests.Session: method close (line 162) | def close(self) -> None: method __del__ (line 167) | def __del__(self) -> None: method delete_cache (line 170) | def delete_cache(self, url: str) -> None: method authenticated_url (line 174) | def authenticated_url(self, url: str) -> str: method request (line 188) | def request( method _get_backoff (line 273) | def _get_backoff(self, response: requests.Response | None, attempt: in... method get (line 281) | def get(self, url: str, **kwargs: Any) -> requests.Response: method head (line 284) | def head(self, url: str, **kwargs: Any) -> requests.Response: method post (line 288) | def post(self, url: str, **kwargs: Any) -> requests.Response: method _get_credentials_for_repository (line 291) | def _get_credentials_for_repository( method _get_credentials_for_url (line 305) | def _get_credentials_for_url( method get_credentials_for_git_url (line 329) | def get_credentials_for_git_url(self, url: str) -> HTTPAuthCredential: method get_credentials_for_url (line 342) | def get_credentials_for_url(self, url: str) -> HTTPAuthCredential: method get_pypi_token (line 367) | def get_pypi_token(self, name: str) -> str | None: method get_http_auth (line 370) | def get_http_auth(self, name: str) -> HTTPAuthCredential | None: method get_certs_for_repository (line 382) | def get_certs_for_repository(self, name: str) -> RepositoryCertificate... method configured_repositories (line 388) | def configured_repositories(self) -> dict[str, AuthenticatorRepository... method reset_credentials_cache (line 399) | def reset_credentials_cache(self) -> None: method add_repository (line 403) | def add_repository(self, name: str, url: str) -> None: method get_certs_for_url (line 407) | def get_certs_for_url(self, url: str) -> RepositoryCertificateConfig: method _get_repository_config_for_url (line 412) | def _get_repository_config_for_url( method _get_certs_for_url (line 453) | def _get_certs_for_url(self, url: str) -> RepositoryCertificateConfig: function get_default_authenticator (line 463) | def get_default_authenticator() -> Authenticator: FILE: src/poetry/utils/cache.py function _expiration (line 41) | def _expiration(minutes: int) -> int: class CacheItem (line 58) | class CacheItem(Generic[T]): method expired (line 67) | def expired(self) -> bool: class FileCache (line 75) | class FileCache(Generic[T]): method __post_init__ (line 86) | def __post_init__(self) -> None: method get (line 92) | def get(self, key: str) -> T | None: method has (line 95) | def has(self, key: str) -> bool: method put (line 103) | def put(self, key: str, value: Any, minutes: int | None = None) -> None: method forget (line 119) | def forget(self, key: str) -> None: method flush (line 129) | def flush(self) -> None: method remember (line 135) | def remember( method _get_payload (line 151) | def _get_payload(self, key: str) -> T | None: method _path (line 173) | def _path(self, key: str) -> Path: method _serialize (line 179) | def _serialize(self, payload: CacheItem[T]) -> bytes: method _deserialize (line 184) | def _deserialize(self, data_raw: bytes) -> CacheItem[T]: class ArtifactCache (line 191) | class ArtifactCache: method __init__ (line 192) | def __init__(self, *, cache_dir: Path) -> None: method get_cache_directory_for_link (line 198) | def get_cache_directory_for_link(self, link: Link) -> Path: method _get_directory_from_hash (line 209) | def _get_directory_from_hash(self, key_parts: object) -> Path: method get_cache_directory_for_git (line 219) | def get_cache_directory_for_git( method get_cached_archive_for_link (line 229) | def get_cached_archive_for_link( method get_cached_archive_for_link (line 239) | def get_cached_archive_for_link( method get_cached_archive_for_link (line 248) | def get_cached_archive_for_link( method get_cached_archive_for_git (line 277) | def get_cached_archive_for_git( method _get_cached_archive (line 284) | def _get_cached_archive( method _get_cached_archives (line 334) | def _get_cached_archives(self, cache_dir: Path) -> list[Path]: FILE: src/poetry/utils/dependency_specification.py function dependency_to_specification (line 32) | def dependency_to_specification( class RequirementsParser (line 59) | class RequirementsParser: method __init__ (line 60) | def __init__( method parse (line 71) | def parse(self, requirement: str) -> DependencySpec: method _parse_pep508 (line 98) | def _parse_pep508(self, requirement: str) -> DependencySpec | None: method _parse_git_url (line 114) | def _parse_git_url(self, requirement: str) -> DependencySpec | None: method _parse_url (line 140) | def _parse_url(self, requirement: str) -> DependencySpec | None: method _parse_path (line 155) | def _parse_path(self, requirement: str) -> DependencySpec | None: method _parse_simple (line 185) | def _parse_simple( FILE: src/poetry/utils/env/__init__.py function ephemeral_environment (line 36) | def ephemeral_environment( function build_environment (line 52) | def build_environment( FILE: src/poetry/utils/env/base_env.py class MarkerEnv (line 38) | class MarkerEnv(TypedDict): class Env (line 57) | class Env(ABC): method __init__ (line 62) | def __init__(self, path: Path, base: Path | None = None) -> None: method bin_dir (line 91) | def bin_dir(self) -> Path: method path (line 95) | def path(self) -> Path: method base (line 99) | def base(self) -> Path: method version_info (line 103) | def version_info(self) -> PythonVersion: method python_implementation (line 108) | def python_implementation(self) -> str: method python (line 113) | def python(self) -> Path: method marker_env (line 120) | def marker_env(self) -> MarkerEnv: method parent_env (line 124) | def parent_env(self) -> GenericEnv: method _find_python_executable (line 129) | def _find_python_executable(self) -> None: method _find_pip_executable (line 147) | def _find_pip_executable(self) -> None: method find_executables (line 160) | def find_executables(self) -> None: method get_embedded_wheel (line 164) | def get_embedded_wheel(self, distribution: str) -> Path: method pip_embedded (line 172) | def pip_embedded(self) -> Path: method pip (line 178) | def pip(self) -> Path: method platform (line 190) | def platform(self) -> str: method os (line 194) | def os(self) -> str: method site_packages (line 198) | def site_packages(self) -> SitePackages: method usersite (line 208) | def usersite(self) -> Path | None: method userbase (line 214) | def userbase(self) -> Path | None: method purelib (line 220) | def purelib(self) -> Path: method platlib (line 227) | def platlib(self) -> Path: method fallbacks (line 237) | def fallbacks(self) -> list[Path]: method set_paths (line 242) | def set_paths( method scheme_dict (line 273) | def scheme_dict(self) -> dict[str, str]: method _get_lib_dirs (line 325) | def _get_lib_dirs(self) -> list[Path]: method is_path_relative_to_lib (line 328) | def is_path_relative_to_lib(self, path: Path) -> bool: method sys_path (line 338) | def sys_path(self) -> list[str]: ... method paths (line 341) | def paths(self) -> dict[str, str]: method supported_tags (line 356) | def supported_tags(self) -> list[Tag]: method get_base_prefix (line 363) | def get_base_prefix(cls) -> Path: method get_marker_env (line 375) | def get_marker_env(self) -> MarkerEnv: ... method get_pip_command (line 377) | def get_pip_command(self, embedded: bool = False) -> list[str]: method get_supported_tags (line 384) | def get_supported_tags(self) -> list[Tag]: ... method get_paths (line 387) | def get_paths(self) -> dict[str, str]: ... method is_valid_for_marker (line 389) | def is_valid_for_marker(self, marker: BaseMarker) -> bool: method is_sane (line 393) | def is_sane(self) -> bool: method get_command_from_bin (line 399) | def get_command_from_bin(self, bin: str) -> list[str]: method run (line 407) | def run(self, bin: str, *args: str, **kwargs: Any) -> str: method run_pip (line 411) | def run_pip(self, *args: str, **kwargs: Any) -> str: method run_python_script (line 416) | def run_python_script(self, content: str, **kwargs: Any) -> str: method _run (line 435) | def _run(self, cmd: list[str], **kwargs: Any) -> str: method execute (line 457) | def execute(self, bin: str, *args: str, **kwargs: Any) -> int: method is_venv (line 470) | def is_venv(self) -> bool: ... method script_dirs (line 473) | def script_dirs(self) -> list[Path]: method _bin (line 483) | def _bin(self, bin: str) -> str: method __eq__ (line 510) | def __eq__(self, other: object) -> bool: method __repr__ (line 516) | def __repr__(self) -> str: FILE: src/poetry/utils/env/env_manager.py class EnvsFile (line 48) | class EnvsFile(TOMLFile): method remove_section (line 65) | def remove_section(self, name: str, minor: str | None = None) -> str |... class EnvManager (line 86) | class EnvManager: method __init__ (line 95) | def __init__(self, poetry: Poetry, io: None | IO = None) -> None: method in_project_venv (line 100) | def in_project_venv(self) -> Path: method envs_file (line 105) | def envs_file(self) -> EnvsFile: method base_env_name (line 109) | def base_env_name(self) -> str: method activate (line 115) | def activate(self, python: str) -> Env: method deactivate (line 185) | def deactivate(self) -> None: method get (line 196) | def get(self, reload: bool = False) -> Env: method list (line 261) | def list(self, name: str | None = None) -> list[VirtualEnv]: method check_env_is_for_current_project (line 275) | def check_env_is_for_current_project(env: str, base_env_name: str) -> ... method remove (line 283) | def remove(self, python: str) -> Env: method use_in_project_venv (line 356) | def use_in_project_venv(self) -> bool: method in_project_venv_exists (line 363) | def in_project_venv_exists(self) -> bool: method create_venv (line 370) | def create_venv( method build_venv (line 517) | def build_venv( method remove_venv (line 575) | def remove_venv(cls, path: Path) -> None: method get_system_env (line 596) | def get_system_env(cls, naive: bool = False) -> Env: method get_base_prefix (line 617) | def get_base_prefix(cls) -> Path: method generate_env_name (line 629) | def generate_env_name(cls, name: str, cwd: str) -> str: FILE: src/poetry/utils/env/exceptions.py class EnvError (line 12) | class EnvError(Exception): class IncorrectEnvError (line 16) | class IncorrectEnvError(EnvError): method __init__ (line 17) | def __init__(self, env_name: str) -> None: class EnvCommandError (line 22) | class EnvCommandError(EnvError): method __init__ (line 23) | def __init__(self, e: CalledProcessError) -> None: FILE: src/poetry/utils/env/generic_env.py class GenericEnv (line 22) | class GenericEnv(VirtualEnv): method __init__ (line 23) | def __init__( method find_executables (line 30) | def find_executables(self) -> None: method get_paths (line 84) | def get_paths(self) -> dict[str, str]: method execute (line 90) | def execute(self, bin: str, *args: str, **kwargs: Any) -> int: method _run (line 102) | def _run(self, cmd: list[str], **kwargs: Any) -> str: method is_venv (line 105) | def is_venv(self) -> bool: FILE: src/poetry/utils/env/mock_env.py class MockEnv (line 16) | class MockEnv(NullEnv): method __init__ (line 17) | def __init__( method platform (line 46) | def platform(self) -> str: method platform_machine (line 50) | def platform_machine(self) -> str: method os (line 54) | def os(self) -> str: method sys_path (line 58) | def sys_path(self) -> list[str]: method get_marker_env (line 64) | def get_marker_env(self) -> MarkerEnv: method is_venv (line 84) | def is_venv(self) -> bool: FILE: src/poetry/utils/env/null_env.py class NullEnv (line 12) | class NullEnv(SystemEnv): method __init__ (line 13) | def __init__( method paths (line 25) | def paths(self) -> dict[str, str]: method _run (line 33) | def _run(self, cmd: list[str], **kwargs: Any) -> str: method execute (line 40) | def execute(self, bin: str, *args: str, **kwargs: Any) -> int: method _bin (line 47) | def _bin(self, bin: str) -> str: FILE: src/poetry/utils/env/python/exceptions.py class PythonVersionError (line 4) | class PythonVersionError(Exception): class PythonVersionNotFoundError (line 8) | class PythonVersionNotFoundError(PythonVersionError): method __init__ (line 9) | def __init__(self, expected: str) -> None: class NoCompatiblePythonVersionFoundError (line 13) | class NoCompatiblePythonVersionFoundError(PythonVersionError): method __init__ (line 14) | def __init__(self, expected: str, given: str | None = None) -> None: class InvalidCurrentPythonVersionError (line 33) | class InvalidCurrentPythonVersionError(PythonVersionError): method __init__ (line 34) | def __init__(self, expected: str, given: str) -> None: FILE: src/poetry/utils/env/python/installer.py class PythonInstallerError (line 31) | class PythonInstallerError(Exception): class PythonDownloadNotFoundError (line 35) | class PythonDownloadNotFoundError(PythonInstallerError, ValueError): class PythonInstallationError (line 39) | class PythonInstallationError(PythonInstallerError, ValueError): class PythonInstaller (line 44) | class PythonInstaller: method version (line 53) | def version(self) -> Version: method exists (line 68) | def exists(self) -> bool: method install (line 101) | def install(self) -> None: FILE: src/poetry/utils/env/python/manager.py class PythonInfo (line 43) | class PythonInfo(NamedTuple): class Python (line 52) | class Python: method __init__ (line 54) | def __init__(self, *, python: findpython.PythonVersion) -> None: ... method __init__ (line 57) | def __init__( method __init__ (line 63) | def __init__( method find_all (line 85) | def find_all(cls) -> Iterator[Python]: method find_poetry_managed_pythons (line 95) | def find_poetry_managed_pythons(cls) -> Iterator[Python]: method find_all_versions (line 103) | def find_all_versions( method find_downloadable_versions (line 139) | def find_downloadable_versions( method python (line 170) | def python(self) -> findpython.PythonVersion: method name (line 174) | def name(self) -> str: method executable (line 178) | def executable(self) -> Path: method implementation (line 182) | def implementation(self) -> str: method free_threaded (line 186) | def free_threaded(self) -> bool: method major (line 190) | def major(self) -> int: method minor (line 194) | def minor(self) -> int: method patch (line 198) | def patch(self) -> int: method version (line 202) | def version(self) -> Version: method patch_version (line 206) | def patch_version(self) -> Version: method minor_version (line 214) | def minor_version(self) -> Version: method get_active_python (line 218) | def get_active_python(cls) -> Python | None: method get_system_python (line 245) | def get_system_python(cls) -> Python: method get_by_name (line 259) | def get_by_name(cls, python_name: str) -> Python | None: method get_preferred_python (line 271) | def get_preferred_python(cls, config: Config, io: IO | None = None) ->... method get_compatible_python (line 296) | def get_compatible_python(cls, poetry: Poetry, io: IO | None = None) -... FILE: src/poetry/utils/env/python/providers.py class ShutilWhichPythonProvider (line 25) | class ShutilWhichPythonProvider(findpython.BaseProvider): # type: ignor... method create (line 27) | def create(cls) -> Self | None: method find_pythons (line 30) | def find_pythons(self) -> Iterable[findpython.PythonVersion]: method find_python_by_name (line 36) | def find_python_by_name(cls, name: str) -> findpython.PythonVersion | ... class PoetryPythonPathProvider (line 43) | class PoetryPythonPathProvider(PathProvider): # type: ignore[misc] method installation_dir (line 45) | def installation_dir( method _make_bin_paths (line 54) | def _make_bin_paths(cls, base: Path | None = None) -> list[Path]: method installation_bin_paths (line 84) | def installation_bin_paths( method create (line 92) | def create(cls) -> Self | None: FILE: src/poetry/utils/env/site_packages.py class SitePackages (line 22) | class SitePackages: method __init__ (line 23) | def __init__( method path (line 45) | def path(self) -> Path: method purelib (line 49) | def purelib(self) -> Path: method platlib (line 53) | def platlib(self) -> Path: method candidates (line 57) | def candidates(self) -> list[Path]: method writable_candidates (line 61) | def writable_candidates(self) -> list[Path]: method make_candidates (line 73) | def make_candidates( method distributions (line 97) | def distributions( method find_distribution (line 108) | def find_distribution( method find_distribution_files_with_name (line 115) | def find_distribution_files_with_name( method find_distribution_direct_url_json_files (line 128) | def find_distribution_direct_url_json_files( method remove_distribution_files (line 137) | def remove_distribution_files(self, distribution_name: str) -> list[Pa... method _path_method_wrapper (line 158) | def _path_method_wrapper( method _path_method_wrapper (line 169) | def _path_method_wrapper( method _path_method_wrapper (line 179) | def _path_method_wrapper( method write_text (line 206) | def write_text(self, path: Path, *args: Any, **kwargs: Any) -> Path: method mkdir (line 212) | def mkdir(self, path: Path, *args: Any, **kwargs: Any) -> Path: method exists (line 218) | def exists(self, path: Path) -> bool: method find (line 224) | def find( FILE: src/poetry/utils/env/system_env.py class SystemEnv (line 20) | class SystemEnv(Env): method python (line 26) | def python(self) -> Path: method sys_path (line 30) | def sys_path(self) -> list[str]: method get_paths (line 33) | def get_paths(self) -> dict[str, str]: method get_supported_tags (line 44) | def get_supported_tags(self) -> list[Tag]: method get_marker_env (line 47) | def get_marker_env(self) -> MarkerEnv: method is_venv (line 80) | def is_venv(self) -> bool: method _get_lib_dirs (line 83) | def _get_lib_dirs(self) -> list[Path]: FILE: src/poetry/utils/env/virtual_env.py class VirtualEnv (line 30) | class VirtualEnv(Env): method __init__ (line 35) | def __init__(self, path: Path, base: Path | None = None) -> None: method sys_path (line 47) | def sys_path(self) -> list[str]: method get_supported_tags (line 52) | def get_supported_tags(self) -> list[Tag]: method get_marker_env (line 97) | def get_marker_env(self) -> MarkerEnv: method get_paths (line 105) | def get_paths(self) -> dict[str, str]: method is_venv (line 110) | def is_venv(self) -> bool: method is_sane (line 113) | def is_sane(self) -> bool: method _run (line 117) | def _run(self, cmd: list[str], **kwargs: Any) -> str: method get_temp_environ (line 121) | def get_temp_environ( method execute (line 144) | def execute(self, bin: str, *args: str, **kwargs: Any) -> int: method temp_environ (line 149) | def temp_environ(self) -> Iterator[None]: method _updated_path (line 157) | def _updated_path(self) -> str: method includes_system_site_packages (line 161) | def includes_system_site_packages(self) -> bool: method is_path_relative_to_lib (line 172) | def is_path_relative_to_lib(self, path: Path) -> bool: FILE: src/poetry/utils/extras.py function get_extra_package_names (line 15) | def get_extra_package_names( FILE: src/poetry/utils/helpers.py function directory (line 68) | def directory(path: Path) -> Iterator[Path]: function _on_rm_error (line 79) | def _on_rm_error( function _on_rm_error (line 86) | def _on_rm_error( function _on_rm_error (line 93) | def _on_rm_error(func: Callable[[str], None], path: str, exc_info: Any) ... function remove_directory (line 101) | def remove_directory(path: Path, force: bool = False) -> None: function merge_dicts (line 120) | def merge_dicts(d1: dict[str, Any], d2: dict[str, Any]) -> None: class HTTPRangeRequestSupportedError (line 128) | class HTTPRangeRequestSupportedError(Exception): function download_file (line 132) | def download_file( class Downloader (line 169) | class Downloader: method __init__ (line 170) | def __init__( method accepts_ranges (line 184) | def accepts_ranges(self) -> bool: method total_size (line 188) | def total_size(self) -> int: method _get (line 195) | def _get(self, start: int = 0) -> Response: method _iter_content_with_resume (line 210) | def _iter_content_with_resume(self, chunk_size: int) -> Iterator[bytes]: method download_with_progress (line 235) | def download_with_progress(self, chunk_size: int = 1024) -> Iterator[i... function get_package_version_display_string (line 245) | def get_package_version_display_string( function paths_csv (line 257) | def paths_csv(paths: list[Path]) -> str: function ensure_path (line 261) | def ensure_path(path: str | Path, is_directory: bool = False) -> Path: function is_dir_writable (line 273) | def is_dir_writable(path: Path, create: bool = False) -> bool: function pluralize (line 288) | def pluralize(count: int, word: str = "") -> str: function _get_win_folder_from_registry (line 294) | def _get_win_folder_from_registry(csidl_name: str) -> str: function _get_win_folder_with_ctypes (line 317) | def _get_win_folder_with_ctypes(csidl_name: str) -> str: function get_win_folder (line 348) | def get_win_folder(csidl_name: str) -> Path: function get_real_windows_path (line 362) | def get_real_windows_path(path: Path) -> Path: function get_file_hash (line 379) | def get_file_hash(path: Path, hash_name: str = "sha256") -> str: function get_highest_priority_hash_type (line 388) | def get_highest_priority_hash_type( function extractall (line 410) | def extractall(source: Path, dest: Path, zip: bool) -> None: FILE: src/poetry/utils/isolated_build.py class IsolatedBuildBaseError (line 36) | class IsolatedBuildBaseError(Exception): ... class IsolatedBuildBackendError (line 39) | class IsolatedBuildBackendError(IsolatedBuildBaseError): method __init__ (line 40) | def __init__(self, source: Path, exception: BuildBackendException) -> ... method generate_message (line 45) | def generate_message( method __str__ (line 78) | def __str__(self) -> str: class IsolatedBuildInstallError (line 82) | class IsolatedBuildInstallError(IsolatedBuildBaseError): method __init__ (line 83) | def __init__(self, requirements: Collection[str], output: str, error: ... method requirements (line 95) | def requirements(self) -> Collection[str]: class IsolatedEnv (line 99) | class IsolatedEnv(BaseIsolatedEnv): method __init__ (line 100) | def __init__(self, env: Env, pool: RepositoryPool) -> None: method python_executable (line 105) | def python_executable(self) -> str: method make_extra_environ (line 108) | def make_extra_environ(self) -> dict[str, str]: method install (line 119) | def install( function isolated_builder (line 176) | def isolated_builder( FILE: src/poetry/utils/log_utils.py function format_build_wheel_log (line 12) | def format_build_wheel_log(package: Package, env: Env) -> str: FILE: src/poetry/utils/password_manager.py class PoetryKeyringError (line 23) | class PoetryKeyringError(Exception): class HTTPAuthCredential (line 28) | class HTTPAuthCredential: class PoetryKeyring (line 33) | class PoetryKeyring: method __init__ (line 41) | def __init__(self, namespace: str) -> None: method preflight_check (line 45) | def preflight_check(io: IO | None = None, config: Config | None = None... method get_credential (line 73) | def get_credential( method get_password (line 98) | def get_password(self, name: str, username: str) -> str | None: method set_password (line 111) | def set_password(self, name: str, username: str, password: str) -> None: method delete_password (line 124) | def delete_password(self, name: str, username: str) -> None: method get_entry_name (line 136) | def get_entry_name(self, name: str) -> str: method is_available (line 141) | def is_available(cls) -> bool: class PasswordManager (line 191) | class PasswordManager: method __init__ (line 192) | def __init__(self, config: Config) -> None: method use_keyring (line 196) | def use_keyring(self) -> bool: method keyring (line 200) | def keyring(self) -> PoetryKeyring: method warn_plaintext_credentials_stored (line 209) | def warn_plaintext_credentials_stored() -> None: method set_pypi_token (line 212) | def set_pypi_token(self, repo_name: str, token: str) -> None: method get_pypi_token (line 221) | def get_pypi_token(self, repo_name: str) -> str | None: method delete_pypi_token (line 240) | def delete_pypi_token(self, repo_name: str) -> None: method get_http_auth (line 248) | def get_http_auth(self, repo_name: str) -> HTTPAuthCredential: method set_http_password (line 258) | def set_http_password(self, repo_name: str, username: str, password: s... method delete_http_password (line 269) | def delete_http_password(self, repo_name: str) -> None: method get_credential (line 280) | def get_credential( FILE: src/poetry/utils/pip.py function pip_install (line 15) | def pip_install( FILE: src/poetry/utils/threading.py class AtomicCachedProperty (line 21) | class AtomicCachedProperty(functools.cached_property[T]): method __init__ (line 22) | def __init__(self, func: Callable[[C], T]) -> None: method __get__ (line 28) | def __get__( method __get__ (line 32) | def __get__(self, instance: object, owner: type[Any] | None = ...) -> ... method __get__ (line 34) | def __get__( function atomic_cached_property (line 52) | def atomic_cached_property(func: Callable[[C], T]) -> AtomicCachedProper... FILE: src/poetry/utils/wheel.py class InvalidWheelNameError (line 19) | class InvalidWheelNameError(Exception): class Wheel (line 23) | class Wheel: method __init__ (line 24) | def __init__(self, filename: str) -> None: method get_minimum_supported_index (line 41) | def get_minimum_supported_index(self, tags: list[Tag]) -> int | None: method is_supported_by_environment (line 46) | def is_supported_by_environment(self, env: Env) -> bool: FILE: src/poetry/vcs/git/backend.py function is_revision_sha (line 80) | def is_revision_sha(revision: str | None) -> bool: function peeled_tag (line 84) | def peeled_tag(ref: str | bytes) -> Ref: class GitRefSpec (line 91) | class GitRefSpec: method resolve (line 97) | def resolve(self, remote_refs: FetchPackResult, repo: Repo) -> None: method _normalise (line 104) | def _normalise(self, remote_refs: FetchPackResult, repo: Repo) -> None: method _set_head (line 148) | def _set_head(self, remote_refs: FetchPackResult, repo: Repo) -> None: method key (line 183) | def key(self) -> str: method is_sha (line 187) | def is_sha(self) -> bool: method is_ref (line 191) | def is_ref(self) -> bool: method is_sha_short (line 197) | def is_sha_short(self) -> bool: class GitRepoLocalInfo (line 202) | class GitRepoLocalInfo: method __post_init__ (line 207) | def __post_init__(self, repo: Repo | Path) -> None: class Git (line 213) | class Git: method as_repo (line 215) | def as_repo(repo: Path) -> Repo: method get_remote_url (line 219) | def get_remote_url(repo: Repo, remote: str = "origin") -> str: method get_revision (line 232) | def get_revision(repo: Repo) -> str: method info (line 237) | def info(cls, repo: Repo | Path) -> GitRepoLocalInfo: method get_name_from_source_url (line 241) | def get_name_from_source_url(url: str) -> str: method _fetch_remote_refs (line 245) | def _fetch_remote_refs(cls, url: str, local: Repo) -> FetchPackResult: method _clone_legacy (line 276) | def _clone_legacy(url: str, refspec: GitRefSpec, target: Path) -> Repo: method _clone (line 324) | def _clone(cls, url: str, refspec: GitRefSpec, target: Path) -> Repo: method _clone_submodules (line 442) | def _clone_submodules(cls, repo: Repo) -> None: method _get_submodules (line 461) | def _get_submodules(cls, repo: Repo) -> list[SubmoduleInfo]: method is_using_legacy_client (line 507) | def is_using_legacy_client() -> bool: method get_default_source_root (line 514) | def get_default_source_root() -> Path: method clone (line 520) | def clone( function urlpathjoin (line 589) | def urlpathjoin(base: str, path: str) -> str: class SubmoduleInfo (line 610) | class SubmoduleInfo: FILE: src/poetry/vcs/git/system.py class SystemGit (line 16) | class SystemGit: method clone (line 18) | def clone(cls, repository: str, dest: Path) -> None: method checkout (line 24) | def checkout(cls, rev: str, target: Path | None = None) -> None: method run (line 29) | def run(*args: Any, **kwargs: Any) -> None: method _check_parameter (line 54) | def _check_parameter(parameter: str) -> None: FILE: src/poetry/version/version_selector.py class VersionSelector (line 12) | class VersionSelector: method __init__ (line 13) | def __init__(self, pool: RepositoryPool) -> None: method find_best_candidate (line 16) | def find_best_candidate( FILE: tests/config/test_config.py function get_options_based_on_normalizer (line 32) | def get_options_based_on_normalizer(normalizer: Normalizer) -> Iterator[... function test_config_get_default_value (line 48) | def test_config_get_default_value(config: Config, name: str, value: bool... function test_config_get_processes_depended_on_values (line 52) | def test_config_get_processes_depended_on_values( function generate_environment_variable_tests (line 58) | def generate_environment_variable_tests() -> Iterator[tuple[str, str, st... function test_config_get_from_environment_variable (line 85) | def test_config_get_from_environment_variable( function test_config_get_from_environment_variable_nested (line 97) | def test_config_get_from_environment_variable_nested( function test_config_expands_tilde_for_virtualenvs_path (line 118) | def test_config_expands_tilde_for_virtualenvs_path( function test_disabled_keyring_is_unavailable (line 125) | def test_disabled_keyring_is_unavailable( function test_config_get_from_environment_variable_build_config_settings (line 149) | def test_config_get_from_environment_variable_build_config_settings( FILE: tests/config/test_config_source.py function test_drop_empty_config_category (line 48) | def test_drop_empty_config_category( function test_config_source_migration_rename_key (line 59) | def test_config_source_migration_rename_key() -> None: function test_config_source_migration_remove_key (line 85) | def test_config_source_migration_remove_key() -> None: function test_config_source_migration_unset_value (line 109) | def test_config_source_migration_unset_value() -> None: function test_config_source_migration_complex_migration (line 134) | def test_config_source_migration_complex_migration() -> None: FILE: tests/config/test_dict_config_source.py function test_dict_config_source_add_property (line 9) | def test_dict_config_source_add_property() -> None: function test_dict_config_source_remove_property (line 25) | def test_dict_config_source_remove_property() -> None: function test_dict_config_source_get_property (line 47) | def test_dict_config_source_get_property() -> None: function test_dict_config_source_get_property_should_raise_if_not_found (line 62) | def test_dict_config_source_get_property_should_raise_if_not_found() -> ... FILE: tests/config/test_file_config_source.py function test_file_config_source_add_property (line 17) | def test_file_config_source_add_property(tmp_path: Path) -> None: function test_file_config_source_remove_property (line 37) | def test_file_config_source_remove_property(tmp_path: Path) -> None: function test_file_config_source_get_property (line 62) | def test_file_config_source_get_property(tmp_path: Path) -> None: function test_file_config_source_get_property_should_raise_if_not_found (line 80) | def test_file_config_source_get_property_should_raise_if_not_found( FILE: tests/config/test_source.py function test_source_to_table (line 34) | def test_source_to_table(source: Source, table_body: dict[str, str | boo... function test_source_default_is_primary (line 41) | def test_source_default_is_primary() -> None: function test_source_priority_as_string (line 53) | def test_source_priority_as_string(priority: str, expected_priority: Pri... FILE: tests/conftest.py function pytest_addoption (line 98) | def pytest_addoption(parser: Parser) -> None: function pytest_configure (line 108) | def pytest_configure(config: PyTestConfig) -> None: class Config (line 118) | class Config(BaseConfig): method get (line 122) | def get(self, setting_name: str, default: Any = None) -> Any: method raw (line 128) | def raw(self) -> dict[str, Any]: method all (line 134) | def all(self) -> dict[str, Any]: class DummyBackend (line 141) | class DummyBackend(KeyringBackend): method __init__ (line 142) | def __init__(self) -> None: method priority (line 147) | def priority(self) -> float: method set_password (line 150) | def set_password(self, service: str, username: str, password: str) -> ... method get_password (line 153) | def get_password(self, service: str, username: str) -> str | None: method get_credential (line 156) | def get_credential( method delete_password (line 171) | def delete_password(self, service: str, username: str) -> None: method set_default_service_credential (line 175) | def set_default_service_credential( class LockedBackend (line 181) | class LockedBackend(KeyringBackend): method priority (line 183) | def priority(self) -> float: method set_password (line 186) | def set_password(self, service: str, username: str, password: str) -> ... method get_password (line 189) | def get_password(self, service: str, username: str) -> str | None: method get_credential (line 192) | def get_credential( method delete_password (line 199) | def delete_password(self, service: str, username: str) -> None: class ErroneousBackend (line 203) | class ErroneousBackend(FailKeyring): method priority (line 205) | def priority(self) -> float: method get_credential (line 208) | def get_credential( function poetry_keyring (line 217) | def poetry_keyring() -> PoetryKeyring: function dummy_keyring (line 222) | def dummy_keyring() -> DummyBackend: function with_simple_keyring (line 227) | def with_simple_keyring(dummy_keyring: DummyBackend) -> None: function with_fail_keyring (line 232) | def with_fail_keyring() -> None: function with_locked_keyring (line 237) | def with_locked_keyring() -> None: function with_erroneous_keyring (line 242) | def with_erroneous_keyring() -> None: function with_null_keyring (line 247) | def with_null_keyring() -> None: function with_chained_fail_keyring (line 254) | def with_chained_fail_keyring(mocker: MockerFixture) -> None: function with_chained_null_keyring (line 265) | def with_chained_null_keyring(mocker: MockerFixture) -> None: function config_cache_dir (line 278) | def config_cache_dir(tmp_path: Path) -> Path: function config_data_dir (line 285) | def config_data_dir(tmp_path: Path) -> Path: function config_virtualenvs_path (line 292) | def config_virtualenvs_path(config_cache_dir: Path) -> Path: function config_source (line 297) | def config_source(config_cache_dir: Path, config_data_dir: Path) -> Dict... function auth_config_source (line 306) | def auth_config_source() -> DictConfigSource: function config (line 313) | def config( function artifact_cache (line 332) | def artifact_cache(config: Config) -> ArtifactCache: function config_dir (line 337) | def config_dir(tmp_path: Path) -> Path: function mock_user_config_dir (line 344) | def mock_user_config_dir(mocker: MockerFixture, config_dir: Path) -> None: function environ (line 350) | def environ() -> Iterator[None]: function isolate_environ (line 356) | def isolate_environ() -> Iterator[None]: function git_mock (line 367) | def git_mock(mocker: MockerFixture, request: FixtureRequest) -> None: function http (line 380) | def http() -> Iterator[responses.RequestsMock]: function http_redirector (line 386) | def http_redirector(http: responses.RequestsMock) -> None: function project_root (line 393) | def project_root() -> Path: function fixture_base (line 398) | def fixture_base() -> Path: function fixture_dir (line 403) | def fixture_dir(fixture_base: Path) -> FixtureDirGetter: function tmp_venv (line 411) | def tmp_venv(tmp_path: Path) -> Iterator[VirtualEnv]: function installed (line 423) | def installed() -> InstalledRepository: function current_env (line 428) | def current_env() -> SystemEnv: function current_python (line 433) | def current_python(current_env: SystemEnv) -> PythonVersion: function default_python (line 438) | def default_python(current_python: PythonVersion) -> str: function repo (line 443) | def repo(http: responses.RequestsMock) -> TestRepository: function project_factory (line 449) | def project_factory( function create_package (line 530) | def create_package(repo: Repository) -> PackageFactory: function set_simple_log_formatter (line 609) | def set_simple_log_formatter() -> None: function fixture_copier (line 620) | def fixture_copier(fixture_base: Path, tmp_path: Path) -> FixtureCopier: function required_fixtures (line 640) | def required_fixtures() -> list[str]: function load_required_fixtures (line 645) | def load_required_fixtures( function venv_flags_default (line 653) | def venv_flags_default() -> dict[str, bool]: function disable_http_status_force_list (line 662) | def disable_http_status_force_list(mocker: MockerFixture) -> Iterator[No... function tmp_working_directory (line 668) | def tmp_working_directory(tmp_path: Path) -> Iterator[Path]: function tmp_session_working_directory (line 674) | def tmp_session_working_directory(tmp_path_factory: TempPathFactory) -> ... function set_project_context (line 681) | def set_project_context( function command_factory (line 699) | def command_factory() -> CommandFactory: function default_keyring (line 739) | def default_keyring(with_null_keyring: None) -> None: function system_env (line 744) | def system_env(tmp_path_factory: TempPathFactory, mocker: MockerFixture)... function mocked_pythons (line 766) | def mocked_pythons() -> list[findpython.PythonVersion]: function mocked_pythons_version_map (line 782) | def mocked_pythons_version_map() -> dict[str, findpython.PythonVersion]: function mock_findpython_find (line 805) | def mock_findpython_find( function mock_findpython_find_all (line 858) | def mock_findpython_find_all( function mocked_python_register (line 879) | def mocked_python_register( function without_mocked_findpython (line 940) | def without_mocked_findpython( function with_mocked_findpython (line 956) | def with_mocked_findpython( function with_no_active_python (line 980) | def with_no_active_python(mocker: MockerFixture) -> MagicMock: function mock_python_version (line 988) | def mock_python_version(mocker: MockerFixture) -> None: function mocked_poetry_managed_python_register (line 1024) | def mocked_poetry_managed_python_register( FILE: tests/console/commands/cache/conftest.py function repository_cache_dir (line 19) | def repository_cache_dir(config: Config) -> Path: function repositories (line 24) | def repositories() -> list[str]: function repository_dirs (line 29) | def repository_dirs( function caches (line 40) | def caches( FILE: tests/console/commands/cache/test_clear.py function tester (line 22) | def tester() -> ApplicationTester: function test_cache_clear_all (line 30) | def test_cache_clear_all( function test_cache_clear_all_one_cache (line 60) | def test_cache_clear_all_one_cache( function test_cache_clear_all_no_entries (line 87) | def test_cache_clear_all_no_entries(tester: ApplicationTester) -> None: function test_cache_clear_all_one_cache_no_entries (line 94) | def test_cache_clear_all_one_cache_no_entries( function test_cache_clear_missing_option (line 107) | def test_cache_clear_missing_option( function test_cache_clear_pkg (line 122) | def test_cache_clear_pkg( FILE: tests/console/commands/cache/test_list.py function tester (line 18) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_cache_list (line 22) | def test_cache_list( function test_cache_list_empty (line 37) | def test_cache_list_empty(tester: CommandTester, repository_cache_dir: P... FILE: tests/console/commands/conftest.py function init_basic_inputs (line 7) | def init_basic_inputs() -> str: function init_basic_toml (line 24) | def init_basic_toml() -> str: function init_basic_toml_no_readme (line 40) | def init_basic_toml_no_readme(init_basic_toml: str) -> str: function new_basic_toml (line 49) | def new_basic_toml() -> str: FILE: tests/console/commands/debug/test_info.py function setup (line 22) | def setup(mocker: MockerFixture) -> None: function tester (line 40) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_debug_info_displays_complete_info (line 44) | def test_debug_info_displays_complete_info(tester: CommandTester) -> None: FILE: tests/console/commands/debug/test_resolve.py function tester (line 19) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function __add_packages (line 24) | def __add_packages(repo: TestRepository) -> None: function test_debug_resolve_gives_resolution_results (line 36) | def test_debug_resolve_gives_resolution_results(tester: CommandTester) -... function test_debug_resolve_tree_option_gives_the_dependency_tree (line 51) | def test_debug_resolve_tree_option_gives_the_dependency_tree( function test_debug_resolve_git_dependency (line 68) | def test_debug_resolve_git_dependency(tester: CommandTester) -> None: FILE: tests/console/commands/env/conftest.py function venv_name (line 20) | def venv_name(app: PoetryTestApplication) -> str: function venv_cache (line 28) | def venv_cache(tmp_path: Path) -> Path: function python_versions (line 35) | def python_versions() -> list[str]: function venvs_in_cache_config (line 40) | def venvs_in_cache_config(app: PoetryTestApplication, venv_cache: Path) ... function venvs_in_cache_dirs (line 45) | def venvs_in_cache_dirs( function venvs_in_project_dir (line 61) | def venvs_in_project_dir(app: PoetryTestApplication) -> Iterator[Path]: function venvs_in_project_dir_none (line 75) | def venvs_in_project_dir_none(app: PoetryTestApplication) -> Iterator[Pa... function venvs_in_project_dir_false (line 88) | def venvs_in_project_dir_false(app: PoetryTestApplication) -> Iterator[P... FILE: tests/console/commands/env/helpers.py function build_venv (line 18) | def build_venv(path: Path | str, **_: Any) -> None: function check_output_wrapper (line 22) | def check_output_wrapper( FILE: tests/console/commands/env/test_activate.py function tester (line 21) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_env_activate_prints_correct_script (line 37) | def test_env_activate_prints_correct_script( function test_env_activate_prints_correct_script_for_windows_shells (line 68) | def test_env_activate_prints_correct_script_for_windows_shells( function test_no_additional_output_in_verbose_mode (line 87) | def test_no_additional_output_in_verbose_mode( FILE: tests/console/commands/env/test_info.py function setup (line 21) | def setup(mocker: MockerFixture) -> None: function tester (line 31) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_env_info_displays_complete_info (line 35) | def test_env_info_displays_complete_info(tester: CommandTester) -> None: function test_env_info_displays_path_only (line 57) | def test_env_info_displays_path_only(tester: CommandTester) -> None: function test_env_info_displays_executable_only (line 63) | def test_env_info_displays_executable_only(tester: CommandTester) -> None: FILE: tests/console/commands/env/test_list.py function venv_activate_37 (line 22) | def venv_activate_37(venv_cache: Path, venv_name: str) -> None: function tester (line 30) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_none_activated (line 34) | def test_none_activated( function test_activated (line 46) | def test_activated( function test_in_project_venv (line 57) | def test_in_project_venv( function test_in_project_venv_no_explicit_config (line 65) | def test_in_project_venv_no_explicit_config( function test_in_project_venv_is_false (line 73) | def test_in_project_venv_is_false( FILE: tests/console/commands/env/test_remove.py function tester (line 22) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_remove_by_python_version (line 26) | def test_remove_by_python_version( function test_remove_by_name (line 47) | def test_remove_by_name( function test_remove_all (line 68) | def test_remove_all( function test_remove_all_and_version (line 115) | def test_remove_all_and_version( function test_remove_multiple (line 129) | def test_remove_multiple( function test_remove_in_project (line 147) | def test_remove_in_project(tester: CommandTester, venvs_in_project_dir: ... function test_remove_in_project_all (line 158) | def test_remove_in_project_all( FILE: tests/console/commands/env/test_use.py function setup (line 34) | def setup(mocker: MockerFixture) -> None: function mock_subprocess_calls (line 40) | def mock_subprocess_calls( function tester (line 54) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_activate_activates_non_existing_virtualenv_no_envs_file (line 58) | def test_activate_activates_non_existing_virtualenv_no_envs_file( function test_activate_does_not_activate_non_existing_virtualenv_with_unsupported_version (line 103) | def test_activate_does_not_activate_non_existing_virtualenv_with_unsuppo... function test_get_prefers_explicitly_activated_virtualenvs_over_env_var (line 129) | def test_get_prefers_explicitly_activated_virtualenvs_over_env_var( function test_get_prefers_explicitly_activated_non_existing_virtualenvs_over_env_var (line 160) | def test_get_prefers_explicitly_activated_non_existing_virtualenvs_over_... FILE: tests/console/commands/python/test_python_install.py function mock_installer (line 25) | def mock_installer(mocker: MockerFixture) -> MagicMock: function tester (line 30) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_install_invalid_version (line 34) | def test_install_invalid_version(tester: CommandTester) -> None: function test_install_free_threaded_not_supported (line 41) | def test_install_free_threaded_not_supported(tester: CommandTester) -> N... function test_install_exists (line 51) | def test_install_exists(tester: CommandTester, mock_installer: MagicMock... function test_install_no_download (line 63) | def test_install_no_download(tester: CommandTester, mock_installer: Magi... function test_install_failure (line 78) | def test_install_failure(tester: CommandTester, mock_installer: MagicMoc... function test_install_corrupt (line 96) | def test_install_corrupt( function test_install_success (line 123) | def test_install_success(tester: CommandTester, mock_installer: MagicMoc... function test_install_reinstall (line 138) | def test_install_reinstall(tester: CommandTester, mock_installer: MagicM... function test_install_passes_options_to_installer (line 155) | def test_install_passes_options_to_installer( function test_install_free_threaded_via_trailing_t (line 178) | def test_install_free_threaded_via_trailing_t( FILE: tests/console/commands/python/test_python_list.py function tester (line 23) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_list_no_versions (line 27) | def test_list_no_versions(tester: CommandTester) -> None: function test_list_all (line 33) | def test_list_all(tester: CommandTester) -> None: function test_list_invalid_version (line 44) | def test_list_invalid_version(tester: CommandTester) -> None: function test_list (line 51) | def test_list( function test_list_poetry_managed (line 75) | def test_list_poetry_managed( function test_list_version (line 111) | def test_list_version( function test_list_implementation (line 130) | def test_list_implementation( function test_list_free_threaded (line 146) | def test_list_free_threaded( FILE: tests/console/commands/python/test_python_remove.py function tester (line 17) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_remove_invalid_version (line 21) | def test_remove_invalid_version(tester: CommandTester) -> None: function test_remove_version_not_precise_enough (line 28) | def test_remove_version_not_precise_enough(tester: CommandTester) -> None: function test_remove_version_no_installation (line 44) | def test_remove_version_no_installation(tester: CommandTester, config: C... function test_remove_version (line 51) | def test_remove_version( function test_remove_version_implementation (line 71) | def test_remove_version_implementation( function test_remove_version_free_threaded (line 96) | def test_remove_version_free_threaded( function test_remove_multiple_versions (line 129) | def test_remove_multiple_versions( FILE: tests/console/commands/self/conftest.py function poetry_package (line 32) | def poetry_package() -> Package: function _patch_repos (line 37) | def _patch_repos( function pool (line 45) | def pool(repo: TestRepository) -> RepositoryPool: function create_pool_factory (line 49) | def create_pool_factory( function setup_mocks (line 67) | def setup_mocks( FILE: tests/console/commands/self/test_add_plugins.py function tester (line 23) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function assert_plugin_add_result (line 27) | def assert_plugin_add_result( function test_add_no_constraint (line 40) | def test_add_no_constraint( function test_add_with_constraint (line 63) | def test_add_with_constraint( function test_add_with_git_constraint (line 86) | def test_add_with_git_constraint( function test_add_with_git_constraint_with_extras (line 111) | def test_add_with_git_constraint_with_extras( function test_add_with_git_constraint_with_subdirectory (line 150) | def test_add_with_git_constraint_with_subdirectory( function test_add_existing_plugin_warns_about_no_operation (line 175) | def test_add_existing_plugin_warns_about_no_operation( function test_add_existing_plugin_updates_if_requested (line 217) | def test_add_existing_plugin_updates_if_requested( function test_adding_a_plugin_can_update_poetry_dependencies_if_needed (line 265) | def test_adding_a_plugin_can_update_poetry_dependencies_if_needed( FILE: tests/console/commands/self/test_install.py function command (line 17) | def command() -> str: function tester (line 22) | def tester(command_tester_factory: CommandTesterFactory, command: str) -... function test_self_install (line 45) | def test_self_install( function test_sync_deprecation (line 66) | def test_sync_deprecation(tester: CommandTester, sync: bool) -> None: FILE: tests/console/commands/self/test_remove_plugins.py function tester (line 26) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function install_plugin (line 31) | def install_plugin(installed: Repository) -> None: function test_remove_installed_package (line 72) | def test_remove_installed_package(tester: CommandTester) -> None: function test_remove_installed_package_dry_run (line 92) | def test_remove_installed_package_dry_run(tester: CommandTester) -> None: FILE: tests/console/commands/self/test_self_command.py function example_system_pyproject (line 15) | def example_system_pyproject() -> str: function test_generate_system_pyproject_trailing_newline (line 27) | def test_generate_system_pyproject_trailing_newline( function test_generate_system_pyproject_carriage_returns (line 41) | def test_generate_system_pyproject_carriage_returns( FILE: tests/console/commands/self/test_show.py function tester (line 21) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_show_format (line 26) | def test_show_format(tester: CommandTester, options: str) -> None: function test_self_show_errors_without_lock_file (line 75) | def test_self_show_errors_without_lock_file(tester: CommandTester) -> None: FILE: tests/console/commands/self/test_show_plugins.py class DoNothingPlugin (line 33) | class DoNothingPlugin(Plugin): method activate (line 34) | def activate(self, poetry: Poetry, io: IO) -> None: class EntryPoint (line 38) | class EntryPoint(metadata.EntryPoint): method load (line 39) | def load(self) -> type[BasePlugin]: function tester (line 47) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function plugin_package_requires_dist (line 52) | def plugin_package_requires_dist() -> list[str]: function plugin_package (line 57) | def plugin_package(plugin_package_requires_dist: list[str]) -> Package: function plugin_distro (line 67) | def plugin_distro(plugin_package: Package, tmp_path: Path) -> metadata.D... function entry_point_name (line 90) | def entry_point_name() -> str: function entry_point_values_by_group (line 95) | def entry_point_values_by_group() -> dict[str, list[str]]: function entry_points (line 100) | def entry_points( function mock_metadata_entry_points (line 133) | def mock_metadata_entry_points( function test_show_displays_installed_plugins (line 159) | def test_show_displays_installed_plugins( function test_show_displays_installed_plugins_with_multiple_plugins (line 185) | def test_show_displays_installed_plugins_with_multiple_plugins( function test_show_displays_installed_plugins_with_dependencies (line 211) | def test_show_displays_installed_plugins_with_dependencies( FILE: tests/console/commands/self/test_sync.py function command (line 22) | def command() -> str: function test_sync_deprecation (line 27) | def test_sync_deprecation() -> None: function test_sync_option_not_available (line 31) | def test_sync_option_not_available(tester: CommandTester) -> None: function test_synced_installer (line 36) | def test_synced_installer(tester: CommandTester, mocker: MockerFixture) ... FILE: tests/console/commands/self/test_update.py function setup (line 26) | def setup(mocker: MockerFixture, fixture_dir: FixtureDirGetter) -> None: function tester (line 39) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_self_update_can_update_from_recommended_installation (line 43) | def test_self_update_can_update_from_recommended_installation( FILE: tests/console/commands/self/utils.py function get_self_command_dependencies (line 11) | def get_self_command_dependencies(locked: bool = True) -> Array | None: FILE: tests/console/commands/source/conftest.py function source_one (line 18) | def source_one() -> Source: function source_two (line 23) | def source_two() -> Source: function source_primary (line 28) | def source_primary() -> Source: function source_supplemental (line 33) | def source_supplemental() -> Source: function source_explicit (line 42) | def source_explicit() -> Source: function source_pypi (line 49) | def source_pypi() -> Source: function source_pypi_explicit (line 54) | def source_pypi_explicit() -> Source: function source_existing (line 62) | def source_existing() -> Source: function poetry_without_poetry_section (line 110) | def poetry_without_poetry_section(project_factory: ProjectFactory) -> Po... function poetry_without_source (line 115) | def poetry_without_source(project_factory: ProjectFactory) -> Poetry: function poetry_with_source (line 120) | def poetry_with_source(project_factory: ProjectFactory) -> Poetry: function poetry_with_pypi (line 125) | def poetry_with_pypi(project_factory: ProjectFactory) -> Poetry: function poetry_with_pypi_and_other (line 130) | def poetry_with_pypi_and_other(project_factory: ProjectFactory) -> Poetry: function add_multiple_sources (line 135) | def add_multiple_sources( function add_all_source_types (line 147) | def add_all_source_types( FILE: tests/console/commands/source/test_add.py function tester (line 21) | def tester( function assert_source_added (line 27) | def assert_source_added( function test_source_add_simple (line 47) | def test_source_add_simple( function test_source_add_simple_without_existing_sources (line 57) | def test_source_add_simple_without_existing_sources( function test_source_add_simple_without_existing_poetry_section (line 66) | def test_source_add_simple_without_existing_poetry_section( function test_source_add_supplemental (line 75) | def test_source_add_supplemental( function test_source_add_explicit (line 89) | def test_source_add_explicit( function test_source_add_error_no_url (line 99) | def test_source_add_error_no_url(tester: CommandTester) -> None: function test_source_add_error_pypi (line 108) | def test_source_add_error_pypi(tester: CommandTester) -> None: function test_source_add_pypi (line 117) | def test_source_add_pypi( function test_source_add_pypi_explicit (line 128) | def test_source_add_pypi_explicit( function test_source_add_existing_no_change_except_case_of_name (line 141) | def test_source_add_existing_no_change_except_case_of_name( function test_source_add_existing_updating (line 164) | def test_source_add_existing_updating( FILE: tests/console/commands/source/test_remove.py function tester (line 17) | def tester( function tester_pypi (line 26) | def tester_pypi( function tester_pypi_and_other (line 34) | def tester_pypi_and_other( function test_source_remove_simple (line 42) | def test_source_remove_simple( function test_source_remove_pypi (line 64) | def test_source_remove_pypi( function test_source_remove_pypi_and_other (line 78) | def test_source_remove_pypi_and_other( function test_source_remove_error (line 98) | def test_source_remove_error(name: str, tester: CommandTester) -> None: FILE: tests/console/commands/source/test_show.py function tester (line 19) | def tester( function tester_no_sources (line 28) | def tester_no_sources( function tester_pypi (line 36) | def tester_pypi( function tester_pypi_and_other (line 44) | def tester_pypi_and_other( function tester_all_types (line 52) | def tester_all_types( function test_source_show_simple (line 60) | def test_source_show_simple(tester: CommandTester) -> None: function test_source_show_one (line 83) | def test_source_show_one( function test_source_show_two (line 100) | def test_source_show_two( function test_source_show_given_priority (line 128) | def test_source_show_given_priority( function test_source_show_pypi (line 145) | def test_source_show_pypi(tester_pypi: CommandTester) -> None: function test_source_show_pypi_and_other (line 157) | def test_source_show_pypi_and_other(tester_pypi_and_other: CommandTester... function test_source_show_no_sources (line 174) | def test_source_show_no_sources(tester_no_sources: CommandTester) -> None: function test_source_show_no_sources_implicit_pypi (line 183) | def test_source_show_no_sources_implicit_pypi( function test_source_show_error (line 197) | def test_source_show_error(tester: CommandTester) -> None: FILE: tests/console/commands/test_about.py function tester (line 15) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_about (line 19) | def test_about(tester: CommandTester) -> None: FILE: tests/console/commands/test_add.py function config (line 44) | def config(config: Config) -> Config: function poetry_with_up_to_date_lockfile (line 51) | def poetry_with_up_to_date_lockfile( function poetry_with_path_dependency (line 64) | def poetry_with_path_dependency( function tester (line 78) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function repo_add_default_packages (line 83) | def repo_add_default_packages(repo: TestRepository) -> None: function test_add_no_constraint (line 119) | def test_add_no_constraint(app: PoetryTestApplication, tester: CommandTe... function test_add_local_version (line 147) | def test_add_local_version(app: PoetryTestApplication, tester: CommandTe... function test_add_non_package_mode_no_name (line 174) | def test_add_non_package_mode_no_name( function test_add_replace_by_constraint (line 194) | def test_add_replace_by_constraint( function test_add_no_constraint_editable_error (line 242) | def test_add_no_constraint_editable_error( function test_add_equal_constraint (line 265) | def test_add_equal_constraint(tester: CommandTester) -> None: function test_add_greater_constraint (line 285) | def test_add_greater_constraint(tester: CommandTester) -> None: function test_add_constraint_with_extras (line 307) | def test_add_constraint_with_extras( function test_add_constraint_dependencies (line 331) | def test_add_constraint_dependencies(tester: CommandTester) -> None: function test_add_with_markers (line 352) | def test_add_with_markers(app: PoetryTestApplication, tester: CommandTes... function test_add_git_constraint (line 364) | def test_add_git_constraint( function test_add_git_constraint_with_poetry (line 399) | def test_add_git_constraint_with_poetry( function test_add_git_constraint_with_extras (line 426) | def test_add_git_constraint_with_extras( function test_add_git_constraint_with_subdirectory (line 475) | def test_add_git_constraint_with_subdirectory( function test_add_git_ssh_constraint (line 513) | def test_add_git_ssh_constraint( function test_add_directory_constraint (line 561) | def test_add_directory_constraint( function test_add_to_new_group_keeps_existing_group (line 599) | def test_add_to_new_group_keeps_existing_group( function test_add_to_existing_group (line 637) | def test_add_to_existing_group( function test_add_to_group_with_latest_overwrite_existing (line 692) | def test_add_to_group_with_latest_overwrite_existing( function test_add_multiple_dependencies_to_dependency_group (line 732) | def test_add_multiple_dependencies_to_dependency_group( function test_add_to_group_uses_existing_legacy_group (line 756) | def test_add_to_group_uses_existing_legacy_group( function test_add_group_directory_constraint_mix_pep735 (line 794) | def test_add_group_directory_constraint_mix_pep735( function test_add_directory_with_poetry (line 833) | def test_add_directory_with_poetry( function test_add_file_constraint_wheel (line 863) | def test_add_file_constraint_wheel( function test_add_file_constraint_sdist (line 899) | def test_add_file_constraint_sdist( function test_add_constraint_with_extras_option (line 932) | def test_add_constraint_with_extras_option( function test_add_url_constraint_wheel (line 966) | def test_add_url_constraint_wheel( function test_add_url_constraint_wheel_with_extras (line 1006) | def test_add_url_constraint_wheel_with_extras( function test_add_constraint_with_optional (line 1069) | def test_add_constraint_with_optional( function test_add_constraint_with_optional_not_main_group (line 1136) | def test_add_constraint_with_optional_not_main_group( function test_add_constraint_with_python (line 1145) | def test_add_constraint_with_python( function test_add_constraint_with_platform (line 1174) | def test_add_constraint_with_platform( function test_add_constraint_with_source (line 1211) | def test_add_constraint_with_source( function test_add_constraint_with_source_that_does_not_exist (line 1259) | def test_add_constraint_with_source_that_does_not_exist(tester: CommandT... function test_add_constraint_not_found_with_source (line 1266) | def test_add_constraint_not_found_with_source( function test_add_to_section_that_does_not_exist_yet (line 1286) | def test_add_to_section_that_does_not_exist_yet( function test_add_creating_poetry_section_does_not_remove_existing_tools (line 1330) | def test_add_creating_poetry_section_does_not_remove_existing_tools( function test_add_to_dev_group (line 1357) | def test_add_to_dev_group(app: PoetryTestApplication, tester: CommandTes... function test_add_should_not_select_prereleases (line 1385) | def test_add_should_not_select_prereleases( function test_add_should_skip_when_adding_existing_package_with_no_constraint (line 1415) | def test_add_should_skip_when_adding_existing_package_with_no_constraint( function test_add_should_skip_when_adding_canonicalized_existing_package_with_no_constraint (line 1447) | def test_add_should_skip_when_adding_canonicalized_existing_package_with... function test_add_should_fail_circular_dependency (line 1478) | def test_add_should_fail_circular_dependency( function test_add_latest_should_strip_out_invalid_pep508_path (line 1490) | def test_add_latest_should_strip_out_invalid_pep508_path( function test_add_latest_should_not_create_duplicate_keys (line 1506) | def test_add_latest_should_not_create_duplicate_keys( function test_add_should_work_when_adding_existing_package_with_latest_constraint (line 1560) | def test_add_should_work_when_adding_existing_package_with_latest_constr... function test_add_chooses_prerelease_if_only_prereleases_are_available (line 1606) | def test_add_chooses_prerelease_if_only_prereleases_are_available( function test_add_prefers_stable_releases (line 1629) | def test_add_prefers_stable_releases( function test_add_with_lock (line 1653) | def test_add_with_lock(app: PoetryTestApplication, tester: CommandTester... function test_add_keyboard_interrupt_restore_content (line 1671) | def test_add_keyboard_interrupt_restore_content( function test_add_with_dry_run_keep_files_intact (line 1703) | def test_add_with_dry_run_keep_files_intact( function test_add_should_not_change_lock_file_when_dependency_installation_fail (line 1724) | def test_add_should_not_change_lock_file_when_dependency_installation_fail( function test_add_with_path_dependency_no_loopiness (line 1759) | def test_add_with_path_dependency_no_loopiness( function test_add_extras_are_parsed_and_included (line 1777) | def test_add_extras_are_parsed_and_included( function test_add_extras_only_accepts_one_package (line 1816) | def test_add_extras_only_accepts_one_package( function test_add_does_not_update_locked_dependencies (line 1837) | def test_add_does_not_update_locked_dependencies( function test_add_creates_dependencies_array_if_necessary (line 1874) | def test_add_creates_dependencies_array_if_necessary( function test_add_does_not_add_poetry_dependencies_if_not_necessary (line 1901) | def test_add_does_not_add_poetry_dependencies_if_not_necessary( function test_add_poetry_dependencies_if_necessary (line 1947) | def test_add_poetry_dependencies_if_necessary( FILE: tests/console/commands/test_build.py function tmp_project_path (line 35) | def tmp_project_path(tmp_path: Path) -> Path: function tmp_poetry (line 40) | def tmp_poetry(tmp_project_path: Path, fixture_dir: FixtureDirGetter) ->... function tmp_tester (line 48) | def tmp_tester( function get_package_glob (line 54) | def get_package_glob(poetry: Poetry, local_version: str | None = None) -... function test_build_format_is_not_valid (line 63) | def test_build_format_is_not_valid(tmp_tester: CommandTester) -> None: function test_build_creates_packages_in_dist_directory_if_no_output_is_specified (line 69) | def test_build_creates_packages_in_dist_directory_if_no_output_is_specif... function test_build_with_local_version_label (line 81) | def test_build_with_local_version_label( function test_build_with_clean (line 98) | def test_build_with_clean( function test_build_with_clean_non_existing_output (line 111) | def test_build_with_clean_non_existing_output( function test_build_not_possible_in_non_package_mode (line 126) | def test_build_not_possible_in_non_package_mode( function test_build_with_multiple_readme_files (line 142) | def test_build_with_multiple_readme_files( function test_build_output_option (line 177) | def test_build_output_option( function test_build_relative_directory_src_layout (line 199) | def test_build_relative_directory_src_layout( function test_build_options_validate_formats (line 221) | def test_build_options_validate_formats() -> None: function test_prepare_config_settings (line 226) | def test_prepare_config_settings() -> None: function test_prepare_config_settings_raise_on_invalid_setting (line 240) | def test_prepare_config_settings_raise_on_invalid_setting() -> None: function test_prepare_formats (line 258) | def test_prepare_formats(fmt: str | None, expected_formats: list[str]) -... function test_requires_isolated_build (line 276) | def test_requires_isolated_build( function test_build_handler_build_isolated (line 288) | def test_build_handler_build_isolated( FILE: tests/console/commands/test_check.py function poetry_simple_project (line 26) | def poetry_simple_project(set_project_context: SetProjectContext) -> Ite... function poetry_with_outdated_lockfile (line 32) | def poetry_with_outdated_lockfile( function poetry_with_up_to_date_lockfile (line 40) | def poetry_with_up_to_date_lockfile( function poetry_with_pypi_reference (line 48) | def poetry_with_pypi_reference( function poetry_with_invalid_pyproject (line 56) | def poetry_with_invalid_pyproject( function tester (line 64) | def tester( function test_check_valid (line 70) | def test_check_valid(tester: CommandTester) -> None: function test_check_valid_legacy (line 87) | def test_check_valid_legacy( function test_check_invalid_dep_name_same_as_project_name (line 143) | def test_check_invalid_dep_name_same_as_project_name( function test_check_invalid (line 162) | def test_check_invalid( function test_check_private (line 193) | def test_check_private( function test_check_non_package_mode (line 211) | def test_check_non_package_mode( function test_check_lock_missing (line 236) | def test_check_lock_missing( function test_check_lock_outdated (line 261) | def test_check_lock_outdated( function test_check_lock_up_to_date (line 286) | def test_check_lock_up_to_date( function test_check_does_not_error_on_pypi_reference (line 306) | def test_check_does_not_error_on_pypi_reference( function pyproject_with_readme_file (line 318) | def pyproject_with_readme_file(tmp_path: Path, request: pytest.FixtureRe... function test_check_readme_file_exists (line 349) | def test_check_readme_file_exists( function pyproject_with_empty_readme_file (line 379) | def pyproject_with_empty_readme_file( function test_check_project_readme_as_text (line 409) | def test_check_project_readme_as_text( function test_check_poetry_readme_multiple (line 434) | def test_check_poetry_readme_multiple( FILE: tests/console/commands/test_config.py function tester (line 37) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_config_command_in_sync_with_config_class (line 41) | def test_config_command_in_sync_with_config_class() -> None: function test_show_config_with_local_config_file_empty (line 47) | def test_show_config_with_local_config_file_empty( function test_list_displays_default_value_if_not_set (line 59) | def test_list_displays_default_value_if_not_set( function test_list_displays_set_get_setting (line 92) | def test_list_displays_set_get_setting( function test_cannot_set_with_multiple_values (line 128) | def test_cannot_set_with_multiple_values(tester: CommandTester) -> None: function test_cannot_set_invalid_value (line 135) | def test_cannot_set_invalid_value(tester: CommandTester) -> None: function test_cannot_unset_with_value (line 142) | def test_cannot_unset_with_value(tester: CommandTester) -> None: function test_unset_setting (line 149) | def test_unset_setting( function test_unset_repo_setting (line 183) | def test_unset_repo_setting( function test_unset_value_not_exists (line 217) | def test_unset_value_not_exists(tester: CommandTester) -> None: function test_display_single_setting (line 231) | def test_display_single_setting( function test_display_single_local_setting (line 240) | def test_display_single_local_setting( function test_display_empty_repositories_setting (line 254) | def test_display_empty_repositories_setting( function test_unset_nonempty_repositories_section (line 275) | def test_unset_nonempty_repositories_section( function test_set_malformed_repositories_setting (line 286) | def test_set_malformed_repositories_setting( function test_display_undefined_setting (line 305) | def test_display_undefined_setting( function test_list_displays_set_get_local_setting (line 314) | def test_list_displays_set_get_local_setting( function test_list_must_not_display_sources_from_pyproject_toml (line 353) | def test_list_must_not_display_sources_from_pyproject_toml( function test_set_http_basic (line 396) | def test_set_http_basic( function test_unset_http_basic (line 408) | def test_unset_http_basic( function test_set_http_basic_unsuccessful_multiple_values (line 418) | def test_set_http_basic_unsuccessful_multiple_values( function test_set_pypi_token (line 427) | def test_set_pypi_token( function test_unset_pypi_token (line 436) | def test_unset_pypi_token( function test_set_pypi_token_unsuccessful_multiple_values (line 446) | def test_set_pypi_token_unsuccessful_multiple_values( function test_set_pypi_token_no_values (line 455) | def test_set_pypi_token_no_values( function test_set_client_cert (line 464) | def test_set_client_cert( function test_set_client_cert_unsuccessful_multiple_values (line 479) | def test_set_client_cert_unsuccessful_multiple_values( function test_set_cert (line 499) | def test_set_cert( function test_unset_cert (line 513) | def test_unset_cert( function test_config_installer_parallel (line 528) | def test_config_installer_parallel( function test_config_installer_binary_filter_config (line 570) | def test_config_installer_binary_filter_config( function test_config_solver_lazy_wheel (line 585) | def test_config_solver_lazy_wheel( function test_config_migrate (line 626) | def test_config_migrate( function test_config_migrate_local_config (line 655) | def test_config_migrate_local_config(tester: CommandTester, poetry: Poet... function test_config_migrate_local_config_should_raise_if_not_found (line 681) | def test_config_migrate_local_config_should_raise_if_not_found( function test_config_installer_build_config_settings (line 688) | def test_config_installer_build_config_settings( function test_config_installer_build_config_settings_bad_values (line 731) | def test_config_installer_build_config_settings_bad_values( function test_command_config_build_config_settings_get (line 746) | def test_command_config_build_config_settings_get( FILE: tests/console/commands/test_init.py function source_dir (line 40) | def source_dir(tmp_path: Path) -> Iterator[Path]: function patches (line 50) | def patches(mocker: MockerFixture, source_dir: Path, repo: TestRepositor... function tester (line 59) | def tester(patches: None) -> CommandTester: function test_basic_interactive (line 64) | def test_basic_interactive( function test_noninteractive (line 71) | def test_noninteractive( function test_interactive_with_dependencies (line 108) | def test_interactive_with_dependencies( function test_interactive_with_dependencies_and_no_selection (line 170) | def test_interactive_with_dependencies_and_no_selection( function test_empty_license (line 211) | def test_empty_license(tester: CommandTester) -> None: function test_interactive_with_git_dependencies (line 239) | def test_interactive_with_git_dependencies( function _generate_choice_list_packages (line 312) | def _generate_choice_list_packages(request: FixtureRequest) -> list[Pack... function test_generate_choice_list (line 318) | def test_generate_choice_list( function test_interactive_with_git_dependencies_with_reference (line 334) | def test_interactive_with_git_dependencies_with_reference( function test_interactive_with_git_dependencies_and_other_name (line 382) | def test_interactive_with_git_dependencies_and_other_name( function test_interactive_with_directory_dependency (line 430) | def test_interactive_with_directory_dependency( function test_interactive_with_directory_dependency_and_other_name (line 484) | def test_interactive_with_directory_dependency_and_other_name( function test_interactive_with_file_dependency (line 539) | def test_interactive_with_file_dependency( function test_interactive_with_wrong_dependency_inputs (line 594) | def test_interactive_with_wrong_dependency_inputs( function test_python_option (line 642) | def test_python_option(tester: CommandTester) -> None: function test_predefined_dependency (line 670) | def test_predefined_dependency(tester: CommandTester, repo: TestReposito... function test_predefined_and_interactive_dependencies (line 704) | def test_predefined_and_interactive_dependencies( function test_predefined_dev_dependency (line 746) | def test_predefined_dev_dependency(tester: CommandTester, repo: TestRepo... function test_predefined_and_interactive_dev_dependencies (line 785) | def test_predefined_and_interactive_dev_dependencies( function test_predefined_all_options (line 833) | def test_predefined_all_options(tester: CommandTester, repo: TestReposit... function test_add_package_with_extras_and_whitespace (line 880) | def test_add_package_with_extras_and_whitespace(tester: CommandTester) -... function test_init_existing_pyproject_simple (line 891) | def test_init_existing_pyproject_simple( function test_init_existing_pyproject_consistent_linesep (line 911) | def test_init_existing_pyproject_consistent_linesep( function test_init_non_interactive_existing_pyproject_add_dependency (line 932) | def test_init_non_interactive_existing_pyproject_add_dependency( function test_init_existing_pyproject_with_build_system_fails (line 973) | def test_init_existing_pyproject_with_build_system_fails( function test_validate_package_valid (line 1005) | def test_validate_package_valid(name: str | None) -> None: function test_validate_package_invalid (line 1012) | def test_validate_package_invalid(name: str) -> None: function test_validate_author (line 1024) | def test_validate_author(author: str) -> None: function test_package_include (line 1043) | def test_package_include( function test_respect_use_poetry_python_on_init (line 1091) | def test_respect_use_poetry_python_on_init( function test_get_pool (line 1116) | def test_get_pool(mocker: MockerFixture, source_dir: Path) -> None: function test_init_does_not_create_project_structure_in_empty_directory (line 1130) | def test_init_does_not_create_project_structure_in_empty_directory( function test_init_does_not_create_project_structure_in_non_empty_directory (line 1158) | def test_init_does_not_create_project_structure_in_non_empty_directory( function test_init_adds_readme_key_when_readme_exists (line 1194) | def test_init_adds_readme_key_when_readme_exists( function test_init_does_not_add_readme_key_when_readme_missing (line 1207) | def test_init_does_not_add_readme_key_when_readme_missing( FILE: tests/console/commands/test_install.py function command (line 67) | def command() -> str: function poetry (line 72) | def poetry(project_factory: ProjectFactory) -> Poetry: function tester (line 77) | def tester( function _project_factory (line 83) | def _project_factory( function test_group_options_are_passed_to_the_installer (line 121) | def test_group_options_are_passed_to_the_installer( function test_sync_option_is_passed_to_the_installer (line 163) | def test_sync_option_is_passed_to_the_installer( function test_compile_option_is_passed_to_the_installer (line 185) | def test_compile_option_is_passed_to_the_installer( function test_no_directory_is_passed_to_installer (line 204) | def test_no_directory_is_passed_to_installer( function test_no_all_extras_doesnt_populate_installer (line 222) | def test_no_all_extras_doesnt_populate_installer( function test_all_extras_populates_installer (line 236) | def test_all_extras_populates_installer( function test_extras_are_parsed_and_populate_installer (line 250) | def test_extras_are_parsed_and_populate_installer( function test_install_ensures_project_plugins (line 269) | def test_install_ensures_project_plugins( function test_extras_conflicts_all_extras (line 283) | def test_extras_conflicts_all_extras( function test_only_root_conflicts_with_without_only_all_groups (line 312) | def test_only_root_conflicts_with_without_only_all_groups( function test_all_groups_conflicts_with_only_with_without (line 339) | def test_all_groups_conflicts_with_only_with_without( function test_invalid_groups_with_without_only (line 371) | def test_invalid_groups_with_without_only( function test_dry_run_populates_installer (line 399) | def test_dry_run_populates_installer( function test_dry_run_does_not_build (line 414) | def test_dry_run_does_not_build(tester: CommandTester, mocker: MockerFix... function test_install_logs_output (line 426) | def test_install_logs_output(tester: CommandTester, mocker: MockerFixtur... function test_install_logs_output_decorated (line 440) | def test_install_logs_output_decorated( function test_install_warning_corrupt_root (line 464) | def test_install_warning_corrupt_root( function test_install_path_dependency_does_not_exist (line 503) | def test_install_path_dependency_does_not_exist( function test_install_extra_path_dependency_does_not_exist (line 523) | def test_install_extra_path_dependency_does_not_exist( function test_install_missing_directory_dependency_with_no_directory (line 543) | def test_install_missing_directory_dependency_with_no_directory( function test_non_package_mode_does_not_try_to_install_root (line 563) | def test_non_package_mode_does_not_try_to_install_root( FILE: tests/console/commands/test_lock.py function source_dir (line 25) | def source_dir(tmp_path: Path) -> Path: function tester (line 30) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function _project_factory (line 34) | def _project_factory( function poetry_with_outdated_lockfile (line 51) | def poetry_with_outdated_lockfile( function poetry_with_up_to_date_lockfile (line 58) | def poetry_with_up_to_date_lockfile( function poetry_with_old_lockfile (line 65) | def poetry_with_old_lockfile( function poetry_with_nested_path_deps_old_lockfile (line 72) | def poetry_with_nested_path_deps_old_lockfile( function poetry_with_incompatible_lockfile (line 79) | def poetry_with_incompatible_lockfile( function poetry_with_invalid_lockfile (line 86) | def poetry_with_invalid_lockfile( function test_lock_does_not_update_if_not_necessary (line 92) | def test_lock_does_not_update_if_not_necessary( function test_lock_always_updates_path_dependencies (line 138) | def test_lock_always_updates_path_dependencies( function test_lock_path_dependency_does_not_exist (line 173) | def test_lock_path_dependency_does_not_exist( function test_lock_path_dependency_deleted_from_pyproject (line 201) | def test_lock_path_dependency_deleted_from_pyproject( function test_lock_with_incompatible_lockfile (line 224) | def test_lock_with_incompatible_lockfile( function test_lock_with_invalid_lockfile (line 255) | def test_lock_with_invalid_lockfile( FILE: tests/console/commands/test_new.py function tester (line 27) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function verify_project_directory (line 31) | def verify_project_directory( function test_command_new (line 163) | def test_command_new( function test_command_new_with_readme (line 179) | def test_command_new_with_readme( function test_respect_use_poetry_python_on_new (line 209) | def test_respect_use_poetry_python_on_new( function test_basic_interactive_new (line 235) | def test_basic_interactive_new( function test_new_creates_structure_in_empty_existing_directory (line 244) | def test_new_creates_structure_in_empty_existing_directory( function test_new_with_dot_in_empty_directory (line 263) | def test_new_with_dot_in_empty_directory(tester: CommandTester, tmp_path... FILE: tests/console/commands/test_publish.py function test_publish_not_possible_in_non_package_mode (line 26) | def test_publish_not_possible_in_non_package_mode( function test_publish_returns_non_zero_code_for_upload_errors (line 42) | def test_publish_returns_non_zero_code_for_upload_errors( function test_publish_returns_non_zero_code_for_connection_errors (line 65) | def test_publish_returns_non_zero_code_for_connection_errors( function test_publish_with_cert (line 84) | def test_publish_with_cert( function test_publish_with_client_cert (line 96) | def test_publish_with_client_cert( function test_publish_dry_run_skip_existing (line 115) | def test_publish_dry_run_skip_existing( function test_skip_existing_output (line 132) | def test_skip_existing_output( function test_publish_dist_dir_option (line 148) | def test_publish_dist_dir_option( function test_publish_dist_dir_and_build_options (line 183) | def test_publish_dist_dir_and_build_options( FILE: tests/console/commands/test_remove.py function poetry_with_up_to_date_lockfile (line 35) | def poetry_with_up_to_date_lockfile( function tester (line 55) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function test_remove_from_project_and_poetry (line 59) | def test_remove_from_project_and_poetry( function test_remove_from_pep735_group_and_poetry_group (line 134) | def test_remove_from_pep735_group_and_poetry_group( function test_remove_without_specific_group_removes_from_all_groups (line 213) | def test_remove_without_specific_group_removes_from_all_groups( function test_remove_with_specific_group_removes_from_specific_groups (line 299) | def test_remove_with_specific_group_removes_from_specific_groups( function test_remove_does_not_keep_empty_groups (line 384) | def test_remove_does_not_keep_empty_groups( function test_remove_canonicalized_named_removes_dependency_correctly (line 454) | def test_remove_canonicalized_named_removes_dependency_correctly( function test_remove_package_does_not_exist (line 540) | def test_remove_package_does_not_exist( function test_remove_package_no_dependencies (line 557) | def test_remove_package_no_dependencies( function test_remove_command_should_not_write_changes_upon_installer_errors (line 578) | def test_remove_command_should_not_write_changes_upon_installer_errors( function test_remove_with_dry_run_keep_files_intact (line 601) | def test_remove_with_dry_run_keep_files_intact( function test_remove_performs_uninstall_op (line 624) | def test_remove_performs_uninstall_op( function test_remove_with_lock_does_not_perform_uninstall_op (line 653) | def test_remove_with_lock_does_not_perform_uninstall_op( function test_remove_from_nested_pep735_group_and_poetry_group (line 676) | def test_remove_from_nested_pep735_group_and_poetry_group( function test_remove_group_cleans_up_include_group_references (line 781) | def test_remove_group_cleans_up_include_group_references( FILE: tests/console/commands/test_run.py function tester (line 26) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function patches (line 31) | def patches(mocker: MockerFixture, env: MockEnv) -> None: function poetry_with_scripts (line 36) | def poetry_with_scripts( function test_run_passes_all_args (line 48) | def test_run_passes_all_args(app_tester: ApplicationTester, env: MockEnv... function test_run_is_not_eager (line 53) | def test_run_is_not_eager(app_tester: ApplicationTester, env: MockEnv) -... function test_run_passes_args_after_run_before_command (line 62) | def test_run_passes_args_after_run_before_command( function test_run_passes_args_after_run_before_command_name_conflict (line 82) | def test_run_passes_args_after_run_before_command_name_conflict( function test_run_keeps_options_passed_before_command_args_combined_short_opts (line 100) | def test_run_keeps_options_passed_before_command_args_combined_short_opts( function test_run_keeps_options_passed_before_command_args (line 112) | def test_run_keeps_options_passed_before_command_args( function test_run_keeps_options_passed_before_command (line 124) | def test_run_keeps_options_passed_before_command( function test_run_has_helpful_error_when_command_not_found (line 136) | def test_run_has_helpful_error_when_command_not_found( function test_run_console_scripts_of_editable_dependencies_on_windows (line 165) | def test_run_console_scripts_of_editable_dependencies_on_windows( function test_run_script_exit_code (line 196) | def test_run_script_exit_code( function test_run_script_sys_argv0 (line 222) | def test_run_script_sys_argv0( FILE: tests/console/commands/test_search.py function tester (line 48) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function clean_output (line 52) | def clean_output(text: str) -> str: function test_search (line 56) | def test_search( function test_search_empty_results (line 69) | def test_search_empty_results( function test_search_with_legacy_repository (line 83) | def test_search_with_legacy_repository( function test_search_only_legacy_repository (line 105) | def test_search_only_legacy_repository( function test_search_multiple_queries (line 126) | def test_search_multiple_queries( FILE: tests/console/commands/test_show.py function tester (line 33) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function output_format_parametrize (line 40) | def output_format_parametrize(func: F) -> F: function test_show_basic_with_installed_packages (line 46) | def test_show_basic_with_installed_packages( function _configure_project_with_groups (line 146) | def _configure_project_with_groups(poetry: Poetry, installed: Repository... function test_show_basic_with_group_options (line 430) | def test_show_basic_with_group_options( function test_show_basic_with_installed_packages_single (line 448) | def test_show_basic_with_installed_packages_single( function test_show_basic_with_installed_packages_single_canonicalized (line 502) | def test_show_basic_with_installed_packages_single_canonicalized( function test_show_basic_with_not_installed_packages_non_decorated (line 560) | def test_show_basic_with_not_installed_packages_non_decorated( function test_show_basic_with_not_installed_packages_decorated (line 636) | def test_show_basic_with_not_installed_packages_decorated( function test_show_latest_non_decorated (line 693) | def test_show_latest_non_decorated( function test_show_latest_decorated (line 782) | def test_show_latest_decorated( function test_show_outdated (line 854) | def test_show_outdated( function test_show_outdated_with_only_up_to_date_packages (line 933) | def test_show_outdated_with_only_up_to_date_packages( function test_show_outdated_has_prerelease_but_not_allowed (line 981) | def test_show_outdated_has_prerelease_but_not_allowed( function test_show_outdated_has_prerelease_and_allowed (line 1065) | def test_show_outdated_has_prerelease_and_allowed( function test_show_outdated_formatting (line 1153) | def test_show_outdated_formatting( function test_show_outdated_local_dependencies (line 1252) | def test_show_outdated_local_dependencies( function test_show_outdated_git_dev_dependency (line 1387) | def test_show_outdated_git_dev_dependency( function test_show_outdated_no_dev_git_dev_dependency (line 1505) | def test_show_outdated_no_dev_git_dev_dependency( function test_show_hides_incompatible_package (line 1613) | def test_show_hides_incompatible_package( function test_show_all_shows_incompatible_package (line 1686) | def test_show_all_shows_incompatible_package( function test_show_hides_incompatible_package_with_duplicate (line 1762) | def test_show_hides_incompatible_package_with_duplicate( function test_show_all_shows_all_duplicates (line 1824) | def test_show_all_shows_all_duplicates( function test_show_tree (line 1892) | def test_show_tree( function test_show_tree_no_dev (line 1945) | def test_show_tree_no_dev( function test_show_tree_why_package (line 2012) | def test_show_tree_why_package( function test_show_tree_why (line 2072) | def test_show_tree_why( function test_show_why (line 2132) | def test_show_why( function test_show_required_by_deps (line 2226) | def test_show_required_by_deps( function test_show_entire_description_truncate (line 2316) | def test_show_entire_description_truncate( function test_show_errors_without_lock_file (line 2375) | def test_show_errors_without_lock_file(tester: CommandTester, poetry: Po... function test_show_dependency_installed_from_git_in_dev (line 2386) | def test_show_dependency_installed_from_git_in_dev( function test_url_dependency_is_not_outdated_by_repository_package (line 2461) | def test_url_dependency_is_not_outdated_by_repository_package( function test_show_top_level (line 2523) | def test_show_top_level( function test_show_top_level_with_explicitly_defined_dependency (line 2590) | def test_show_top_level_with_explicitly_defined_dependency( function test_show_top_level_with_extras (line 2666) | def test_show_top_level_with_extras( function test_show_error_top_level_with_tree (line 2749) | def test_show_error_top_level_with_tree(tester: CommandTester) -> None: function test_show_error_top_level_with_single_package (line 2756) | def test_show_error_top_level_with_single_package(tester: CommandTester)... function test_show_outdated_missing_directory_dependency (line 2772) | def test_show_outdated_missing_directory_dependency( function test_show_error_invalid_output_format (line 2795) | def test_show_error_invalid_output_format( function test_show_error_invalid_output_format_with_tree_option (line 2804) | def test_show_error_invalid_output_format_with_tree_option( FILE: tests/console/commands/test_sync.py function command (line 22) | def command() -> str: function test_sync_option_is_passed_to_the_installer (line 27) | def test_sync_option_is_passed_to_the_installer() -> None: function test_sync_option_not_available (line 31) | def test_sync_option_not_available(tester: CommandTester) -> None: function test_synced_installer (line 36) | def test_synced_installer(tester: CommandTester, mocker: MockerFixture) ... FILE: tests/console/commands/test_update.py function poetry_with_outdated_lockfile (line 22) | def poetry_with_outdated_lockfile( function test_update_with_dry_run_keep_files_intact (line 41) | def test_update_with_dry_run_keep_files_intact( function test_update_prints_operations (line 69) | def test_update_prints_operations( function test_update_sync_option_is_passed_to_the_installer (line 88) | def test_update_sync_option_is_passed_to_the_installer( function test_update_with_valid_package_name (line 105) | def test_update_with_valid_package_name( function test_update_with_non_normalized_package_name (line 126) | def test_update_with_non_normalized_package_name( function test_update_with_invalid_package_name_shows_error (line 148) | def test_update_with_invalid_package_name_shows_error( function test_update_with_multiple_invalid_package_names_shows_error (line 166) | def test_update_with_multiple_invalid_package_names_shows_error( function test_update_with_version_specifier_raises_error (line 196) | def test_update_with_version_specifier_raises_error( FILE: tests/console/commands/test_version.py function command (line 20) | def command() -> VersionCommand: function tester (line 25) | def tester(command_tester_factory: CommandTesterFactory) -> CommandTester: function poetry_with_underscore (line 30) | def poetry_with_underscore( function test_increment_version (line 67) | def test_increment_version( function test_next_phase_version (line 86) | def test_next_phase_version( function test_version_show (line 92) | def test_version_show(tester: CommandTester) -> None: function test_version_show_with_underscore (line 97) | def test_version_show_with_underscore( function test_short_version_show (line 105) | def test_short_version_show(tester: CommandTester) -> None: function test_version_update (line 110) | def test_version_update(tester: CommandTester) -> None: function test_short_version_update (line 115) | def test_short_version_update(tester: CommandTester) -> None: function test_phase_version_update (line 120) | def test_phase_version_update(tester: CommandTester) -> None: function test_dry_run (line 127) | def test_dry_run(tester: CommandTester) -> None: FILE: tests/console/conftest.py function env (line 38) | def env(tmp_path: Path) -> MockEnv: function setup (line 45) | def setup( function project_directory (line 84) | def project_directory() -> str: function poetry (line 89) | def poetry( function app (line 98) | def app(poetry: Poetry) -> PoetryTestApplication: function app_tester (line 106) | def app_tester(app: PoetryTestApplication) -> ApplicationTester: function executor (line 111) | def executor(poetry: Poetry, config: Config, env: MockEnv) -> TestExecutor: function command_tester_factory (line 116) | def command_tester_factory( function do_lock (line 163) | def do_lock(command_tester_factory: CommandTesterFactory, poetry: Poetry... FILE: tests/console/logging/formatters/test_builder_formatter.py function test_builder_log_formatter (line 27) | def test_builder_log_formatter(input_msg: str, expected_output: str) -> ... FILE: tests/console/logging/test_io_formatter.py function test_format (line 27) | def test_format( function test_log_prefix (line 48) | def test_log_prefix( function test_path_to_package (line 67) | def test_path_to_package( FILE: tests/console/test_application.py class FooCommand (line 36) | class FooCommand(Command): method handle (line 41) | def handle(self) -> int: class AddCommandPlugin (line 47) | class AddCommandPlugin(ApplicationPlugin): function with_add_command_plugin (line 52) | def with_add_command_plugin(mocker: MockerFixture) -> None: function test_application_with_plugins (line 56) | def test_application_with_plugins(with_add_command_plugin: None) -> None: function test_application_with_plugins_disabled (line 66) | def test_application_with_plugins_disabled(with_add_command_plugin: None... function test_application_execute_plugin_command (line 76) | def test_application_execute_plugin_command(with_add_command_plugin: Non... function test_application_execute_plugin_command_with_plugins_disabled (line 86) | def test_application_execute_plugin_command_with_plugins_disabled( function test_application_project_plugins (line 101) | def test_application_project_plugins( function test_application_verify_source_cache_flag (line 137) | def test_application_verify_source_cache_flag( function test_application_verify_cache_flag_at_install (line 161) | def test_application_verify_cache_flag_at_install( function test_application_input_configuration_and_sorting (line 234) | def test_application_input_configuration_and_sorting( FILE: tests/console/test_application_command_not_found.py function tester (line 17) | def tester() -> ApplicationTester: function test_application_command_not_found_messages (line 29) | def test_application_command_not_found_messages( function test_application_namespaced_command_not_found_messages (line 52) | def test_application_namespaced_command_not_found_messages( FILE: tests/console/test_application_global_options.py class CheckProjectPathCommand (line 34) | class CheckProjectPathCommand(Command): method handle (line 39) | def handle(self) -> int: class EarlyPoetryAccessPlugin (line 48) | class EarlyPoetryAccessPlugin(ApplicationPlugin): method activate (line 51) | def activate(self, application: Application) -> None: function with_early_poetry_access_plugin (line 63) | def with_early_poetry_access_plugin(mocker: MockerFixture) -> None: function project_source_directory (line 68) | def project_source_directory(fixture_copier: FixtureCopier) -> Path: function relative_project_source_directory (line 73) | def relative_project_source_directory(project_source_directory: Path) ->... function tester (line 87) | def tester() -> ApplicationTester: function with_mocked_version_command (line 92) | def with_mocked_version_command(mocker: MockerFixture) -> None: function test_application_global_option_ensure_error_when_context_invalid (line 106) | def test_application_global_option_ensure_error_when_context_invalid( function test_application_global_option_position_does_not_matter (line 126) | def test_application_global_option_position_does_not_matter( function test_application_global_option_context_is_validated (line 157) | def test_application_global_option_context_is_validated( function test_application_with_context_parameters (line 177) | def test_application_with_context_parameters( function test_application_with_relative_project_parameter (line 200) | def test_application_with_relative_project_parameter( function test_application_with_relative_directory_parameter_and_early_poetry_access_plugin (line 229) | def test_application_with_relative_directory_parameter_and_early_poetry_... function test_application_io_options_are_set (line 255) | def test_application_io_options_are_set( FILE: tests/console/test_application_removed_commands.py function tester (line 18) | def tester() -> ApplicationTester: function test_application_removed_command_default_message (line 22) | def test_application_removed_command_default_message( function test_application_removed_command_messages (line 39) | def test_application_removed_command_messages( FILE: tests/console/test_exceptions_console_message.py function test_stripped_property (line 16) | def test_stripped_property(text: str, expected_stripped: str) -> None: function test_wrap (line 30) | def test_wrap(text: str, tag: str, expected: str) -> None: function test_indent (line 45) | def test_indent(text: str, indent: str, expected: str) -> None: function test_make_section (line 65) | def test_make_section(text: str, title: str, indent: str, expected: str)... FILE: tests/console/test_exections_poetry_runtime_error.py function test_poetry_runtime_error_init (line 24) | def test_poetry_runtime_error_init( function test_poetry_runtime_error_get_text (line 80) | def test_poetry_runtime_error_get_text( function test_poetry_runtime_error_create (line 128) | def test_poetry_runtime_error_create( function test_poetry_runtime_error_append (line 144) | def test_poetry_runtime_error_append() -> None: FILE: tests/fixtures/excluded_subpackage/example/test/excluded.py function test_version (line 6) | def test_version(): FILE: tests/fixtures/extended_project/build.py function build (line 7) | def build(setup_kwargs: dict[str, Any]): FILE: tests/fixtures/extended_with_no_setup/build.py function build (line 14) | def build(): FILE: tests/fixtures/extended_with_no_setup/extended/extended.c function PyObject (line 4) | static PyObject *hello(PyObject *self) { type PyModuleDef (line 20) | struct PyModuleDef FILE: tests/fixtures/git/github.com/demo/no-version/setup.py function read_version (line 9) | def read_version(): FILE: tests/fixtures/scripts/scripts/check_argv0.py function main (line 8) | def main() -> int: FILE: tests/fixtures/scripts/scripts/exit_code.py function main (line 4) | def main() -> None: FILE: tests/fixtures/scripts/scripts/return_code.py function main (line 4) | def main() -> int: FILE: tests/helpers.py function get_package (line 57) | def get_package( function get_dependency (line 63) | def get_dependency( function copy_path (line 82) | def copy_path(source: Path, dest: Path) -> None: class MockDulwichRepo (line 94) | class MockDulwichRepo: method __init__ (line 95) | def __init__(self, root: Path | str, **__: Any) -> None: method head (line 98) | def head(self) -> bytes: function mock_clone (line 102) | def mock_clone( class TestExecutor (line 128) | class TestExecutor(Executor): method __init__ (line 132) | def __init__(self, *args: Any, **kwargs: Any) -> None: method installations (line 140) | def installations(self) -> list[Package]: method updates (line 144) | def updates(self) -> list[Package]: method removals (line 148) | def removals(self) -> list[Package]: method _do_execute_operation (line 151) | def _do_execute_operation(self, operation: Operation) -> int: method _execute_install (line 159) | def _execute_install(self, operation: Operation) -> int: method _execute_update (line 162) | def _execute_update(self, operation: Operation) -> int: method _execute_remove (line 165) | def _execute_remove(self, operation: Operation) -> int: class PoetryTestApplication (line 169) | class PoetryTestApplication(Application): method __init__ (line 170) | def __init__(self, poetry: Poetry) -> None: method reset_poetry (line 174) | def reset_poetry(self) -> None: class TestLocker (line 185) | class TestLocker(Locker): method __init__ (line 189) | def __init__(self, lock: Path, pyproject_data: dict[str, Any]) -> None: method write (line 194) | def write(self, write: bool = True) -> None: method is_locked (line 197) | def is_locked(self) -> bool: method locked (line 200) | def locked(self, is_locked: bool = True) -> TestLocker: method mock_lock_data (line 205) | def mock_lock_data(self, data: dict[str, Any]) -> None: method is_fresh (line 210) | def is_fresh(self) -> bool: method _write_lock_data (line 213) | def _write_lock_data(self, data: TOMLDocument) -> None: class TestRepository (line 222) | class TestRepository(Repository): method find_packages (line 223) | def find_packages(self, dependency: Dependency) -> list[Package]: method find_links_for_package (line 230) | def find_links_for_package(self, package: Package) -> list[Link]: function isolated_environment (line 240) | def isolated_environment( function make_entry_point_from_plugin (line 257) | def make_entry_point_from_plugin( function mock_metadata_entry_points (line 274) | def mock_metadata_entry_points( function flatten_dict (line 292) | def flatten_dict(obj: Mapping[str, Any], delimiter: str = ".") -> Mappin... function http_setup_redirect (line 322) | def http_setup_redirect( function switch_working_directory (line 343) | def switch_working_directory(path: Path, remove: bool = False) -> Iterat... function with_working_directory (line 357) | def with_working_directory(source: Path, target: Path | None = None) -> ... function set_keyring_backend (line 368) | def set_keyring_backend(backend: KeyringBackend) -> None: function pbs_installer_supported_arch (line 374) | def pbs_installer_supported_arch(architecture: str) -> bool: FILE: tests/inspection/test_info.py function demo_sdist (line 35) | def demo_sdist(fixture_dir: FixtureDirGetter) -> Path: function demo_wheel (line 40) | def demo_wheel(fixture_dir: FixtureDirGetter) -> Path: function demo_wheel_metadata (line 45) | def demo_wheel_metadata(demo_wheel: Path) -> RawMetadata: function source_dir (line 52) | def source_dir(tmp_path: Path) -> Path: function demo_setup (line 59) | def demo_setup(source_dir: Path) -> Path: function demo_setup_cfg (line 72) | def demo_setup_cfg(source_dir: Path) -> Path: function demo_setup_complex (line 90) | def demo_setup_complex(source_dir: Path) -> Path: function demo_setup_complex_pep517_legacy (line 103) | def demo_setup_complex_pep517_legacy(demo_setup_complex: Path) -> Path: function demo_setup_complex_calls_script (line 112) | def demo_setup_complex_calls_script( function use_project_context (line 145) | def use_project_context(set_project_context: SetProjectContext) -> Itera... function demo_check_info (line 150) | def demo_check_info(info: PackageInfo, requires_dist: set[str] | None = ... function test_info_from_sdist (line 184) | def test_info_from_sdist(demo_sdist: Path) -> None: function test_info_from_sdist_no_pkg_info (line 191) | def test_info_from_sdist_no_pkg_info(fixture_dir: FixtureDirGetter) -> N... function test_info_from_wheel (line 199) | def test_info_from_wheel(demo_wheel: Path) -> None: function test_info_from_wheel_metadata_versions (line 207) | def test_info_from_wheel_metadata_versions( function test_info_from_wheel_metadata_version_unknown (line 225) | def test_info_from_wheel_metadata_version_unknown( function test_info_from_wheel_metadata (line 239) | def test_info_from_wheel_metadata(demo_wheel_metadata: RawMetadata) -> N... function test_info_from_wheel_metadata_incomplete (line 247) | def test_info_from_wheel_metadata_incomplete() -> None: function test_info_from_bdist (line 261) | def test_info_from_bdist(demo_wheel: Path) -> None: function test_info_from_poetry_directory (line 268) | def test_info_from_poetry_directory(fixture_dir: FixtureDirGetter) -> None: function test_info_from_poetry_directory_fallback_on_poetry_create_error (line 273) | def test_info_from_poetry_directory_fallback_on_poetry_create_error( function test_info_from_requires_txt (line 291) | def test_info_from_requires_txt(fixture_dir: FixtureDirGetter) -> None: function test_info_no_setup_pkg_info_no_deps (line 299) | def test_info_no_setup_pkg_info_no_deps(fixture_dir: FixtureDirGetter) -... function test_info_no_setup_pkg_info_no_deps_for_sure (line 309) | def test_info_no_setup_pkg_info_no_deps_for_sure(fixture_dir: FixtureDir... function test_info_no_setup_pkg_info_no_deps_dynamic (line 319) | def test_info_no_setup_pkg_info_no_deps_dynamic(fixture_dir: FixtureDirG... function test_info_setup_simple (line 329) | def test_info_setup_simple(mocker: MockerFixture, demo_setup: Path) -> N... function test_info_setup_complex (line 337) | def test_info_setup_complex(demo_setup_complex: Path) -> None: function test_info_setup_complex_pep517_error (line 342) | def test_info_setup_complex_pep517_error( function test_info_setup_complex_pep517_legacy (line 364) | def test_info_setup_complex_pep517_legacy( function test_info_setup_complex_calls_script (line 371) | def test_info_setup_complex_calls_script(demo_setup_complex_calls_script... function test_info_setup_missing_mandatory_should_trigger_pep517 (line 378) | def test_info_setup_missing_mandatory_should_trigger_pep517( function test_info_prefer_poetry_config_over_egg_info (line 396) | def test_info_prefer_poetry_config_over_egg_info(fixture_dir: FixtureDir... FILE: tests/inspection/test_lazy_wheel.py class RequestCallbackFactory (line 35) | class RequestCallbackFactory(Protocol): method __call__ (line 36) | def __call__( class AssertMetadataFromWheelUrl (line 44) | class AssertMetadataFromWheelUrl(Protocol): method __call__ (line 45) | def __call__( class NegativeOffsetFailure (line 56) | class NegativeOffsetFailure(IntEnum): function build_head_response (line 62) | def build_head_response( function build_partial_response (line 71) | def build_partial_response( function handle_request_factory (line 115) | def handle_request_factory( function assert_metadata_from_wheel_url (line 184) | def assert_metadata_from_wheel_url( function test_metadata_from_wheel_url (line 244) | def test_metadata_from_wheel_url( function test_metadata_from_wheel_url_416_missing_content_range (line 278) | def test_metadata_from_wheel_url_416_missing_content_range( function test_metadata_from_wheel_url_with_redirect (line 308) | def test_metadata_from_wheel_url_with_redirect( function test_metadata_from_wheel_url_with_redirect_after_500 (line 318) | def test_metadata_from_wheel_url_with_redirect_after_500( function test_metadata_from_wheel_url_smaller_than_initial_chunk_size (line 336) | def test_metadata_from_wheel_url_smaller_than_initial_chunk_size( function test_metadata_from_wheel_url_range_requests_not_supported_one_request (line 365) | def test_metadata_from_wheel_url_range_requests_not_supported_one_request( function test_metadata_from_wheel_url_range_requests_not_supported_two_requests (line 392) | def test_metadata_from_wheel_url_range_requests_not_supported_two_requests( function test_metadata_from_wheel_url_range_requests_supported_but_not_respected (line 415) | def test_metadata_from_wheel_url_range_requests_supported_but_not_respec... function test_metadata_from_wheel_url_invalid_wheel (line 439) | def test_metadata_from_wheel_url_invalid_wheel( function test_metadata_from_wheel_url_handles_unexpected_errors (line 458) | def test_metadata_from_wheel_url_handles_unexpected_errors( FILE: tests/installation/conftest.py function env (line 14) | def env() -> MockEnv: function pool (line 24) | def pool(legacy_repository_html: LegacyRepository) -> RepositoryPool: FILE: tests/installation/test_chef.py function pool (line 32) | def pool(pypi_repository: PyPiRepository) -> RepositoryPool: function setup (line 41) | def setup(mocker: MockerFixture, pool: RepositoryPool) -> None: function test_prepare_sdist (line 45) | def test_prepare_sdist( function test_prepare_directory (line 63) | def test_prepare_directory( function test_prepare_directory_with_extensions (line 83) | def test_prepare_directory_with_extensions( function test_prepare_directory_editable (line 105) | def test_prepare_directory_editable( function test_prepare_directory_script (line 128) | def test_prepare_directory_script( FILE: tests/installation/test_chooser.py function check_chosen_link_filename (line 32) | def check_chosen_link_filename( function test_chooser_chooses_universal_wheel_link_if_available (line 68) | def test_chooser_chooses_universal_wheel_link_if_available( function test_chooser_no_binary_policy (line 89) | def test_chooser_no_binary_policy( function test_chooser_only_binary_policy (line 112) | def test_chooser_only_binary_policy( function test_chooser_multiple_binary_policy (line 146) | def test_chooser_multiple_binary_policy( function test_chooser_chooses_specific_python_universal_wheel_link_if_available (line 167) | def test_chooser_chooses_specific_python_universal_wheel_link_if_available( function test_chooser_chooses_system_specific_wheel_link_if_available (line 178) | def test_chooser_chooses_system_specific_wheel_link_if_available( function test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available (line 196) | def test_chooser_chooses_sdist_if_no_compatible_wheel_link_is_available( function test_chooser_chooses_distributions_that_match_the_package_hashes (line 207) | def test_chooser_chooses_distributions_that_match_the_package_hashes( function test_chooser_chooses_yanked_if_no_others (line 242) | def test_chooser_chooses_yanked_if_no_others( function test_chooser_does_not_choose_yanked_if_others (line 275) | def test_chooser_does_not_choose_yanked_if_others( function test_chooser_throws_an_error_if_package_hashes_do_not_match (line 327) | def test_chooser_throws_an_error_if_package_hashes_do_not_match( function test_chooser_md5_remote_fallback_to_sha256_inline_calculation (line 365) | def test_chooser_md5_remote_fallback_to_sha256_inline_calculation( FILE: tests/installation/test_chooser_errors.py function test_chooser_no_links_found_error (line 15) | def test_chooser_no_links_found_error(env: MockEnv, pool: RepositoryPool... FILE: tests/installation/test_executor.py class Chef (line 55) | class Chef(BaseChef): method set_directory_wheel (line 60) | def set_directory_wheel(self, wheels: Path | list[Path]) -> None: method set_sdist_wheel (line 66) | def set_sdist_wheel(self, wheels: Path | list[Path]) -> None: method _prepare_sdist (line 72) | def _prepare_sdist( method _prepare (line 89) | def _prepare( function env (line 124) | def env(tmp_path: Path) -> MockEnv: function io (line 132) | def io() -> BufferedIO: function io_decorated (line 143) | def io_decorated() -> BufferedIO: function io_not_decorated (line 152) | def io_not_decorated() -> BufferedIO: function pool (line 159) | def pool(pypi_repository: PyPiRepository) -> RepositoryPool: function copy_wheel (line 169) | def copy_wheel(tmp_path: Path, fixture_dir: FixtureDirGetter) -> Callabl... function wheel (line 184) | def wheel(copy_wheel: Callable[[], Path]) -> Iterator[Path]: function test_execute_executes_a_batch_of_operations (line 193) | def test_execute_executes_a_batch_of_operations( function test_execute_build_config_settings_passed (line 284) | def test_execute_build_config_settings_passed( function test_execute_build_constraints_passed (line 371) | def test_execute_build_constraints_passed( function test_execute_prints_warning_for_yanked_package (line 474) | def test_execute_prints_warning_for_yanked_package( function test_execute_prints_warning_for_invalid_wheels (line 507) | def test_execute_prints_warning_for_invalid_wheels( function test_execute_shows_skipped_operations_if_verbose (line 566) | def test_execute_shows_skipped_operations_if_verbose( function test_execute_should_show_errors (line 594) | def test_execute_should_show_errors( function test_execute_works_with_ansi_output (line 621) | def test_execute_works_with_ansi_output( function test_execute_works_with_no_ansi_output (line 656) | def test_execute_works_with_no_ansi_output( function test_execute_should_show_operation_as_cancelled_on_subprocess_keyboard_interrupt (line 685) | def test_execute_should_show_operation_as_cancelled_on_subprocess_keyboa... function test_execute_should_gracefully_handle_io_error (line 710) | def test_execute_should_gracefully_handle_io_error( function test_executor_should_delete_incomplete_downloads (line 742) | def test_executor_should_delete_incomplete_downloads( function verify_installed_distribution (line 779) | def verify_installed_distribution( function test_executor_should_not_write_pep610_url_references_for_cached_package (line 825) | def test_executor_should_not_write_pep610_url_references_for_cached_pack... function test_executor_should_write_pep610_url_references_for_wheel_files (line 854) | def test_executor_should_write_pep610_url_references_for_wheel_files( function test_executor_should_write_pep610_url_references_for_non_wheel_files (line 889) | def test_executor_should_write_pep610_url_references_for_non_wheel_files( function test_executor_should_write_pep610_url_references_for_directories (line 924) | def test_executor_should_write_pep610_url_references_for_directories( function test_executor_should_write_pep610_url_references_for_editable_directories (line 952) | def test_executor_should_write_pep610_url_references_for_editable_direct... function test_executor_should_write_pep610_url_references_for_wheel_urls (line 985) | def test_executor_should_write_pep610_url_references_for_wheel_urls( function test_executor_should_write_pep610_url_references_for_non_wheel_urls (line 1060) | def test_executor_should_write_pep610_url_references_for_non_wheel_urls( function test_executor_should_write_pep610_url_references_for_git (line 1152) | def test_executor_should_write_pep610_url_references_for_git( function test_executor_should_write_pep610_url_references_for_editable_git (line 1221) | def test_executor_should_write_pep610_url_references_for_editable_git( function test_executor_should_append_subdirectory_for_git (line 1268) | def test_executor_should_append_subdirectory_for_git( function test_executor_should_install_multiple_packages_from_same_git_repository (line 1299) | def test_executor_should_install_multiple_packages_from_same_git_reposit... function test_executor_should_install_multiple_packages_from_forked_git_repository (line 1342) | def test_executor_should_install_multiple_packages_from_forked_git_repos... function test_executor_should_write_pep610_url_references_for_git_with_subdirectories (line 1384) | def test_executor_should_write_pep610_url_references_for_git_with_subdir... function test_executor_should_be_initialized_with_correct_workers (line 1434) | def test_executor_should_be_initialized_with_correct_workers( function test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess (line 1464) | def test_build_backend_errors_are_reported_correctly_if_caused_by_subpro... function test_build_backend_errors_are_reported_correctly_if_caused_by_subprocess_encoding (line 1577) | def test_build_backend_errors_are_reported_correctly_if_caused_by_subpro... function test_build_system_requires_not_available (line 1615) | def test_build_system_requires_not_available( function test_build_system_requires_install_failure (line 1659) | def test_build_system_requires_install_failure( function test_other_error (line 1715) | def test_other_error( function test_executor_known_hashes (line 1822) | def test_executor_known_hashes( function test_executor_no_supported_hash_types (line 1844) | def test_executor_no_supported_hash_types( FILE: tests/installation/test_installer.py class CustomInstalledRepository (line 56) | class CustomInstalledRepository(InstalledRepository): method load (line 58) | def load( class Locker (line 64) | class Locker(BaseLocker): method __init__ (line 65) | def __init__(self, lock_path: Path) -> None: method written_data (line 74) | def written_data(self) -> dict[str, Any]: method set_lock_path (line 78) | def set_lock_path(self, lock: Path) -> Locker: method locked (line 83) | def locked(self, is_locked: bool = True) -> Locker: method mock_lock_data (line 88) | def mock_lock_data(self, data: dict[str, Any]) -> None: method is_locked (line 91) | def is_locked(self) -> bool: method fresh (line 94) | def fresh(self, is_fresh: bool = True) -> Locker: method is_fresh (line 99) | def is_fresh(self) -> bool: method _get_content_hash (line 102) | def _get_content_hash(self, *, with_dependency_groups: bool = True) ->... method _write_lock_data (line 105) | def _write_lock_data(self, data: dict[str, Any]) -> None: function config_installer_reresolve (line 115) | def config_installer_reresolve( function package (line 123) | def package() -> ProjectPackage: function repo (line 131) | def repo() -> Repository: function pool (line 136) | def pool(repo: Repository) -> RepositoryPool: function installed (line 144) | def installed() -> CustomInstalledRepository: function locker (line 149) | def locker(project_root: Path) -> Locker: function env (line 154) | def env(tmp_path: Path) -> NullEnv: function installer (line 159) | def installer( function fixture (line 179) | def fixture(name: str, data: dict[str, Any] | None = None) -> dict[str, ... function fix_lock_data (line 204) | def fix_lock_data(lock_data: dict[str, Any]) -> None: function test_run_no_dependencies (line 212) | def test_run_no_dependencies(installer: Installer, locker: Locker) -> None: function test_not_fresh_lock (line 220) | def test_not_fresh_lock(installer: Installer, locker: Locker) -> None: function test_not_fresh_lock_self_project (line 232) | def test_not_fresh_lock_self_project(installer: Installer, locker: Locke... function test_run_with_dependencies (line 245) | def test_run_with_dependencies( function test_run_update_after_removing_dependencies (line 264) | def test_run_update_after_removing_dependencies( function _configure_run_install_dev (line 335) | def _configure_run_install_dev( function test_run_install_with_dependency_groups (line 428) | def test_run_install_with_dependency_groups( function test_run_install_does_not_remove_locked_packages_if_installed_but_not_required (line 469) | def test_run_install_does_not_remove_locked_packages_if_installed_but_no... function test_run_install_removes_locked_packages_if_installed_and_synchronization_is_required (line 541) | def test_run_install_removes_locked_packages_if_installed_and_synchroniz... function test_run_install_removes_no_longer_locked_packages_if_installed (line 615) | def test_run_install_removes_no_longer_locked_packages_if_installed( function test_run_install_with_synchronization (line 692) | def test_run_install_with_synchronization( function test_run_whitelist_add (line 771) | def test_run_whitelist_add( function test_run_whitelist_remove (line 820) | def test_run_whitelist_remove( function test_add_with_sub_dependencies (line 878) | def test_add_with_sub_dependencies( function test_run_with_python_versions (line 903) | def test_run_with_python_versions( function test_run_with_optional_and_python_restricted_dependencies (line 931) | def test_run_with_optional_and_python_restricted_dependencies( function test_run_with_optional_and_platform_restricted_dependencies (line 975) | def test_run_with_optional_and_platform_restricted_dependencies( function test_run_with_dependencies_extras (line 1023) | def test_run_with_dependencies_extras( function test_run_with_dependencies_nested_extras (line 1051) | def test_run_with_dependencies_nested_extras( function test_solver_resolves_self_referential_extras (line 1095) | def test_solver_resolves_self_referential_extras( function test_solver_resolves_self_referential_extras_with_markers (line 1144) | def test_solver_resolves_self_referential_extras_with_markers( function test_run_with_conflicting_dependency_extras (line 1181) | def test_run_with_conflicting_dependency_extras( function test_run_with_exclusive_extras_different_sources (line 1299) | def test_run_with_exclusive_extras_different_sources( function test_run_with_different_dependency_extras (line 1411) | def test_run_with_different_dependency_extras( function test_run_installs_extras_with_deps_if_requested (line 1535) | def test_run_installs_extras_with_deps_if_requested( function test_installer_with_pypi_repository (line 1601) | def test_installer_with_pypi_repository( function test_run_installs_with_local_file (line 1625) | def test_run_installs_with_local_file( function test_run_installs_wheel_with_no_requires_dist (line 1653) | def test_run_installs_wheel_with_no_requires_dist( function test_run_installs_with_local_poetry_directory_and_extras (line 1682) | def test_run_installs_with_local_poetry_directory_and_extras( function test_run_installs_with_local_poetry_directory_and_skip_directory_flag (line 1714) | def test_run_installs_with_local_poetry_directory_and_skip_directory_flag( function test_run_installs_with_local_poetry_file_transitive (line 1762) | def test_run_installs_with_local_poetry_file_transitive( function test_run_installs_with_local_setuptools_directory (line 1797) | def test_run_installs_with_local_setuptools_directory( function test_run_with_prereleases (line 1830) | def test_run_with_prereleases( function test_run_update_all_with_lock (line 1879) | def test_run_update_all_with_lock( function test_run_update_with_locked_extras (line 1923) | def test_run_update_with_locked_extras( function test_run_install_duplicate_dependencies_different_constraints (line 1998) | def test_run_install_duplicate_dependencies_different_constraints( function test_run_install_duplicate_dependencies_different_constraints_with_lock (line 2044) | def test_run_install_duplicate_dependencies_different_constraints_with_l... function test_run_update_uninstalls_after_removal_transitive_dependency (line 2153) | def test_run_update_uninstalls_after_removal_transitive_dependency( function test_run_install_duplicate_dependencies_different_constraints_with_lock_update (line 2216) | def test_run_install_duplicate_dependencies_different_constraints_with_l... function test_installer_test_solver_finds_compatible_package_for_dependency_python_not_fully_compatible_with_package_python (line 2322) | def test_installer_test_solver_finds_compatible_package_for_dependency_p... function test_installer_required_extras_should_not_be_removed_when_updating_single_dependency (line 2351) | def test_installer_required_extras_should_not_be_removed_when_updating_s... function test_installer_required_extras_should_not_be_removed_when_updating_single_dependency_pypi_repository (line 2418) | def test_installer_required_extras_should_not_be_removed_when_updating_s... function test_installer_required_extras_should_be_installed (line 2487) | def test_installer_required_extras_should_be_installed( function test_update_multiple_times_with_split_dependencies_is_idempotent (line 2546) | def test_update_multiple_times_with_split_dependencies_is_idempotent( function test_installer_can_install_dependencies_from_forced_source (line 2630) | def test_installer_can_install_dependencies_from_forced_source( function test_run_installs_with_url_file (line 2667) | def test_run_installs_with_url_file( function test_run_installs_with_same_version_url_files (line 2686) | def test_run_installs_with_same_version_url_files( function test_installer_uses_prereleases_if_they_are_compatible (line 2736) | def test_installer_uses_prereleases_if_they_are_compatible( function test_installer_does_not_write_lock_file_when_installation_fails (line 2767) | def test_installer_does_not_write_lock_file_when_installation_fails( function test_run_with_dependencies_quiet (line 2791) | def test_run_with_dependencies_quiet( function test_installer_should_use_the_locked_version_of_git_dependencies (line 2823) | def test_installer_should_use_the_locked_version_of_git_dependencies( function test_installer_should_use_the_locked_version_of_git_dependencies_with_extras (line 2897) | def test_installer_should_use_the_locked_version_of_git_dependencies_wit... function test_installer_should_use_the_locked_version_of_git_dependencies_without_reference (line 2946) | def test_installer_should_use_the_locked_version_of_git_dependencies_wit... function test_installer_distinguishes_locked_packages_with_local_version_by_source (line 2992) | def test_installer_distinguishes_locked_packages_with_local_version_by_s... function test_installer_distinguishes_locked_packages_with_same_version_by_source (line 3101) | def test_installer_distinguishes_locked_packages_with_same_version_by_so... function test_explicit_source_dependency_with_direct_origin_dependency (line 3211) | def test_explicit_source_dependency_with_direct_origin_dependency( FILE: tests/installation/test_wheel_installer.py function env (line 23) | def env(tmp_path: Path) -> MockEnv: function demo_wheel (line 28) | def demo_wheel(fixture_dir: FixtureDirGetter) -> Path: function default_installation (line 33) | def default_installation(tmp_path_factory: TempPathFactory, demo_wheel: ... function test_default_installation_source_dir_content (line 40) | def test_default_installation_source_dir_content(default_installation: P... function test_default_installation_dist_info_dir_content (line 46) | def test_default_installation_dist_info_dir_content(default_installation... function test_installer_file_contains_valid_version (line 55) | def test_installer_file_contains_valid_version(default_installation: Pat... function test_default_installation_no_bytecode (line 64) | def test_default_installation_no_bytecode(default_installation: Path) ->... function test_enable_bytecode_compilation (line 70) | def test_enable_bytecode_compilation( FILE: tests/integration/test_utils_vcs_git.py class GitCloneKwargs (line 46) | class GitCloneKwargs(TypedDict): function git_mock (line 56) | def git_mock() -> None: function setup (line 61) | def setup(config: Config) -> None: function use_system_git_client (line 83) | def use_system_git_client(config: Config) -> None: function source_url (line 88) | def source_url() -> str: function source_directory_name (line 93) | def source_directory_name(source_url: str) -> str: function local_repo (line 98) | def local_repo( function _remote_refs (line 108) | def _remote_refs(source_url: str, local_repo: Repo) -> FetchPackResult: function remote_refs (line 118) | def remote_refs(_remote_refs: FetchPackResult) -> FetchPackResult: function remote_default_ref (line 123) | def remote_default_ref(_remote_refs: FetchPackResult) -> Ref: function remote_default_branch (line 129) | def remote_default_branch(remote_default_ref: bytes) -> str: function test_use_system_git_client_from_environment_variables (line 134) | def test_use_system_git_client_from_environment_variables() -> None: function test_git_local_info (line 140) | def test_git_local_info( function test_git_clone_default_branch_head (line 154) | def test_git_clone_default_branch_head( function test_git_clone_fails_for_non_existent_branch (line 171) | def test_git_clone_fails_for_non_existent_branch(source_url: str) -> None: function test_git_clone_fails_for_non_existent_revision (line 180) | def test_git_clone_fails_for_non_existent_revision(source_url: str) -> N... function assert_version (line 189) | def assert_version(repo: Repo, expected_revision: str) -> None: function test_git_clone_when_branch_is_ref (line 201) | def test_git_clone_when_branch_is_ref(source_url: str) -> None: function test_git_clone_branch (line 207) | def test_git_clone_branch( function test_git_clone_tag (line 215) | def test_git_clone_tag(source_url: str, remote_refs: FetchPackResult, ta... function test_git_clone_multiple_times (line 220) | def test_git_clone_multiple_times( function test_git_clone_revision_is_branch (line 228) | def test_git_clone_revision_is_branch( function test_git_clone_revision_is_ref (line 235) | def test_git_clone_revision_is_ref( function test_git_clone_revision_is_tag (line 250) | def test_git_clone_revision_is_tag( function test_git_clone_clones_submodules (line 257) | def test_git_clone_clones_submodules(source_url: str) -> None: function test_git_clone_clones_submodules_with_relative_urls (line 268) | def test_git_clone_clones_submodules_with_relative_urls(source_url: str)... function test_git_clone_clones_submodules_with_relative_urls_and_explicit_base (line 279) | def test_git_clone_clones_submodules_with_relative_urls_and_explicit_base( function test_system_git_fallback_on_http_401 (line 292) | def test_system_git_fallback_on_http_401( function test_configured_repository_http_auth (line 328) | def test_configured_repository_http_auth( function test_username_password_parameter_is_not_passed_to_dulwich (line 373) | def test_username_password_parameter_is_not_passed_to_dulwich( function test_system_git_called_when_configured (line 401) | def test_system_git_called_when_configured( function test_relative_submodules_with_ssh (line 424) | def test_relative_submodules_with_ssh( FILE: tests/json/test_schema.py function test_pyproject_toml_valid (line 18) | def test_pyproject_toml_valid() -> None: function test_pyproject_toml_invalid_priority (line 23) | def test_pyproject_toml_invalid_priority() -> None: function test_self_valid (line 36) | def test_self_valid() -> None: function test_self_invalid_version (line 41) | def test_self_invalid_version() -> None: function test_self_invalid_plugin (line 49) | def test_self_invalid_plugin() -> None: function test_build_constraints (line 60) | def test_build_constraints() -> None: function test_dependencies_is_consistent_to_poetry_core_schema (line 65) | def test_dependencies_is_consistent_to_poetry_core_schema() -> None: FILE: tests/masonry/builders/fixtures/excluded_subpackage/example/test/excluded.py function test_version (line 6) | def test_version(): FILE: tests/masonry/builders/test_editable_builder.py function simple_poetry (line 40) | def simple_poetry(fixture_dir: FixtureDirGetter) -> Poetry: function project_with_include (line 47) | def project_with_include(fixture_dir: FixtureDirGetter) -> Poetry: function extended_poetry (line 54) | def extended_poetry(fixture_dir: FixtureDirGetter) -> Poetry: function extended_without_setup_poetry (line 61) | def extended_without_setup_poetry(fixture_dir: FixtureDirGetter) -> Poetry: function with_multiple_readme_files (line 68) | def with_multiple_readme_files(fixture_dir: FixtureDirGetter) -> Poetry: function env_manager (line 75) | def env_manager(simple_poetry: Poetry) -> EnvManager: function tmp_venv (line 80) | def tmp_venv(tmp_path: Path, env_manager: EnvManager) -> Iterator[Virtua... function bad_scripts_no_colon (line 92) | def bad_scripts_no_colon(fixture_dir: FixtureDirGetter) -> Poetry: function bad_scripts_too_many_colon (line 99) | def bad_scripts_too_many_colon(fixture_dir: FixtureDirGetter) -> Poetry: function expected_metadata_version (line 105) | def expected_metadata_version() -> str: function expected_python_classifiers (line 112) | def expected_python_classifiers(min_version: str | None = None) -> str: function test_builder_installs_proper_files_for_standard_packages (line 131) | def test_builder_installs_proper_files_for_standard_packages( function test_builder_falls_back_on_setup_and_pip_for_packages_with_build_scripts (line 268) | def test_builder_falls_back_on_setup_and_pip_for_packages_with_build_scr... function test_builder_setup_generation_runs_with_pip_editable (line 283) | def test_builder_setup_generation_runs_with_pip_editable( function test_builder_installs_proper_files_when_packages_configured (line 321) | def test_builder_installs_proper_files_when_packages_configured( function test_builder_generates_proper_metadata_when_multiple_readme_files (line 346) | def test_builder_generates_proper_metadata_when_multiple_readme_files( function test_builder_should_execute_build_scripts (line 383) | def test_builder_should_execute_build_scripts( function test_builder_catches_bad_scripts_no_colon (line 400) | def test_builder_catches_bad_scripts_no_colon( function test_builder_catches_bad_scripts_too_many_colon (line 414) | def test_builder_catches_bad_scripts_too_many_colon( FILE: tests/mixology/helpers.py function add_to_repo (line 24) | def add_to_repo( function check_solver_result (line 43) | def check_solver_result( FILE: tests/mixology/test_incompatibility.py function get_url_dependency (line 13) | def get_url_dependency(name: str, url: str, version: str) -> URLDependency: function test_str_dependency_cause (line 44) | def test_str_dependency_cause( FILE: tests/mixology/version_solver/conftest.py class Provider (line 19) | class Provider(BaseProvider): method set_package_python_versions (line 20) | def set_package_python_versions(self, python_versions: str) -> None: function repo (line 26) | def repo() -> Repository: function pool (line 31) | def pool(repo: TestRepository) -> RepositoryPool: function root (line 39) | def root() -> ProjectPackage: function provider (line 44) | def provider(pool: RepositoryPool, root: ProjectPackage) -> Provider: FILE: tests/mixology/version_solver/test_backtracking.py function test_circular_dependency_on_older_version (line 17) | def test_circular_dependency_on_older_version( function test_diamond_dependency_graph (line 29) | def test_diamond_dependency_graph( function test_backjumps_after_partial_satisfier (line 48) | def test_backjumps_after_partial_satisfier( function test_rolls_back_leaf_versions_first (line 73) | def test_rolls_back_leaf_versions_first( function test_simple_transitive (line 91) | def test_simple_transitive( function test_backjump_to_nearer_unsatisfied_package (line 113) | def test_backjump_to_nearer_unsatisfied_package( function test_backjump_past_failed_package_on_disjoint_constraint (line 135) | def test_backjump_past_failed_package_on_disjoint_constraint( function test_backtracking_performance_level_1 (line 155) | def test_backtracking_performance_level_1( function test_backtracking_performance_level_2 (line 180) | def test_backtracking_performance_level_2( FILE: tests/mixology/version_solver/test_basic_graph.py function test_simple_dependencies (line 19) | def test_simple_dependencies( function test_shared_dependencies_with_overlapping_constraints (line 46) | def test_shared_dependencies_with_overlapping_constraints( function test_shared_dependency_where_dependent_version_affects_other_dependencies (line 63) | def test_shared_dependency_where_dependent_version_affects_other_depende... function test_circular_dependency (line 83) | def test_circular_dependency( function test_yanked_release (line 109) | def test_yanked_release( FILE: tests/mixology/version_solver/test_dependency_cache.py function test_solver_dependency_cache_respects_source_type (line 20) | def test_solver_dependency_cache_respects_source_type( function test_solver_dependency_cache_pulls_from_prior_level_cache (line 64) | def test_solver_dependency_cache_pulls_from_prior_level_cache( function test_solver_dependency_cache_respects_subdirectories (line 123) | def test_solver_dependency_cache_respects_subdirectories( FILE: tests/mixology/version_solver/test_python_constraint.py function test_dependency_does_not_match_root_python_constraint (line 17) | def test_dependency_does_not_match_root_python_constraint( FILE: tests/mixology/version_solver/test_unsolvable.py function test_no_version_matching_constraint (line 21) | def test_no_version_matching_constraint( function test_no_version_that_matches_combined_constraints (line 39) | def test_no_version_that_matches_combined_constraints( function test_disjoint_constraints (line 62) | def test_disjoint_constraints( function test_disjoint_root_constraints (line 84) | def test_disjoint_root_constraints( function test_disjoint_root_constraints_path_dependencies (line 104) | def test_disjoint_root_constraints_path_dependencies( function test_no_valid_solution (line 128) | def test_no_valid_solution( function test_package_with_the_same_name_gives_clear_error_message (line 151) | def test_package_with_the_same_name_gives_clear_error_message( FILE: tests/mixology/version_solver/test_with_lock.py function test_with_compatible_locked_dependencies (line 23) | def test_with_compatible_locked_dependencies( function test_with_incompatible_locked_dependencies (line 45) | def test_with_incompatible_locked_dependencies( function test_with_unrelated_locked_dependencies (line 67) | def test_with_unrelated_locked_dependencies( function test_unlocks_dependencies_if_necessary_to_ensure_that_a_new_dependency_is_satisfied (line 90) | def test_unlocks_dependencies_if_necessary_to_ensure_that_a_new_dependen... function test_with_compatible_locked_dependencies_use_latest (line 127) | def test_with_compatible_locked_dependencies_use_latest( function test_with_compatible_locked_dependencies_with_extras (line 157) | def test_with_compatible_locked_dependencies_with_extras( function test_with_yanked_package_in_lock (line 191) | def test_with_yanked_package_in_lock( function test_no_update_is_respected_for_legacy_repository (line 221) | def test_no_update_is_respected_for_legacy_repository( FILE: tests/packages/test_direct_origin.py function test_direct_origin_get_package_from_file (line 20) | def test_direct_origin_get_package_from_file(fixture_dir: FixtureDirGett... function test_direct_origin_caches_url_dependency (line 33) | def test_direct_origin_caches_url_dependency(tmp_path: Path) -> None: function test_direct_origin_does_not_download_url_dependency_when_cached (line 51) | def test_direct_origin_does_not_download_url_dependency_when_cached( FILE: tests/packages/test_locker.py function locker (line 45) | def locker() -> Locker: function root (line 54) | def root() -> ProjectPackage: function transitive_info (line 59) | def transitive_info() -> TransitivePackageInfo: function test_is_locked (line 64) | def test_is_locked(locker: Locker, root: ProjectPackage, is_locked: bool... function test_is_fresh (line 71) | def test_is_fresh( function test_is_fresh_dependency_groups (line 96) | def test_is_fresh_dependency_groups( function test_is_locked_group_and_markers (line 125) | def test_is_locked_group_and_markers( function test_lock_file_data_is_ordered (line 138) | def test_lock_file_data_is_ordered( function test_locker_properly_loads_extras (line 296) | def test_locker_properly_loads_extras(locker: Locker) -> None: function test_locker_properly_loads_nested_extras (line 342) | def test_locker_properly_loads_nested_extras(locker: Locker) -> None: function test_locker_properly_loads_extras_legacy (line 423) | def test_locker_properly_loads_extras_legacy(locker: Locker) -> None: function test_locker_properly_loads_subdir (line 474) | def test_locker_properly_loads_subdir(locker: Locker) -> None: function test_locker_properly_loads_groups_and_markers (line 560) | def test_locker_properly_loads_groups_and_markers( function test_locker_properly_assigns_metadata_files (line 589) | def test_locker_properly_assigns_metadata_files(locker: Locker) -> None: function test_locker_dumps_packages_with_null_description (line 704) | def test_locker_dumps_packages_with_null_description( function test_locker_does_not_dump_file_urls (line 736) | def test_locker_does_not_dump_file_urls( function test_lock_file_should_not_have_mixed_types (line 776) | def test_lock_file_should_not_have_mixed_types( function test_reading_lock_file_should_raise_an_error_on_invalid_data (line 822) | def test_reading_lock_file_should_raise_an_error_on_invalid_data( function test_reading_lock_file_should_raise_an_error_on_missing_metadata (line 857) | def test_reading_lock_file_should_raise_an_error_on_missing_metadata( function test_locking_legacy_repository_package_should_include_source_section (line 889) | def test_locking_legacy_repository_package_should_include_source_section( function test_locker_should_emit_warnings_if_lock_version_is_newer_but_allowed (line 932) | def test_locker_should_emit_warnings_if_lock_version_is_newer_but_allowed( function test_locker_should_raise_an_error_if_lock_version_is_newer_and_not_allowed (line 962) | def test_locker_should_raise_an_error_if_lock_version_is_newer_and_not_a... function test_locker_should_raise_an_error_if_no_lock_version (line 982) | def test_locker_should_raise_an_error_if_no_lock_version( function test_root_extras_dependencies_are_ordered (line 1000) | def test_root_extras_dependencies_are_ordered( function test_extras_dependencies_are_ordered (line 1035) | def test_extras_dependencies_are_ordered( function test_locker_should_neither_emit_warnings_nor_raise_error_for_lower_compatible_versions (line 1075) | def test_locker_should_neither_emit_warnings_nor_raise_error_for_lower_c... function test_locker_dumps_groups_and_markers (line 1097) | def test_locker_dumps_groups_and_markers( function test_locker_dumps_dependency_information_correctly (line 1216) | def test_locker_dumps_dependency_information_correctly( function test_locker_dumps_subdir (line 1308) | def test_locker_dumps_subdir( function test_locker_dumps_dependency_extras_in_correct_order (line 1355) | def test_locker_dumps_dependency_extras_in_correct_order( function test_locker_dumps_extras_with_constraints (line 1403) | def test_locker_dumps_extras_with_constraints( function test_locker_properly_loads_extras_with_constraints (line 1454) | def test_locker_properly_loads_extras_with_constraints(locker: Locker) -... function test_locked_repository_uses_root_dir_of_package (line 1497) | def test_locked_repository_uses_root_dir_of_package( function test_content_hash_with_legacy_is_compatible (line 1568) | def test_content_hash_with_legacy_is_compatible( function test_content_hash_with_project_section (line 1619) | def test_content_hash_with_project_section( function test_content_hash_with_dependency_groups_section (line 1678) | def test_content_hash_with_dependency_groups_section( function test_lock_file_resolves_file_url_symlinks (line 1740) | def test_lock_file_resolves_file_url_symlinks( function test_lockfile_is_not_rewritten_if_only_poetry_version_changed (line 1830) | def test_lockfile_is_not_rewritten_if_only_poetry_version_changed( function test_lockfile_keep_eol (line 1856) | def test_lockfile_keep_eol( function test_lock_file_dependency_constraints_are_ordered_deterministically (line 1877) | def test_lock_file_dependency_constraints_are_ordered_deterministically( FILE: tests/packages/test_transitive_package_info.py function test_get_marker (line 26) | def test_get_marker(groups: set[str], expected: str) -> None: FILE: tests/plugins/test_plugin_manager.py class ManagerFactory (line 46) | class ManagerFactory(Protocol): method __call__ (line 47) | def __call__(self, group: str = Plugin.group) -> PluginManager: ... class MyPlugin (line 50) | class MyPlugin(Plugin): method activate (line 51) | def activate(self, poetry: Poetry, io: IO) -> None: class MyCommandPlugin (line 56) | class MyCommandPlugin(ApplicationPlugin): class InvalidPlugin (line 60) | class InvalidPlugin: method activate (line 63) | def activate(self, poetry: Poetry, io: IO) -> None: function repo (line 69) | def repo() -> Repository: function pool (line 81) | def pool(repo: Repository) -> RepositoryPool: function poetry (line 89) | def poetry(fixture_dir: FixtureDirGetter, config: Config) -> Poetry: function poetry_with_plugins (line 103) | def poetry_with_plugins( function io (line 116) | def io() -> BufferedIO: function mock_sys_path (line 121) | def mock_sys_path(mocker: MockerFixture) -> None: function manager_factory (line 127) | def manager_factory(poetry: Poetry, io: BufferedIO) -> ManagerFactory: function with_my_plugin (line 135) | def with_my_plugin(mocker: MockerFixture) -> None: function with_invalid_plugin (line 140) | def with_invalid_plugin(mocker: MockerFixture) -> None: function test_load_plugins_and_activate (line 144) | def test_load_plugins_and_activate( function test_load_plugins_with_invalid_plugin (line 158) | def test_load_plugins_with_invalid_plugin( function test_add_project_plugin_path (line 170) | def test_add_project_plugin_path( function test_add_project_plugin_path_addsitedir_called (line 197) | def test_add_project_plugin_path_addsitedir_called( function test_add_project_plugin_path_no_addsitedir_when_path_missing (line 216) | def test_add_project_plugin_path_no_addsitedir_when_path_missing( function test_add_project_plugin_path_no_pyproject (line 235) | def test_add_project_plugin_path_no_pyproject( function test_ensure_plugins_no_plugins_no_output (line 250) | def test_ensure_plugins_no_plugins_no_output(poetry: Poetry, io: Buffere... function test_ensure_plugins_no_plugins_existing_cache_is_removed (line 258) | def test_ensure_plugins_no_plugins_existing_cache_is_removed( function test_ensure_plugins_no_output_if_fresh (line 274) | def test_ensure_plugins_no_output_if_fresh( function test_ensure_plugins_ignore_irrelevant_markers (line 295) | def test_ensure_plugins_ignore_irrelevant_markers( function test_ensure_plugins_remove_outdated (line 319) | def test_ensure_plugins_remove_outdated( function test_ensure_plugins_ignore_already_installed_in_system_env (line 344) | def test_ensure_plugins_ignore_already_installed_in_system_env( function test_ensure_plugins_install_missing_plugins (line 372) | def test_ensure_plugins_install_missing_plugins( function test_ensure_plugins_install_only_missing_plugins (line 420) | def test_ensure_plugins_install_only_missing_plugins( function test_ensure_plugins_install_overwrite_wrong_version_plugins (line 469) | def test_ensure_plugins_install_overwrite_wrong_version_plugins( function test_ensure_plugins_pins_other_installed_packages (line 531) | def test_ensure_plugins_pins_other_installed_packages( function test_project_plugins_are_installed_in_project_folder (line 582) | def test_project_plugins_are_installed_in_project_folder( FILE: tests/publishing/test_hash_manager.py function distributions_dir (line 20) | def distributions_dir(fixture_dir: FixtureDirGetter) -> Path: function test_file_hashes_returns_proper_hashes_for_file (line 45) | def test_file_hashes_returns_proper_hashes_for_file( function test_file_hashes_returns_none_for_md5_with_fips (line 54) | def test_file_hashes_returns_none_for_md5_with_fips( function test_file_hashes_returns_none_for_blake2_with_fips (line 70) | def test_file_hashes_returns_none_for_blake2_with_fips( FILE: tests/publishing/test_publisher.py function test_publish_publishes_to_pypi_by_default (line 25) | def test_publish_publishes_to_pypi_by_default( function test_publish_can_publish_to_given_repository (line 47) | def test_publish_can_publish_to_given_repository( function test_publish_raises_error_for_undefined_repository (line 85) | def test_publish_raises_error_for_undefined_repository( function assert_publish_uses_token_if_it_exists (line 99) | def assert_publish_uses_token_if_it_exists( function test_publish_uses_token_if_it_exists (line 119) | def test_publish_uses_token_if_it_exists( function test_publish_uses_env_token_if_it_exists (line 126) | def test_publish_uses_env_token_if_it_exists( function test_publish_uses_cert (line 133) | def test_publish_uses_cert( function test_publish_uses_client_cert (line 164) | def test_publish_uses_client_cert( function test_publish_read_from_environment_variable (line 192) | def test_publish_read_from_environment_variable( FILE: tests/publishing/test_uploader.py function poetry (line 28) | def poetry(fixture_dir: FixtureDirGetter) -> Poetry: function uploader (line 33) | def uploader(poetry: Poetry) -> Uploader: function test_uploader_files_only_latest (line 114) | def test_uploader_files_only_latest( function test_uploader_properly_handles_400_errors (line 129) | def test_uploader_properly_handles_400_errors( function test_uploader_properly_handles_403_errors (line 140) | def test_uploader_properly_handles_403_errors( function test_uploader_properly_handles_nonstandard_errors (line 151) | def test_uploader_properly_handles_nonstandard_errors( function test_uploader_properly_handles_redirects (line 182) | def test_uploader_properly_handles_redirects( function test_uploader_properly_handles_301_redirects (line 196) | def test_uploader_properly_handles_301_redirects( function test_uploader_registers_with_sdist_for_appropriate_400_errors (line 210) | def test_uploader_registers_with_sdist_for_appropriate_400_errors( function test_uploader_register_uses_wheel_if_no_sdist (line 228) | def test_uploader_register_uses_wheel_if_no_sdist( function test_uploader_skips_existing (line 266) | def test_uploader_skips_existing( function test_uploader_skip_existing_bubbles_unskippable_errors (line 275) | def test_uploader_skip_existing_bubbles_unskippable_errors( function test_uploader_properly_handles_file_not_existing (line 284) | def test_uploader_properly_handles_file_not_existing( function test_uploader_post_data_wheel (line 295) | def test_uploader_post_data_wheel(fixture_dir: FixtureDirGetter) -> None: function test_uploader_post_data_sdist (line 336) | def test_uploader_post_data_sdist(fixture_dir: FixtureDirGetter) -> None: FILE: tests/puzzle/conftest.py function setup (line 22) | def setup(mocker: MockerFixture) -> None: function io (line 30) | def io() -> NullIO: function package (line 35) | def package() -> ProjectPackage: function repo (line 40) | def repo() -> Repository: function pool (line 45) | def pool(repo: Repository) -> RepositoryPool: function solver (line 50) | def solver(package: ProjectPackage, pool: RepositoryPool, io: NullIO) ->... FILE: tests/puzzle/test_provider.py class MockEnv (line 50) | class MockEnv(BaseMockEnv): method run (line 51) | def run(self, bin: str, *args: str, **kwargs: Any) -> str: class MockCachedRepository (line 55) | class MockCachedRepository(CachedRepository): method _get_release_info (line 56) | def _get_release_info( method package (line 61) | def package(self, name: str, version: Version) -> Package: function root (line 68) | def root() -> ProjectPackage: function repository (line 73) | def repository() -> Repository: function pool (line 78) | def pool(repository: Repository) -> RepositoryPool: function provider (line 86) | def provider(root: ProjectPackage, pool: RepositoryPool) -> Provider: function release_info (line 91) | def release_info() -> PackageInfo: function release_info_complete (line 113) | def release_info_complete() -> PackageInfo: function outdated_release_info (line 141) | def outdated_release_info() -> PackageInfo: function test_search_for (line 176) | def test_search_for( function test_search_for_direct_origin_and_extras (line 229) | def test_search_for_direct_origin_and_extras( function test_search_for_vcs_retains_develop_flag (line 254) | def test_search_for_vcs_retains_develop_flag(provider: Provider, value: ... function test_search_for_vcs_setup_egg_info (line 262) | def test_search_for_vcs_setup_egg_info(provider: Provider) -> None: function test_search_for_vcs_setup_egg_info_with_extras (line 280) | def test_search_for_vcs_setup_egg_info_with_extras(provider: Provider) -... function test_search_for_vcs_read_setup (line 300) | def test_search_for_vcs_read_setup(provider: Provider, mocker: MockerFix... function test_search_for_vcs_read_setup_with_extras (line 320) | def test_search_for_vcs_read_setup_with_extras( function test_search_for_vcs_read_setup_raises_error_if_no_version (line 340) | def test_search_for_vcs_read_setup_raises_error_if_no_version( function test_search_for_directory_setup_egg_info (line 355) | def test_search_for_directory_setup_egg_info( function test_search_for_directory_setup_egg_info_with_extras (line 378) | def test_search_for_directory_setup_egg_info_with_extras( function test_search_for_directory_setup_with_base (line 403) | def test_search_for_directory_setup_with_base( function test_search_for_directory_setup_read_setup (line 428) | def test_search_for_directory_setup_read_setup( function test_search_for_directory_setup_read_setup_with_extras (line 456) | def test_search_for_directory_setup_read_setup_with_extras( function test_search_for_directory_setup_read_setup_with_no_dependencies (line 485) | def test_search_for_directory_setup_read_setup_with_no_dependencies( function test_search_for_directory_poetry (line 503) | def test_search_for_directory_poetry( function test_search_for_directory_poetry_with_extras (line 533) | def test_search_for_directory_poetry_with_extras( function test_search_for_file_sdist (line 563) | def test_search_for_file_sdist( function test_search_for_file_sdist_with_extras (line 600) | def test_search_for_file_sdist_with_extras( function test_search_for_file_wheel (line 638) | def test_search_for_file_wheel( function test_search_for_file_wheel_with_extras (line 675) | def test_search_for_file_wheel_with_extras( function test_complete_package_merges_same_source_and_no_source (line 713) | def test_complete_package_merges_same_source_and_no_source( function test_complete_package_does_not_merge_different_source_names (line 743) | def test_complete_package_does_not_merge_different_source_names( function test_complete_package_merges_same_source_type_and_no_source (line 765) | def test_complete_package_merges_same_source_type_and_no_source( function test_complete_package_does_not_merge_different_source_types (line 786) | def test_complete_package_does_not_merge_different_source_types( function test_complete_package_does_not_merge_different_source_type_and_name (line 805) | def test_complete_package_does_not_merge_different_source_type_and_name( function test_complete_package_does_not_merge_different_subdirectories (line 827) | def test_complete_package_does_not_merge_different_subdirectories( function test_complete_package_with_extras_preserves_source_name (line 860) | def test_complete_package_with_extras_preserves_source_name( function test_complete_package_fetches_optional_vcs_dependency_only_if_requested (line 888) | def test_complete_package_fetches_optional_vcs_dependency_only_if_reques... function test_complete_package_finds_locked_package_in_explicit_source (line 909) | def test_complete_package_finds_locked_package_in_explicit_source( function test_complete_package_finds_locked_package_in_other_source (line 932) | def test_complete_package_finds_locked_package_in_other_source( function test_complete_package_raises_packagenotfound_if_locked_source_not_available (line 954) | def test_complete_package_raises_packagenotfound_if_locked_source_not_av... function test_complete_package_outdated_cache (line 970) | def test_complete_package_outdated_cache( function test_complete_package_no_refresh_on_url_size_upload_info (line 1007) | def test_complete_package_no_refresh_on_url_size_upload_info( function test_source_dependency_is_satisfied_by_direct_origin (line 1039) | def test_source_dependency_is_satisfied_by_direct_origin( function test_explicit_source_dependency_is_not_satisfied_by_direct_origin (line 1050) | def test_explicit_source_dependency_is_not_satisfied_by_direct_origin( function test_source_dependency_is_not_satisfied_by_incompatible_direct_origin (line 1062) | def test_source_dependency_is_not_satisfied_by_incompatible_direct_origin( FILE: tests/puzzle/test_solver.py function legacy_repository (line 60) | def legacy_repository(legacy_repository_html: LegacyRepository) -> Legac... function set_package_python_versions (line 69) | def set_package_python_versions(provider: Provider, python_versions: str... function check_solver_result (line 74) | def check_solver_result( function test_solver_install_single (line 108) | def test_solver_install_single( function test_solver_remove_if_no_longer_locked (line 121) | def test_solver_remove_if_no_longer_locked( function test_remove_non_installed (line 132) | def test_remove_non_installed( function test_install_non_existing_package_fail (line 144) | def test_install_non_existing_package_fail( function test_install_unpublished_package_fails (line 156) | def test_install_unpublished_package_fails( function test_solver_with_deps (line 173) | def test_solver_with_deps( function test_install_honours_not_equal (line 199) | def test_install_honours_not_equal( function test_install_with_deps_in_order (line 229) | def test_install_with_deps_in_order( function test_install_installed (line 260) | def test_install_installed( function test_update_installed (line 276) | def test_update_installed( function test_update_with_use_latest (line 294) | def test_update_with_use_latest( function test_solver_sets_groups (line 324) | def test_solver_sets_groups( function test_solver_respects_root_package_python_versions (line 351) | def test_solver_respects_root_package_python_versions( function test_solver_fails_if_mismatch_root_python_versions (line 384) | def test_solver_fails_if_mismatch_root_python_versions( function test_solver_ignores_python_restricted_if_mismatch_root_package_python_versions (line 406) | def test_solver_ignores_python_restricted_if_mismatch_root_package_pytho... function test_solver_solves_optional_and_compatible_packages (line 430) | def test_solver_solves_optional_and_compatible_packages( function test_solver_does_not_return_extras_if_not_requested (line 465) | def test_solver_does_not_return_extras_if_not_requested( function test_solver_returns_extras_if_requested (line 492) | def test_solver_returns_extras_if_requested( function test_solver_returns_extras_if_requested_in_multiple_groups (line 529) | def test_solver_returns_extras_if_requested_in_multiple_groups( function test_solver_resolves_self_referential_extras (line 587) | def test_solver_resolves_self_referential_extras( function test_solver_resolves_self_referential_extras_markers (line 642) | def test_solver_resolves_self_referential_extras_markers( function test_solver_returns_extras_only_requested (line 683) | def test_solver_returns_extras_only_requested( function test_solver_returns_extras_when_multiple_extras_use_same_dependency (line 748) | def test_solver_returns_extras_when_multiple_extras_use_same_dependency( function test_solver_locks_all_extras_when_multiple_extras_require_same_dependency (line 798) | def test_solver_locks_all_extras_when_multiple_extras_require_same_depen... function test_solver_returns_extras_only_requested_nested (line 856) | def test_solver_returns_extras_only_requested_nested( function test_solver_finds_extras_next_to_non_extras (line 917) | def test_solver_finds_extras_next_to_non_extras( function test_solver_merge_extras_into_base_package_multiple_repos_fixes_5727 (line 964) | def test_solver_merge_extras_into_base_package_multiple_repos_fixes_5727( function test_solver_returns_extras_if_excluded_by_markers_without_extras (line 996) | def test_solver_returns_extras_if_excluded_by_markers_without_extras( function test_solver_returns_prereleases_if_requested (line 1035) | def test_solver_returns_prereleases_if_requested( function test_solver_does_not_return_prereleases_if_not_requested (line 1066) | def test_solver_does_not_return_prereleases_if_not_requested( function test_solver_sub_dependencies_with_requirements (line 1095) | def test_solver_sub_dependencies_with_requirements( function test_solver_sub_dependencies_with_requirements_complex (line 1133) | def test_solver_sub_dependencies_with_requirements_complex( function test_solver_sub_dependencies_with_not_supported_python_version (line 1192) | def test_solver_sub_dependencies_with_not_supported_python_version( function test_solver_sub_dependencies_with_not_supported_python_version_transitive (line 1214) | def test_solver_sub_dependencies_with_not_supported_python_version_trans... function test_solver_with_dependency_in_both_main_and_dev_dependencies (line 1258) | def test_solver_with_dependency_in_both_main_and_dev_dependencies( function test_solver_with_dependency_in_both_main_and_dev_dependencies_with_one_more_dependent (line 1301) | def test_solver_with_dependency_in_both_main_and_dev_dependencies_with_o... function test_solver_with_dependency_and_prerelease_sub_dependencies (line 1349) | def test_solver_with_dependency_and_prerelease_sub_dependencies( function test_solver_with_dependency_and_prerelease_sub_dependencies_increasing_constraints (line 1376) | def test_solver_with_dependency_and_prerelease_sub_dependencies_increasi... function test_solver_circular_dependency (line 1434) | def test_solver_circular_dependency( function test_solver_circular_dependency_chain (line 1464) | def test_solver_circular_dependency_chain( function test_solver_dense_dependencies (line 1499) | def test_solver_dense_dependencies( function test_solver_duplicate_dependencies_same_constraint (line 1522) | def test_solver_duplicate_dependencies_same_constraint( function test_solver_duplicate_dependencies_different_constraints (line 1551) | def test_solver_duplicate_dependencies_different_constraints( function test_solver_duplicate_dependencies_different_constraints_same_requirements (line 1583) | def test_solver_duplicate_dependencies_different_constraints_same_requir... function test_solver_duplicate_dependencies_different_constraints_merge_by_marker (line 1610) | def test_solver_duplicate_dependencies_different_constraints_merge_by_ma... function test_solver_duplicate_dependencies_different_sources_direct_origin_preserved (line 1648) | def test_solver_duplicate_dependencies_different_sources_direct_origin_p... function test_solver_duplicate_dependencies_different_constraints_merge_no_markers (line 1710) | def test_solver_duplicate_dependencies_different_constraints_merge_no_ma... function test_solver_duplicate_dependencies_different_constraints_conflict (line 1753) | def test_solver_duplicate_dependencies_different_constraints_conflict( function test_solver_duplicate_dependencies_different_constraints_discard_no_markers1 (line 1774) | def test_solver_duplicate_dependencies_different_constraints_discard_no_... function test_solver_duplicate_dependencies_different_constraints_discard_no_markers2 (line 1823) | def test_solver_duplicate_dependencies_different_constraints_discard_no_... function test_solver_duplicate_dependencies_different_constraints_discard_no_markers3 (line 1867) | def test_solver_duplicate_dependencies_different_constraints_discard_no_... function test_solver_duplicate_dependencies_ignore_overrides_with_empty_marker_intersection (line 1911) | def test_solver_duplicate_dependencies_ignore_overrides_with_empty_marke... function test_solver_duplicate_dependencies_ignore_overrides_with_empty_marker_intersection2 (line 1982) | def test_solver_duplicate_dependencies_ignore_overrides_with_empty_marke... function test_solver_duplicate_dependencies_sub_dependencies (line 2025) | def test_solver_duplicate_dependencies_sub_dependencies( function test_solver_duplicate_dependencies_with_overlapping_markers_simple (line 2066) | def test_solver_duplicate_dependencies_with_overlapping_markers_simple( function test_solver_duplicate_dependencies_with_overlapping_markers_complex (line 2117) | def test_solver_duplicate_dependencies_with_overlapping_markers_complex( function test_duplicate_path_dependencies (line 2225) | def test_duplicate_path_dependencies( function test_duplicate_path_dependencies_same_path (line 2263) | def test_duplicate_path_dependencies_same_path( function test_solver_fails_if_dependency_name_does_not_match_package (line 2292) | def test_solver_fails_if_dependency_name_does_not_match_package( function test_solver_does_not_get_stuck_in_recursion_on_circular_dependency (line 2305) | def test_solver_does_not_get_stuck_in_recursion_on_circular_dependency( function test_solver_can_resolve_git_dependencies (line 2333) | def test_solver_can_resolve_git_dependencies( function test_solver_can_resolve_git_dependencies_with_extras (line 2369) | def test_solver_can_resolve_git_dependencies_with_extras( function test_solver_can_resolve_git_dependencies_with_ref (line 2409) | def test_solver_can_resolve_git_dependencies_with_ref( function test_solver_does_not_trigger_conflict_for_python_constraint_if_python_requirement_is_compatible (line 2447) | def test_solver_does_not_trigger_conflict_for_python_constraint_if_pytho... function test_solver_does_not_trigger_conflict_for_python_constraint_if_python_requirement_is_compatible_multiple (line 2465) | def test_solver_does_not_trigger_conflict_for_python_constraint_if_pytho... function test_solver_triggers_conflict_for_dependency_python_not_fully_compatible_with_package_python (line 2497) | def test_solver_triggers_conflict_for_dependency_python_not_fully_compat... function test_solver_finds_compatible_package_for_dependency_python_not_fully_compatible_with_package_python (line 2514) | def test_solver_finds_compatible_package_for_dependency_python_not_fully... function test_solver_does_not_trigger_new_resolution_on_duplicate_dependencies_if_only_extras (line 2536) | def test_solver_does_not_trigger_new_resolution_on_duplicate_dependencie... function test_solver_does_not_raise_conflict_for_locked_conditional_dependencies (line 2577) | def test_solver_does_not_raise_conflict_for_locked_conditional_dependenc... function test_solver_returns_extras_if_requested_in_dependencies_and_not_in_root_package (line 2609) | def test_solver_returns_extras_if_requested_in_dependencies_and_not_in_r... function test_solver_should_not_resolve_prerelease_version_if_not_requested (line 2650) | def test_solver_should_not_resolve_prerelease_version_if_not_requested( function test_solver_ignores_dependencies_with_incompatible_python_full_version_marker (line 2669) | def test_solver_ignores_dependencies_with_incompatible_python_full_versi... function test_solver_git_dependencies_update (line 2702) | def test_solver_git_dependencies_update( function test_solver_git_dependencies_update_skipped (line 2753) | def test_solver_git_dependencies_update_skipped( function test_solver_git_dependencies_short_hash_update_skipped (line 2786) | def test_solver_git_dependencies_short_hash_update_skipped( function test_solver_can_resolve_directory_dependencies (line 2832) | def test_solver_can_resolve_directory_dependencies( function test_solver_can_resolve_directory_dependencies_nested_editable (line 2867) | def test_solver_can_resolve_directory_dependencies_nested_editable( function test_solver_can_resolve_directory_dependencies_with_extras (line 2922) | def test_solver_can_resolve_directory_dependencies_with_extras( function test_solver_can_resolve_sdist_dependencies (line 2965) | def test_solver_can_resolve_sdist_dependencies( function test_solver_can_resolve_sdist_dependencies_with_extras (line 2999) | def test_solver_can_resolve_sdist_dependencies_with_extras( function test_solver_can_resolve_wheel_dependencies (line 3041) | def test_solver_can_resolve_wheel_dependencies( function test_solver_can_resolve_wheel_dependencies_with_extras (line 3077) | def test_solver_can_resolve_wheel_dependencies_with_extras( function test_solver_can_solve_with_legacy_repository_using_proper_dists (line 3121) | def test_solver_can_solve_with_legacy_repository_using_proper_dists( function test_solver_can_solve_with_legacy_repository_using_proper_python_compatible_dists (line 3163) | def test_solver_can_solve_with_legacy_repository_using_proper_python_com... function test_solver_skips_invalid_versions (line 3196) | def test_solver_skips_invalid_versions( function test_multiple_constraints_on_root (line 3215) | def test_multiple_constraints_on_root( function test_solver_chooses_most_recent_version_amongst_repositories (line 3239) | def test_solver_chooses_most_recent_version_amongst_repositories( function test_solver_chooses_from_correct_repository_if_forced (line 3262) | def test_solver_chooses_from_correct_repository_if_forced( function test_solver_chooses_from_correct_repository_if_forced_and_transitive_dependency (line 3299) | def test_solver_chooses_from_correct_repository_if_forced_and_transitive... function test_solver_does_not_choose_from_supplemental_repository_by_default (line 3357) | def test_solver_does_not_choose_from_supplemental_repository_by_default( function test_solver_chooses_from_supplemental_if_explicit (line 3407) | def test_solver_chooses_from_supplemental_if_explicit( function test_solver_does_not_choose_from_explicit_repository (line 3451) | def test_solver_does_not_choose_from_explicit_repository( function test_solver_chooses_direct_dependency_from_explicit_if_explicit (line 3470) | def test_solver_chooses_direct_dependency_from_explicit_if_explicit( function test_solver_ignores_explicit_repo_for_transitive_dependencies (line 3500) | def test_solver_ignores_explicit_repo_for_transitive_dependencies( function test_direct_dependency_with_extras_from_explicit_and_transitive_dependency (line 3531) | def test_direct_dependency_with_extras_from_explicit_and_transitive_depe... function test_direct_dependency_with_extras_from_explicit_and_transitive_dependency2 (line 3610) | def test_direct_dependency_with_extras_from_explicit_and_transitive_depe... function test_multiple_constraints_explicit_source_transitive_locked_use_latest (line 3699) | def test_multiple_constraints_explicit_source_transitive_locked_use_latest( function test_multiple_constraints_incomplete_explicit_source_transitive_locked (line 3797) | def test_multiple_constraints_incomplete_explicit_source_transitive_locked( function test_solver_discards_packages_with_empty_markers (line 3873) | def test_solver_discards_packages_with_empty_markers( function test_solver_does_not_raise_conflict_for_conditional_dev_dependencies (line 3912) | def test_solver_does_not_raise_conflict_for_conditional_dev_dependencies( function test_solver_does_not_loop_indefinitely_on_duplicate_constraints_with_extras (line 3944) | def test_solver_does_not_loop_indefinitely_on_duplicate_constraints_with... function test_solver_does_not_fail_with_locked_git_and_non_git_dependencies (line 3977) | def test_solver_does_not_fail_with_locked_git_and_non_git_dependencies( function test_ignore_python_constraint_no_overlap_dependencies (line 4015) | def test_ignore_python_constraint_no_overlap_dependencies( function test_solver_should_not_go_into_an_infinite_loop_on_duplicate_dependencies (line 4040) | def test_solver_should_not_go_into_an_infinite_loop_on_duplicate_depende... function test_solver_synchronize_single (line 4073) | def test_solver_synchronize_single( function test_solver_cannot_choose_another_version_for_directory_dependencies (line 4086) | def test_solver_cannot_choose_another_version_for_directory_dependencies( function test_solver_cannot_choose_another_version_for_file_dependencies (line 4115) | def test_solver_cannot_choose_another_version_for_file_dependencies( function test_solver_cannot_choose_another_version_for_git_dependencies (line 4145) | def test_solver_cannot_choose_another_version_for_git_dependencies( function test_solver_cannot_choose_another_version_for_url_dependencies (line 4167) | def test_solver_cannot_choose_another_version_for_url_dependencies( function test_solver_cannot_choose_url_dependency_for_explicit_source (line 4210) | def test_solver_cannot_choose_url_dependency_for_explicit_source( function test_solver_should_not_update_same_version_packages_if_installed_has_no_source_type (line 4277) | def test_solver_should_not_update_same_version_packages_if_installed_has... function test_solver_should_use_the_python_constraint_from_the_environment_if_available (line 4299) | def test_solver_should_use_the_python_constraint_from_the_environment_if... function test_solver_should_resolve_all_versions_for_multiple_duplicate_dependencies (line 4326) | def test_solver_should_resolve_all_versions_for_multiple_duplicate_depen... function test_solver_should_not_raise_errors_for_irrelevant_python_constraints (line 4374) | def test_solver_should_not_raise_errors_for_irrelevant_python_constraints( function test_solver_can_resolve_transitive_extras (line 4392) | def test_solver_can_resolve_transitive_extras( function test_solver_can_resolve_for_packages_with_missing_extras (line 4430) | def test_solver_can_resolve_for_packages_with_missing_extras( function test_solver_can_resolve_python_restricted_package_dependencies (line 4469) | def test_solver_can_resolve_python_restricted_package_dependencies( function test_solver_should_not_raise_errors_for_irrelevant_transitive_python_constraints (line 4501) | def test_solver_should_not_raise_errors_for_irrelevant_transitive_python... function test_solver_should_not_raise_errors_for_irrelevant_transitive_python_constraints2 (line 4575) | def test_solver_should_not_raise_errors_for_irrelevant_transitive_python... function test_solver_keeps_multiple_locked_dependencies_for_same_package (line 4640) | def test_solver_keeps_multiple_locked_dependencies_for_same_package( function test_solver_does_not_update_ref_of_locked_vcs_package (line 4694) | def test_solver_does_not_update_ref_of_locked_vcs_package( function test_solver_does_not_fetch_locked_vcs_package_with_ref (line 4750) | def test_solver_does_not_fetch_locked_vcs_package_with_ref( function test_solver_direct_origin_dependency_with_extras_requested_by_other_package (line 4784) | def test_solver_direct_origin_dependency_with_extras_requested_by_other_... function test_solver_incompatible_dependency_with_and_without_extras (line 4837) | def test_solver_incompatible_dependency_with_and_without_extras( function test_update_with_prerelease_and_no_solution (line 4891) | def test_update_with_prerelease_and_no_solution( function test_solver_yanked_warning (line 4919) | def test_solver_yanked_warning( function test_update_with_use_latest_vs_lock (line 4958) | def test_update_with_use_latest_vs_lock( function test_solver_resolves_duplicate_dependency_in_extra (line 5029) | def test_solver_resolves_duplicate_dependency_in_extra( function test_solver_resolves_conflicting_dependency_in_root_extra (line 5075) | def test_solver_resolves_conflicting_dependency_in_root_extra( function test_solver_resolves_conflicting_dependency_in_root_extras (line 5116) | def test_solver_resolves_conflicting_dependency_in_root_extras( function test_solver_resolves_duplicate_dependency_in_root_extra_for_installation (line 5167) | def test_solver_resolves_duplicate_dependency_in_root_extra_for_installa... function test_solver_resolves_duplicate_dependencies_with_restricted_extras (line 5209) | def test_solver_resolves_duplicate_dependencies_with_restricted_extras( FILE: tests/puzzle/test_solver_internals.py function dep (line 33) | def dep( function tm (line 47) | def tm(info: TransitivePackageInfo) -> dict[str, str]: function test_dfs_depth (line 51) | def test_dfs_depth(package: ProjectPackage) -> None: function test_dfs_depth_with_cycle (line 70) | def test_dfs_depth_with_cycle(package: ProjectPackage) -> None: function test_dfs_depth_with_extra (line 90) | def test_dfs_depth_with_extra(package: ProjectPackage) -> None: function test_propagate_markers (line 111) | def test_propagate_markers(package: ProjectPackage, solver: Solver) -> N... function test_propagate_markers_same_name (line 143) | def test_propagate_markers_same_name(package: ProjectPackage, solver: So... function test_propagate_markers_with_extra (line 169) | def test_propagate_markers_with_extra(package: ProjectPackage, solver: S... function test_propagate_markers_with_root_extra (line 200) | def test_propagate_markers_with_root_extra( function test_propagate_markers_with_duplicate_dependency_root_extra (line 234) | def test_propagate_markers_with_duplicate_dependency_root_extra( function test_propagate_groups_with_extra (line 251) | def test_propagate_groups_with_extra(package: ProjectPackage, solver: So... function test_propagate_markers_for_groups1 (line 273) | def test_propagate_markers_for_groups1(package: ProjectPackage, solver: ... function test_propagate_markers_for_groups2 (line 299) | def test_propagate_markers_for_groups2(package: ProjectPackage, solver: ... function test_propagate_markers_for_groups_same_dep (line 339) | def test_propagate_markers_for_groups_same_dep( function test_propagate_markers_for_groups_with_extra (line 366) | def test_propagate_markers_for_groups_with_extra( function test_propagate_markers_with_cycle (line 383) | def test_propagate_markers_with_cycle(package: ProjectPackage, solver: S... function test_merge_override_packages_restricted (line 410) | def test_merge_override_packages_restricted(package: ProjectPackage) -> ... function test_merge_override_packages_extras (line 449) | def test_merge_override_packages_extras(package: ProjectPackage) -> None: function test_merge_override_packages_python_constraint (line 499) | def test_merge_override_packages_python_constraint( function test_merge_override_packages_multiple_deps (line 529) | def test_merge_override_packages_multiple_deps(package: ProjectPackage) ... function test_merge_override_packages_groups (line 556) | def test_merge_override_packages_groups(package: ProjectPackage) -> None: function test_merge_override_packages_shortcut (line 620) | def test_merge_override_packages_shortcut(package: ProjectPackage) -> None: FILE: tests/puzzle/test_transaction.py function get_transitive_info (line 28) | def get_transitive_info(depth: int) -> TransitivePackageInfo: function check_operations (line 32) | def check_operations(ops: list[Operation], expected: list[dict[str, Any]... function test_it_should_calculate_operations_in_correct_order (line 59) | def test_it_should_calculate_operations_in_correct_order() -> None: function test_it_should_calculate_operations_for_installed_packages (line 79) | def test_it_should_calculate_operations_for_installed_packages() -> None: function test_it_should_remove_installed_packages_if_required (line 110) | def test_it_should_remove_installed_packages_if_required() -> None: function test_it_should_not_remove_system_site_packages (line 142) | def test_it_should_not_remove_system_site_packages() -> None: function test_it_should_not_remove_installed_packages_that_are_in_result (line 195) | def test_it_should_not_remove_installed_packages_that_are_in_result() ->... function test_it_should_update_installed_packages_if_sources_are_different (line 220) | def test_it_should_update_installed_packages_if_sources_are_different() ... function test_calculate_operations_with_groups (line 267) | def test_calculate_operations_with_groups( function test_calculate_operations_with_markers (line 326) | def test_calculate_operations_with_markers( function test_calculate_operations_with_groups_and_markers (line 374) | def test_calculate_operations_with_groups_and_markers( function test_calculate_operations_extras (line 410) | def test_calculate_operations_extras( function test_calculate_operations_extras_no_redundant_uninstall (line 462) | def test_calculate_operations_extras_no_redundant_uninstall(extra: str) ... FILE: tests/pyproject/conftest.py function pyproject_toml (line 13) | def pyproject_toml(tmp_path: Path) -> Path: function build_system_section (line 21) | def build_system_section(pyproject_toml: Path) -> str: function poetry_section (line 33) | def poetry_section(pyproject_toml: Path) -> str: FILE: tests/pyproject/test_pyproject_toml.py function test_pyproject_toml_reload (line 14) | def test_pyproject_toml_reload(pyproject_toml: Path, poetry_section: str... function test_pyproject_toml_save (line 27) | def test_pyproject_toml_save( FILE: tests/pyproject/test_pyproject_toml_file.py function test_pyproject_toml_file_invalid (line 16) | def test_pyproject_toml_file_invalid(pyproject_toml: Path) -> None: FILE: tests/repositories/conftest.py function html_page_content (line 13) | def html_page_content() -> HTMLPageGetter: FILE: tests/repositories/fixtures/distribution_hashes.py class DistributionHash (line 16) | class DistributionHash: function dist_hash_getter (line 330) | def dist_hash_getter() -> DistributionHashGetter: FILE: tests/repositories/fixtures/legacy.py class TestLegacyRepository (line 40) | class TestLegacyRepository(LegacyRepository): method __init__ (line 41) | def __init__(self, *args: Any, **kwargs: Any) -> None: function legacy_repository_directory (line 47) | def legacy_repository_directory() -> Path: function legacy_package_json_locations (line 52) | def legacy_package_json_locations() -> list[Path]: function legacy_repository_package_names (line 60) | def legacy_repository_package_names(legacy_repository_directory: Path) -... function legacy_repository_index_html (line 68) | def legacy_repository_index_html( function legacy_repository_index_json (line 89) | def legacy_repository_index_json( function legacy_repository_url (line 97) | def legacy_repository_url() -> str: function legacy_repository_html_callback (line 102) | def legacy_repository_html_callback( function legacy_repository_json_callback (line 122) | def legacy_repository_json_callback( function legacy_repository_html (line 147) | def legacy_repository_html( function legacy_repository_json (line 165) | def legacy_repository_json( function legacy_repository (line 183) | def legacy_repository(request: FixtureRequest) -> TestLegacyRepository: function specialized_legacy_repository_mocker (line 188) | def specialized_legacy_repository_mocker( function legacy_repository_with_extra_packages (line 223) | def legacy_repository_with_extra_packages( function legacy_repository_partial_yank (line 230) | def legacy_repository_partial_yank( function get_legacy_dist_url (line 237) | def get_legacy_dist_url(legacy_repository_directory: Path) -> Callable[[... function get_legacy_dist_size_and_upload_time (line 257) | def get_legacy_dist_size_and_upload_time( FILE: tests/repositories/fixtures/pypi.org/generate.py class _ReleaseFileLocations (line 82) | class _ReleaseFileLocations: class ReleaseFileMetadata (line 99) | class ReleaseFileMetadata: method __post_init__ (line 104) | def __post_init__(self) -> None: class _ReleaseFileCollection (line 110) | class _ReleaseFileCollection: method __init__ (line 111) | def __init__(self, locations: list[Path] | None = None) -> None: method filename_exists (line 117) | def filename_exists(self, filename: str) -> bool: method find (line 120) | def find(self, filename: str) -> ReleaseFileMetadata | None: method list (line 126) | def list(self, location: Path | None = None) -> Iterator[ReleaseFileMe... function generate_distribution_hashes_fixture (line 142) | def generate_distribution_hashes_fixture(files: list[ReleaseFileMetadata... function cleanup_legacy_html_hashes (line 198) | def cleanup_legacy_html_hashes(metadata: ReleaseFileMetadata) -> None: function cleanup_installation_fixtures (line 228) | def cleanup_installation_fixtures(metadata: ReleaseFileMetadata) -> None: class FileManager (line 248) | class FileManager: method __init__ (line 249) | def __init__(self, pypi: PyPiRepository) -> None: method should_preserve_file_content_check (line 253) | def should_preserve_file_content_check(link: Link) -> Callable[[str], ... method process_metadata_file (line 277) | def process_metadata_file(self, link: Link) -> None: method copy_as_is (line 301) | def copy_as_is(self, link: Link) -> ReleaseFileMetadata: method process_zipfile (line 314) | def process_zipfile(self, link: Link) -> ReleaseFileMetadata: method process_tarfile (line 363) | def process_tarfile(self, link: Link) -> ReleaseFileMetadata: class Project (line 403) | class Project: method __init__ (line 404) | def __init__(self, name: str, releases: list[Release]): method filenames (line 409) | def filenames(self) -> list[str]: method files (line 418) | def files(self) -> list[ReleaseFileMetadata]: method versions (line 427) | def versions(self) -> list[str]: method json_path (line 431) | def json_path(self) -> Path: method _finalise_file_item (line 435) | def _finalise_file_item( method _finalise (line 456) | def _finalise(self, data: dict[str, Any]) -> None: method populate (line 481) | def populate(self, pypi: PyPiRepository) -> None: class Release (line 497) | class Release: method __init__ (line 498) | def __init__( method json_path (line 514) | def json_path(self) -> Path: method _finalise_file_item (line 520) | def _finalise_file_item( method _finalise (line 533) | def _finalise(self, data: dict[str, Any]) -> None: method populate (line 562) | def populate(self, pypi: PyPiRepository) -> None: function cleanup_old_files (line 594) | def cleanup_old_files(releases: dict[str, list[str]]) -> None: function main (line 731) | def main() -> None: FILE: tests/repositories/fixtures/pypi.py function package_distribution_locations (line 39) | def package_distribution_locations() -> list[Path]: function package_json_locations (line 49) | def package_json_locations() -> list[Path]: function package_metadata_locations (line 57) | def package_metadata_locations() -> list[Path]: function package_distribution_lookup (line 65) | def package_distribution_lookup( function with_disallowed_pypi_search_html (line 79) | def with_disallowed_pypi_search_html( function pypi_repository (line 98) | def pypi_repository( function get_pypi_file_info (line 169) | def get_pypi_file_info( FILE: tests/repositories/fixtures/python_hosted.py function mock_files_python_hosted_factory (line 24) | def mock_files_python_hosted_factory( function mock_files_python_hosted (line 66) | def mock_files_python_hosted( FILE: tests/repositories/link_sources/test_base.py function root_page (line 26) | def root_page() -> SimpleRepositoryRootPage: function link_source (line 36) | def link_source(mocker: MockerFixture) -> LinkSource: function test_link_package_data (line 72) | def test_link_package_data(filename: str, expected: Package | None) -> N... function test_versions (line 84) | def test_versions(name: str, expected: set[Version], link_source: LinkSo... function test_packages (line 88) | def test_packages(link_source: LinkSource) -> None: function test_links_for_version (line 105) | def test_links_for_version( function test_root_page_search (line 125) | def test_root_page_search( FILE: tests/repositories/link_sources/test_html.py function root_page (line 20) | def root_page() -> SimpleRepositoryHTMLRootPage: function test_root_page_package_names (line 37) | def test_root_page_package_names(root_page: SimpleRepositoryHTMLRootPage... function test_link_attributes (line 69) | def test_link_attributes( function test_hash_from_url (line 86) | def test_hash_from_url(html_page_content: HTMLPageGetter) -> None: function test_yanked (line 114) | def test_yanked( function test_metadata (line 169) | def test_metadata( function test_base_url (line 213) | def test_base_url( FILE: tests/repositories/link_sources/test_json.py function root_page (line 13) | def root_page() -> SimpleRepositoryJsonRootPage: function test_root_page_package_names (line 24) | def test_root_page_package_names(root_page: SimpleRepositoryJsonRootPage... function test_attributes (line 28) | def test_attributes() -> None: function test_yanked (line 76) | def test_yanked( function test_metadata (line 156) | def test_metadata( function test_base_url (line 184) | def test_base_url(url: str, repo_url: str, expected: str) -> None: FILE: tests/repositories/parsers/test_html_page_parser.py function html_page (line 15) | def html_page(html_page_content: HTMLPageGetter) -> str: function test_html_page_parser_anchors (line 33) | def test_html_page_parser_anchors(html_page: str) -> None: function test_html_page_parser_base_url (line 51) | def test_html_page_parser_base_url() -> None: FILE: tests/repositories/parsers/test_pypi_search_parser.py function search_page_data (line 15) | def search_page_data() -> str: function test_search_parser (line 20) | def test_search_parser(search_page_data: str) -> None: FILE: tests/repositories/test_cached_repository.py class MockCachedRepository (line 15) | class MockCachedRepository(CachedRepository): method _get_release_info (line 16) | def _get_release_info( function release_info (line 23) | def release_info() -> PackageInfo: function outdated_release_info (line 45) | def outdated_release_info() -> PackageInfo: function test_get_release_info_cache (line 63) | def test_get_release_info_cache( FILE: tests/repositories/test_http_repository.py class MockRepository (line 28) | class MockRepository(HTTPRepository): method __init__ (line 31) | def __init__(self, lazy_wheel: bool = True) -> None: method _get_release_info (line 35) | def _get_release_info( function test_get_info_from_wheel (line 43) | def test_get_info_from_wheel( function test_get_info_from_wheel_state_sequence (line 95) | def test_get_info_from_wheel_state_sequence(mocker: MockerFixture) -> None: function test_calculate_sha256 (line 188) | def test_calculate_sha256( function test_calculate_sha256_defaults_to_sha256_on_md5_errors (line 210) | def test_calculate_sha256_defaults_to_sha256_on_md5_errors( FILE: tests/repositories/test_installed_repository.py function env_dir (line 37) | def env_dir(tmp_session_working_directory: Path) -> Iterator[Path]: function site_purelib (line 46) | def site_purelib(env_dir: Path) -> Path: function site_platlib (line 51) | def site_platlib(env_dir: Path) -> Path: function src_dir (line 56) | def src_dir(env_dir: Path) -> Path: function installed_results (line 61) | def installed_results( function env (line 98) | def env( function mock_git_info (line 117) | def mock_git_info(mocker: MockerFixture) -> None: function repository (line 132) | def repository( function get_package_from_repository (line 144) | def get_package_from_repository( function poetry (line 154) | def poetry( function editable_source_directory_path (line 163) | def editable_source_directory_path() -> str: function fix_editable_path_for_windows (line 168) | def fix_editable_path_for_windows( function test_load_successful (line 179) | def test_load_successful( function test_load_successful_with_invalid_distribution (line 185) | def test_load_successful_with_invalid_distribution( function test_loads_in_correct_sys_path_order (line 208) | def test_loads_in_correct_sys_path_order( function test_load_ensure_isolation (line 232) | def test_load_ensure_isolation(repository: InstalledRepository) -> None: function test_load_standard_package (line 237) | def test_load_standard_package(repository: InstalledRepository) -> None: function test_load_git_package (line 252) | def test_load_git_package(repository: InstalledRepository) -> None: function test_load_git_package_pth (line 266) | def test_load_git_package_pth(repository: InstalledRepository) -> None: function test_load_platlib_package (line 274) | def test_load_platlib_package(repository: InstalledRepository) -> None: function test_load_editable_package (line 281) | def test_load_editable_package( function test_load_editable_src_dir_package (line 293) | def test_load_editable_src_dir_package( function test_load_editable_with_import_package (line 305) | def test_load_editable_with_import_package(repository: InstalledReposito... function test_load_standard_package_with_pth_file (line 315) | def test_load_standard_package_with_pth_file(repository: InstalledReposi... function test_load_pep_610_compliant_git_packages (line 325) | def test_load_pep_610_compliant_git_packages(repository: InstalledReposi... function test_load_pep_610_compliant_git_packages_no_requested_version (line 337) | def test_load_pep_610_compliant_git_packages_no_requested_version( function test_load_pep_610_compliant_git_packages_with_subdirectory (line 356) | def test_load_pep_610_compliant_git_packages_with_subdirectory( function test_load_pep_610_compliant_url_packages (line 370) | def test_load_pep_610_compliant_url_packages(repository: InstalledReposi... function test_load_pep_610_compliant_file_packages (line 383) | def test_load_pep_610_compliant_file_packages(repository: InstalledRepos... function test_load_pep_610_compliant_directory_packages (line 393) | def test_load_pep_610_compliant_directory_packages( function test_load_pep_610_compliant_editable_directory_packages (line 406) | def test_load_pep_610_compliant_editable_directory_packages( function test_system_site_packages (line 420) | def test_system_site_packages( function test_system_site_packages_source_type (line 462) | def test_system_site_packages_source_type( function test_pipx_shared_lib_site_packages (line 491) | def test_pipx_shared_lib_site_packages( FILE: tests/repositories/test_legacy_repository.py function _use_simple_keyring (line 37) | def _use_simple_keyring(with_simple_keyring: None) -> None: function test_page_relative_links_path_are_correct (line 41) | def test_page_relative_links_path_are_correct( function test_page_absolute_links_path_are_correct (line 54) | def test_page_absolute_links_path_are_correct( function test_page_clean_link (line 67) | def test_page_clean_link(legacy_repository: LegacyRepository) -> None: function test_page_invalid_version_link (line 77) | def test_page_invalid_version_link(legacy_repository: LegacyRepository) ... function test_page_filters_out_invalid_package_names (line 96) | def test_page_filters_out_invalid_package_names( function test_sdist_format_support (line 121) | def test_sdist_format_support(legacy_repository: LegacyRepository) -> None: function test_missing_version (line 130) | def test_missing_version(legacy_repository: LegacyRepository) -> None: function test_get_package_information_fallback_read_setup (line 139) | def test_get_package_information_fallback_read_setup( function test_get_package_information_pep_658 (line 157) | def test_get_package_information_pep_658( function test_get_package_information_skips_dependencies_with_invalid_constraints (line 190) | def test_get_package_information_skips_dependencies_with_invalid_constra... function test_package_not_canonicalized (line 228) | def test_package_not_canonicalized(legacy_repository: LegacyRepository) ... function test_find_packages_no_prereleases (line 237) | def test_find_packages_no_prereleases(legacy_repository: LegacyRepositor... function test_find_packages_only_prereleases (line 252) | def test_find_packages_only_prereleases( function test_find_packages_yanked (line 278) | def test_find_packages_yanked( function test_get_package_information_chooses_correct_distribution (line 287) | def test_get_package_information_chooses_correct_distribution( function test_get_package_information_includes_python_requires (line 302) | def test_get_package_information_includes_python_requires( function test_get_package_information_includes_files (line 314) | def test_get_package_information_includes_files( function test_get_package_information_sets_appropriate_python_versions_if_wheels_only (line 348) | def test_get_package_information_sets_appropriate_python_versions_if_whe... function test_get_package_from_both_py2_and_py3_specific_wheels (line 360) | def test_get_package_from_both_py2_and_py3_specific_wheels( function test_get_package_from_both_py2_and_py3_specific_wheels_python_constraint (line 400) | def test_get_package_from_both_py2_and_py3_specific_wheels_python_constr... function test_get_package_with_dist_and_universal_py3_wheel (line 412) | def test_get_package_with_dist_and_universal_py3_wheel( function test_get_package_retrieves_non_sha256_hashes (line 442) | def test_get_package_retrieves_non_sha256_hashes( function test_get_package_retrieves_non_sha256_hashes_mismatching_known_hash (line 476) | def test_get_package_retrieves_non_sha256_hashes_mismatching_known_hash( function test_get_package_retrieves_packages_with_no_hashes (line 518) | def test_get_package_retrieves_packages_with_no_hashes( function test_package_yanked (line 546) | def test_package_yanked( function test_package_partial_yank (line 563) | def test_package_partial_yank( function test_find_links_for_package_yanked (line 584) | def test_find_links_for_package_yanked( function test_cached_or_downloaded_file_supports_trailing_slash (line 602) | def test_cached_or_downloaded_file_supports_trailing_slash( class MockHttpRepository (line 612) | class MockHttpRepository(LegacyRepository): method __init__ (line 613) | def __init__( function test_get_200_returns_page (line 624) | def test_get_200_returns_page(http: responses.RequestsMock) -> None: function test_get_40x_and_returns_none (line 631) | def test_get_40x_and_returns_none( function test_get_5xx_raises (line 640) | def test_get_5xx_raises( function test_get_redirected_response_url (line 649) | def test_get_redirected_response_url( function test_get_page_prefers_json (line 667) | def test_get_page_prefers_json(http: responses.RequestsMock) -> None: function test_root_page_prefers_json (line 682) | def test_root_page_prefers_json(http: responses.RequestsMock) -> None: function test_authenticator_with_implicit_repository_configuration (line 707) | def test_authenticator_with_implicit_repository_configuration( FILE: tests/repositories/test_lockfile_repository.py function packages (line 13) | def packages() -> list[Package]: function test_has_package (line 23) | def test_has_package(packages: list[Package]) -> None: FILE: tests/repositories/test_pypi_repository.py function _use_simple_keyring (line 28) | def _use_simple_keyring(with_simple_keyring: None) -> None: function test_find_packages (line 32) | def test_find_packages(pypi_repository: PyPiRepository) -> None: function test_find_packages_with_prereleases (line 39) | def test_find_packages_with_prereleases(pypi_repository: PyPiRepository)... function test_find_packages_does_not_select_prereleases_if_not_allowed (line 46) | def test_find_packages_does_not_select_prereleases_if_not_allowed( function test_find_packages_only_prereleases (line 58) | def test_find_packages_only_prereleases( function test_find_packages_yanked (line 78) | def test_find_packages_yanked( function test_package (line 87) | def test_package( function test_package_yanked (line 143) | def test_package_yanked( function test_package_yanked_no_dependencies (line 161) | def test_package_yanked_no_dependencies( function test_package_not_canonicalized (line 175) | def test_package_not_canonicalized(pypi_repository: PyPiRepository) -> N... function test_find_links_for_package_yanked (line 191) | def test_find_links_for_package_yanked( function test_fallback_on_downloading_packages (line 209) | def test_fallback_on_downloading_packages(pypi_repository: PyPiRepositor... function test_fallback_inspects_sdist_first_if_no_matching_wheels_can_be_found (line 229) | def test_fallback_inspects_sdist_first_if_no_matching_wheels_can_be_found( function test_fallback_pep_658_metadata (line 245) | def test_fallback_pep_658_metadata( function test_pypi_repository_supports_reading_bz2_files (line 269) | def test_pypi_repository_supports_reading_bz2_files( function test_invalid_versions_ignored (line 312) | def test_invalid_versions_ignored(pypi_repository: PyPiRepository) -> None: function test_get_should_invalid_cache_on_too_many_redirects_error (line 324) | def test_get_should_invalid_cache_on_too_many_redirects_error( function test_urls (line 343) | def test_urls(pypi_repository: PyPiRepository) -> None: function test_find_links_for_package_of_supported_types (line 350) | def test_find_links_for_package_of_supported_types( function test_get_release_info_includes_only_supported_types (line 365) | def test_get_release_info_includes_only_supported_types( function test_search_fallbacks_to_find_packages (line 391) | def test_search_fallbacks_to_find_packages( FILE: tests/repositories/test_repository.py function repository (line 13) | def repository() -> Repository: function test_find_packages_allow_prereleases (line 38) | def test_find_packages_allow_prereleases( function test_find_packages_yanked (line 64) | def test_find_packages_yanked( function test_package_yanked (line 79) | def test_package_yanked( function test_package_pretty_name_is_kept (line 94) | def test_package_pretty_name_is_kept() -> None: function test_search (line 103) | def test_search() -> None: FILE: tests/repositories/test_repository_pool.py function test_pool (line 16) | def test_pool() -> None: function test_pool_with_initial_repositories (line 23) | def test_pool_with_initial_repositories() -> None: function test_repository_no_repository (line 32) | def test_repository_no_repository() -> None: function test_adding_repositories_with_same_name_twice_raises_value_error (line 39) | def test_adding_repositories_with_same_name_twice_raises_value_error() -... function test_repository_from_single_repo_pool (line 51) | def test_repository_from_single_repo_pool(priority: Priority) -> None: function test_repository_with_all_prio_repositories (line 61) | def test_repository_with_all_prio_repositories() -> None: function test_repository_supplemental_repositories_do_show (line 80) | def test_repository_supplemental_repositories_do_show() -> None: function test_repository_explicit_repositories_do_not_show (line 90) | def test_repository_explicit_repositories_do_not_show() -> None: function test_remove_non_existing_repository_raises_indexerror (line 104) | def test_remove_non_existing_repository_raises_indexerror() -> None: function test_remove_existing_repository_successful (line 111) | def test_remove_existing_repository_successful() -> None: function test_repository_ordering (line 127) | def test_repository_ordering() -> None: function test_pool_get_package_in_any_repository (line 149) | def test_pool_get_package_in_any_repository() -> None: function test_pool_find_packages_only_considers_supplemental_when_needed (line 163) | def test_pool_find_packages_only_considers_supplemental_when_needed() ->... function test_pool_get_package_in_specified_repository (line 184) | def test_pool_get_package_in_specified_repository() -> None: function test_pool_no_package_from_any_repository_raises_package_not_found (line 197) | def test_pool_no_package_from_any_repository_raises_package_not_found() ... function test_pool_no_package_from_specified_repository_raises_package_not_found (line 205) | def test_pool_no_package_from_specified_repository_raises_package_not_fo... function test_pool_find_packages_in_any_repository (line 215) | def test_pool_find_packages_in_any_repository() -> None: function test_pool_find_packages_in_specified_repository (line 233) | def test_pool_find_packages_in_specified_repository() -> None: function test_search_no_legacy_repositories (line 253) | def test_search_no_legacy_repositories() -> None: function test_search_legacy_repositories_are_not_skipped (line 271) | def test_search_legacy_repositories_are_not_skipped( FILE: tests/repositories/test_single_page_repository.py class MockSinglePageRepository (line 19) | class MockSinglePageRepository(SinglePageRepository): method __init__ (line 22) | def __init__(self, page: str) -> None: method _get_page (line 30) | def _get_page(self, name: NormalizedName) -> HTMLPage: method _download (line 38) | def _download( function test_single_page_repository_get_page (line 44) | def test_single_page_repository_get_page() -> None: function test_single_page_repository_find_packages (line 58) | def test_single_page_repository_find_packages() -> None: function test_single_page_repository_get_page_with_relative_links (line 72) | def test_single_page_repository_get_page_with_relative_links() -> None: FILE: tests/test_conftest.py function repo (line 18) | def repo() -> Repository: function test_conftest_create_package (line 22) | def test_conftest_create_package( FILE: tests/test_factory.py class MyPlugin (line 39) | class MyPlugin(Plugin): method activate (line 40) | def activate(self, poetry: Poetry, io: IO) -> None: function test_create_poetry (line 45) | def test_create_poetry(fixture_dir: FixtureDirGetter) -> None: function test_create_pyproject_from_package (line 162) | def test_create_pyproject_from_package( function test_create_poetry_with_packages_and_includes (line 194) | def test_create_poetry_with_packages_and_includes( function test_create_poetry_with_multi_constraints_dependency (line 225) | def test_create_poetry_with_multi_constraints_dependency( function test_create_poetry_non_package_mode (line 237) | def test_create_poetry_non_package_mode(fixture_dir: FixtureDirGetter) -... function test_create_poetry_version_ok (line 243) | def test_create_poetry_version_ok(fixture_dir: FixtureDirGetter) -> None: function test_create_poetry_version_not_ok (line 251) | def test_create_poetry_version_not_ok(fixture_dir: FixtureDirGetter) -> ... function test_create_poetry_check_version_before_validation (line 260) | def test_create_poetry_check_version_before_validation( function test_poetry_with_primary_source (line 275) | def test_poetry_with_primary_source( function test_poetry_with_multiple_supplemental_sources (line 288) | def test_poetry_with_multiple_supplemental_sources( function test_poetry_with_multiple_sources (line 303) | def test_poetry_with_multiple_sources( function test_poetry_with_multiple_sources_pypi (line 316) | def test_poetry_with_multiple_sources_pypi( function test_poetry_with_no_default_source (line 331) | def test_poetry_with_no_default_source(fixture_dir: FixtureDirGetter) ->... function test_poetry_with_supplemental_source (line 340) | def test_poetry_with_supplemental_source( function test_poetry_with_explicit_source (line 356) | def test_poetry_with_explicit_source( function test_poetry_with_explicit_pypi_and_other (line 373) | def test_poetry_with_explicit_pypi_and_other( function test_poetry_with_pypi_explicit_only (line 388) | def test_poetry_with_pypi_explicit_only( function test_poetry_with_build_constraints (line 396) | def test_poetry_with_build_constraints(fixture_dir: FixtureDirGetter) ->... function test_poetry_with_empty_build_constraints (line 414) | def test_poetry_with_empty_build_constraints(fixture_dir: FixtureDirGett... function test_validate (line 419) | def test_validate(fixture_dir: FixtureDirGetter) -> None: function test_validate_fails (line 426) | def test_validate_fails(fixture_dir: FixtureDirGetter) -> None: function test_create_poetry_fails_on_invalid_configuration (line 443) | def test_create_poetry_fails_on_invalid_configuration( function test_create_poetry_fails_on_nameless_project (line 457) | def test_create_poetry_fails_on_nameless_project( function test_create_poetry_with_local_config (line 471) | def test_create_poetry_with_local_config(fixture_dir: FixtureDirGetter) ... function test_create_poetry_with_plugins (line 481) | def test_create_poetry_with_plugins( function test_create_package_source_invalid (line 502) | def test_create_package_source_invalid( FILE: tests/test_helpers.py function test_flatten_dict (line 9) | def test_flatten_dict() -> None: function test_isolated_environment_restores_original_environ (line 29) | def test_isolated_environment_restores_original_environ() -> None: function test_isolated_environment_clears_environ (line 36) | def test_isolated_environment_clears_environ() -> None: function test_isolated_environment_updates_environ (line 43) | def test_isolated_environment_updates_environ() -> None: FILE: tests/types.py class CommandTesterFactory (line 38) | class CommandTesterFactory(Protocol): method __call__ (line 39) | def __call__( class SourcesFactory (line 49) | class SourcesFactory(Protocol): method __call__ (line 50) | def __call__( class ProjectFactory (line 55) | class ProjectFactory(Protocol): method __call__ (line 56) | def __call__( class PackageFactory (line 70) | class PackageFactory(Protocol): method __call__ (line 71) | def __call__( class CommandFactory (line 81) | class CommandFactory(Protocol): method __call__ (line 82) | def __call__( class FixtureDirGetter (line 93) | class FixtureDirGetter(Protocol): method __call__ (line 94) | def __call__(self, name: str) -> Path: ... class FixtureCopier (line 97) | class FixtureCopier(Protocol): method __call__ (line 98) | def __call__(self, relative_path: str, target: Path | None = None) -> ... class HTMLPageGetter (line 101) | class HTMLPageGetter(Protocol): method __call__ (line 102) | def __call__(self, content: str, base_url: str | None = None) -> str: ... class NormalizedNameTransformer (line 105) | class NormalizedNameTransformer(Protocol): method __call__ (line 106) | def __call__(self, name: str) -> NormalizedName: ... class SpecializedLegacyRepositoryMocker (line 109) | class SpecializedLegacyRepositoryMocker(Protocol): method __call__ (line 110) | def __call__( class PythonHostedFileMocker (line 118) | class PythonHostedFileMocker(Protocol): method __call__ (line 119) | def __call__( class PackageDistributionLookup (line 126) | class PackageDistributionLookup(Protocol): method __call__ (line 127) | def __call__(self, name: str) -> Path | None: ... class DistributionHashGetter (line 130) | class DistributionHashGetter(Protocol): method __call__ (line 131) | def __call__(self, name: str) -> DistributionHash: ... class SetProjectContext (line 134) | class SetProjectContext(Protocol): method __call__ (line 135) | def __call__( class MockedPythonRegister (line 140) | class MockedPythonRegister(Protocol): method __call__ (line 141) | def __call__( class MockedPoetryPythonRegister (line 152) | class MockedPoetryPythonRegister(Protocol): method __call__ (line 153) | def __call__( FILE: tests/utils/conftest.py function venv_name (line 14) | def venv_name( FILE: tests/utils/env/conftest.py function poetry (line 17) | def poetry(project_factory: ProjectFactory, fixture_dir: FixtureDirGette... function manager (line 22) | def manager(poetry: Poetry) -> EnvManager: FILE: tests/utils/env/python/test_manager.py function test_find_all (line 22) | def test_find_all(without_mocked_findpython: None) -> None: function test_find_all_with_poetry_managed (line 26) | def test_find_all_with_poetry_managed( function test_find_poetry_managed_pythons_none (line 38) | def test_find_poetry_managed_pythons_none() -> None: function test_find_poetry_managed_pythons (line 42) | def test_find_poetry_managed_pythons( function test_find_all_versions (line 70) | def test_find_all_versions( function test_find_downloadable_versions (line 90) | def test_find_downloadable_versions(constraint: str | None) -> None: function find_downloadable_versions_include_incompatible (line 111) | def find_downloadable_versions_include_incompatible() -> None: function test_get_by_name_version (line 125) | def test_get_by_name_version( function test_get_by_name_python (line 139) | def test_get_by_name_python(without_mocked_findpython: None) -> None: function test_get_by_name_path (line 146) | def test_get_by_name_path(without_mocked_findpython: None) -> None: FILE: tests/utils/env/python/test_python_installer.py function mock_get_download_link (line 26) | def mock_get_download_link(mocker: MockerFixture) -> MagicMock: function test_python_installer_version (line 33) | def test_python_installer_version() -> None: function test_python_installer_version_not_found (line 38) | def test_python_installer_version_not_found(mock_get_download_link: Magi... function test_python_installer_exists (line 45) | def test_python_installer_exists(mocker: MockerFixture) -> None: function test_python_installer_does_not_exist (line 60) | def test_python_installer_does_not_exist(mocker: MockerFixture) -> None: function test_python_installer_exists_with_bad_executables (line 68) | def test_python_installer_exists_with_bad_executables(mocker: MockerFixt... function test_python_installer_exists_implementation (line 103) | def test_python_installer_exists_implementation( function test_python_installer_exists_free_threaded (line 130) | def test_python_installer_exists_free_threaded( function test_python_installer_install (line 147) | def test_python_installer_install(mocker: MockerFixture) -> None: function test_python_installer_install_error (line 164) | def test_python_installer_install_error(mocker: MockerFixture) -> None: FILE: tests/utils/env/python/test_python_providers.py function test_shutil_which_python_provider (line 17) | def test_shutil_which_python_provider() -> None: function test_poetry_python_path_provider_no_pythons (line 25) | def test_poetry_python_path_provider_no_pythons() -> None: function test_poetry_python_path_provider (line 31) | def test_poetry_python_path_provider( FILE: tests/utils/env/test_env.py class MockVirtualEnv (line 55) | class MockVirtualEnv(VirtualEnv): method __init__ (line 56) | def __init__( method sys_path (line 67) | def sys_path(self) -> list[str]: function test_virtualenvs_with_spaces_in_their_path_work_as_expected (line 74) | def test_virtualenvs_with_spaces_in_their_path_work_as_expected( function test_env_commands_with_spaces_in_their_arg_work_as_expected (line 86) | def test_env_commands_with_spaces_in_their_arg_work_as_expected( function test_env_get_supported_tags_matches_inside_virtualenv (line 97) | def test_env_get_supported_tags_matches_inside_virtualenv( function test_env_get_supported_tags_free_threading (line 123) | def test_env_get_supported_tags_free_threading( function test_env_has_symlinks_on_nix (line 139) | def test_env_has_symlinks_on_nix(tmp_path: Path, tmp_venv: VirtualEnv) -... function test_run_with_keyboard_interrupt (line 143) | def test_run_with_keyboard_interrupt( function test_call_with_keyboard_interrupt (line 152) | def test_call_with_keyboard_interrupt( function test_run_with_called_process_error (line 162) | def test_run_with_called_process_error( function test_call_no_input_with_called_process_error (line 178) | def test_call_no_input_with_called_process_error( function test_check_output_with_called_process_error (line 195) | def test_check_output_with_called_process_error( function test_call_does_not_block_on_full_pipe (line 212) | def test_call_does_not_block_on_full_pipe( function test_run_python_script_called_process_error (line 238) | def test_run_python_script_called_process_error( function test_run_python_script_only_stdout (line 253) | def test_run_python_script_only_stdout(tmp_path: Path, tmp_venv: Virtual... function test_system_env_has_correct_paths (line 261) | def test_system_env_has_correct_paths() -> None: function test_system_env_usersite (line 277) | def test_system_env_usersite(mocker: MockerFixture, enabled: bool) -> None: function test_venv_has_correct_paths (line 285) | def test_venv_has_correct_paths(tmp_venv: VirtualEnv) -> None: function test_env_system_packages (line 300) | def test_env_system_packages( function test_generic_env_system_packages (line 318) | def test_generic_env_system_packages(poetry: Poetry) -> None: function test_env_system_packages_are_relative_to_lib (line 325) | def test_env_system_packages_are_relative_to_lib( function test_env_no_pip (line 368) | def test_env_no_pip( function test_env_finds_the_correct_executables (line 385) | def test_env_finds_the_correct_executables(tmp_path: Path, manager: EnvM... function test_env_finds_the_correct_executables_for_generic_env (line 415) | def test_env_finds_the_correct_executables_for_generic_env( function test_env_finds_fallback_executables_for_generic_env (line 439) | def test_env_finds_fallback_executables_for_generic_env( function extended_without_setup_poetry (line 481) | def extended_without_setup_poetry( function test_build_environment_called_build_script_specified (line 488) | def test_build_environment_called_build_script_specified( function test_build_environment_not_called_without_build_script_specified (line 506) | def test_build_environment_not_called_without_build_script_specified( function test_command_from_bin_preserves_relative_path (line 521) | def test_command_from_bin_preserves_relative_path(manager: EnvManager) -... function system_env_read_only (line 529) | def system_env_read_only(system_env: SystemEnv, mocker: MockerFixture) -... function test_env_scheme_dict_returns_original_when_writable (line 544) | def test_env_scheme_dict_returns_original_when_writable(system_env: Syst... function test_env_scheme_dict_returns_modified_when_read_only (line 548) | def test_env_scheme_dict_returns_modified_when_read_only( function test_marker_env_is_equal_for_all_envs (line 562) | def test_marker_env_is_equal_for_all_envs(tmp_path: Path, manager: EnvMa... FILE: tests/utils/env/test_env_manager.py function build_venv (line 47) | def build_venv(path: Path | str, **__: Any) -> None: function check_output_wrapper (line 51) | def check_output_wrapper( function in_project_venv_dir (line 84) | def in_project_venv_dir(poetry: Poetry) -> Iterator[Path]: function test_envs_file_remove_section (line 104) | def test_envs_file_remove_section( function test_activate_in_project_venv_no_explicit_config (line 129) | def test_activate_in_project_venv_no_explicit_config( function test_activate_activates_non_existing_virtualenv_no_envs_file (line 161) | def test_activate_activates_non_existing_virtualenv_no_envs_file( function test_activate_fails_when_python_cannot_be_found (line 199) | def test_activate_fails_when_python_cannot_be_found( function test_activate_activates_existing_virtualenv_no_envs_file (line 224) | def test_activate_activates_existing_virtualenv_no_envs_file( function test_activate_activates_same_virtualenv_with_envs_file (line 257) | def test_activate_activates_same_virtualenv_with_envs_file( function test_activate_activates_different_virtualenv_with_envs_file (line 294) | def test_activate_activates_different_virtualenv_with_envs_file( function test_activate_activates_recreates_for_different_patch (line 339) | def test_activate_activates_recreates_for_different_patch( function test_activate_does_not_recreate_when_switching_minor (line 389) | def test_activate_does_not_recreate_when_switching_minor( function test_activate_with_in_project_setting_does_not_fail_if_no_venvs_dir (line 436) | def test_activate_with_in_project_setting_does_not_fail_if_no_venvs_dir( function test_deactivate_non_activated_but_existing (line 473) | def test_deactivate_non_activated_but_existing( function test_deactivate_activated (line 495) | def test_deactivate_activated( function test_get_venv_with_venv_folder_present (line 537) | def test_get_venv_with_venv_folder_present( function test_get_prefers_explicitly_activated_virtualenvs_over_env_var (line 551) | def test_get_prefers_explicitly_activated_virtualenvs_over_env_var( function test_list (line 580) | def test_list( function test_remove_by_python_version (line 599) | def test_remove_by_python_version( function test_remove_by_name (line 624) | def test_remove_by_name( function test_remove_by_string_with_python_and_version (line 649) | def test_remove_by_string_with_python_and_version( function test_remove_by_full_path_to_python (line 674) | def test_remove_by_full_path_to_python( function test_remove_raises_if_acting_on_different_project_by_full_path (line 701) | def test_remove_raises_if_acting_on_different_project_by_full_path( function test_remove_raises_if_acting_on_different_project_by_name (line 728) | def test_remove_raises_if_acting_on_different_project_by_name( function test_raises_when_passing_old_env_after_dir_rename (line 754) | def test_raises_when_passing_old_env_after_dir_rename( function test_remove_also_deactivates (line 782) | def test_remove_also_deactivates( function test_remove_keeps_dir_if_not_deleteable (line 815) | def test_remove_keeps_dir_if_not_deleteable( function test_create_venv_tries_to_find_a_compatible_python_executable_using_generic_ones_first (line 868) | def test_create_venv_tries_to_find_a_compatible_python_executable_using_... function test_create_venv_finds_no_python_executable (line 901) | def test_create_venv_finds_no_python_executable( function test_create_venv_tries_to_find_a_compatible_python_executable_using_specific_ones (line 925) | def test_create_venv_tries_to_find_a_compatible_python_executable_using_... function test_create_venv_fails_if_no_compatible_python_version_could_be_found (line 964) | def test_create_venv_fails_if_no_compatible_python_version_could_be_found( function test_create_venv_does_not_try_to_find_compatible_versions_with_executable (line 995) | def test_create_venv_does_not_try_to_find_compatible_versions_with_execu... function test_create_venv_uses_patch_version_to_detect_compatibility (line 1026) | def test_create_venv_uses_patch_version_to_detect_compatibility( function test_create_venv_uses_patch_version_to_detect_compatibility_with_executable (line 1067) | def test_create_venv_uses_patch_version_to_detect_compatibility_with_exe... function test_create_venv_fails_if_current_python_version_is_not_supported (line 1102) | def test_create_venv_fails_if_current_python_version_is_not_supported( function test_create_venv_project_name_empty_sets_correct_prompt (line 1130) | def test_create_venv_project_name_empty_sets_correct_prompt( function test_create_venv_accepts_fallback_version_w_nonzero_patchlevel (line 1171) | def test_create_venv_accepts_fallback_version_w_nonzero_patchlevel( function test_create_venv_does_not_keep_inconsistent_envs_entry (line 1218) | def test_create_venv_does_not_keep_inconsistent_envs_entry( function test_build_venv_does_not_change_loglevel (line 1259) | def test_build_venv_does_not_change_loglevel( function test_venv_backup_exclusion (line 1270) | def test_venv_backup_exclusion(tmp_path: Path, manager: EnvManager) -> N... function test_generate_env_name_ignores_case_for_case_insensitive_fs (line 1290) | def test_generate_env_name_ignores_case_for_case_insensitive_fs( function test_generate_env_name_uses_real_path (line 1302) | def test_generate_env_name_uses_real_path( function test_create_venv_invalid_prompt_template_variable (line 1311) | def test_create_venv_invalid_prompt_template_variable( function test_create_venv_malformed_prompt_template (line 1325) | def test_create_venv_malformed_prompt_template( FILE: tests/utils/env/test_env_site_packages.py function test_env_site_simple (line 15) | def test_env_site_simple(tmp_path: Path, mocker: MockerFixture) -> None: function test_env_site_select_first (line 33) | def test_env_site_select_first(tmp_path: Path) -> None: FILE: tests/utils/env/test_system_env.py function test_get_marker_env_untagged_cpython (line 15) | def test_get_marker_env_untagged_cpython(mocker: MockerFixture) -> None: FILE: tests/utils/test_authenticator.py function mock_remote (line 36) | def mock_remote(http: responses.RequestsMock) -> None: function repo (line 44) | def repo() -> dict[str, dict[str, str]]: function mock_config (line 49) | def mock_config(config: Config, repo: dict[str, dict[str, str]]) -> Config: function test_authenticator_uses_url_provided_credentials (line 60) | def test_authenticator_uses_url_provided_credentials( function test_authenticator_uses_credentials_from_config_if_not_provided (line 71) | def test_authenticator_uses_credentials_from_config_if_not_provided( function test_authenticator_uses_username_only_credentials (line 82) | def test_authenticator_uses_username_only_credentials( function test_authenticator_ignores_locked_keyring (line 96) | def test_authenticator_ignores_locked_keyring( function test_authenticator_ignores_failing_keyring (line 116) | def test_authenticator_ignores_failing_keyring( function test_authenticator_uses_password_only_credentials (line 137) | def test_authenticator_uses_password_only_credentials( function test_authenticator_uses_empty_strings_as_default_password (line 148) | def test_authenticator_uses_empty_strings_as_default_password( function test_authenticator_does_not_ignore_empty_strings_as_default_username (line 170) | def test_authenticator_does_not_ignore_empty_strings_as_default_username( function test_authenticator_falls_back_to_keyring_url (line 191) | def test_authenticator_falls_back_to_keyring_url( function test_authenticator_falls_back_to_keyring_netloc (line 218) | def test_authenticator_falls_back_to_keyring_netloc( function test_authenticator_request_retries_on_exception (line 247) | def test_authenticator_request_retries_on_exception( function test_authenticator_request_raises_exception_when_attempts_exhausted (line 271) | def test_authenticator_request_raises_exception_when_attempts_exhausted( function test_authenticator_request_respects_retry_header (line 290) | def test_authenticator_request_respects_retry_header( function test_authenticator_request_retries_on_status_code (line 331) | def test_authenticator_request_retries_on_status_code( function test_authenticator_uses_env_provided_credentials (line 358) | def test_authenticator_uses_env_provided_credentials( function test_authenticator_uses_certs_from_config_if_not_provided (line 389) | def test_authenticator_uses_certs_from_config_if_not_provided( function test_authenticator_uses_credentials_from_config_matched_by_url_path (line 425) | def test_authenticator_uses_credentials_from_config_matched_by_url_path( function test_authenticator_uses_credentials_from_config_with_at_sign_in_path (line 458) | def test_authenticator_uses_credentials_from_config_with_at_sign_in_path( function test_authenticator_falls_back_to_keyring_url_matched_by_path (line 480) | def test_authenticator_falls_back_to_keyring_url_matched_by_path( function test_authenticator_uses_env_provided_credentials_matched_by_url_path (line 520) | def test_authenticator_uses_env_provided_credentials_matched_by_url_path( function test_authenticator_azure_feed_guid_credentials (line 556) | def test_authenticator_azure_feed_guid_credentials( function test_authenticator_add_repository (line 601) | def test_authenticator_add_repository( function test_authenticator_git_repositories (line 637) | def test_authenticator_git_repositories( function test_repository_certificate_configuration_create (line 706) | def test_repository_certificate_configuration_create( FILE: tests/utils/test_cache.py function repository_cache_dir (line 34) | def repository_cache_dir(config: Config) -> Path: function poetry_file_cache (line 39) | def poetry_file_cache(repository_cache_dir: Path) -> FileCache[Any]: function test_cache_validates (line 43) | def test_cache_validates(repository_cache_dir: Path) -> None: function test_cache_get_put_has (line 49) | def test_cache_get_put_has(repository_cache_dir: Path) -> None: function test_cache_forget (line 61) | def test_cache_forget(repository_cache_dir: Path) -> None: function test_cache_flush (line 75) | def test_cache_flush(repository_cache_dir: Path) -> None: function test_cache_remember (line 89) | def test_cache_remember(repository_cache_dir: Path, mocker: MockerFixtur... function test_cache_get_limited_minutes (line 101) | def test_cache_get_limited_minutes( function test_missing_cache_file (line 121) | def test_missing_cache_file(poetry_file_cache: FileCache[Any]) -> None: function test_missing_cache_path (line 134) | def test_missing_cache_path(poetry_file_cache: FileCache[Any]) -> None: function test_detect_corrupted_cache_key_file (line 157) | def test_detect_corrupted_cache_key_file( function test_get_cache_directory_for_link (line 180) | def test_get_cache_directory_for_link(tmp_path: Path) -> None: function test_get_cache_directory_for_git (line 195) | def test_get_cache_directory_for_git(tmp_path: Path, subdirectory: str |... function test_get_cached_archives (line 215) | def test_get_cached_archives(fixture_dir: FixtureDirGetter) -> None: function test_get_not_found_cached_archive_for_link (line 246) | def test_get_not_found_cached_archive_for_link( function test_get_found_cached_archive_for_link (line 298) | def test_get_found_cached_archive_for_link( function test_get_cached_archive_for_link_no_race_condition (line 330) | def test_get_cached_archive_for_link_no_race_condition( function test_get_cached_archive_for_git (line 365) | def test_get_cached_archive_for_git() -> None: FILE: tests/utils/test_dependency_specification.py function test_parse_dependency_specification (line 163) | def test_parse_dependency_specification( FILE: tests/utils/test_extras.py function test_get_extra_package_names (line 66) | def test_get_extra_package_names( FILE: tests/utils/test_helpers.py function test_parse_requires (line 32) | def test_parse_requires() -> None: function test_default_hash (line 88) | def test_default_hash(fixture_dir: FixtureDirGetter) -> None: function test_guaranteed_hash (line 133) | def test_guaranteed_hash( function test_download_file (line 140) | def test_download_file( function test_download_file_recover_from_error (line 155) | def test_download_file_recover_from_error( function test_download_file_fail_when_no_range (line 188) | def test_download_file_fail_when_no_range( function test_download_file_fail_when_first_chunk_failed (line 206) | def test_download_file_fail_when_first_chunk_failed( function test_highest_priority_hash_type (line 236) | def test_highest_priority_hash_type(hash_types: set[str], expected: str ... function test_download_file_raise_accepts_ranges (line 242) | def test_download_file_raise_accepts_ranges( function test_downloader_uses_authenticator_by_default (line 271) | def test_downloader_uses_authenticator_by_default( function test_ensure_path_converts_string (line 302) | def test_ensure_path_converts_string(tmp_path: Path) -> None: function test_ensure_path_does_not_convert_path (line 307) | def test_ensure_path_does_not_convert_path(tmp_path: Path) -> None: function test_ensure_path_is_directory_parameter (line 317) | def test_ensure_path_is_directory_parameter(tmp_path: Path) -> None: function test_ensure_path_file (line 324) | def test_ensure_path_file(tmp_path: Path) -> None: function test_ensure_path_directory (line 335) | def test_ensure_path_directory(tmp_path: Path) -> None: FILE: tests/utils/test_isolated_build.py function pool (line 37) | def pool(pypi_repository: PyPiRepository) -> RepositoryPool: function setup (line 46) | def setup(mocker: MockerFixture, pool: RepositoryPool) -> None: function test_isolated_env_install_success (line 50) | def test_isolated_env_install_success(pool: RepositoryPool) -> None: function test_isolated_env_install_with_constraints_success (line 63) | def test_isolated_env_install_with_constraints_success(pool: RepositoryP... function test_isolated_env_install_discards_requirements_not_needed_by_env (line 83) | def test_isolated_env_install_discards_requirements_not_needed_by_env( function test_isolated_env_install_error (line 122) | def test_isolated_env_install_error( function test_isolated_env_install_with_constraints_error (line 142) | def test_isolated_env_install_with_constraints_error( function test_isolated_env_install_failure (line 160) | def test_isolated_env_install_failure( function test_isolated_builder_outside_poetry_project_context (line 171) | def test_isolated_builder_outside_poetry_project_context( FILE: tests/utils/test_log_utils.py function test_format_build_wheel_log (line 9) | def test_format_build_wheel_log() -> None: FILE: tests/utils/test_password_manager.py function test_set_http_password (line 25) | def test_set_http_password( function test_get_http_auth (line 49) | def test_get_http_auth( function test_delete_http_password (line 73) | def test_delete_http_password( function test_set_pypi_token (line 87) | def test_set_pypi_token( function test_get_pypi_token (line 100) | def test_get_pypi_token( function test_delete_pypi_token (line 110) | def test_delete_pypi_token( function test_set_http_password_with_unavailable_backend (line 122) | def test_set_http_password_with_unavailable_backend( function test_get_http_auth_with_unavailable_backend (line 144) | def test_get_http_auth_with_unavailable_backend( function test_delete_http_password_with_unavailable_backend (line 167) | def test_delete_http_password_with_unavailable_backend( function test_set_pypi_token_with_unavailable_backend (line 181) | def test_set_pypi_token_with_unavailable_backend( function test_get_pypi_token_with_unavailable_backend (line 192) | def test_get_pypi_token_with_unavailable_backend( function test_delete_pypi_token_with_unavailable_backend (line 202) | def test_delete_pypi_token_with_unavailable_backend( function test_keyring_raises_errors_on_keyring_errors (line 214) | def test_keyring_raises_errors_on_keyring_errors( function test_keyring_returns_none_on_locked_keyring (line 230) | def test_keyring_returns_none_on_locked_keyring( function test_keyring_returns_none_on_erroneous_keyring (line 243) | def test_keyring_returns_none_on_erroneous_keyring( function test_keyring_with_chainer_backend_and_fail_keyring_should_be_unavailable (line 256) | def test_keyring_with_chainer_backend_and_fail_keyring_should_be_unavail... function test_keyring_with_chainer_backend_and_null_keyring_should_be_unavailable (line 264) | def test_keyring_with_chainer_backend_and_null_keyring_should_be_unavail... function test_null_keyring_should_be_unavailable (line 272) | def test_null_keyring_should_be_unavailable( function test_fail_keyring_should_be_unavailable (line 280) | def test_fail_keyring_should_be_unavailable( function test_locked_keyring_should_not_be_available (line 288) | def test_locked_keyring_should_not_be_available(with_locked_keyring: Non... function test_erroneous_keyring_should_not_be_available (line 294) | def test_erroneous_keyring_should_not_be_available( function test_get_http_auth_from_environment_variables (line 302) | def test_get_http_auth_from_environment_variables( function test_get_http_auth_does_not_call_keyring_when_credentials_in_environment_variables (line 314) | def test_get_http_auth_does_not_call_keyring_when_credentials_in_environ... function test_get_http_auth_does_not_call_keyring_when_password_in_environment_variables (line 328) | def test_get_http_auth_does_not_call_keyring_when_password_in_environmen... function test_get_pypi_token_with_env_var_positive (line 346) | def test_get_pypi_token_with_env_var_positive( function test_get_pypi_token_with_env_var_not_available (line 363) | def test_get_pypi_token_with_env_var_not_available( function test_disabled_keyring_never_called (line 374) | def test_disabled_keyring_never_called( FILE: tests/utils/test_patterns.py function test_wheel_file_re (line 49) | def test_wheel_file_re(filename: str, expected: dict[str, str | None]) -... function test_sdist_file_re (line 80) | def test_sdist_file_re(filename: str, expected: dict[str, str | None]) -... FILE: tests/utils/test_pip.py function test_pip_install_successful (line 21) | def test_pip_install_successful( function test_pip_install_with_keyboard_interrupt (line 30) | def test_pip_install_with_keyboard_interrupt( FILE: tests/utils/test_python_manager.py function python_version (line 30) | def python_version() -> Version: function test_python_get_version_on_the_fly (line 37) | def test_python_get_version_on_the_fly() -> None: function test_python_get_system_python (line 51) | def test_python_get_system_python() -> None: function test_python_get_preferred_default (line 60) | def test_python_get_preferred_default(config: Config, python_version: Ve... function test_get_preferred_python_use_poetry_python_disabled (line 67) | def test_get_preferred_python_use_poetry_python_disabled( function test_get_preferred_python_use_poetry_python_disabled_fallback (line 88) | def test_get_preferred_python_use_poetry_python_disabled_fallback( function test_fallback_on_detect_active_python (line 98) | def test_fallback_on_detect_active_python(with_no_active_python: MagicMo... function test_detect_active_python_with_bat (line 105) | def test_detect_active_python_with_bat( function test_python_find_compatible (line 130) | def test_python_find_compatible( FILE: tests/utils/test_threading.py class Example (line 31) | class Example: method __init__ (line 32) | def __init__(self, value: int = 0, name: str = "default") -> None: method compute_value (line 37) | def compute_value(cls, name: str, ts: float) -> int: method _compute_value (line 43) | def _compute_value(self) -> int: method value_functools_cached_property (line 49) | def value_functools_cached_property(self) -> int: method value_functools_cache (line 54) | def value_functools_cache(self) -> int: method value_atomic_cached_property (line 58) | def value_atomic_cached_property(self) -> int: function capture_logging (line 63) | def capture_logging(caplog: LogCaptureFixture) -> Generator[None]: function test_threading_property_types (line 68) | def test_threading_property_types() -> None: function test_threading_single_thread_safe (line 76) | def test_threading_single_thread_safe() -> None: function run_in_threads (line 85) | def run_in_threads(instance: Example, property_name: str) -> None: function test_threading_property_caching (line 108) | def test_threading_property_caching( function test_threading_atomic_cached_property_different_instances (line 128) | def test_threading_atomic_cached_property_different_instances( FILE: tests/vcs/git/conftest.py function temp_repo (line 16) | def temp_repo(tmp_path: Path) -> TempRepoFixture: FILE: tests/vcs/git/git_fixture.py class TempRepoFixture (line 12) | class TempRepoFixture(typing.NamedTuple): FILE: tests/vcs/git/test_backend.py function repo_mock (line 40) | def repo_mock(mocker: MockerFixture) -> Repo: function fetch_pack_result (line 57) | def fetch_pack_result(mocker: MockerFixture) -> FetchPackResult: function test_invalid_revision_sha (line 71) | def test_invalid_revision_sha() -> None: function test_valid_revision_sha (line 76) | def test_valid_revision_sha() -> None: function test_invalid_revision_sha_min_len (line 81) | def test_invalid_revision_sha_min_len() -> None: function test_invalid_revision_sha_max_len (line 86) | def test_invalid_revision_sha_max_len() -> None: function test_get_name_from_source_url (line 100) | def test_get_name_from_source_url(url: str) -> None: function test_peeled_tag (line 106) | def test_peeled_tag(tag: str | bytes) -> None: function test_get_remote_url (line 111) | def test_get_remote_url(repo_mock: Repo) -> None: function test_get_revision (line 117) | def test_get_revision(repo_mock: Repo) -> None: function test_info (line 121) | def test_info(repo_mock: Repo) -> None: function test_urlpathjoin (line 137) | def test_urlpathjoin(url: str, expected_result: str) -> None: function test_git_refspec (line 143) | def test_git_refspec() -> None: function test_git_ref_spec_resolve (line 223) | def test_git_ref_spec_resolve( function test_clone_success (line 241) | def test_clone_success(tmp_path: Path, temp_repo: TempRepoFixture) -> None: function test_short_sha_not_in_head (line 252) | def test_short_sha_not_in_head(tmp_path: Path, temp_repo: TempRepoFixtur... function test_clone_existing_locked_tag (line 266) | def test_clone_existing_locked_tag(tmp_path: Path, temp_repo: TempRepoFi... function test_clone_annotated_tag (line 298) | def test_clone_annotated_tag(tmp_path: Path) -> None: function test_clone_nested_annotated_tags (line 358) | def test_clone_nested_annotated_tags(tmp_path: Path) -> None: FILE: tests/vcs/git/test_system.py function get_head_sha (line 21) | def get_head_sha(cwd: Path) -> str: class TestSystemGit (line 31) | class TestSystemGit: method test_clone_success (line 32) | def test_clone_success(self, tmp_path: Path, temp_repo: TempRepoFixtur... method test_clone_invalid_parameter (line 37) | def test_clone_invalid_parameter(self, tmp_path: Path) -> None: method test_checkout_1 (line 43) | def test_checkout_1(self, temp_repo: TempRepoFixture) -> None: method test_checkout_2 (line 48) | def test_checkout_2(