From 3ec0350a77ba061478df3eeea7e402d866dd4653 Mon Sep 17 00:00:00 2001 From: Dustin Sale Date: Thu, 16 Jul 2026 11:37:37 -0500 Subject: [PATCH] initial oci-mcp-common library with auth module --- src/oci-mcp-common/README.md | 212 ++++++++ src/oci-mcp-common/oci_mcp_common/__init__.py | 22 + src/oci-mcp-common/oci_mcp_common/auth.py | 427 ++++++++++++++++ .../oci_mcp_common/tests/test_auth.py | 477 ++++++++++++++++++ src/oci-mcp-common/pyproject.toml | 48 ++ src/oci-mcp-common/uv.lock | 429 ++++++++++++++++ 6 files changed, 1615 insertions(+) create mode 100644 src/oci-mcp-common/README.md create mode 100644 src/oci-mcp-common/oci_mcp_common/__init__.py create mode 100644 src/oci-mcp-common/oci_mcp_common/auth.py create mode 100644 src/oci-mcp-common/oci_mcp_common/tests/test_auth.py create mode 100644 src/oci-mcp-common/pyproject.toml create mode 100644 src/oci-mcp-common/uv.lock diff --git a/src/oci-mcp-common/README.md b/src/oci-mcp-common/README.md new file mode 100644 index 00000000..341b8017 --- /dev/null +++ b/src/oci-mcp-common/README.md @@ -0,0 +1,212 @@ +# OCI MCP Common + +`oci-mcp-common` resolves outbound authentication for OCI Python SDK clients +used by Oracle MCP servers. It chooses a supported authentication type and +returns the SDK-native ingredients needed to create a service client. + +The library owns credential resolution only. Each server continues to own its +OCI client type, retry and circuit-breaker policy, `additional_user_agent`, and +client lifecycle. + +## Requirements + +- Python 3.13 or later +- OCI Python SDK 2.179.0 or later + +An adopting server normally declares a bounded dependency on this package: + +```toml +dependencies = [ + "oci-mcp-common>=0.1.0,<0.2.0", +] +``` + +## Quick start + +Set up OCI credentials for the authentication type you intend to use, then +build a context and pass its config and signer to the OCI SDK client. + +```python +import oci + +from oci_mcp_common import build_auth_context + +auth_context = build_auth_context() +config = { + **auth_context.config, + "additional_user_agent": "oci-example-mcp/1.2.3", +} +client = oci.object_storage.ObjectStorageClient(config, signer=auth_context.signer) +``` + +The returned `AuthContext` contains: + +| Field | Meaning | +| --- | --- | +| `auth_type` | The selected `AuthType`; `auto` is resolved to `api_key` or `security_token`. | +| `config` | An OCI SDK config dictionary. It contains the resolved `region` when one is available. | +| `signer` | The OCI SDK signer to pass to a client constructor. | +| `tenancy_id` | Tenancy metadata when the selected signer or profile supplies it. | +| `region` | The resolved client region, if available. | +| `profile_name` | The selected profile for profile-backed authentication; otherwise `None`. | + +## Select an authentication type + +Set `OCI_MCP_AUTH_TYPE`, or pass `AuthOptions(auth_type=...)` to +`build_auth_context()`. The supported values are: + +| Type | Credential source | Notes | +| --- | --- | --- | +| `auto` | Selected OCI config profile | Uses `security_token` only if the selected profile directly declares `security_token_file`; otherwise uses `api_key`. | +| `api_key` | Selected OCI config profile | Requires `tenancy`, `user`, `fingerprint`, and `key_file`. The library logs a one-time recommendation to use session-token authentication. | +| `security_token` | Selected OCI config profile | Requires `security_token_file` directly in the selected profile, plus the API-key fields required to construct its signer. | +| `identity_domain_upst` | Identity Domains JWT-to-UPST token exchange | Uses file-backed JWT and client-secret inputs. See [Identity Domains token exchange](#identity-domains-token-exchange). | +| `instance_principal` | OCI instance principal | Intended for OCI compute instances. | +| `resource_principal` | OCI resource principal | Intended for supported OCI managed-resource environments. | +| `instance_principal_delegation` | Instance principal and delegation token | Requires a delegation-token file. | +| `resource_principal_delegation` | Resource principal and delegation token | Requires a delegation-token file. | +| `oke_workload_identity` | OKE workload identity | Uses the OCI SDK's default service-account token unless an override is supplied. | + +`auto` intentionally does not probe instance, resource, delegation, or OKE +principal environments. Select those types explicitly so a deployment's OCI +identity remains predictable. + +## Configuration precedence + +An explicit non-empty `AuthOptions` value wins over its canonical environment +variable. Empty strings are treated as unset. + +| Setting | Precedence, highest first | +| --- | --- | +| Authentication type | `AuthOptions.auth_type` → `OCI_MCP_AUTH_TYPE` → supported legacy aliases → `auto` | +| Config file | `AuthOptions.config_file` → `OCI_CONFIG_FILE` → OCI SDK default location | +| Profile | `AuthOptions.profile_name` → `OCI_CONFIG_PROFILE` → `ORACLE_MCP_AUTH_PROFILE` → OCI SDK default profile | +| Region | `AuthOptions.region` → `OCI_REGION` → profile- or signer-derived region | +| Other type-specific inputs | Their matching `AuthOptions` field → canonical `OCI_MCP_*` variable → documented legacy alias, if one exists | + +`OCI_REGION` changes the region used for the returned SDK client config. It +does not change the selected profile, tenancy, signing key, or principal +credential source. + +### Profile-backed authentication + +`auto`, `api_key`, and `security_token` honor the usual OCI CLI-compatible +variables: `OCI_CONFIG_FILE` and `OCI_CONFIG_PROFILE`. + +For safety, `security_token_file` must be declared in the selected profile's +own section. A value inherited from `[DEFAULT]` is not treated as a session +token for another profile. This prevents an inherited setting from silently +changing the OCI principal used by a named API-key profile. + +Once a selected profile directly declares a session token, the library reports +an unreadable token or incomplete session configuration instead of falling +back to API-key authentication. + +## Type-specific inputs + +| Authentication type | Required inputs | Optional inputs | +| --- | --- | --- | +| `identity_domain_upst` | `OCI_MCP_IDENTITY_DOMAIN_URL`, `OCI_MCP_UPST_JWT_FILE`, `OCI_MCP_IDENTITY_DOMAIN_CLIENT_ID`, `OCI_MCP_IDENTITY_DOMAIN_CLIENT_SECRET_FILE`, and a region | Explicit `AuthOptions` equivalents | +| `*_delegation` | `OCI_MCP_DELEGATION_TOKEN_FILE` | Deprecated `OCI_MCP_DELEGATION_TOKEN` compatibility input | +| `oke_workload_identity` | None | `OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH`; deprecated inline-token compatibility input | +| Principal types | None | `OCI_MCP_TENANCY_ID_OVERRIDE` when signer metadata does not provide a tenancy ID | + +All file-backed secret values are read as UTF-8 and surrounding whitespace is +trimmed. The library reports the variable name when a value is absent, +unreadable, or empty, without including secret contents in the error. + +## Identity Domains token exchange + +Use `identity_domain_upst` when a file-backed Identity Domains service-bearer +JWT must be exchanged for an OCI User Principal Security Token (UPST). + +```bash +export OCI_MCP_AUTH_TYPE=identity_domain_upst +export OCI_MCP_IDENTITY_DOMAIN_URL=https://example.identity.oraclecloud.com +export OCI_MCP_UPST_JWT_FILE=/var/run/secrets/identity/jwt +export OCI_MCP_IDENTITY_DOMAIN_CLIENT_ID=example-client-id +export OCI_MCP_IDENTITY_DOMAIN_CLIENT_SECRET_FILE=/var/run/secrets/identity/client-secret +export OCI_REGION=us-chicago-1 +``` + +The URL must be an absolute `https://` URL with a host. The Identity Domain +must have an Identity Propagation Trust that accepts the JWT and an OAuth client +authorized for token exchange. + +The JWT file is read again when the OCI SDK refreshes the UPST, so a rotated JWT +at the same path can be observed by an existing signer. The client secret is +read when the signer is created; rotating that secret requires a controlled +process restart that recreates the signer and every cached OCI client. A +replacement process should complete an initial token exchange before it accepts +traffic. + +This outbound token-exchange type is independent of inbound HTTP MCP OAuth. +It does not read request access tokens or FastMCP transport configuration. + +## Delegation and OKE token inputs + +For delegation types, use a mounted file: + +```bash +export OCI_MCP_AUTH_TYPE=instance_principal_delegation +export OCI_MCP_DELEGATION_TOKEN_FILE=/var/run/secrets/oci/delegation-token +``` + +Do not set both the file and inline token inputs. Inline delegation tokens are +compatibility-only because environment variables are more easily exposed in +process inspection and diagnostics. + +For OKE workload identity, the default OCI SDK token discovery needs no +configuration. To use a non-default mounted token, set +`OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH`. Do not set both the path and the +deprecated inline token input. + +## Compatibility aliases + +Canonical `OCI_MCP_*` inputs take precedence. The following aliases are +accepted only during the migration window and emit a one-time deprecation +warning when used: + +| Canonical input | Supported legacy aliases | +| --- | --- | +| `OCI_MCP_AUTH_TYPE` | `OCI_IOT_AUTH_TYPE`, `OCI_AUTH_TYPE`, `ORACLE_MCP_AUTH_METHOD` | +| `OCI_CONFIG_PROFILE` | `ORACLE_MCP_AUTH_PROFILE` | +| `OCI_MCP_DELEGATION_TOKEN_FILE` | `OCI_IOT_DELEGATION_TOKEN` (inline token) | +| `OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH` | `OCI_IOT_OKE_SERVICE_ACCOUNT_TOKEN_PATH` | +| Deprecated OKE inline token | `OCI_IOT_OKE_SERVICE_ACCOUNT_TOKEN` | +| `OCI_MCP_TENANCY_ID_OVERRIDE` | `OCI_IOT_TENANCY_ID_OVERRIDE`, `TENANCY_ID_OVERRIDE` | + +The compatibility window begins with version 0.1.0 and ends no earlier than the +later of 180 days or two published adopter-server release waves. Removals are +planned no earlier than version 0.2.0. + +## Public API + +```python +from oci_mcp_common import ( + AuthContext, + AuthOptions, + AuthType, + build_auth_context, + profile_declares_security_token, +) +``` + +Use `profile_declares_security_token(config_file, profile_name)` when a caller +needs the same inheritance-safe classification without constructing an OCI SDK +signer. For example, an OCI CLI wrapper can use it to decide whether an +explicit `--auth` flag is appropriate. + +## Development + +From the repository root, run the package test suite with: + +```bash +make test project=oci-mcp-common +``` + +Run the repository Python lint check after source changes: + +```bash +make lint +``` diff --git a/src/oci-mcp-common/oci_mcp_common/__init__.py b/src/oci-mcp-common/oci_mcp_common/__init__.py new file mode 100644 index 00000000..732f5f3c --- /dev/null +++ b/src/oci-mcp-common/oci_mcp_common/__init__.py @@ -0,0 +1,22 @@ +""" +Copyright (c) 2026, Oracle and/or its affiliates. +Licensed under the Universal Permissive License v1.0 as shown at +https://oss.oracle.com/licenses/upl. +""" + +from .auth import ( + AuthContext, + AuthType, + AuthOptions, + build_auth_context, + profile_declares_security_token, +) + +__all__ = [ + "AuthContext", + "AuthType", + "AuthOptions", + "build_auth_context", + "profile_declares_security_token", +] +__version__ = "0.1.0" diff --git a/src/oci-mcp-common/oci_mcp_common/auth.py b/src/oci-mcp-common/oci_mcp_common/auth.py new file mode 100644 index 00000000..a6c1d68f --- /dev/null +++ b/src/oci-mcp-common/oci_mcp_common/auth.py @@ -0,0 +1,427 @@ +""" +Copyright (c) 2026, Oracle and/or its affiliates. +Licensed under the Universal Permissive License v1.0 as shown at +https://oss.oracle.com/licenses/upl. +""" + +from __future__ import annotations + +import configparser +import logging +import os +from dataclasses import dataclass +from enum import StrEnum +from pathlib import Path +from typing import Any +from urllib.parse import urlparse + +import oci + +LOGGER = logging.getLogger(__name__) +SESSION_AUTH_GUIDANCE = "Run `oci session authenticate` to use session-token authentication." +COMPATIBILITY_WINDOW = ( + "Compatibility is available from 0.1.0 until the later of 180 days or two " + "published adopter-server release waves; removal is no earlier than 0.2.0." +) + + +class AuthType(StrEnum): + """Supported OCI SDK credential resolution modes.""" + + AUTO = "auto" + API_KEY = "api_key" + SECURITY_TOKEN = "security_token" + IDENTITY_DOMAIN_UPST = "identity_domain_upst" + INSTANCE_PRINCIPAL = "instance_principal" + RESOURCE_PRINCIPAL = "resource_principal" + INSTANCE_PRINCIPAL_DELEGATION = "instance_principal_delegation" + RESOURCE_PRINCIPAL_DELEGATION = "resource_principal_delegation" + OKE_WORKLOAD_IDENTITY = "oke_workload_identity" + + +PROFILE_AUTH_TYPES = {AuthType.AUTO, AuthType.API_KEY, AuthType.SECURITY_TOKEN} + + +@dataclass(frozen=True) +class AuthOptions: + """Explicit resolver inputs. Non-empty values override environment variables.""" + + auth_type: AuthType | str | None = None + config_file: str | None = None + profile_name: str | None = None + region: str | None = None + identity_domain_url: str | None = None + upst_jwt_file: str | None = None + identity_domain_client_id: str | None = None + identity_domain_client_secret_file: str | None = None + delegation_token_file: str | None = None + delegation_token: str | None = None + oke_service_account_token_path: str | None = None + oke_service_account_token: str | None = None + tenancy_id_override: str | None = None + + +@dataclass(frozen=True) +class AuthContext: + """Native OCI SDK authentication ingredients owned by an adopting server.""" + + auth_type: AuthType + config: dict[str, Any] + signer: Any | None + tenancy_id: str | None + region: str | None + profile_name: str | None + + +@dataclass(frozen=True) +class _ResolvedInputs: + """Normalized resolver inputs after applying option and environment precedence.""" + + auth_type: AuthType + config_file: str + profile_name: str + region: str | None + identity_domain_url: str | None + upst_jwt_file: str | None + identity_domain_client_id: str | None + identity_domain_client_secret_file: str | None + delegation_token_file: str | None + delegation_token: str | None + oke_service_account_token_path: str | None + oke_service_account_token: str | None + tenancy_id_override: str | None + + +def build_auth_context(options: AuthOptions | None = None) -> AuthContext: + """Resolve explicit or configured outbound OCI SDK authentication.""" + inputs = _resolve_inputs(options) + + if inputs.auth_type in PROFILE_AUTH_TYPES: + return _build_profile_context(inputs) + if inputs.auth_type is AuthType.IDENTITY_DOMAIN_UPST: + return _build_token_exchange_context(inputs) + return _build_principal_context(inputs) + + +def resolve_auth_type(options: AuthOptions | None = None) -> AuthType: + """Resolve an auth type with explicit and canonical-value precedence.""" + options = options or AuthOptions() + value = _nonempty(options.auth_type) or _env("OCI_MCP_AUTH_TYPE") + if value is None: + value = _legacy_env("OCI_IOT_AUTH_TYPE", "OCI_AUTH_TYPE", "ORACLE_MCP_AUTH_METHOD") + normalized = _normalize_auth_type(value or AuthType.AUTO.value) + try: + return AuthType(normalized) + except ValueError as error: + supported = ", ".join(auth_type.value for auth_type in AuthType) + raise ValueError(f"Unsupported OCI authentication type. Supported values: {supported}") from error + + +def _resolve_inputs(options: AuthOptions | None) -> _ResolvedInputs: + options = options or AuthOptions() + return _ResolvedInputs( + auth_type=resolve_auth_type(options), + config_file=resolve_config_file(options), + profile_name=resolve_profile_name(options), + region=_resolve_region(options.region), + identity_domain_url=_option_or_env(options.identity_domain_url, "OCI_MCP_IDENTITY_DOMAIN_URL"), + upst_jwt_file=_option_or_env(options.upst_jwt_file, "OCI_MCP_UPST_JWT_FILE"), + identity_domain_client_id=_option_or_env( + options.identity_domain_client_id, "OCI_MCP_IDENTITY_DOMAIN_CLIENT_ID" + ), + identity_domain_client_secret_file=_option_or_env( + options.identity_domain_client_secret_file, "OCI_MCP_IDENTITY_DOMAIN_CLIENT_SECRET_FILE" + ), + delegation_token_file=_option_or_env(options.delegation_token_file, "OCI_MCP_DELEGATION_TOKEN_FILE"), + delegation_token=_option_or_env(options.delegation_token, "OCI_MCP_DELEGATION_TOKEN"), + oke_service_account_token_path=_option_or_env( + options.oke_service_account_token_path, "OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH" + ), + oke_service_account_token=_option_or_env(options.oke_service_account_token, "OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN"), + tenancy_id_override=_option_or_env(options.tenancy_id_override, "OCI_MCP_TENANCY_ID_OVERRIDE"), + ) + + +def resolve_profile_name(options: AuthOptions | None = None) -> str: + """Resolve the OCI SDK profile name without interpreting empty values as profiles.""" + options = options or AuthOptions() + return ( + _nonempty(options.profile_name) + or _env("OCI_CONFIG_PROFILE") + or _legacy_env("ORACLE_MCP_AUTH_PROFILE") + or oci.config.DEFAULT_PROFILE + ) + + +def resolve_config_file(options: AuthOptions | None = None) -> str: + """Resolve the OCI SDK configuration location.""" + options = options or AuthOptions() + return _nonempty(options.config_file) or _env("OCI_CONFIG_FILE") or oci.config.DEFAULT_LOCATION + + +def profile_declares_security_token(config_file: str, profile_name: str) -> bool: + """Classify only the selected profile's raw section, excluding DEFAULT inheritance.""" + parser = configparser.ConfigParser(interpolation=None) + try: + with Path(config_file).expanduser().open(encoding="utf-8") as config: + parser.read_file(config) + except (OSError, configparser.Error) as error: + raise ValueError("Unable to read OCI_CONFIG_FILE for the selected profile") from error + + section = profile_name if profile_name != oci.config.DEFAULT_PROFILE else parser.default_section + if section != parser.default_section and not parser.has_section(section): + raise ValueError("Selected OCI_CONFIG_PROFILE was not found in OCI_CONFIG_FILE") + return _raw_profile_has_option(parser, section, "security_token_file") + + +def _raw_profile_has_option(parser: configparser.ConfigParser, section: str, option: str) -> bool: + """Check a section without ConfigParser's normal DEFAULT-value inheritance.""" + if section == parser.default_section: + return option in parser.defaults() + # ConfigParser's public accessors merge DEFAULT values, which can select the + # wrong OCI principal. _sections is its raw parsed representation. + return option in parser._sections.get(section, {}) + + +def _build_profile_context(inputs: _ResolvedInputs) -> AuthContext: + config = _load_profile(inputs.config_file, inputs.profile_name) + selected_auth_type = inputs.auth_type + direct_session = profile_declares_security_token(inputs.config_file, inputs.profile_name) + + if selected_auth_type is AuthType.AUTO: + selected_auth_type = AuthType.SECURITY_TOKEN if direct_session else AuthType.API_KEY + if selected_auth_type is AuthType.SECURITY_TOKEN and not direct_session: + raise ValueError( + "security_token_file must be declared directly in the selected OCI_CONFIG_PROFILE; " + "declare it in that profile rather than [DEFAULT]." + ) + + if selected_auth_type is AuthType.SECURITY_TOKEN: + signer = _security_token_signer(config) + else: + signer = _api_key_signer(config) + _warn_once("api_key", f"API-key authentication is in use. {SESSION_AUTH_GUIDANCE}") + + region = inputs.region or config.get("region") + if region: + config["region"] = region + return AuthContext(selected_auth_type, config, signer, config.get("tenancy"), region, inputs.profile_name) + + +def _load_profile(config_file: str, profile_name: str) -> dict[str, Any]: + try: + return dict(oci.config.from_file(file_location=config_file, profile_name=profile_name)) + except Exception as error: + raise ValueError("Unable to load the selected OCI profile") from error + + +def _api_key_signer(config: dict[str, Any]) -> Any: + _require_config_fields(config, "API-key authentication", "tenancy", "user", "fingerprint", "key_file") + try: + return oci.signer.Signer( + tenancy=config["tenancy"], + user=config["user"], + fingerprint=config["fingerprint"], + private_key_file_location=config["key_file"], + pass_phrase=config.get("pass_phrase"), + ) + except Exception as error: + raise ValueError("Unable to construct the API-key signer from the selected OCI profile") from error + + +def _security_token_signer(config: dict[str, Any]) -> Any: + _require_config_fields( + config, + "security-token authentication", + "tenancy", + "user", + "fingerprint", + "key_file", + "security_token_file", + ) + token = _read_required_secret_file(config["security_token_file"], "security_token_file") + try: + private_key = oci.signer.load_private_key_from_file(config["key_file"], config.get("pass_phrase")) + return oci.auth.signers.SecurityTokenSigner(token, private_key) + except Exception as error: + raise ValueError("Unable to construct the security-token signer from the selected OCI profile") from error + + +def _build_principal_context(inputs: _ResolvedInputs) -> AuthContext: + try: + if inputs.auth_type is AuthType.INSTANCE_PRINCIPAL: + signer = oci.auth.signers.InstancePrincipalsSecurityTokenSigner() + elif inputs.auth_type is AuthType.RESOURCE_PRINCIPAL: + signer = oci.auth.signers.get_resource_principals_signer() + elif inputs.auth_type is AuthType.INSTANCE_PRINCIPAL_DELEGATION: + signer = oci.auth.signers.InstancePrincipalsDelegationTokenSigner( + delegation_token=_delegation_token(inputs) + ) + elif inputs.auth_type is AuthType.RESOURCE_PRINCIPAL_DELEGATION: + signer = oci.auth.signers.get_resource_principal_delegation_token_signer( + delegation_token=_delegation_token(inputs) + ) + elif inputs.auth_type is AuthType.OKE_WORKLOAD_IDENTITY: + signer = oci.auth.signers.get_oke_workload_identity_resource_principal_signer( + **_oke_signer_kwargs(inputs) + ) + else: + raise AssertionError(f"Unhandled auth type: {inputs.auth_type}") + except ValueError: + raise + except Exception as error: + raise ValueError(f"Unable to construct the {inputs.auth_type.value} signer") from error + + signer_region = getattr(signer, "region", None) + region = inputs.region or signer_region + config: dict[str, Any] = {} + if region: + config["region"] = region + tenancy_id = ( + getattr(signer, "tenancy_id", None) + or inputs.tenancy_id_override + or _legacy_env("OCI_IOT_TENANCY_ID_OVERRIDE", "TENANCY_ID_OVERRIDE") + ) + return AuthContext(inputs.auth_type, config, signer, tenancy_id, region, None) + + +def _build_token_exchange_context(inputs: _ResolvedInputs) -> AuthContext: + url = inputs.identity_domain_url + _validate_identity_domain_url(url) + jwt_file = inputs.upst_jwt_file + client_id = inputs.identity_domain_client_id + secret_file = inputs.identity_domain_client_secret_file + if not client_id: + raise ValueError("OCI_MCP_IDENTITY_DOMAIN_CLIENT_ID is required for identity_domain_upst") + client_secret = _read_required_secret_file(secret_file, "OCI_MCP_IDENTITY_DOMAIN_CLIENT_SECRET_FILE") + _read_required_secret_file(jwt_file, "OCI_MCP_UPST_JWT_FILE") + region = inputs.region + if not region: + raise ValueError("identity_domain_upst requires an explicit region or OCI_REGION") + + def read_jwt() -> str: + return _read_required_secret_file(jwt_file, "OCI_MCP_UPST_JWT_FILE") + + try: + signer = oci.auth.signers.TokenExchangeSigner(read_jwt, url, client_id, client_secret, region=region) + except Exception as error: + raise ValueError("Unable to construct the identity_domain_upst signer") from error + return AuthContext(AuthType.IDENTITY_DOMAIN_UPST, {"region": region}, signer, None, region, None) + + +def _delegation_token(inputs: _ResolvedInputs) -> str: + token_file = inputs.delegation_token_file + inline = inputs.delegation_token + if inline is None: + inline = _legacy_env("OCI_IOT_DELEGATION_TOKEN") + if token_file and inline: + raise ValueError("Set only OCI_MCP_DELEGATION_TOKEN_FILE; inline delegation tokens are deprecated.") + if token_file: + return _read_required_secret_file(token_file, "OCI_MCP_DELEGATION_TOKEN_FILE") + if inline: + _warn_once( + "inline_delegation_token", + "OCI_MCP_DELEGATION_TOKEN is deprecated; use OCI_MCP_DELEGATION_TOKEN_FILE. " + f"{COMPATIBILITY_WINDOW}", + ) + return inline + raise ValueError("OCI_MCP_DELEGATION_TOKEN_FILE is required for delegation authentication") + + +def _oke_signer_kwargs(inputs: _ResolvedInputs) -> dict[str, str]: + token_path = inputs.oke_service_account_token_path + inline = inputs.oke_service_account_token + if token_path is None: + token_path = _legacy_env("OCI_IOT_OKE_SERVICE_ACCOUNT_TOKEN_PATH") + if inline is None: + inline = _legacy_env("OCI_IOT_OKE_SERVICE_ACCOUNT_TOKEN") + if token_path and inline: + raise ValueError("Set only OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH; inline OKE tokens are deprecated.") + if token_path: + return {"service_account_token_path": token_path} + if inline: + _warn_once( + "inline_oke_token", + "OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN is deprecated; use OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH. " + f"{COMPATIBILITY_WINDOW}", + ) + return {"service_account_token": inline} + return {} + + +def _resolve_region(explicit_region: str | None) -> str | None: + return _nonempty(explicit_region) or _env("OCI_REGION") + + +def _validate_identity_domain_url(url: str | None) -> None: + if not url: + raise ValueError("OCI_MCP_IDENTITY_DOMAIN_URL is required for identity_domain_upst") + parsed = urlparse(url) + if parsed.scheme != "https" or not parsed.netloc: + raise ValueError("OCI_MCP_IDENTITY_DOMAIN_URL must be an absolute https:// URL with a host") + + +def _require_config_fields(config: dict[str, Any], description: str, *fields: str) -> None: + missing = [field for field in fields if not _nonempty(config.get(field))] + if missing: + names = ", ".join(missing) + raise ValueError(f"{description} profile is missing required fields: {names}. {SESSION_AUTH_GUIDANCE}") + + +def _read_required_secret_file(path: str | None, variable: str) -> str: + if not path: + raise ValueError(f"{variable} is required") + try: + value = Path(path).expanduser().read_text(encoding="utf-8").strip() + except OSError as error: + raise ValueError(f"Unable to read {variable}") from error + if not value: + raise ValueError(f"{variable} must reference a non-empty file") + return value + + +def _normalize_auth_type(value: str | AuthType) -> str: + normalized = str(value).strip().lower().replace("-", "_") + legacy_mapping = { + "api_key_auth": AuthType.API_KEY.value, + "api_key": AuthType.API_KEY.value, + "security_token": AuthType.SECURITY_TOKEN.value, + "session_token": AuthType.SECURITY_TOKEN.value, + "session": AuthType.SECURITY_TOKEN.value, + } + return legacy_mapping.get(normalized, normalized) + + +def _nonempty(value: Any) -> str | None: + if value is None: + return None + normalized = str(value).strip() + return normalized or None + + +def _env(name: str) -> str | None: + return _nonempty(os.getenv(name)) + + +def _option_or_env(option: str | None, environment_variable: str) -> str | None: + return _nonempty(option) or _env(environment_variable) + + +# Compatibility aliases remain separate from canonical input resolution so they +# can be removed as a bounded migration concern. +def _legacy_env(*names: str) -> str | None: + for name in names: + value = _env(name) + if value: + _warn_once(f"legacy_{name}", f"{name} is deprecated; use the OCI_MCP_* equivalent. {COMPATIBILITY_WINDOW}") + return value + return None + + +_WARNED: set[str] = set() + + +def _warn_once(key: str, message: str) -> None: + if key not in _WARNED: + _WARNED.add(key) + LOGGER.warning(message) diff --git a/src/oci-mcp-common/oci_mcp_common/tests/test_auth.py b/src/oci-mcp-common/oci_mcp_common/tests/test_auth.py new file mode 100644 index 00000000..c7c7cda4 --- /dev/null +++ b/src/oci-mcp-common/oci_mcp_common/tests/test_auth.py @@ -0,0 +1,477 @@ +""" +Copyright (c) 2026, Oracle and/or its affiliates. +Licensed under the Universal Permissive License v1.0 as shown at +https://oss.oracle.com/licenses/upl. +""" + +from __future__ import annotations + +from pathlib import Path +from types import SimpleNamespace +from unittest.mock import MagicMock + +import pytest + +from oci_mcp_common import auth + + +@pytest.fixture(autouse=True) +def clear_environment(monkeypatch): + for name in ( + "OCI_CONFIG_FILE", + "OCI_CONFIG_PROFILE", + "OCI_MCP_AUTH_TYPE", + "OCI_REGION", + "OCI_MCP_IDENTITY_DOMAIN_URL", + "OCI_MCP_UPST_JWT_FILE", + "OCI_MCP_IDENTITY_DOMAIN_CLIENT_ID", + "OCI_MCP_IDENTITY_DOMAIN_CLIENT_SECRET_FILE", + "OCI_MCP_DELEGATION_TOKEN_FILE", + "OCI_MCP_DELEGATION_TOKEN", + "OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN_PATH", + "OCI_MCP_OKE_SERVICE_ACCOUNT_TOKEN", + "OCI_MCP_TENANCY_ID_OVERRIDE", + "OCI_IOT_AUTH_TYPE", + "OCI_IOT_DELEGATION_TOKEN", + "OCI_IOT_OKE_SERVICE_ACCOUNT_TOKEN_PATH", + "OCI_IOT_OKE_SERVICE_ACCOUNT_TOKEN", + "OCI_IOT_TENANCY_ID_OVERRIDE", + "OCI_AUTH_TYPE", + "ORACLE_MCP_AUTH_METHOD", + "ORACLE_MCP_AUTH_PROFILE", + "TENANCY_ID_OVERRIDE", + ): + monkeypatch.delenv(name, raising=False) + auth._WARNED.clear() + + +@pytest.fixture +def api_config(): + return { + "tenancy": "ocid1.tenancy.oc1..example", + "user": "ocid1.user.oc1..example", + "fingerprint": "aa:bb", + "key_file": "/keys/api.pem", + "region": "us-phoenix-1", + } + + +def write_config(tmp_path: Path, content: str) -> Path: + config_file = tmp_path / "config" + config_file.write_text(content, encoding="utf-8") + return config_file + + +def patch_profile(monkeypatch, config): + loaded = MagicMock(return_value=config) + monkeypatch.setattr(auth.oci.config, "from_file", loaded) + return loaded + + +def patch_api_signer(monkeypatch): + signer = object() + constructor = MagicMock(return_value=signer) + monkeypatch.setattr(auth.oci.signer, "Signer", constructor) + return signer, constructor + + +def test_resolve_auth_type_uses_explicit_option_over_environment(monkeypatch): + monkeypatch.setenv("OCI_MCP_AUTH_TYPE", "security_token") + + assert auth.resolve_auth_type(auth.AuthOptions(auth_type="api-key")) is auth.AuthType.API_KEY + + +def test_resolve_auth_type_uses_canonical_environment_and_validates(monkeypatch): + monkeypatch.setenv("OCI_MCP_AUTH_TYPE", "resource-principal") + assert auth.resolve_auth_type() is auth.AuthType.RESOURCE_PRINCIPAL + + monkeypatch.setenv("OCI_MCP_AUTH_TYPE", "unknown") + with pytest.raises(ValueError, match="Supported values:.*api_key"): + auth.resolve_auth_type() + + +def test_empty_values_are_unset_and_legacy_mode_is_mapped(monkeypatch, caplog): + monkeypatch.setenv("OCI_MCP_AUTH_TYPE", "") + monkeypatch.setenv("ORACLE_MCP_AUTH_METHOD", "session") + + assert auth.resolve_auth_type() is auth.AuthType.SECURITY_TOKEN + assert "ORACLE_MCP_AUTH_METHOD is deprecated" in caplog.text + + +def test_profile_and_config_resolution_honor_explicit_canonical_and_legacy(monkeypatch): + monkeypatch.setenv("OCI_CONFIG_PROFILE", "canonical") + monkeypatch.setenv("OCI_CONFIG_FILE", "/canonical/config") + assert auth.resolve_profile_name(auth.AuthOptions(profile_name="explicit")) == "explicit" + assert auth.resolve_config_file(auth.AuthOptions(config_file="/explicit/config")) == "/explicit/config" + + monkeypatch.delenv("OCI_CONFIG_PROFILE") + monkeypatch.setenv("ORACLE_MCP_AUTH_PROFILE", "legacy") + assert auth.resolve_profile_name() == "legacy" + + +def test_profile_classifier_excludes_default_inheritance(tmp_path): + config_file = write_config( + tmp_path, + "[DEFAULT]\nsecurity_token_file = /tokens/inherited\n[API]\nkey_file = /keys/api.pem\n[SESSION]\nsecurity_token_file = /tokens/direct\n", + ) + + assert not auth.profile_declares_security_token(str(config_file), "API") + assert auth.profile_declares_security_token(str(config_file), "SESSION") + assert auth.profile_declares_security_token(str(config_file), "DEFAULT") + + +@pytest.mark.parametrize("content, profile", [("[API]\n", "MISSING"), ("not an ini file", "API")]) +def test_profile_classifier_reports_unreadable_or_missing_sections(tmp_path, content, profile): + config_file = write_config(tmp_path, content) + with pytest.raises(ValueError, match="OCI_CONFIG"): + auth.profile_declares_security_token(str(config_file), profile) + + +def test_api_key_context_uses_selected_profile_and_safe_warning(tmp_path, monkeypatch, caplog, api_config): + config_file = write_config(tmp_path, "[API]\n") + loaded = patch_profile(monkeypatch, api_config) + signer, constructor = patch_api_signer(monkeypatch) + + context = auth.build_auth_context( + auth.AuthOptions(auth_type="api_key", config_file=str(config_file), profile_name="API") + ) + + assert context.auth_type is auth.AuthType.API_KEY + assert context.signer is signer + assert context.region == "us-phoenix-1" + assert loaded.call_args.kwargs == {"file_location": str(config_file), "profile_name": "API"} + assert constructor.call_args.kwargs["private_key_file_location"] == "/keys/api.pem" + assert "API-key authentication" in caplog.text + auth.build_auth_context(auth.AuthOptions(auth_type="api_key", config_file=str(config_file), profile_name="API")) + assert caplog.text.count("API-key authentication") == 1 + + +def test_api_key_missing_fields_are_actionable_and_secret_safe(tmp_path, monkeypatch): + config_file = write_config(tmp_path, "[API]\n") + patch_profile(monkeypatch, {"tenancy": "secret-tenancy", "key_file": "/secret/key"}) + + with pytest.raises(ValueError, match="user, fingerprint") as error: + auth.build_auth_context(auth.AuthOptions(auth_type="api_key", config_file=str(config_file), profile_name="API")) + + assert "secret-tenancy" not in str(error.value) + assert "/secret/key" not in str(error.value) + + +def test_security_token_context_reads_direct_token_and_constructs_signer(tmp_path, monkeypatch, api_config): + token_file = tmp_path / "token" + token_file.write_text(" session-token \n", encoding="utf-8") + config_file = write_config(tmp_path, f"[SESSION]\nsecurity_token_file = {token_file}\n") + config = {**api_config, "security_token_file": str(token_file)} + patch_profile(monkeypatch, config) + private_key = object() + monkeypatch.setattr(auth.oci.signer, "load_private_key_from_file", MagicMock(return_value=private_key)) + signer = object() + constructor = MagicMock(return_value=signer) + monkeypatch.setattr(auth.oci.auth.signers, "SecurityTokenSigner", constructor) + + context = auth.build_auth_context( + auth.AuthOptions(auth_type="security_token", config_file=str(config_file), profile_name="SESSION") + ) + + assert context.auth_type is auth.AuthType.SECURITY_TOKEN + assert context.signer is signer + assert constructor.call_args.args == ("session-token", private_key) + + +def test_security_token_requires_direct_declaration_even_if_sdk_config_inherits(tmp_path, monkeypatch, api_config): + config_file = write_config(tmp_path, "[DEFAULT]\nsecurity_token_file = /inherited\n[API]\n") + patch_profile(monkeypatch, {**api_config, "security_token_file": "/inherited"}) + + with pytest.raises(ValueError, match="declared directly"): + auth.build_auth_context( + auth.AuthOptions(auth_type="security_token", config_file=str(config_file), profile_name="API") + ) + + +def test_auto_uses_api_key_when_default_token_is_inherited(tmp_path, monkeypatch, api_config): + config_file = write_config(tmp_path, "[DEFAULT]\nsecurity_token_file = /inherited\n[API]\n") + patch_profile(monkeypatch, {**api_config, "security_token_file": "/inherited"}) + _, constructor = patch_api_signer(monkeypatch) + + context = auth.build_auth_context(auth.AuthOptions(config_file=str(config_file), profile_name="API")) + + assert context.auth_type is auth.AuthType.API_KEY + assert constructor.called + + +def test_auto_direct_unreadable_token_fails_without_api_key_fallback(tmp_path, monkeypatch, api_config): + config_file = write_config(tmp_path, "[SESSION]\nsecurity_token_file = /unreadable\n") + patch_profile(monkeypatch, {**api_config, "security_token_file": "/unreadable"}) + _, constructor = patch_api_signer(monkeypatch) + + with pytest.raises(ValueError, match="Unable to read security_token_file"): + auth.build_auth_context(auth.AuthOptions(config_file=str(config_file), profile_name="SESSION")) + + assert not constructor.called + + +def test_profile_region_resolution_precedence(tmp_path, monkeypatch, api_config): + config_file = write_config(tmp_path, "[API]\n") + patch_profile(monkeypatch, api_config) + patch_api_signer(monkeypatch) + monkeypatch.setenv("OCI_REGION", "us-ashburn-1") + + environment_context = auth.build_auth_context( + auth.AuthOptions(auth_type="api_key", config_file=str(config_file), profile_name="API") + ) + explicit_context = auth.build_auth_context( + auth.AuthOptions(auth_type="api_key", config_file=str(config_file), profile_name="API", region="eu-frankfurt-1") + ) + + assert environment_context.config["region"] == "us-ashburn-1" + assert explicit_context.config["region"] == "eu-frankfurt-1" + + +@pytest.mark.parametrize("url", ["http://insecure.example", "example.identity.oraclecloud.com", "https:///no-host"]) +def test_identity_domain_upst_validates_url_before_signer_construction(monkeypatch, url): + constructor = MagicMock() + monkeypatch.setattr(auth.oci.auth.signers, "TokenExchangeSigner", constructor) + monkeypatch.setenv("OCI_MCP_IDENTITY_DOMAIN_URL", url) + + with pytest.raises(ValueError, match="absolute https"): + auth.build_auth_context(auth.AuthOptions(auth_type="identity_domain_upst")) + + assert not constructor.called + + +def test_identity_domain_upst_constructs_with_dynamic_jwt(tmp_path, monkeypatch): + jwt_file = tmp_path / "jwt" + secret_file = tmp_path / "secret" + jwt_file.write_text("first-jwt\n", encoding="utf-8") + secret_file.write_text("client-secret\n", encoding="utf-8") + signer = object() + constructor = MagicMock(return_value=signer) + monkeypatch.setattr(auth.oci.auth.signers, "TokenExchangeSigner", constructor) + + context = auth.build_auth_context( + auth.AuthOptions( + auth_type="identity_domain_upst", + identity_domain_url="https://example.identity.oraclecloud.com", + upst_jwt_file=str(jwt_file), + identity_domain_client_id="client-id", + identity_domain_client_secret_file=str(secret_file), + region="us-chicago-1", + ) + ) + + jwt_reader, url, client_id, client_secret = constructor.call_args.args + assert context.signer is signer + assert context.config == {"region": "us-chicago-1"} + assert (url, client_id, client_secret) == ( + "https://example.identity.oraclecloud.com", + "client-id", + "client-secret", + ) + jwt_file.write_text("rotated-jwt", encoding="utf-8") + assert jwt_reader() == "rotated-jwt" + secret_file.write_text("rotated-client-secret", encoding="utf-8") + assert constructor.call_args.args[3] == "client-secret" + + +@pytest.mark.parametrize( + "options, variable", + [ + (auth.AuthOptions(auth_type="identity_domain_upst"), "OCI_MCP_IDENTITY_DOMAIN_URL"), + (auth.AuthOptions(auth_type="identity_domain_upst", identity_domain_url="https://example.com"), "OCI_MCP_IDENTITY_DOMAIN_CLIENT_ID"), + ( + auth.AuthOptions( + auth_type="identity_domain_upst", + identity_domain_url="https://example.com", + identity_domain_client_id="client-id", + ), + "OCI_MCP_IDENTITY_DOMAIN_CLIENT_SECRET_FILE", + ), + ], +) +def test_identity_domain_upst_missing_inputs_are_safe(options, variable): + with pytest.raises(ValueError, match=variable): + auth.build_auth_context(options) + + +def test_identity_domain_upst_empty_files_and_constructor_failure_are_safe(tmp_path, monkeypatch): + jwt_file = tmp_path / "jwt" + secret_file = tmp_path / "secret" + jwt_file.write_text("", encoding="utf-8") + secret_file.write_text("top-secret", encoding="utf-8") + options = auth.AuthOptions( + auth_type="identity_domain_upst", + identity_domain_url="https://example.com", + upst_jwt_file=str(jwt_file), + identity_domain_client_id="client-id", + identity_domain_client_secret_file=str(secret_file), + region="us-phoenix-1", + ) + with pytest.raises(ValueError, match="OCI_MCP_UPST_JWT_FILE") as error: + auth.build_auth_context(options) + assert "top-secret" not in str(error.value) + + jwt_file.write_text("jwt", encoding="utf-8") + monkeypatch.setattr(auth.oci.auth.signers, "TokenExchangeSigner", MagicMock(side_effect=RuntimeError("top-secret"))) + with pytest.raises(ValueError, match="Unable to construct") as error: + auth.build_auth_context(options) + assert "top-secret" not in str(error.value) + + +@pytest.mark.parametrize( + "auth_type, signer_name, expected_kwargs", + [ + (auth.AuthType.INSTANCE_PRINCIPAL, "InstancePrincipalsSecurityTokenSigner", {}), + (auth.AuthType.RESOURCE_PRINCIPAL, "get_resource_principals_signer", {}), + ], +) +def test_principal_types_do_not_load_profiles(monkeypatch, auth_type, signer_name, expected_kwargs): + signer = SimpleNamespace(region="us-phoenix-1", tenancy_id="tenant") + constructor = MagicMock(return_value=signer) + monkeypatch.setattr(auth.oci.auth.signers, signer_name, constructor) + profile_loader = MagicMock() + monkeypatch.setattr(auth.oci.config, "from_file", profile_loader) + + context = auth.build_auth_context(auth.AuthOptions(auth_type=auth_type, region="us-ashburn-1")) + + assert context.auth_type is auth_type + assert context.config == {"region": "us-ashburn-1"} + assert context.tenancy_id == "tenant" + assert constructor.call_args.kwargs == expected_kwargs + assert not profile_loader.called + + +@pytest.mark.parametrize( + "auth_type, signer_name", + [ + (auth.AuthType.INSTANCE_PRINCIPAL_DELEGATION, "InstancePrincipalsDelegationTokenSigner"), + (auth.AuthType.RESOURCE_PRINCIPAL_DELEGATION, "get_resource_principal_delegation_token_signer"), + ], +) +def test_delegation_principal_types_read_file_tokens(tmp_path, monkeypatch, auth_type, signer_name): + token_file = tmp_path / "delegation" + token_file.write_text(" delegation-token \n", encoding="utf-8") + signer = SimpleNamespace(region="us-phoenix-1") + constructor = MagicMock(return_value=signer) + monkeypatch.setattr(auth.oci.auth.signers, signer_name, constructor) + + context = auth.build_auth_context(auth.AuthOptions(auth_type=auth_type, delegation_token_file=str(token_file))) + + assert context.signer is signer + assert constructor.call_args.kwargs["delegation_token"] == "delegation-token" + + +def test_delegation_sources_validate_conflicts_and_legacy_warning(tmp_path, monkeypatch, caplog): + token_file = tmp_path / "delegation" + token_file.write_text("token", encoding="utf-8") + with pytest.raises(ValueError, match="Set only OCI_MCP_DELEGATION_TOKEN_FILE"): + auth.build_auth_context( + auth.AuthOptions( + auth_type="instance_principal_delegation", + delegation_token_file=str(token_file), + delegation_token="inline", + ) + ) + with pytest.raises(ValueError, match="OCI_MCP_DELEGATION_TOKEN_FILE is required"): + auth.build_auth_context(auth.AuthOptions(auth_type="instance_principal_delegation")) + + monkeypatch.setenv("OCI_IOT_DELEGATION_TOKEN", "legacy-token") + signer = SimpleNamespace(region="us-phoenix-1") + constructor = MagicMock(return_value=signer) + monkeypatch.setattr(auth.oci.auth.signers, "InstancePrincipalsDelegationTokenSigner", constructor) + auth.build_auth_context(auth.AuthOptions(auth_type="instance_principal_delegation")) + assert constructor.call_args.kwargs["delegation_token"] == "legacy-token" + assert "legacy-token" not in caplog.text + assert "deprecated" in caplog.text + + +def test_oke_uses_default_path_and_inline_compatibility(monkeypatch, caplog): + constructor = MagicMock(return_value=SimpleNamespace(region="us-phoenix-1")) + monkeypatch.setattr(auth.oci.auth.signers, "get_oke_workload_identity_resource_principal_signer", constructor) + + auth.build_auth_context(auth.AuthOptions(auth_type="oke_workload_identity")) + assert constructor.call_args.kwargs == {} + + auth.build_auth_context( + auth.AuthOptions(auth_type="oke_workload_identity", oke_service_account_token_path="/token") + ) + assert constructor.call_args.kwargs == {"service_account_token_path": "/token"} + + auth.build_auth_context( + auth.AuthOptions(auth_type="oke_workload_identity", oke_service_account_token="inline-token") + ) + assert constructor.call_args.kwargs == {"service_account_token": "inline-token"} + assert "inline-token" not in caplog.text + + +def test_oke_conflicting_overrides_and_signer_failures_are_safe(monkeypatch): + with pytest.raises(ValueError, match="Set only OCI_MCP_OKE"): + auth.build_auth_context( + auth.AuthOptions( + auth_type="oke_workload_identity", + oke_service_account_token_path="/token", + oke_service_account_token="inline", + ) + ) + monkeypatch.setattr( + auth.oci.auth.signers, + "InstancePrincipalsSecurityTokenSigner", + MagicMock(side_effect=RuntimeError("secret details")), + ) + with pytest.raises(ValueError, match="Unable to construct") as error: + auth.build_auth_context(auth.AuthOptions(auth_type="instance_principal")) + assert "secret details" not in str(error.value) + + +@pytest.mark.parametrize( + "auth_type, signer_name, options", + [ + (auth.AuthType.INSTANCE_PRINCIPAL, "InstancePrincipalsSecurityTokenSigner", auth.AuthOptions(auth_type="instance_principal")), + (auth.AuthType.RESOURCE_PRINCIPAL, "get_resource_principals_signer", auth.AuthOptions(auth_type="resource_principal")), + ( + auth.AuthType.INSTANCE_PRINCIPAL_DELEGATION, + "InstancePrincipalsDelegationTokenSigner", + auth.AuthOptions(auth_type="instance_principal_delegation", delegation_token="token"), + ), + ( + auth.AuthType.RESOURCE_PRINCIPAL_DELEGATION, + "get_resource_principal_delegation_token_signer", + auth.AuthOptions(auth_type="resource_principal_delegation", delegation_token="token"), + ), + ( + auth.AuthType.OKE_WORKLOAD_IDENTITY, + "get_oke_workload_identity_resource_principal_signer", + auth.AuthOptions(auth_type="oke_workload_identity"), + ), + ], +) +def test_every_principal_signer_failure_is_secret_safe(monkeypatch, auth_type, signer_name, options): + monkeypatch.setattr(auth.oci.auth.signers, signer_name, MagicMock(side_effect=RuntimeError("private details"))) + + with pytest.raises(ValueError, match=f"Unable to construct the {auth_type.value} signer") as error: + auth.build_auth_context(options) + + assert "private details" not in str(error.value) + + +def test_canonical_values_override_aliases_and_tenancy_alias_is_supported(monkeypatch): + monkeypatch.setenv("OCI_MCP_AUTH_TYPE", "instance_principal") + monkeypatch.setenv("OCI_IOT_AUTH_TYPE", "resource_principal") + signer = SimpleNamespace(region="us-phoenix-1", tenancy_id=None) + monkeypatch.setattr(auth.oci.auth.signers, "InstancePrincipalsSecurityTokenSigner", MagicMock(return_value=signer)) + monkeypatch.setenv("TENANCY_ID_OVERRIDE", "legacy-tenancy") + + context = auth.build_auth_context() + + assert context.auth_type is auth.AuthType.INSTANCE_PRINCIPAL + assert context.tenancy_id == "legacy-tenancy" + + +def test_secret_file_reader_rejects_missing_unreadable_and_empty(tmp_path): + with pytest.raises(ValueError, match="FILE is required"): + auth._read_required_secret_file(None, "FILE") + with pytest.raises(ValueError, match="Unable to read FILE"): + auth._read_required_secret_file(str(tmp_path / "missing"), "FILE") + empty = tmp_path / "empty" + empty.write_text(" \n", encoding="utf-8") + with pytest.raises(ValueError, match="non-empty"): + auth._read_required_secret_file(str(empty), "FILE") diff --git a/src/oci-mcp-common/pyproject.toml b/src/oci-mcp-common/pyproject.toml new file mode 100644 index 00000000..8bae4fec --- /dev/null +++ b/src/oci-mcp-common/pyproject.toml @@ -0,0 +1,48 @@ +[project] +name = "oci-mcp-common" +version = "0.1.0" +description = "Shared OCI SDK authentication for Oracle MCP servers" +readme = "README.md" +requires-python = ">=3.13" +license = "UPL-1.0" +authors = [ + {name = "Oracle MCP", email = "237432095+oracle-mcp@users.noreply.github.com"}, +] +dependencies = [ + "oci>=2.179.0", +] + +classifiers = [ + "Operating System :: OS Independent", + "Programming Language :: Python", + "Programming Language :: Python :: 3.13", +] + +[project.urls] +Documentation = "https://github.com/oracle/mcp" + +[build-system] +requires = ["hatchling"] +build-backend = "hatchling.build" + +[tool.hatch.build.targets.wheel] +packages = ["oci_mcp_common"] +exclude = ["/oci_mcp_common/tests/**"] + +[dependency-groups] +dev = [ + "pytest>=9.0.3", + "pytest-cov>=7.0.0", +] + +[tool.pytest.ini_options] +testpaths = ["oci_mcp_common/tests"] + +[tool.coverage.run] +branch = true +omit = ["**/__init__.py", "**/tests/*", "dist/*", ".venv/*"] + +[tool.coverage.report] +omit = ["**/__init__.py", "**/tests/*"] +precision = 2 +fail_under = 90 diff --git a/src/oci-mcp-common/uv.lock b/src/oci-mcp-common/uv.lock new file mode 100644 index 00000000..a9cf041d --- /dev/null +++ b/src/oci-mcp-common/uv.lock @@ -0,0 +1,429 @@ +version = 1 +revision = 3 +requires-python = ">=3.13" + +[[package]] +name = "certifi" +version = "2026.6.17" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c9/c7/424b75da314c1045981bd9777432fad05a9e0c69daa4ed7e308bbaffe405/certifi-2026.6.17.tar.gz", hash = "sha256:024c88eeec92ca068db80f02b8b07c9cef7b9fe261d1d535abfd5abd6f6af432", size = 134594, upload-time = "2026-06-17T10:31:07.894Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ef/2f/c5464532e965badff2f4c4c1a3a83f5697f0d7c407ed0cda44aaa99bb451/certifi-2026.6.17-py3-none-any.whl", hash = "sha256:2227dcbaafe0d2f59279d1762ddddc37783ed4354594f194ffc31d20f41fc3db", size = 133289, upload-time = "2026-06-17T10:31:06.348Z" }, +] + +[[package]] +name = "cffi" +version = "2.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "pycparser", marker = "implementation_name != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/57/5f/ff100cae70ebe9d8df1c01a00e510e45d9adb5c1fdda84791b199141de97/cffi-2.1.0.tar.gz", hash = "sha256:efc1cdd798b1aaf39b4610bba7aad28c9bea9b910f25c784ccf9ec1fa719d1f9", size = 531036, upload-time = "2026-07-06T21:34:30.382Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/96/88/a996879e2eeccb815f6e3a5967b12a308257412acec882039d386bd2aa7b/cffi-2.1.0-cp313-cp313-ios_13_0_arm64_iphoneos.whl", hash = "sha256:10537b1df4967ca26d21e5072d7d54188354483b91dc75058968d3f0cf13fbda", size = 194331, upload-time = "2026-07-06T21:33:03.697Z" }, + { url = "https://files.pythonhosted.org/packages/58/85/7ae00d5c8dd6266f4e944c3db630f3c5c9a98b61d469c714d848b1d8138a/cffi-2.1.0-cp313-cp313-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:a95b05f9baf29b91171b3a8bd2020b028835243e7b0ff6bb23e2a3c228518b1b", size = 196966, upload-time = "2026-07-06T21:33:05.353Z" }, + { url = "https://files.pythonhosted.org/packages/8c/e9/45c3a76ad8d43ad9261f4c95436da61128d3ca545d72b9612c0ab5be0b1c/cffi-2.1.0-cp313-cp313-macosx_10_15_x86_64.whl", hash = "sha256:15faec4adfff450819f3aee0e2e02c812de6edb88203aa58807955db2003472a", size = 184795, upload-time = "2026-07-06T21:33:06.699Z" }, + { url = "https://files.pythonhosted.org/packages/84/4c/82f132cb4418ee6d953d982b19191e87e2a6372c8a4ce36e50b69d6ade4a/cffi-2.1.0-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:716ff8ec22f20b4d988b12884086bcef0fc99737043e503f7a3935a6be99b1ea", size = 184746, upload-time = "2026-07-06T21:33:08.071Z" }, + { url = "https://files.pythonhosted.org/packages/a0/1c/4ed5a0e5bdca6cbc275556de3328dd1b76fd0c11cc13c88fe66d1d8715f2/cffi-2.1.0-cp313-cp313-manylinux1_i686.manylinux2014_i686.manylinux_2_17_i686.manylinux_2_5_i686.whl", hash = "sha256:63960549e4f8dc41e31accb97b975abaecfc44c03e396c093a6436763c2ea7db", size = 214747, upload-time = "2026-07-06T21:33:09.671Z" }, + { url = "https://files.pythonhosted.org/packages/3a/a6/e879bb68cc23a2bc9ba8f4b7d8019f0c2694bad2ab6c4a3701d429439f58/cffi-2.1.0-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:ff067a8d8d880e7809e4ac88eb009bb848870115317b306666502ccad30b147f", size = 222392, upload-time = "2026-07-06T21:33:10.896Z" }, + { url = "https://files.pythonhosted.org/packages/88/f6/01890cfd63c08f8eb96a8319b0443690197d240a8bd6346048cf7bde9190/cffi-2.1.0-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:3b926723c13eba9f81d2ef3820d63aeceec3b2d4639906047bf675cb8a7a500d", size = 210285, upload-time = "2026-07-06T21:33:12.251Z" }, + { url = "https://files.pythonhosted.org/packages/a6/cf/2b684132056f438567b61e19d690dd31cd0921ace051e0a458be6074369e/cffi-2.1.0-cp313-cp313-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:47ff3a8bfd8cb9da1af7524b965127095055654c177fcfc7578debcb015eecd0", size = 208801, upload-time = "2026-07-06T21:33:13.617Z" }, + { url = "https://files.pythonhosted.org/packages/6f/08/f2e7d62c460faae0926f2d6e423694aa409ced3bc1fe2927a0a6e5f05416/cffi-2.1.0-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:799416bae98336e400981ff6e532d67d5c709cfb30afb79865a1315f94b0e224", size = 221808, upload-time = "2026-07-06T21:33:15.466Z" }, + { url = "https://files.pythonhosted.org/packages/38/37/04f54b8e63a02f3d908332c9effbf8c366167c6f733ed8a3d4f79b7e2a1e/cffi-2.1.0-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:961be50688f7fba2fa65f63712d3b9b341a22311f5253460ce933f52f0de1c8c", size = 225241, upload-time = "2026-07-06T21:33:16.869Z" }, + { url = "https://files.pythonhosted.org/packages/a9/d6/c72eecca433cd3e681c65ed313ab4835d9d4a379704d0f628a6a05f51c2e/cffi-2.1.0-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:bf5c6cf48238b0eb4c086978c492ad1cbc22373fc5b2d7353b3a598ce6db887a", size = 223588, upload-time = "2026-07-06T21:33:18.239Z" }, + { url = "https://files.pythonhosted.org/packages/c6/4b/e706f67279140f92939da3475ad610df18bfd52d50f14953a8e5fede71d5/cffi-2.1.0-cp313-cp313-win32.whl", hash = "sha256:db3eb7d46527159a878ec3460e9d40615bc25ba337d477db681aea6e4f05c5d2", size = 175248, upload-time = "2026-07-06T21:33:19.799Z" }, + { url = "https://files.pythonhosted.org/packages/5a/47/59eb7975cb0e4ef0afa764ea945b29a5bb4537a9f771cb7d6c8a5dd74c95/cffi-2.1.0-cp313-cp313-win_amd64.whl", hash = "sha256:8e74a6135550c4748af665b1b1118b6aab33b1fc6a16f9aff630af107c3b4512", size = 185717, upload-time = "2026-07-06T21:33:21.47Z" }, + { url = "https://files.pythonhosted.org/packages/5a/af/34fee85c48f8d94efc8597bc09470c9dd274c145f1c12e0fbc6ab6d38d74/cffi-2.1.0-cp313-cp313-win_arm64.whl", hash = "sha256:2282cd5e38aa8accd03e99d1256af8411c84cdbee6a89d841b563fdbd1f3e50f", size = 180114, upload-time = "2026-07-06T21:33:22.515Z" }, + { url = "https://files.pythonhosted.org/packages/d8/f0/81478e482afa03f6d18dc8f2afb5edc45b3080853b634b5ed91961be0998/cffi-2.1.0-cp314-cp314-ios_13_0_arm64_iphoneos.whl", hash = "sha256:d2117334c3af3bdcb9a88522b844a2bdb5efdc4f71c6c822df55486ae1c3347a", size = 194142, upload-time = "2026-07-06T21:33:23.657Z" }, + { url = "https://files.pythonhosted.org/packages/7d/95/8de304305cd9204974b0ca051b86d307cafca13aa575a0ef1b44d92c0d8c/cffi-2.1.0-cp314-cp314-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:702c436735fbe99d59ada02a1f65cfc0d31c0ee8b7290912f8fbc5cd1e4b16c3", size = 196819, upload-time = "2026-07-06T21:33:25.007Z" }, + { url = "https://files.pythonhosted.org/packages/20/71/7c8372d30e42415602ed9f268f7cfd66f1b855fed881ecd168bcb45dbc0b/cffi-2.1.0-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:1ff3456eab0d889592d1936d6125bbfbc7ae4d3354a700f8bd80450a66445d4d", size = 184965, upload-time = "2026-07-06T21:33:26.605Z" }, + { url = "https://files.pythonhosted.org/packages/d6/5c/584e626835f0375c928176c04137c96927165cb8733cdb3150ec04e5ee5e/cffi-2.1.0-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:c4165821e131d6d4ca444347c2b694e2311bcfa3fe5a861cc72968f28867beac", size = 184952, upload-time = "2026-07-06T21:33:27.823Z" }, + { url = "https://files.pythonhosted.org/packages/2e/d2/065fcae1c73979fac8e054462478d0ff8a29c40cdc2ed7ea5676a061df53/cffi-2.1.0-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:276f20fffd7b396e12516ba8edf9509210ac248cbbc5acbc39cd512f9f59ebe6", size = 222353, upload-time = "2026-07-06T21:33:29.178Z" }, + { url = "https://files.pythonhosted.org/packages/ed/a5/e8bbb1ce5b3ac2f53ad6a10bde44318a5a8d99d4f4a000d44a6e39aeb3e4/cffi-2.1.0-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:7d5980a3433d4b71a5e120f9dd551403d7824e31e2e67124fe2769c404c06913", size = 210051, upload-time = "2026-07-06T21:33:30.534Z" }, + { url = "https://files.pythonhosted.org/packages/28/ed/c127d3ac36e899c965e3361357c3befacd6578c03f40125183e41c3b219e/cffi-2.1.0-cp314-cp314-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:6ca4919c6e4f89aa99c42510b42cf54596892c00b3f9077f6bdd1505e24b9c8d", size = 208630, upload-time = "2026-07-06T21:33:31.753Z" }, + { url = "https://files.pythonhosted.org/packages/cc/d7/97d3136f81db489ec8d1d67748c110d6c994268fd7528014aa9f2b085e4e/cffi-2.1.0-cp314-cp314-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:d53d10f7da99ae46f7373b9150393e9c5eab9b224909982b43832668de4779f5", size = 221593, upload-time = "2026-07-06T21:33:33.044Z" }, + { url = "https://files.pythonhosted.org/packages/d3/27/93195977168ee63aed233a1a0993a2178798654d1f4bddcdd321d6fd3b21/cffi-2.1.0-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:c351efb95e832a853a29361675f33a7ce53de1a109cd73fd47af0712213aa4ce", size = 225146, upload-time = "2026-07-06T21:33:34.224Z" }, + { url = "https://files.pythonhosted.org/packages/b3/c1/6dbd291ee2ae5a50a034aa057207081f545923bbf15dad4511e985aafff5/cffi-2.1.0-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:dbf7c7a88e2bac086f06d14577332760bdeecc42bdec8ac4077f6260557d9326", size = 223240, upload-time = "2026-07-06T21:33:35.57Z" }, + { url = "https://files.pythonhosted.org/packages/0f/6f/ade5ce9863a57992a6ea3d0d10d7e29b8749fc127204b3d493d667b2815f/cffi-2.1.0-cp314-cp314-win32.whl", hash = "sha256:1854b724d00f6654c742097d5387569021be12d3a0f770eae1df8f8acfcc6acd", size = 177723, upload-time = "2026-07-06T21:33:51.626Z" }, + { url = "https://files.pythonhosted.org/packages/41/de/92b9eeed4ae4a21d6fd9b2a2c8505cbed573299902ea73981cc13f7ff62c/cffi-2.1.0-cp314-cp314-win_amd64.whl", hash = "sha256:1b96bfe2c4bd825681b7d311ad6d9b7280a091f43e8f63da5729638083cd3bfb", size = 187937, upload-time = "2026-07-06T21:33:53.403Z" }, + { url = "https://files.pythonhosted.org/packages/2e/1a/cc6ae6c2913a03aab8898eee57963cf1035b8df5872ed8b9115fcc7e2be8/cffi-2.1.0-cp314-cp314-win_arm64.whl", hash = "sha256:7d28dff1db6764108bc30788d85d61c876beff416d9a49cb9dd7c5a9f34f5804", size = 183001, upload-time = "2026-07-06T21:33:54.74Z" }, + { url = "https://files.pythonhosted.org/packages/14/f0/134c00ce0779ec86dea2aa1aac69339c2741a8045072676763512363a2ea/cffi-2.1.0-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:7ea6b3e2c4250ff1de21c630fe72d0f63eb95c2c32ffbf64a358cf4a8836d714", size = 188538, upload-time = "2026-07-06T21:33:36.792Z" }, + { url = "https://files.pythonhosted.org/packages/50/d8/3b86aba791cb610d24e8a3e1b2cd529e71fa15096b04e4d4e360049d4a4c/cffi-2.1.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:6af371f3767faeffc6ac1ef57cdfd25844403e9d3f476c5537caee499de96376", size = 188230, upload-time = "2026-07-06T21:33:38.011Z" }, + { url = "https://files.pythonhosted.org/packages/14/d0/117dcd9209255ad8571fbc8c92ef32593a1d294dcec91ddc4e4db50606f2/cffi-2.1.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:eb4e8997a49aa2c08a3e43c9045d224448b8941d88e7ac163c7d383e560cbf98", size = 223899, upload-time = "2026-07-06T21:33:39.514Z" }, + { url = "https://files.pythonhosted.org/packages/b6/3d/f20f8b886b254e3ad10e15cd4186d3aed49f3e6a35ab37aab9f8f25f7c03/cffi-2.1.0-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:bf01d8c84cbea96b944c73b22182e6c7c432b3475632b8111dbfdc95ddad6e13", size = 211652, upload-time = "2026-07-06T21:33:40.851Z" }, + { url = "https://files.pythonhosted.org/packages/28/3b/fad54de07260b93ddeef4b96d0131d57ea900675df1d410ae1deee52d7a6/cffi-2.1.0-cp314-cp314t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:33eb1ad83ebe8f313e0df035c406227d55a79456704a863fad9842136af5ad7d", size = 210755, upload-time = "2026-07-06T21:33:42.183Z" }, + { url = "https://files.pythonhosted.org/packages/cc/82/3d5c705acb7abbba9bbd7d79b8e62e0f25b6120eb7ae6ac49f1b721722fe/cffi-2.1.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:ac0f1a2d0cfa7eea3f2aaf006ab6e70e8feeb16b75d65b7e5939982ca2f11056", size = 223933, upload-time = "2026-07-06T21:33:43.603Z" }, + { url = "https://files.pythonhosted.org/packages/6c/d0/47e338384ab6b1004241002fa616301020cea4fc95f283506565d252f276/cffi-2.1.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:c16914df9fb7f500e440e6875fa23ff5e0b31db01fa9c06af98d59a91f0dc2e4", size = 226749, upload-time = "2026-07-06T21:33:45.046Z" }, + { url = "https://files.pythonhosted.org/packages/70/25/65bd5b58ea4bfdfc15cde02cb5365f89ef8ab8b2adfb8fe5c4bd4233382f/cffi-2.1.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:5ecbd0499275d57506d397eebe1981cee87b47fcd9ef5c22cab7ed7644a39a94", size = 225703, upload-time = "2026-07-06T21:33:46.374Z" }, + { url = "https://files.pythonhosted.org/packages/dc/78/aa01ac599a8a4322533d45a1f9bc93b338276d2d59dabbe7c6d92a775c81/cffi-2.1.0-cp314-cp314t-win32.whl", hash = "sha256:7d034dcffa09e9a46c93fa3a3be402096cb5354ac6e41ab8e5cc9cd8b642ad76", size = 182857, upload-time = "2026-07-06T21:33:47.696Z" }, + { url = "https://files.pythonhosted.org/packages/b9/26/d00496b22de4d4228f32dde94ad996f350c8aad676d63bcca0743c8dea4d/cffi-2.1.0-cp314-cp314t-win_amd64.whl", hash = "sha256:0582a58f3051372229ca8e7f5f589f9e5632678208d8636fea3676711fdf7fe5", size = 194065, upload-time = "2026-07-06T21:33:48.953Z" }, + { url = "https://files.pythonhosted.org/packages/d5/dd/0c7dbf815a579ff005008a2d815a55d6bb047c349eef536d9dc53d3f0a8d/cffi-2.1.0-cp314-cp314t-win_arm64.whl", hash = "sha256:510aeeeac94811b138077451da1fb18b308a5feab47dd2b603af55804155e1c8", size = 186404, upload-time = "2026-07-06T21:33:50.309Z" }, + { url = "https://files.pythonhosted.org/packages/55/c7/8c8c50cb11c6750051daf12164098a9a6f027ac4356967fd4d800a07f242/cffi-2.1.0-cp315-cp315-ios_13_0_arm64_iphoneos.whl", hash = "sha256:2e9dabb9abcb7ad15938c7196ad5c1718a4e6d33cc79b4c0209bdb64c4a54a5c", size = 194121, upload-time = "2026-07-06T21:33:56.109Z" }, + { url = "https://files.pythonhosted.org/packages/99/e2/67680bf19a6b60d2bb7ff83baefa2a4c3d2d7dc0f3277034b802e1fc504c/cffi-2.1.0-cp315-cp315-ios_13_0_arm64_iphonesimulator.whl", hash = "sha256:37f525a7e7e50c017fdebe58b787be310ad59357ae43a053943a6e1a6c526001", size = 196820, upload-time = "2026-07-06T21:33:57.288Z" }, + { url = "https://files.pythonhosted.org/packages/ed/da/4bbe583a3b3a5c8c60892124fe17f3fa3656523faf0d3484eae90f091853/cffi-2.1.0-cp315-cp315-macosx_10_15_x86_64.whl", hash = "sha256:95f2954c2c9473d892eca6e0409f3568b37ab62a8eedb122461f73cc273476e3", size = 184936, upload-time = "2026-07-06T21:33:58.765Z" }, + { url = "https://files.pythonhosted.org/packages/e5/4b/1f4c36ab273980d7aa75bb126ea4f8971f24a96108acad3a0a084028c57b/cffi-2.1.0-cp315-cp315-macosx_11_0_arm64.whl", hash = "sha256:cdf2448aab5f661c9315308ec8b93f4e8a1a67a3c733f8631067a2b67d5913dc", size = 185045, upload-time = "2026-07-06T21:34:00.085Z" }, + { url = "https://files.pythonhosted.org/packages/ef/c3/ad299dc38f3583f8d916b299f028af418a9ec98bc695fcbebeae7420691c/cffi-2.1.0-cp315-cp315-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:90bec57cf82089383bd06a605b3eb8daebf7e5a668520beaf6e327a83a947699", size = 222342, upload-time = "2026-07-06T21:34:01.814Z" }, + { url = "https://files.pythonhosted.org/packages/eb/d8/df4543cc087245044ed02ef3ad8e0a26619d0075ac7a77a12dc81177851b/cffi-2.1.0-cp315-cp315-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:6274dcb2d15cef48daa73ed1be5a40d501d74dccd0cd6db364776d12cb6ba022", size = 210073, upload-time = "2026-07-06T21:34:03.255Z" }, + { url = "https://files.pythonhosted.org/packages/2c/0e/fac738d73728c6cea2a88a2883dca54892496cbba88a1dc1f2909cb8a6f5/cffi-2.1.0-cp315-cp315-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:2b71d409cccee78310ab5dec549aed052aaea483346e282c7b02362596e01bb0", size = 208551, upload-time = "2026-07-06T21:34:04.433Z" }, + { url = "https://files.pythonhosted.org/packages/e6/3f/0b04a700dd64f465c93020253a793a82c9b4dff9961f48facd0df945d9b8/cffi-2.1.0-cp315-cp315-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7d3538f9c0e50670f4deb93dbb696576e60590369cae2faf7de681e597a8a1f1", size = 221649, upload-time = "2026-07-06T21:34:06.157Z" }, + { url = "https://files.pythonhosted.org/packages/5d/7c/b7379a5704c79eda57ce075869ba70a0368d1c850f803b3c0d078d39dcaf/cffi-2.1.0-cp315-cp315-musllinux_1_2_aarch64.whl", hash = "sha256:8f9ec95b8a043d3dfbc74d9abc6f7baf524dd27a8dc160b0a32ff9cdab650c28", size = 225203, upload-time = "2026-07-06T21:34:07.489Z" }, + { url = "https://files.pythonhosted.org/packages/5a/02/d5e6c43ea85c41bda2a184a3418f195fe7cf602967a8d2b94e085b83deef/cffi-2.1.0-cp315-cp315-musllinux_1_2_x86_64.whl", hash = "sha256:af5e2915d41fe6c961694d7bfdc8562942638200f3ce2765dfb8b745cf997629", size = 223263, upload-time = "2026-07-06T21:34:08.712Z" }, + { url = "https://files.pythonhosted.org/packages/2c/d8/772b8259bf75749adffb1c546828978381fb516f60cf701f6c83daf60c85/cffi-2.1.0-cp315-cp315-win32.whl", hash = "sha256:0a42c688d19fca6e095a53c6a6e2295a5b050a8b289f109adab02a9e61a25de6", size = 177696, upload-time = "2026-07-06T21:34:26.355Z" }, + { url = "https://files.pythonhosted.org/packages/2f/dd/afa2191fc6d57fedd26e5844a2fe2fcc0bbfa00961bbaa5a41e4921e7cca/cffi-2.1.0-cp315-cp315-win_amd64.whl", hash = "sha256:bccbbb5ee76a61f9d99b5bf3846a51d7fca4b6a732fe46f89295610edaf41853", size = 187914, upload-time = "2026-07-06T21:34:27.58Z" }, + { url = "https://files.pythonhosted.org/packages/05/ef/6cd4f8c671517162379dc79cfae5aea9106bc38abb89628d5c16adf6a838/cffi-2.1.0-cp315-cp315-win_arm64.whl", hash = "sha256:8d35c139744adb3e727cd51b1a18324bbe44b8bd41bf8322bca4d41289f48eda", size = 183004, upload-time = "2026-07-06T21:34:28.905Z" }, + { url = "https://files.pythonhosted.org/packages/11/b6/12fc55092817a5faa26fb8c40c7f9d662e11a46ee248c137aafc42517d92/cffi-2.1.0-cp315-cp315t-macosx_10_15_x86_64.whl", hash = "sha256:f9912624a0c0b834b7520d7769b3644453aabc0a7e1c839da7359f050750e9bc", size = 188378, upload-time = "2026-07-06T21:34:09.926Z" }, + { url = "https://files.pythonhosted.org/packages/8d/2e/cdac88979f295fde5daa69622c7d2111e56e7ceb94f211357fbe452339e4/cffi-2.1.0-cp315-cp315t-macosx_11_0_arm64.whl", hash = "sha256:df92f2aba50eb4d96718b68ef76f2e57a57b54f2fa62333496d16c6d585a85ca", size = 188319, upload-time = "2026-07-06T21:34:11.101Z" }, + { url = "https://files.pythonhosted.org/packages/e0/27/1d0b408497e41a74795af122d7b603c418c5fed0171450f899afd04e594f/cffi-2.1.0-cp315-cp315t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:0520e1f4c35f44e209cbbb421b67eec42e6a157f59444dfb6058874ff3610e5d", size = 223904, upload-time = "2026-07-06T21:34:12.606Z" }, + { url = "https://files.pythonhosted.org/packages/8b/31/e115c985105dd7ffb32444505f18ceb874bb42d992af05d5dced7ecf1980/cffi-2.1.0-cp315-cp315t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.whl", hash = "sha256:3681e031db29958a7502f5c0c9d6bbc4c36cb20f7b104086fa642d1799631ff8", size = 211554, upload-time = "2026-07-06T21:34:13.987Z" }, + { url = "https://files.pythonhosted.org/packages/5a/67/9e6e09409336d9e515c58367e7cfcf4f89df06ad25252675595a58eb59d5/cffi-2.1.0-cp315-cp315t-manylinux2014_s390x.manylinux_2_17_s390x.whl", hash = "sha256:762f99479dcb369f60ab9017ad4ab97a36a1dd7c1ee5a3b15db0f4b8659120cd", size = 210795, upload-time = "2026-07-06T21:34:15.972Z" }, + { url = "https://files.pythonhosted.org/packages/19/e5/d3cc82a4a0be7902af279c04181ad038449c096734464a5ae1de3e1401bd/cffi-2.1.0-cp315-cp315t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0611e7ebf90573a535ebdc33ae9da222d037853983e13359f580fab781ca017f", size = 223843, upload-time = "2026-07-06T21:34:17.509Z" }, + { url = "https://files.pythonhosted.org/packages/b9/65/b434abc97ce7cecc2c640fde160507c0ecc7e21544b483ba3325d2e2ea17/cffi-2.1.0-cp315-cp315t-musllinux_1_2_aarch64.whl", hash = "sha256:86cf8755a791f72c85dc287128cc62d4f24d392e3f1e15837245623f4a33cccc", size = 226773, upload-time = "2026-07-06T21:34:19.05Z" }, + { url = "https://files.pythonhosted.org/packages/b5/9f/d4dc66ca651eb1145a133314cda721abf13cfac3d28c4a0402263ae6ad75/cffi-2.1.0-cp315-cp315t-musllinux_1_2_x86_64.whl", hash = "sha256:ba00f661f8ba35d075c937174e27c2c421cec3942fd2e0ea3e66996757c0fdd9", size = 225719, upload-time = "2026-07-06T21:34:20.576Z" }, + { url = "https://files.pythonhosted.org/packages/68/5a/e536c528bc8057496c360c0978559a2dc45653f89dd6151078aa7d8fca1a/cffi-2.1.0-cp315-cp315t-win32.whl", hash = "sha256:cb96698e3c7413d906ce83f8ffd245ec1bd94707541f299d0ce4d6b0193e982b", size = 182760, upload-time = "2026-07-06T21:34:22.059Z" }, + { url = "https://files.pythonhosted.org/packages/d3/0b/0ffe8b82d3875bced5fa1e7986a7a46b748262a40ab7f60b475eb9fb1bb3/cffi-2.1.0-cp315-cp315t-win_amd64.whl", hash = "sha256:f146d154428a2523f9cc7936c02353c2459b8f6cf07d3cd1ee1c0a611109c5d5", size = 193769, upload-time = "2026-07-06T21:34:23.589Z" }, + { url = "https://files.pythonhosted.org/packages/a0/17/1073b53b68c9b5ca6914adf5f8bf55aacc2d3be102418c90700160ea8605/cffi-2.1.0-cp315-cp315t-win_arm64.whl", hash = "sha256:cbb7640ce37159548d2147b5b8c241f962143d4c71231431820783f4dc78f210", size = 186405, upload-time = "2026-07-06T21:34:24.857Z" }, +] + +[[package]] +name = "circuitbreaker" +version = "2.1.3" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/df/ac/de7a92c4ed39cba31fe5ad9203b76a25ca67c530797f6bb420fff5f65ccb/circuitbreaker-2.1.3.tar.gz", hash = "sha256:1a4baee510f7bea3c91b194dcce7c07805fe96c4423ed5594b75af438531d084", size = 10787, upload-time = "2025-03-31T08:12:08.963Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ae/34/15f08edd4628f65217de1fc3c1a27c82e46fe357d60c217fc9881e12ebcc/circuitbreaker-2.1.3-py3-none-any.whl", hash = "sha256:87ba6a3ed03fdc7032bc175561c2b04d52ade9d5faf94ca2b035fbdc5e6b1dd1", size = 7737, upload-time = "2025-03-31T08:12:07.802Z" }, +] + +[[package]] +name = "colorama" +version = "0.4.6" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d8/53/6f443c9a4a8358a93a6792e2acffb9d9d5cb0a5cfd8802644b7b1c9a02e4/colorama-0.4.6.tar.gz", hash = "sha256:08695f5cb7ed6e0531a20572697297273c47b8cae5a63ffc6d6ed5c201be6e44", size = 27697, upload-time = "2022-10-25T02:36:22.414Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/d1/d6/3965ed04c63042e047cb6a3e6ed1a63a35087b6a609aa3a15ed8ac56c221/colorama-0.4.6-py2.py3-none-any.whl", hash = "sha256:4f1d9991f5acc0ca119f9d443620b77f9d6b33703e51011c16baf57afb285fc6", size = 25335, upload-time = "2022-10-25T02:36:20.889Z" }, +] + +[[package]] +name = "coverage" +version = "7.15.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/76/d0/55fe630f4cf94e3fcba868240fad8c8cdd1f764e2a932f8926347e6ec4cd/coverage-7.15.2.tar.gz", hash = "sha256:3df60dc267f0a2ca23cb7a9ab1109c62b9335ffbf519fcfe167157c28c09b81d", size = 927741, upload-time = "2026-07-15T18:56:19.558Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/fc/d5/f8c838e6b7282976f7c918884b792df7a0c42c5bba5d99c60ad2d221d56d/coverage-7.15.2-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:1121caa19159a38b5463eaae4b1e1fde81e525b15ecc5e000cd5b1a108f743a8", size = 221606, upload-time = "2026-07-15T18:54:45.448Z" }, + { url = "https://files.pythonhosted.org/packages/bf/37/97c926376364f66298cc44893b89cdf17b8bc406376497c4061ae4b8a8ff/coverage-7.15.2-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:a300c6934e0989c327b9e8a1e110329da4641149f872bbe9f70168be66da76c1", size = 221982, upload-time = "2026-07-15T18:54:47.341Z" }, + { url = "https://files.pythonhosted.org/packages/b7/30/a36050a6e83c2135ee0776f452ca3948224befc6d7f26acecc082d0c106a/coverage-7.15.2-cp313-cp313-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:2617f8799d268fabdeef42a7e89ac3a23e1deee9025427db2df970f99a89a578", size = 252972, upload-time = "2026-07-15T18:54:49.2Z" }, + { url = "https://files.pythonhosted.org/packages/31/d3/06b5f1daf95f0f15ab05bd75f26ba5f3c8b33d0bb72f3aaa3cf41d1bad3a/coverage-7.15.2-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:7dc2950a2992cd676d35c20ae63522836deeb034f08874699d14068710af3dc1", size = 255569, upload-time = "2026-07-15T18:54:51.098Z" }, + { url = "https://files.pythonhosted.org/packages/81/1c/9afb3f8de2b8d36960391c48559a2e3ff96594b58099f115921549ea8d0d/coverage-7.15.2-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9e36686f7a442185db2400b3df171aac520869faf9deb59df687d28659eda2a6", size = 256806, upload-time = "2026-07-15T18:54:53.145Z" }, + { url = "https://files.pythonhosted.org/packages/64/d8/b989f96061a5e32d82fddd1b1b9ff48a7c8f8ae7606f0e80fd9de54b1e33/coverage-7.15.2-cp313-cp313-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:7d29ca7bd67af6e12e74632d65f026eabc1364da5c254494cd914446a28a3ef7", size = 258936, upload-time = "2026-07-15T18:54:55.015Z" }, + { url = "https://files.pythonhosted.org/packages/b8/fa/f99771f5110457c7b511c1935ca49ddf288218eaa84322e028b9334146ae/coverage-7.15.2-cp313-cp313-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:db9c8438057e5b0f6a22a0af99c0c1d26b57fbbdbd1be5861ddb8f897fcc3a2d", size = 253178, upload-time = "2026-07-15T18:54:57.527Z" }, + { url = "https://files.pythonhosted.org/packages/f6/96/c098a6044d119c751ceede7be91035fa8310170ec24a6523aff72f0a5793/coverage-7.15.2-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:63022c4c8dec1d0342f05c3ede99842fe3d007689acc45e86f123a1746e4a026", size = 254934, upload-time = "2026-07-15T18:54:59.41Z" }, + { url = "https://files.pythonhosted.org/packages/b2/a2/1457b3a7a50c8d77500103b97a046db863e2f59a1cf6d2f814595f349885/coverage-7.15.2-cp313-cp313-musllinux_1_2_i686.whl", hash = "sha256:6c0be82b4d4aa5b2704e08518e2252f3e3d110164bcca826816801052e48a7aa", size = 252898, upload-time = "2026-07-15T18:55:01.338Z" }, + { url = "https://files.pythonhosted.org/packages/6c/0e/76958874c471ecfcdde0d2b2747bb2c61bdbf34a40636f4ce9db9923e643/coverage-7.15.2-cp313-cp313-musllinux_1_2_ppc64le.whl", hash = "sha256:4510fb9cdf6bb02dfa6af0be4a534b8102d086e22e4a33f8836df663da3d660d", size = 257056, upload-time = "2026-07-15T18:55:03.243Z" }, + { url = "https://files.pythonhosted.org/packages/7c/7c/3d7c4e3bf58baa40327dc7edc2272b17cf02299366d52763db1b0ca1556a/coverage-7.15.2-cp313-cp313-musllinux_1_2_riscv64.whl", hash = "sha256:42ec3d989421b174a2ab607c1539f24127ad362757b7f1c0c0d7a2993f7eb37b", size = 252718, upload-time = "2026-07-15T18:55:05.029Z" }, + { url = "https://files.pythonhosted.org/packages/c8/b8/1cecffed9ce14fb25be9ba42d37b6bb61485c9a3ddd43cd3dde36b6087d8/coverage-7.15.2-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:e8f91bce78e32343af184c3b7fa28fcf5a9e2641f4b6623d392038f804939188", size = 254490, upload-time = "2026-07-15T18:55:06.889Z" }, + { url = "https://files.pythonhosted.org/packages/6c/2c/42984561bc7f4c045dca67516a0c50ee5ef8d84352dbeb5559dc86c4823e/coverage-7.15.2-cp313-cp313-win32.whl", hash = "sha256:434e68d531858205895eb0d74b73d20b84260de426387d53c422a5acda2cf050", size = 223647, upload-time = "2026-07-15T18:55:08.941Z" }, + { url = "https://files.pythonhosted.org/packages/41/9f/39c7c9245efc583beddf89a87683574e663ed93637f3afb6cd7b88405676/coverage-7.15.2-cp313-cp313-win_amd64.whl", hash = "sha256:26c3b04a6377fd7c09800921fa934e3a17c0020439cd59df73e73ae1d4b6a78c", size = 224190, upload-time = "2026-07-15T18:55:10.789Z" }, + { url = "https://files.pythonhosted.org/packages/c7/de/3a2883cf8a213659280ef4b403059e17a9acaeb7fc7fd4105e1226ff2e6d/coverage-7.15.2-cp313-cp313-win_arm64.whl", hash = "sha256:3ed010aa1b69cda8e827aabfca9866216c980e2dca82ab9a78c5f83689964c8b", size = 223583, upload-time = "2026-07-15T18:55:12.678Z" }, + { url = "https://files.pythonhosted.org/packages/81/5f/aed265fd7a3551a394f36dfe41868aee709b7f95db4052205b4ad1563ac3/coverage-7.15.2-cp314-cp314-macosx_10_15_x86_64.whl", hash = "sha256:40f633c5c5fc783732f6312280122e859538fa24461235597c13d803ea9a108a", size = 221650, upload-time = "2026-07-15T18:55:14.527Z" }, + { url = "https://files.pythonhosted.org/packages/6b/2c/222ba12a545189017120f8eddfc1a0bd4616b47d5d4a8d99421edb2fe4c6/coverage-7.15.2-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:075560438765b7a2ef43bf7aa7758661b53d889df47f062a31bda6c1ade553a2", size = 221988, upload-time = "2026-07-15T18:55:16.674Z" }, + { url = "https://files.pythonhosted.org/packages/aa/38/304b5877ab46e6c290b4292cfcf3fe28245f0e5597cad7f6acc91fc7e0a4/coverage-7.15.2-cp314-cp314-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:25fd15dd40a0a2c51a500d664ca29053c09c3259d998407bf982b6e114696138", size = 253029, upload-time = "2026-07-15T18:55:18.856Z" }, + { url = "https://files.pythonhosted.org/packages/6c/58/821b533b8db9e44cf1d8a97bd525149ced40dde1d0093da02cb78e715244/coverage-7.15.2-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:b9a6367e4aff723e8ee8190836836124284e8fcd4265e307c844010cfa074f3f", size = 255536, upload-time = "2026-07-15T18:55:21.027Z" }, + { url = "https://files.pythonhosted.org/packages/f1/f2/7aa06604c389d32ea7f0a6a988359a7eafc3cd3f8e7bc2e88cd2fdf0b877/coverage-7.15.2-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:9854ca62c152874b2060772503535be2e8f53f70b8aaa7686b094888d872f984", size = 256881, upload-time = "2026-07-15T18:55:23.125Z" }, + { url = "https://files.pythonhosted.org/packages/a2/4f/1ef342339c7916d0096bc5888cc0f653882cc7bc8f897d5cb89143287c9b/coverage-7.15.2-cp314-cp314-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:913b6c56e110da40e035bbd168353bf7aaa2544a5eaccea5d98a4629aac156c7", size = 259196, upload-time = "2026-07-15T18:55:25.099Z" }, + { url = "https://files.pythonhosted.org/packages/fe/f4/7ed055d7a9c5ec13b161773a115a5ccc6b0081d568c31fad830806306cc7/coverage-7.15.2-cp314-cp314-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:aaccad4129d735a8a4d526f26929894c9a4e8ef7034566f210b176749d6906e3", size = 253036, upload-time = "2026-07-15T18:55:27.018Z" }, + { url = "https://files.pythonhosted.org/packages/14/79/ea82cca18c242a3a38b6c017da39726aa62dcb64aa635abf79b92009975c/coverage-7.15.2-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:a164b50081fc7357331c4024ef4d17b78ba325f8380d05f5a69599a7e05257ee", size = 254887, upload-time = "2026-07-15T18:55:29.084Z" }, + { url = "https://files.pythonhosted.org/packages/a4/ba/a136db3c0d9562b00e10b72540dbf3a33cd3bc5b95060c9308e247494623/coverage-7.15.2-cp314-cp314-musllinux_1_2_i686.whl", hash = "sha256:bfd341ccf78128e72c094bc70cc25b3ef309c33c7c2c66ba3ed4309549e02de1", size = 252852, upload-time = "2026-07-15T18:55:31.184Z" }, + { url = "https://files.pythonhosted.org/packages/17/17/ea334246b16b7d059953fad6fdefa11e33c68efbd3fe37b1098120a1fac2/coverage-7.15.2-cp314-cp314-musllinux_1_2_ppc64le.whl", hash = "sha256:1473b3ba8e7ee0f076117b1a72c23f579a2b9e2bb742f48a8d86ea27ca93f91a", size = 257128, upload-time = "2026-07-15T18:55:33.163Z" }, + { url = "https://files.pythonhosted.org/packages/ed/c3/074fb66d46d607855f710876b117cbda562c5ab08363528e78820449f937/coverage-7.15.2-cp314-cp314-musllinux_1_2_riscv64.whl", hash = "sha256:17c432b5f73ad52ef46fb06019f6fa7c66ce381961cf0f7dfd1d3a4bd3a98145", size = 252668, upload-time = "2026-07-15T18:55:35.063Z" }, + { url = "https://files.pythonhosted.org/packages/e1/c1/f620850ada9b36435921c9a3a8057013422b1d964eb4bf37fe138724d192/coverage-7.15.2-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:77f0ef5011df53a4bd1b35211ab122287f8d9b8d7aa1c4553e5c2deb24b1d446", size = 254325, upload-time = "2026-07-15T18:55:37.125Z" }, + { url = "https://files.pythonhosted.org/packages/cc/31/a729ca3689404493af82ef8e6ff70bd88bdda8da89aeef6ca9b387aeb2b4/coverage-7.15.2-cp314-cp314-win32.whl", hash = "sha256:f653e5d7248c1191ec988a85c72edeab46c3ff44f90639a4ed4874ec0be90243", size = 223844, upload-time = "2026-07-15T18:55:39.078Z" }, + { url = "https://files.pythonhosted.org/packages/c6/83/5d809dc808fb1698c671f3e372259bb9158e64b7ea526fc6ab7de64de9fe/coverage-7.15.2-cp314-cp314-win_amd64.whl", hash = "sha256:9911f31aad8906abe337c271343485cf20df5e70df5d2f57f9f136e7b55f26bc", size = 224331, upload-time = "2026-07-15T18:55:41.346Z" }, + { url = "https://files.pythonhosted.org/packages/16/4e/35e488548e952795829e129995c4174df33bf432b591d1aa42c8d9e4e7ad/coverage-7.15.2-cp314-cp314-win_arm64.whl", hash = "sha256:e38def96ad59853824c97953fdcd2c320a84ba3ce99b417db78af8bb6c3db635", size = 223760, upload-time = "2026-07-15T18:55:43.518Z" }, + { url = "https://files.pythonhosted.org/packages/ed/49/dd2c86cd6374038f6e415fb5bfb86db5218553209c081384a020369dee79/coverage-7.15.2-cp314-cp314t-macosx_10_15_x86_64.whl", hash = "sha256:835ec4e20b45f0a7f63ed78f94065aca00de033403df8377bfe8b9c6abc0a7be", size = 222384, upload-time = "2026-07-15T18:55:45.569Z" }, + { url = "https://files.pythonhosted.org/packages/d3/74/173ff17a1c0808e5a438f549f6f145d5ac7528f2791310b63523e3200ac7/coverage-7.15.2-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:7466cc7ab6dc0db871d264bf99e8779f0917ee63d40730af0552f71535a6e072", size = 222647, upload-time = "2026-07-15T18:55:47.544Z" }, + { url = "https://files.pythonhosted.org/packages/84/f8/b8cba872162356fb44ac79c10309d987206a4461e32072fc29228dad7331/coverage-7.15.2-cp314-cp314t-manylinux1_i686.manylinux_2_28_i686.manylinux_2_5_i686.whl", hash = "sha256:e370c12133095ff18432de8c044962be85a5a96d90c6fcbce8e17e76236d2328", size = 264013, upload-time = "2026-07-15T18:55:49.768Z" }, + { url = "https://files.pythonhosted.org/packages/ee/67/a807a7586d0b8cae485308ddd55756f0806c92f8e0b411bacbf23c48edf3/coverage-7.15.2-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:fe41909c9515c3bfdb5f02c4d1f857dba322d9a9a1178069b91eea77889df63a", size = 266135, upload-time = "2026-07-15T18:55:51.941Z" }, + { url = "https://files.pythonhosted.org/packages/ce/67/cd78771dc985f7e4ebdcc82b1a96d9a932af9e806f01f2f91a89f4c72e80/coverage-7.15.2-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:6aa28cfb6488e5453b5b762d65f73aa586380f6693a04d58078ce228a29b06c0", size = 268555, upload-time = "2026-07-15T18:55:54.065Z" }, + { url = "https://files.pythonhosted.org/packages/18/3e/10134cf81275188c58568f324fc74aedff32c63ca4d5bbc513a91944a6f0/coverage-7.15.2-cp314-cp314t-manylinux2014_ppc64le.manylinux_2_17_ppc64le.manylinux_2_28_ppc64le.whl", hash = "sha256:bcc0aae933921d03096f53b0b03eeb702129fd406dee59f08d2efacc68681fa5", size = 269674, upload-time = "2026-07-15T18:55:56.066Z" }, + { url = "https://files.pythonhosted.org/packages/75/4a/771b77de446cba985dc414bbc5844bd21604da05dbc044286df8318a48a7/coverage-7.15.2-cp314-cp314t-manylinux_2_31_riscv64.manylinux_2_39_riscv64.whl", hash = "sha256:7c63387e21ab21f512c69c9756a8c7dadd322c7275edb064064433c9a09c3743", size = 263101, upload-time = "2026-07-15T18:55:58.107Z" }, + { url = "https://files.pythonhosted.org/packages/5f/b5/70a7011da15f4071943361183aefa27847f3e3aec4fd335f1cb3d3a622b1/coverage-7.15.2-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:0e55510bc98ae943cece9e667a6c0fe94c6a92913720dea34243657a17993d0c", size = 266007, upload-time = "2026-07-15T18:56:00.468Z" }, + { url = "https://files.pythonhosted.org/packages/b4/0d/f9547e804ce7ad49646ffeffac26699510efbe6c0f751b66fdc960c4e825/coverage-7.15.2-cp314-cp314t-musllinux_1_2_i686.whl", hash = "sha256:2ff08701be2d1556fc78b326c80a3e8042da09352ecb3819105f8e386c8a3071", size = 263611, upload-time = "2026-07-15T18:56:02.615Z" }, + { url = "https://files.pythonhosted.org/packages/ac/59/f576a396659c0efd351f5c1544f67c3560e89c7761cabf7f65e412beeda5/coverage-7.15.2-cp314-cp314t-musllinux_1_2_ppc64le.whl", hash = "sha256:38c9518b7103826c403a461544e3c2e77151e8676d06eaed85911a97e962584a", size = 267344, upload-time = "2026-07-15T18:56:04.622Z" }, + { url = "https://files.pythonhosted.org/packages/7c/5d/c2e4fce3579c0cb635024293f1a32bbe26df101b3e3a69f22243d1352b6c/coverage-7.15.2-cp314-cp314t-musllinux_1_2_riscv64.whl", hash = "sha256:dee88b1ed88587abd8c0269a1fc1f4cc77f7750d1dfde2869e2a123af420e67d", size = 262456, upload-time = "2026-07-15T18:56:06.641Z" }, + { url = "https://files.pythonhosted.org/packages/bb/dd/956287d69436b66094bc4b57ac2da71e43bfd2a5524e958900b9f582fcf8/coverage-7.15.2-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:2fbeeeecea279727f8ac16c8e1133ddfeee793e985c86ae343d6a5ce744eef8c", size = 264771, upload-time = "2026-07-15T18:56:08.795Z" }, + { url = "https://files.pythonhosted.org/packages/2c/5a/6f979530c2734c575de77cf58f5f28d51f7123a94b5030fd9156fe5f363c/coverage-7.15.2-cp314-cp314t-win32.whl", hash = "sha256:cb0fddaa6884be6aae36ced9544b5e90f7d5f03845a2853bf47a14953a4e8688", size = 224151, upload-time = "2026-07-15T18:56:10.856Z" }, + { url = "https://files.pythonhosted.org/packages/54/7e/27f6b2a74d484742f4017553e710b01e396b23d809df3e95ca0bb9a2824b/coverage-7.15.2-cp314-cp314t-win_amd64.whl", hash = "sha256:77f091ea3a9cc611cd29f433565476bc1936c084ac8eee00ea0e7e70c27e4199", size = 224981, upload-time = "2026-07-15T18:56:12.928Z" }, + { url = "https://files.pythonhosted.org/packages/b1/48/284863423aa474240f6842bd00d680da22f4e6ea2e466618ef7c9c9e69a9/coverage-7.15.2-cp314-cp314t-win_arm64.whl", hash = "sha256:6fc448c377d6eeb00a47c673494bd9bae29280ca53987e1869e67ebedfe20658", size = 224294, upload-time = "2026-07-15T18:56:15.156Z" }, + { url = "https://files.pythonhosted.org/packages/ec/82/32e3bd191d498e64f6f911ad55d14006a0861e54869d2d32452326399e65/coverage-7.15.2-py3-none-any.whl", hash = "sha256:eb6bcae8d1a9d305351ecb108232441d11c5cfe9de840a04388ba5d2db8d735c", size = 213375, upload-time = "2026-07-15T18:56:17.305Z" }, +] + +[[package]] +name = "crc32c" +version = "2.8" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/e3/66/7e97aa77af7cf6afbff26e3651b564fe41932599bc2d3dce0b2f73d4829a/crc32c-2.8.tar.gz", hash = "sha256:578728964e59c47c356aeeedee6220e021e124b9d3e8631d95d9a5e5f06e261c", size = 48179, upload-time = "2025-10-17T06:20:13.61Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/e8/d8/3ae227890b3be40955a7144106ef4dd97d6123a82c2a5310cdab58ca49d8/crc32c-2.8-cp313-cp313-macosx_10_13_universal2.whl", hash = "sha256:36f1e03ee9e9c6938e67d3bcb60e36f260170aa5f37da1185e04ef37b56af395", size = 66380, upload-time = "2025-10-17T06:19:18.009Z" }, + { url = "https://files.pythonhosted.org/packages/bd/8b/178d3f987cd0e049b484615512d3f91f3d2caeeb8ff336bb5896ae317438/crc32c-2.8-cp313-cp313-macosx_10_13_x86_64.whl", hash = "sha256:b2f3226b94b85a8dd9b3533601d7a63e9e3e8edf03a8a169830ee8303a199aeb", size = 63048, upload-time = "2025-10-17T06:19:18.853Z" }, + { url = "https://files.pythonhosted.org/packages/f2/a1/48145ae2545ebc0169d3283ebe882da580ea4606bfb67cf4ca922ac3cfc3/crc32c-2.8-cp313-cp313-macosx_11_0_arm64.whl", hash = "sha256:6e08628bc72d5b6bc8e0730e8f142194b610e780a98c58cb6698e665cb885a5b", size = 61530, upload-time = "2025-10-17T06:19:19.974Z" }, + { url = "https://files.pythonhosted.org/packages/06/4b/cf05ed9d934cc30e5ae22f97c8272face420a476090e736615d9a6b53de0/crc32c-2.8-cp313-cp313-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:086f64793c5ec856d1ab31a026d52ad2b895ac83d7a38fce557d74eb857f0a82", size = 80001, upload-time = "2025-10-17T06:19:20.784Z" }, + { url = "https://files.pythonhosted.org/packages/15/ab/4b04801739faf36345f6ba1920be5b1c70282fec52f8280afd3613fb13e2/crc32c-2.8-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:bcf72ee7e0135b3d941c34bb2c26c3fc6bc207106b49fd89aaafaeae223ae209", size = 81543, upload-time = "2025-10-17T06:19:21.557Z" }, + { url = "https://files.pythonhosted.org/packages/a9/1b/6e38dde5bfd2ea69b7f2ab6ec229fcd972a53d39e2db4efe75c0ac0382ce/crc32c-2.8-cp313-cp313-musllinux_1_2_aarch64.whl", hash = "sha256:8a717dd9c3fd777d9bc6603717eae172887d402c4ab589d124ebd0184a83f89e", size = 80644, upload-time = "2025-10-17T06:19:22.325Z" }, + { url = "https://files.pythonhosted.org/packages/ce/45/012176ffee90059ae8ec7131019c71724ea472aa63e72c0c8edbd1fad1d7/crc32c-2.8-cp313-cp313-musllinux_1_2_x86_64.whl", hash = "sha256:0450bb845b3c3c7b9bdc0b4e95620ec9a40824abdc8c86d6285c919a90743c1a", size = 79919, upload-time = "2025-10-17T06:19:23.101Z" }, + { url = "https://files.pythonhosted.org/packages/f0/2b/f557629842f9dec2b3461cb3a0d854bb586ec45b814cea58b082c32f0dde/crc32c-2.8-cp313-cp313-win32.whl", hash = "sha256:765d220bfcbcffa6598ac11eb1e10af0ee4802b49fe126aa6bf79f8ddb9931d1", size = 64896, upload-time = "2025-10-17T06:19:23.88Z" }, + { url = "https://files.pythonhosted.org/packages/d0/db/fd0f698c15d1e21d47c64181a98290665a08fcbb3940cd559e9c15bda57e/crc32c-2.8-cp313-cp313-win_amd64.whl", hash = "sha256:171ff0260d112c62abcce29332986950a57bddee514e0a2418bfde493ea06bb3", size = 66646, upload-time = "2025-10-17T06:19:24.702Z" }, + { url = "https://files.pythonhosted.org/packages/db/b9/8e5d7054fe8e7eecab10fd0c8e7ffb01439417bdb6de1d66a81c38fc4a20/crc32c-2.8-cp313-cp313t-macosx_10_13_universal2.whl", hash = "sha256:b977a32a3708d6f51703c8557008f190aaa434d7347431efb0e86fcbe78c2a50", size = 66203, upload-time = "2025-10-17T06:19:25.872Z" }, + { url = "https://files.pythonhosted.org/packages/55/5f/cc926c70057a63cc0c98a3c8a896eb15fc7e74d3034eadd53c94917c6cc3/crc32c-2.8-cp313-cp313t-macosx_10_13_x86_64.whl", hash = "sha256:7399b01db4adaf41da2fb36fe2408e75a8d82a179a9564ed7619412e427b26d6", size = 62956, upload-time = "2025-10-17T06:19:26.652Z" }, + { url = "https://files.pythonhosted.org/packages/a1/8a/0660c44a2dd2cb6ccbb529eb363b9280f5c766f1017bc8355ed8d695bd94/crc32c-2.8-cp313-cp313t-macosx_11_0_arm64.whl", hash = "sha256:4379f73f9cdad31958a673d11a332ec725ca71572401ca865867229f5f15e853", size = 61442, upload-time = "2025-10-17T06:19:27.74Z" }, + { url = "https://files.pythonhosted.org/packages/f5/5a/6108d2dfc0fe33522ce83ba07aed4b22014911b387afa228808a278e27cd/crc32c-2.8-cp313-cp313t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:2e68264555fab19bab08331550dab58573e351a63ed79c869d455edd3b0aa417", size = 79109, upload-time = "2025-10-17T06:19:28.535Z" }, + { url = "https://files.pythonhosted.org/packages/84/1e/c054f9e390090c197abf3d2936f4f9effaf0c6ee14569ae03d6ddf86958a/crc32c-2.8-cp313-cp313t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:b48f2486727b8d0e7ccbae4a34cb0300498433d2a9d6b49cb13cb57c2e3f19cb", size = 80987, upload-time = "2025-10-17T06:19:29.305Z" }, + { url = "https://files.pythonhosted.org/packages/c8/ad/1650e5c3341e4a485f800ea83116d72965030c5d48ccc168fcc685756e4d/crc32c-2.8-cp313-cp313t-musllinux_1_2_aarch64.whl", hash = "sha256:ecf123348934a086df8c8fde7f9f2d716d523ca0707c5a1367b8bb00d8134823", size = 79994, upload-time = "2025-10-17T06:19:30.109Z" }, + { url = "https://files.pythonhosted.org/packages/d7/3b/f2ed924b177729cbb2ab30ca2902abff653c31d48c95e7b66717a9ca9fcc/crc32c-2.8-cp313-cp313t-musllinux_1_2_x86_64.whl", hash = "sha256:e636ac60f76de538f7a2c0d0f3abf43104ee83a8f5e516f6345dc283ed1a4df7", size = 79046, upload-time = "2025-10-17T06:19:30.894Z" }, + { url = "https://files.pythonhosted.org/packages/4b/80/413b05ee6ace613208b31b3670c3135ee1cf451f0e72a9c839b4946acc04/crc32c-2.8-cp313-cp313t-win32.whl", hash = "sha256:8dd4a19505e0253892e1b2f1425cc3bd47f79ae5a04cb8800315d00aad7197f2", size = 64837, upload-time = "2025-10-17T06:19:32.03Z" }, + { url = "https://files.pythonhosted.org/packages/3b/1b/85eddb6ac5b38496c4e35c20298aae627970c88c3c624a22ab33e84f16c7/crc32c-2.8-cp313-cp313t-win_amd64.whl", hash = "sha256:4bb18e4bd98fb266596523ffc6be9c5b2387b2fa4e505ec56ca36336f49cb639", size = 66574, upload-time = "2025-10-17T06:19:33.143Z" }, + { url = "https://files.pythonhosted.org/packages/aa/df/50e9079b532ff53dbfc0e66eed781374bd455af02ed5df8b56ad538de4ff/crc32c-2.8-cp314-cp314-macosx_10_13_universal2.whl", hash = "sha256:3a3b2e4bcf7b3ee333050e7d3ff38e2ba46ea205f1d73d8949b248aaffe937ac", size = 66399, upload-time = "2025-10-17T06:19:34.279Z" }, + { url = "https://files.pythonhosted.org/packages/5a/2e/67e3b0bc3d30e46ea5d16365cc81203286387671e22f2307eb41f19abb9c/crc32c-2.8-cp314-cp314-macosx_10_13_x86_64.whl", hash = "sha256:445e559e66dff16be54f8a4ef95aa6b01db799a639956d995c5498ba513fccc2", size = 63044, upload-time = "2025-10-17T06:19:35.062Z" }, + { url = "https://files.pythonhosted.org/packages/36/ea/1723b17437e4344ed8d067456382ecb1f5b535d83fdc5aaebab676c6d273/crc32c-2.8-cp314-cp314-macosx_11_0_arm64.whl", hash = "sha256:bf3040919e17afa5782e01b1875d6a05f44b8f19c05f211d8b9f8a1deb8bbd9c", size = 61541, upload-time = "2025-10-17T06:19:36.204Z" }, + { url = "https://files.pythonhosted.org/packages/4c/6a/cbec8a235c5b46a01f319939b538958662159aec0ed3a74944e3a6de21f1/crc32c-2.8-cp314-cp314-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:5607ab8221e1ffd411f64aa40dbb6850cf06dd2908c9debd05d371e1acf62ff3", size = 80139, upload-time = "2025-10-17T06:19:37.351Z" }, + { url = "https://files.pythonhosted.org/packages/21/31/d096722fe74b692d6e8206c27da1ea5f6b2a12ff92c54a62a6ba2f376254/crc32c-2.8-cp314-cp314-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:c7f5db4f16816926986d3c94253314920689706ae13a9bf4888b47336c6735ce", size = 81736, upload-time = "2025-10-17T06:19:38.16Z" }, + { url = "https://files.pythonhosted.org/packages/f6/a2/f75ef716ff7e3c22f385ba6ef30c5de80c19a21ebe699dc90824a1903275/crc32c-2.8-cp314-cp314-musllinux_1_2_aarch64.whl", hash = "sha256:70b0153c4d418b673309d3529334d117e1074c4a3b2d7f676e430d72c14de67b", size = 80795, upload-time = "2025-10-17T06:19:38.948Z" }, + { url = "https://files.pythonhosted.org/packages/d8/94/6d647a12d96ab087d9b8eacee3da073f981987827d57c7072f89ffc7b6cd/crc32c-2.8-cp314-cp314-musllinux_1_2_x86_64.whl", hash = "sha256:5c8933531442042438753755a5c8a9034e4d88b01da9eb796f7e151b31a7256c", size = 80042, upload-time = "2025-10-17T06:19:39.725Z" }, + { url = "https://files.pythonhosted.org/packages/cd/dc/32b8896b40a0afee7a3c040536d0da5a73e68df2be9fadd21770fd158e16/crc32c-2.8-cp314-cp314-win32.whl", hash = "sha256:cdc83a3fe6c4e5df9457294cfd643de7d95bd4e9382c1dd6ed1e0f0f9169172c", size = 64914, upload-time = "2025-10-17T06:19:40.527Z" }, + { url = "https://files.pythonhosted.org/packages/f2/b4/4308b27d307e8ecaf8dd1dcc63bbb0e47ae1826d93faa3e62d1ee00ee2d5/crc32c-2.8-cp314-cp314-win_amd64.whl", hash = "sha256:509e10035106df66770fe24b9eb8d9e32b6fb967df17744402fb67772d8b2bc7", size = 66723, upload-time = "2025-10-17T06:19:42.449Z" }, + { url = "https://files.pythonhosted.org/packages/90/d5/a19d2489fa997a143bfbbf971a5c9a43f8b1ba9e775b1fb362d8fb15260c/crc32c-2.8-cp314-cp314t-macosx_10_13_universal2.whl", hash = "sha256:864359a39777a07b09b28eb31337c0cc603d5c1bf0fc328c3af736a8da624ec0", size = 66201, upload-time = "2025-10-17T06:19:43.273Z" }, + { url = "https://files.pythonhosted.org/packages/98/c2/5f82f22d2c1242cb6f6fe92aa9a42991ebea86de994b8f9974d9c1d128e2/crc32c-2.8-cp314-cp314t-macosx_10_13_x86_64.whl", hash = "sha256:14511d7cfc5d9f5e1a6c6b64caa6225c2bdc1ed00d725e9a374a3e84073ce180", size = 62956, upload-time = "2025-10-17T06:19:44.099Z" }, + { url = "https://files.pythonhosted.org/packages/9b/61/3d43d33489cf974fb78bfb3500845770e139ae6d1d83473b660bd8f79a6c/crc32c-2.8-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:918b7999b52b5dcbcea34081e9a02d46917d571921a3f209956a9a429b2e06e5", size = 61443, upload-time = "2025-10-17T06:19:44.89Z" }, + { url = "https://files.pythonhosted.org/packages/52/6d/f306ce64a352a3002f76b0fc88a1373f4541f9d34fad3668688610bab14b/crc32c-2.8-cp314-cp314t-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl", hash = "sha256:cc445da03fc012a5a03b71da1df1b40139729e6a5571fd4215ab40bfb39689c7", size = 79106, upload-time = "2025-10-17T06:19:45.688Z" }, + { url = "https://files.pythonhosted.org/packages/a5/b7/1f74965dd7ea762954a69d172dfb3a706049c84ffa45d31401d010a4a126/crc32c-2.8-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.manylinux_2_28_aarch64.whl", hash = "sha256:1e3dde2ec59a8a830511d72a086ead95c0b0b7f0d418f93ea106244c5e77e350", size = 80983, upload-time = "2025-10-17T06:19:46.792Z" }, + { url = "https://files.pythonhosted.org/packages/1b/50/af93f0d91ccd61833ce77374ebfbd16f5805f5c17d18c6470976d9866d76/crc32c-2.8-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:61d51681a08b6a2a2e771b7f0cd1947fb87cb28f38ed55a01cb7c40b2ac4cdd8", size = 80009, upload-time = "2025-10-17T06:19:47.619Z" }, + { url = "https://files.pythonhosted.org/packages/ee/fa/94f394beb68a88258af694dab2f1284f55a406b615d7900bdd6235283bc4/crc32c-2.8-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:67c0716c3b1a02d5235be649487b637eed21f2d070f2b3f63f709dcd2fefb4c7", size = 79066, upload-time = "2025-10-17T06:19:48.409Z" }, + { url = "https://files.pythonhosted.org/packages/91/c6/a6050e0c64fd73c67a97da96cb59f08b05111e00b958fb87ecdce99f17ac/crc32c-2.8-cp314-cp314t-win32.whl", hash = "sha256:2e8fe863fbbd8bdb6b414a2090f1b0f52106e76e9a9c96a413495dbe5ebe492a", size = 64869, upload-time = "2025-10-17T06:19:49.197Z" }, + { url = "https://files.pythonhosted.org/packages/08/1f/c7735034e401cb1ea14f996a224518e3a3fa9987cb13680e707328a7d779/crc32c-2.8-cp314-cp314t-win_amd64.whl", hash = "sha256:20a9cfb897693eb6da19e52e2a7be2026fd4d9fc8ae318f086c0d71d5dd2d8e0", size = 66633, upload-time = "2025-10-17T06:19:50.003Z" }, +] + +[[package]] +name = "cryptography" +version = "49.0.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cffi", marker = "platform_python_implementation != 'PyPy'" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/1f/99/d1c90d6041656cc6ee229dc99cd67fd0cd5aec3c5f7d72fffc27cc750054/cryptography-49.0.0.tar.gz", hash = "sha256:f89660a348f4f78a92366240a61404e337586ef7f5909a2fef59ca88ef505493", size = 854345, upload-time = "2026-06-12T20:02:30.512Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9b/22/adf66990e63584a68dfb50c24f48a125c07b1699899381c8151e63ed458c/cryptography-49.0.0-cp311-abi3-macosx_11_0_arm64.whl", hash = "sha256:966fe0e9c67490071f14c0d2b1cb2dfb3023c5ce39457343931415f08382f2db", size = 4032100, upload-time = "2026-06-12T20:02:32.143Z" }, + { url = "https://files.pythonhosted.org/packages/09/41/3797cfaf69cae04a13ee78ebd83f0678d9c02b4779d21ce24445326f1a69/cryptography-49.0.0-cp311-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:36d1709f992593689b45bda411498d62c6e365f2ca00b84657d4dadd24de16db", size = 4692978, upload-time = "2026-06-12T20:01:21.305Z" }, + { url = "https://files.pythonhosted.org/packages/e6/8b/43011f7ebe515a8aa20d61f290a326cd890c2e738e16e59eaff8d9c3a412/cryptography-49.0.0-cp311-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:0e959b578856a3924bc0cbb710fc12c387b9412a951389f3ca61704a9e25f325", size = 4716422, upload-time = "2026-06-12T20:01:48.566Z" }, + { url = "https://files.pythonhosted.org/packages/4a/91/01ce7303a4579e6d3a6abef01bd322848e9ea7a219adcabc5048b9033571/cryptography-49.0.0-cp311-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:53ecee2e23f7169b6117e99fc8a944e5e50f79e69758a83b52a00cb98ab2b2d2", size = 4700503, upload-time = "2026-06-12T20:02:47.091Z" }, + { url = "https://files.pythonhosted.org/packages/62/99/a2c95cf8293f07491e9e27c20cc4dcd18176d944e674679adeb1d0173fd6/cryptography-49.0.0-cp311-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:2eda353d8a27bcbcaa4cbed18994a74ab4d19a2ca897db188ea269ab9b71419b", size = 5309779, upload-time = "2026-06-12T20:02:08.987Z" }, + { url = "https://files.pythonhosted.org/packages/20/2c/0622f20ff02b2ef32558733443805dc82fd4c275be01b2d19d14676f3a1b/cryptography-49.0.0-cp311-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:2afe9051da7ae7bd5905da5a949280c7d2bb75682e188f650a9d0f2756b834c6", size = 4749683, upload-time = "2026-06-12T20:02:03.335Z" }, + { url = "https://files.pythonhosted.org/packages/a3/5b/c5246635d5fd3b64e0d45ae10e99fd32fe9676a79915ccfe5a61ba9af1a5/cryptography-49.0.0-cp311-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:0b82e28ee398a386f0807bba7884d30f25218855690f45115831bcce5d90822c", size = 4337874, upload-time = "2026-06-12T20:02:54.323Z" }, + { url = "https://files.pythonhosted.org/packages/6d/88/05563c7fe2e914e87d1a536d06fe83e66b4e1d95cb593e05aea375531da8/cryptography-49.0.0-cp311-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:ccac2bfebc306b862133e3bb71f3f6ee8bb525240089b2d952e4144b3a6d5da7", size = 4700283, upload-time = "2026-06-12T20:01:34.822Z" }, + { url = "https://files.pythonhosted.org/packages/c4/b6/d7696e4e890d6ae1469935164c9e5215c557671cb78d6e3f458ccceaa632/cryptography-49.0.0-cp311-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:d0527ce944105f257f605a827d6ebead966c752038b6e8656abb9c5edee6fc68", size = 5265844, upload-time = "2026-06-12T20:01:24.09Z" }, + { url = "https://files.pythonhosted.org/packages/a9/3c/f3ad17eecc1a57b0ba236dc01f90e783c51f4a2f35f64777cc4f47a184b2/cryptography-49.0.0-cp311-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:cbc77da8c523d5abd028635ba850a6966fcee2c82e2bf65a41d1d8afe0f98be9", size = 4749290, upload-time = "2026-06-12T20:01:30.848Z" }, + { url = "https://files.pythonhosted.org/packages/4f/01/339573cf1023163a400b0b5d16f6d507de413b9f60be6fd1b77feeaf6737/cryptography-49.0.0-cp311-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:b87e65d263b3e5d3bb92a57e2a6638e2f31110fa7aa890c7b2dbba42248d0a3f", size = 4834612, upload-time = "2026-06-12T20:01:29.246Z" }, + { url = "https://files.pythonhosted.org/packages/71/fd/577302e213a1be9468f92d1afef66fcf1ef83d516819d9992ca547f592bd/cryptography-49.0.0-cp311-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:66ec79c3904820572d7e987abdf304281f141d37ad9a489b8e97066e7b9b6459", size = 4980804, upload-time = "2026-06-12T20:01:42.853Z" }, + { url = "https://files.pythonhosted.org/packages/1f/09/f42b1d190c5ba75f72062a387f8030d1d75f6ab035788f1d9c4b01de6525/cryptography-49.0.0-cp311-abi3-win_amd64.whl", hash = "sha256:e5dfc1e64de5677cec922ffa8da89c546d0415bf6efdf081842e5d44c84e1f0e", size = 3810026, upload-time = "2026-06-12T20:02:39.262Z" }, + { url = "https://files.pythonhosted.org/packages/ec/9e/db72b3ae7fc9cfad53e630e56c6ae83b9b6ff0bf3718ffb8012d20b3aabf/cryptography-49.0.0-cp314-cp314t-macosx_11_0_arm64.whl", hash = "sha256:73a205dce83953d131a4aa1e0fd917a2fd1c5b1eef251e9d7152efefcbf5caf7", size = 4013892, upload-time = "2026-06-12T20:02:10.735Z" }, + { url = "https://files.pythonhosted.org/packages/86/12/c48a424f38db03027be9f7ed5c7dc5de9933dbee992865f98b13727a009d/cryptography-49.0.0-cp314-cp314t-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:196ecd6a36e4e9aa10270393bb98d8df88fccee0bf1e5128b91ae4eb4375896d", size = 4678835, upload-time = "2026-06-12T20:02:48.743Z" }, + { url = "https://files.pythonhosted.org/packages/68/28/8a3ad4653662c93fc44dc4e5d8fd374c25c42e07b34bbfbadf49cf57a5a8/cryptography-49.0.0-cp314-cp314t-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:7abcee80084cda3f7691f3eb1ce480d8df49cec637b429aa35986c1de71738aa", size = 4697239, upload-time = "2026-06-12T20:02:56.03Z" }, + { url = "https://files.pythonhosted.org/packages/a8/b2/2193fc74f81aee4f9b62733133b73b5176718932ed8f2e4b03fa040480a6/cryptography-49.0.0-cp314-cp314t-manylinux_2_28_aarch64.whl", hash = "sha256:4ae387c9cb68ea569ca17e490d66d8142b81c3cc814bf179974b7d146e490bbb", size = 4685593, upload-time = "2026-06-12T20:02:50.666Z" }, + { url = "https://files.pythonhosted.org/packages/47/f1/1d3eaa243bfc5de4a187b22aa8c048b3e4980bfbe830ac46e6bac2e66947/cryptography-49.0.0-cp314-cp314t-manylinux_2_28_ppc64le.whl", hash = "sha256:f37d847238971164fdbc68ade6f6574aecc9c0af714190e2083429ff68f4ce9d", size = 5289961, upload-time = "2026-06-12T20:01:46.468Z" }, + { url = "https://files.pythonhosted.org/packages/58/39/2d51306721330c486495853eda1c567880ff036de15a14c4b74f399934af/cryptography-49.0.0-cp314-cp314t-manylinux_2_28_x86_64.whl", hash = "sha256:c2bc30226390d60ea19d9f82b19db005fe0452154a23c1c410c12ea801e43561", size = 4731145, upload-time = "2026-06-12T20:02:16.832Z" }, + { url = "https://files.pythonhosted.org/packages/17/50/983e838c7fd0d87fd8c969bcdd328edaf5f756e38df5281637424c155873/cryptography-49.0.0-cp314-cp314t-manylinux_2_31_armv7l.whl", hash = "sha256:07cab27cc7b7e0fd28e5e26bb9eeedde5c135c868b46de4a27845abe94af6122", size = 4321719, upload-time = "2026-06-12T20:02:52.611Z" }, + { url = "https://files.pythonhosted.org/packages/a7/f5/8f571d7e27c55bce9f76f026143bcb1e040a4233149ecca0bea5fa5dd5f7/cryptography-49.0.0-cp314-cp314t-manylinux_2_34_aarch64.whl", hash = "sha256:b20133d204d2bb56ba047642199603876c872026ca53e79c35b83772ab2cc505", size = 4685209, upload-time = "2026-06-12T20:02:07.282Z" }, + { url = "https://files.pythonhosted.org/packages/e7/84/0e27016a6fc5a0886f797018b26aa42f40c09a82332bff77822a451deaaa/cryptography-49.0.0-cp314-cp314t-manylinux_2_34_ppc64le.whl", hash = "sha256:b970c6da94d5bb18629db453d14f2a1300f6bf59b61e9b82377931ef95504866", size = 5246285, upload-time = "2026-06-12T20:01:32.439Z" }, + { url = "https://files.pythonhosted.org/packages/11/2d/5e1fb307cb5931881516b464c98774b3f2c36b5d4bb9a2830253cf553cad/cryptography-49.0.0-cp314-cp314t-manylinux_2_34_x86_64.whl", hash = "sha256:d8ecde755e2e91bf773fc94e8c9d730cd7f2007004cb492263a794ec3899a1c8", size = 4730441, upload-time = "2026-06-12T20:02:01.469Z" }, + { url = "https://files.pythonhosted.org/packages/e4/c0/bff5a02ee731d207d6a1ed51732549d8c53d2bc8da1d10ec6f2844201d68/cryptography-49.0.0-cp314-cp314t-musllinux_1_2_aarch64.whl", hash = "sha256:e3fb64c420688e5319ae25113a354015abbd8dffbfbc41781a1ea66fc7622ac3", size = 4815869, upload-time = "2026-06-12T20:01:36.574Z" }, + { url = "https://files.pythonhosted.org/packages/b9/26/814681d14248d95d73d5c3eea0c39a94eb8302df966f670a2c60de90974b/cryptography-49.0.0-cp314-cp314t-musllinux_1_2_x86_64.whl", hash = "sha256:32703d93296f5c1f4b53349ad3a250c2cae0fdecd3a3dd5d47e616d8d616af27", size = 4960948, upload-time = "2026-06-12T20:02:18.688Z" }, + { url = "https://files.pythonhosted.org/packages/4c/fe/93ecac273d3738939d023612ad12cca9a3740a5345d69fda04134c43fd96/cryptography-49.0.0-cp314-cp314t-win_amd64.whl", hash = "sha256:33cd0565932807baddb67b96dbee92f2c374b5c89dee09fd74079aeb8c8dba61", size = 3799153, upload-time = "2026-06-12T20:01:39.059Z" }, + { url = "https://files.pythonhosted.org/packages/19/2a/5bb823f5bedcf80718cea7fbc95ec5515cca3769633c4b01a32be7f30e7c/cryptography-49.0.0-cp39-abi3-macosx_11_0_arm64.whl", hash = "sha256:ec5e529fb80935c94fe7b729f9972b50e351a0e6b50aa294fd5cabb109fcc29a", size = 4025947, upload-time = "2026-06-12T20:01:25.745Z" }, + { url = "https://files.pythonhosted.org/packages/3d/df/40577043ca124e17012f408ddddaeb213b856336ac82ddb3bc915f39e29f/cryptography-49.0.0-cp39-abi3-manylinux2014_aarch64.manylinux_2_17_aarch64.whl", hash = "sha256:f78ff2c9ed8dc2d036b0f4d640e22522213d047c1b14e61205a7e55c80a494d4", size = 4692429, upload-time = "2026-06-12T20:01:53.628Z" }, + { url = "https://files.pythonhosted.org/packages/2c/99/2d13299eb3dd27b02dcfaafcc91d6b5cb3329f7cbd6d8f51921acd566c1a/cryptography-49.0.0-cp39-abi3-manylinux2014_x86_64.manylinux_2_17_x86_64.whl", hash = "sha256:35b151772baff2c74cba7fa290ceaff4c3b11c0c881eb93eb5dbc05a7cfbba18", size = 4700968, upload-time = "2026-06-12T20:02:45.383Z" }, + { url = "https://files.pythonhosted.org/packages/a5/4d/9c0cd02f95e2602dd5e563da149ee0830abef3537be8b34dc56281ebe27a/cryptography-49.0.0-cp39-abi3-manylinux_2_28_aarch64.whl", hash = "sha256:0f21641cf4b30fca7aee061ced0ec7ad7b073518088b7c9969a297c0ae796c69", size = 4697758, upload-time = "2026-06-12T20:01:41.13Z" }, + { url = "https://files.pythonhosted.org/packages/24/01/186c825898477d77e2324d5360fefe622ff1d8d1963ec0554e2cada8ec77/cryptography-49.0.0-cp39-abi3-manylinux_2_28_ppc64le.whl", hash = "sha256:9e82dcc8e56052715fb18b2429e3bca4823b1629136a2084fc45a9a5cecb9b64", size = 5298863, upload-time = "2026-06-12T20:02:24.579Z" }, + { url = "https://files.pythonhosted.org/packages/b8/7b/62cbbab75d0659865bf0273790031544a0b16c8072d258f9428dcd8190dc/cryptography-49.0.0-cp39-abi3-manylinux_2_28_x86_64.whl", hash = "sha256:6f2debedf9ca60cf1d5bd466475638af5130f89965605cd818484d19987d3a21", size = 4735983, upload-time = "2026-06-12T20:01:50.14Z" }, + { url = "https://files.pythonhosted.org/packages/6c/72/3e798c064bc39e471008075d0f9bc9daf77a80879c092e4a8e170c585ed4/cryptography-49.0.0-cp39-abi3-manylinux_2_31_armv7l.whl", hash = "sha256:8c25ceb16df5b9435f3f6a9829204985b0e0cbee3b48aacd432c7d2c850b44d9", size = 4334173, upload-time = "2026-06-12T20:01:44.743Z" }, + { url = "https://files.pythonhosted.org/packages/f0/ee/6fca21d1ac73e06f8bef71940abfd4d2f6472b4bca284d770f32bd4086f6/cryptography-49.0.0-cp39-abi3-manylinux_2_34_aarch64.whl", hash = "sha256:28d8b15e6275f12c8a207dc309dfa957903c927d08d0cc937ee3f63f200693cc", size = 4697298, upload-time = "2026-06-12T20:02:20.918Z" }, + { url = "https://files.pythonhosted.org/packages/67/d0/a5fcd3515f0bae49a7b6d0413cc1bdccdcc1fc0047037a0d480642cdc5d6/cryptography-49.0.0-cp39-abi3-manylinux_2_34_ppc64le.whl", hash = "sha256:6fc361c34fb6aac015ce19435876635e5c6d21db31998b0920f675f131e043b8", size = 5254338, upload-time = "2026-06-12T20:02:22.737Z" }, + { url = "https://files.pythonhosted.org/packages/a0/84/84fe36f19caf857d61cb7fc9c63035a47ffabd84ea12d1d393148efa3615/cryptography-49.0.0-cp39-abi3-manylinux_2_34_x86_64.whl", hash = "sha256:2400ef9c9e2299a25614eb1dea3db54a69b1349efd043bfac9c67630d136df36", size = 4735650, upload-time = "2026-06-12T20:02:41.389Z" }, + { url = "https://files.pythonhosted.org/packages/6c/a0/db537264e234f7273a73ec020873d6d6b39dfd8a53db78b550ca8320440e/cryptography-49.0.0-cp39-abi3-musllinux_1_2_aarch64.whl", hash = "sha256:67e1d20ad9ef3a563c59ef22e7a8a0b8210bd26604369ea4a30a7c66aefe504e", size = 4834820, upload-time = "2026-06-12T20:01:51.847Z" }, + { url = "https://files.pythonhosted.org/packages/93/77/8df9eb486495979bccecd1062e2eaf435250e84437040295b57d09048b0b/cryptography-49.0.0-cp39-abi3-musllinux_1_2_x86_64.whl", hash = "sha256:42b0684e0e40cf26122427802486f6d93aea593612603a94fbf260c7eb1e9c1b", size = 4967968, upload-time = "2026-06-12T20:02:12.524Z" }, + { url = "https://files.pythonhosted.org/packages/c2/e6/f60198ea8d9dfa15fff9ed4ca02ce362f6eadd9ba757dcc50634c4257b63/cryptography-49.0.0-cp39-abi3-win_amd64.whl", hash = "sha256:026ac7423e6fa66872d3bf889be5974507da3944f866f704fa200eadacd00001", size = 3785547, upload-time = "2026-06-12T20:02:26.847Z" }, +] + +[[package]] +name = "iniconfig" +version = "2.3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/72/34/14ca021ce8e5dfedc35312d08ba8bf51fdd999c576889fc2c24cb97f4f10/iniconfig-2.3.0.tar.gz", hash = "sha256:c76315c77db068650d49c5b56314774a7804df16fee4402c1f19d6d15d8c4730", size = 20503, upload-time = "2025-10-18T21:55:43.219Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/cb/b1/3846dd7f199d53cb17f49cba7e651e9ce294d8497c8c150530ed11865bb8/iniconfig-2.3.0-py3-none-any.whl", hash = "sha256:f631c04d2c48c52b84d0d0549c99ff3859c98df65b3101406327ecc7d53fbf12", size = 7484, upload-time = "2025-10-18T21:55:41.639Z" }, +] + +[[package]] +name = "oci" +version = "2.182.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "certifi" }, + { name = "circuitbreaker" }, + { name = "crc32c" }, + { name = "cryptography" }, + { name = "pyjwt" }, + { name = "pyopenssl" }, + { name = "python-dateutil" }, + { name = "pytz" }, + { name = "urllib3" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/a6/20/769e5fef5006ca00b0917fc7a60d143af856ace4320af567fe83ab47f72b/oci-2.182.0.tar.gz", hash = "sha256:effdd24f808179cfa15ba1084181cadda8e09332699cdbcd2f78ebbd0a2d072e", size = 17631582, upload-time = "2026-07-14T07:21:19.742Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/2f/b2/bd2ed4b1f29b1afe1565dd19e9cc0420fede82b9aa1c409361c18d84c554/oci-2.182.0-py3-none-any.whl", hash = "sha256:f8d7d675d1fe75721dac9aa97a11bf8b670a1814afd4969b7023fef8e3ce57d2", size = 35969385, upload-time = "2026-07-14T07:21:11.372Z" }, +] + +[[package]] +name = "oci-mcp-common" +version = "0.1.0" +source = { editable = "." } +dependencies = [ + { name = "oci" }, +] + +[package.dev-dependencies] +dev = [ + { name = "pytest" }, + { name = "pytest-cov" }, +] + +[package.metadata] +requires-dist = [{ name = "oci", specifier = ">=2.179.0" }] + +[package.metadata.requires-dev] +dev = [ + { name = "pytest", specifier = ">=9.0.3" }, + { name = "pytest-cov", specifier = ">=7.0.0" }, +] + +[[package]] +name = "packaging" +version = "26.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/d7/f1/e7a6dd94a8d4a5626c03e4e99c87f241ba9e350cd9e6d75123f992427270/packaging-26.2.tar.gz", hash = "sha256:ff452ff5a3e828ce110190feff1178bb1f2ea2281fa2075aadb987c2fb221661", size = 228134, upload-time = "2026-04-24T20:15:23.917Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/df/b2/87e62e8c3e2f4b32e5fe99e0b86d576da1312593b39f47d8ceef365e95ed/packaging-26.2-py3-none-any.whl", hash = "sha256:5fc45236b9446107ff2415ce77c807cee2862cb6fac22b8a73826d0693b0980e", size = 100195, upload-time = "2026-04-24T20:15:22.081Z" }, +] + +[[package]] +name = "pluggy" +version = "1.6.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/f9/e2/3e91f31a7d2b083fe6ef3fa267035b518369d9511ffab804f839851d2779/pluggy-1.6.0.tar.gz", hash = "sha256:7dcc130b76258d33b90f61b658791dede3486c3e6bfb003ee5c9bfb396dd22f3", size = 69412, upload-time = "2025-05-15T12:30:07.975Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/20/4d324d65cc6d9205fabedc306948156824eb9f0ee1633355a8f7ec5c66bf/pluggy-1.6.0-py3-none-any.whl", hash = "sha256:e920276dd6813095e9377c0bc5566d94c932c33b27a3e3945d8389c374dd4746", size = 20538, upload-time = "2025-05-15T12:30:06.134Z" }, +] + +[[package]] +name = "pycparser" +version = "3.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/1b/7d/92392ff7815c21062bea51aa7b87d45576f649f16458d78b7cf94b9ab2e6/pycparser-3.0.tar.gz", hash = "sha256:600f49d217304a5902ac3c37e1281c9fe94e4d0489de643a9504c5cdfdfc6b29", size = 103492, upload-time = "2026-01-21T14:26:51.89Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/0c/c3/44f3fbbfa403ea2a7c779186dc20772604442dde72947e7d01069cbe98e3/pycparser-3.0-py3-none-any.whl", hash = "sha256:b727414169a36b7d524c1c3e31839a521725078d7b2ff038656844266160a992", size = 48172, upload-time = "2026-01-21T14:26:50.693Z" }, +] + +[[package]] +name = "pygments" +version = "2.20.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/c3/b2/bc9c9196916376152d655522fdcebac55e66de6603a76a02bca1b6414f6c/pygments-2.20.0.tar.gz", hash = "sha256:6757cd03768053ff99f3039c1a36d6c0aa0b263438fcab17520b30a303a82b5f", size = 4955991, upload-time = "2026-03-29T13:29:33.898Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/f4/7e/a72dd26f3b0f4f2bf1dd8923c85f7ceb43172af56d63c7383eb62b332364/pygments-2.20.0-py3-none-any.whl", hash = "sha256:81a9e26dd42fd28a23a2d169d86d7ac03b46e2f8b59ed4698fb4785f946d0176", size = 1231151, upload-time = "2026-03-29T13:29:30.038Z" }, +] + +[[package]] +name = "pyjwt" +version = "2.13.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/3b/81/58d0ac84e1ef3a3843791d6954d94c0b33d526c75eeb1efbce9d0a4c4077/pyjwt-2.13.0.tar.gz", hash = "sha256:41571c89ca91598c79e8ef18a2d07367d4810fbbd6f637794879baf1b7703423", size = 107515, upload-time = "2026-05-21T19:54:36.618Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/a3/5e/ecf12fdb62546d64385c158514e9b2b671f7832108ef2ecd2020ce0af2d1/pyjwt-2.13.0-py3-none-any.whl", hash = "sha256:66adcc2aff09b3f1bbd95fc1e1577df8ac8723c978552fd43304c8a290ac5728", size = 31274, upload-time = "2026-05-21T19:54:35.362Z" }, +] + +[[package]] +name = "pyopenssl" +version = "26.3.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "cryptography" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/74/b7/da07bae88f5a9506b4def6f2f4903cf4c3b8831e560dba8fa18ca08f758f/pyopenssl-26.3.0.tar.gz", hash = "sha256:589de7fae1c9ea670d18422ed00fc04da787bbde8e1454aea872aa57b49ad341", size = 182024, upload-time = "2026-06-12T20:28:07.458Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/54/18/1dd71c9b43192ab83f1d531ad6002dc81108ac36c475f79fb7a295abe2f4/pyopenssl-26.3.0-py3-none-any.whl", hash = "sha256:46367f8f66b92271e6d218da9c87607e1ef5a0bc5c8dea5bb3db82f395c385a3", size = 56008, upload-time = "2026-06-12T20:28:05.999Z" }, +] + +[[package]] +name = "pytest" +version = "9.1.1" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "colorama", marker = "sys_platform == 'win32'" }, + { name = "iniconfig" }, + { name = "packaging" }, + { name = "pluggy" }, + { name = "pygments" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/e4/47/b9efed96c114afcfa3c9d3fe98a76a1d14c74a9e266d397cf6eb64be5e01/pytest-9.1.1.tar.gz", hash = "sha256:1088fbde8f2b49d95a549a195707afa7a76a3ce9bcadc26b6d71f0ffda5fe313", size = 1636369, upload-time = "2026-06-19T10:58:32.857Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/24/25/1de2678b631f5a49215c6c96fff41ba892b0a34df68d6d80292b1b48aa7f/pytest-9.1.1-py3-none-any.whl", hash = "sha256:37a86b45efb9a47a61a36449063e8e18d0cab3161329fc099eb21783169c4f0c", size = 386536, upload-time = "2026-06-19T10:58:31.347Z" }, +] + +[[package]] +name = "pytest-cov" +version = "7.1.0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "coverage" }, + { name = "pluggy" }, + { name = "pytest" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/b1/51/a849f96e117386044471c8ec2bd6cfebacda285da9525c9106aeb28da671/pytest_cov-7.1.0.tar.gz", hash = "sha256:30674f2b5f6351aa09702a9c8c364f6a01c27aae0c1366ae8016160d1efc56b2", size = 55592, upload-time = "2026-03-21T20:11:16.284Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/9d/7a/d968e294073affff457b041c2be9868a40c1c71f4a35fcc1e45e5493067b/pytest_cov-7.1.0-py3-none-any.whl", hash = "sha256:a0461110b7865f9a271aa1b51e516c9a95de9d696734a2f71e3e78f46e1d4678", size = 22876, upload-time = "2026-03-21T20:11:14.438Z" }, +] + +[[package]] +name = "python-dateutil" +version = "2.9.0.post0" +source = { registry = "https://pypi.org/simple" } +dependencies = [ + { name = "six" }, +] +sdist = { url = "https://files.pythonhosted.org/packages/66/c0/0c8b6ad9f17a802ee498c46e004a0eb49bc148f2fd230864601a86dcf6db/python-dateutil-2.9.0.post0.tar.gz", hash = "sha256:37dd54208da7e1cd875388217d5e00ebd4179249f90fb72437e91a35459a0ad3", size = 342432, upload-time = "2024-03-01T18:36:20.211Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/57/56b9bcc3c9c6a792fcbaf139543cee77261f3651ca9da0c93f5c1221264b/python_dateutil-2.9.0.post0-py2.py3-none-any.whl", hash = "sha256:a8b2bc7bffae282281c8140a97d3aa9c14da0b136dfe83f850eea9a5f7470427", size = 229892, upload-time = "2024-03-01T18:36:18.57Z" }, +] + +[[package]] +name = "pytz" +version = "2026.2" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/ff/46/dd499ec9038423421951e4fad73051febaa13d2df82b4064f87af8b8c0c3/pytz-2026.2.tar.gz", hash = "sha256:0e60b47b29f21574376f218fe21abc009894a2321ea16c6754f3cad6eb7cdd6a", size = 320861, upload-time = "2026-05-04T01:35:29.667Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/ec/dd/96da98f892250475bdf2328112d7468abdd4acc7b902b6af23f4ed958ea0/pytz-2026.2-py2.py3-none-any.whl", hash = "sha256:04156e608bee23d3792fd45c94ae47fae1036688e75032eea2e3bf0323d1f126", size = 510141, upload-time = "2026-05-04T01:35:27.408Z" }, +] + +[[package]] +name = "six" +version = "1.17.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/94/e7/b2c673351809dca68a0e064b6af791aa332cf192da575fd474ed7d6f16a2/six-1.17.0.tar.gz", hash = "sha256:ff70335d468e7eb6ec65b95b99d3a2836546063f63acc5171de367e834932a81", size = 34031, upload-time = "2024-12-04T17:35:28.174Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/b7/ce/149a00dd41f10bc29e5921b496af8b574d8413afcd5e30dfa0ed46c2cc5e/six-1.17.0-py2.py3-none-any.whl", hash = "sha256:4721f391ed90541fddacab5acf947aa0d3dc7d27b2e1e8eda2be8970586c3274", size = 11050, upload-time = "2024-12-04T17:35:26.475Z" }, +] + +[[package]] +name = "urllib3" +version = "2.7.0" +source = { registry = "https://pypi.org/simple" } +sdist = { url = "https://files.pythonhosted.org/packages/53/0c/06f8b233b8fd13b9e5ee11424ef85419ba0d8ba0b3138bf360be2ff56953/urllib3-2.7.0.tar.gz", hash = "sha256:231e0ec3b63ceb14667c67be60f2f2c40a518cb38b03af60abc813da26505f4c", size = 433602, upload-time = "2026-05-07T16:13:18.596Z" } +wheels = [ + { url = "https://files.pythonhosted.org/packages/7f/3e/5db95bcf282c52709639744ca2a8b149baccf648e39c8cc87553df9eae0c/urllib3-2.7.0-py3-none-any.whl", hash = "sha256:9fb4c81ebbb1ce9531cce37674bbc6f1360472bc18ca9a553ede278ef7276897", size = 131087, upload-time = "2026-05-07T16:13:17.151Z" }, +]