pyvider 2025-10-08
Major update with new test suites for capabilities, CLI entrypoints, CLI utils, and version handling
23 files · 3,579+ · 600-

Grpcio Version Bump

3 files changed
  • pyproject.toml Updated pyproject.toml (+1/-1 lines)
  • uv.lock Updated uv.lock (+2226/-596 lines)
  • .gitignore Added .gitignore (+2 lines)
  • Updated grpcio minimum from >=1.73.0 to >=1.75.0 in pyproject.toml baseline internal
    1 file
    • pyproject.toml
  • Major uv.lock refresh with 2,822 lines of changes baseline internal
    1 file
    • uv.lock

TypeVar Defaults

1 file changed
  • context.py Updated context.py (+1/-1 lines)
  • Added default=PrivateState to PrivateStateType TypeVar in resources/context.py, enabling callers to omit the type parameter instantiate behavioral
    1 file
    • context.py

Deprecated datetime.utcnow()

1 file changed
  • lifecycle.py Updated lifecycle.py (+2/-2 lines)
  • Replaced datetime.utcnow() with datetime.now(timezone.utc) in resources/lifecycle.py to fix Python 3.12+ deprecation warning remediate internal
    1 file
    • lifecycle.py

New Test Suites

18 files changed
  • test_decorators.py Added test_decorators.py (+99 lines)
  • test_cli_entrypoints.py Added test_cli_entrypoints.py (+64 lines)
  • test_cli_utils.py Added test_cli_utils.py (+180 lines)
  • test_version.py Added test_version.py (+36 lines)
  • test_attrs_factory.py Added test_attrs_factory.py (+89 lines)
  • test_availability.py Added test_availability.py (+83 lines)
  • test_base_context.py Added test_base_context.py (+64 lines)
  • test_launch_context.py Added test_launch_context.py (+163 lines)
  • test_launch_context_extra.py Added test_launch_context_extra.py (+86 lines)
  • test_context_package.py Added test_context_package.py (+14 lines)
  • test_utils.py Added test_utils.py (+65 lines)
  • test_service.py Added test_service.py (+104 lines)
  • test_exceptions.py Added test_exceptions.py (+34 lines)
  • test_lifecycle.py Added test_lifecycle.py (+38 lines)
  • test_resource_context.py Added test_resource_context.py (+40 lines)
  • test_resource_protocol.py Added test_resource_protocol.py (+34 lines)
  • test_exceptions.py Added test_exceptions.py (+56 lines)
  • test_handler.py Added test_handler.py (+98 lines)
  • Added tests/capabilities/test_decorators.py (99 lines) - tests for register_capability and requires_capability decorators including async/sync injection, missing provider error handling, and hub component restoration qualify internal
    1 file
    • test_decorators.py
  • Added tests/cli/test_cli_entrypoints.py (64 lines) - tests for CLI main entry point, shutdown-on-error behavior, and package __main__ alias qualify behavioral
    1 file
    • test_cli_entrypoints.py
  • Added tests/cli/test_cli_utils.py (180 lines) - tests for _run_command and _place_terraform_provider_script utilities qualify behavioral
    1 file
    • test_cli_utils.py
  • Added tests/test_version.py (36 lines) - tests for version string retrieval qualify internal
    1 file
    • test_version.py