9201ef759e
CI / lint (push) Waiting to run
CI / mypy (push) Waiting to run
CI / docs (push) Waiting to run
CI / test on 3.10 (standard) (push) Waiting to run
CI / test on 3.11 (standard) (push) Waiting to run
CI / test on 3.12 (standard) (push) Waiting to run
CI / test on 3.10 (all-extras) (push) Waiting to run
CI / test on 3.11 (all-extras) (push) Waiting to run
CI / test on 3.12 (all-extras) (push) Waiting to run
CI / test on 3.13 (all-extras) (push) Waiting to run
CI / test on 3.14 (pydantic-evals) (push) Waiting to run
Harness Compat / harness compat (push) Waiting to run
CI / test on 3.13 (standard) (push) Waiting to run
CI / test on 3.14 (standard) (push) Waiting to run
CI / test on 3.14 (all-extras) (push) Waiting to run
CI / test on 3.10 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.11 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.12 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.13 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.14 (pydantic-ai-slim) (push) Waiting to run
CI / test on 3.10 (pydantic-evals) (push) Waiting to run
CI / test on 3.11 (pydantic-evals) (push) Waiting to run
CI / test on 3.12 (pydantic-evals) (push) Waiting to run
CI / test on 3.13 (pydantic-evals) (push) Waiting to run
CI / test on 3.10 (lowest-versions) (push) Waiting to run
CI / test on 3.11 (lowest-versions) (push) Waiting to run
CI / test on 3.12 (lowest-versions) (push) Waiting to run
CI / test on 3.13 (lowest-versions) (push) Waiting to run
CI / test on 3.14 (lowest-versions) (push) Waiting to run
CI / test examples on 3.11 (push) Waiting to run
CI / test examples on 3.12 (push) Waiting to run
CI / test examples on 3.13 (push) Waiting to run
CI / test examples on 3.14 (push) Waiting to run
CI / coverage (push) Blocked by required conditions
CI / check (push) Blocked by required conditions
CI / deploy-docs (push) Blocked by required conditions
CI / deploy-docs-preview (push) Blocked by required conditions
CI / build release artifacts (push) Blocked by required conditions
CI / publish to PyPI (push) Blocked by required conditions
CI / Send tweet (push) Blocked by required conditions
31 lines
1.2 KiB
Python
Executable File
31 lines
1.2 KiB
Python
Executable File
#!/usr/bin/env -S uv run --script
|
|
# /// script
|
|
# requires-python = ">=3.11"
|
|
# dependencies = [
|
|
# "pydantic-ai-slim[anthropic,mcp]>=1.105.0",
|
|
# # The file/shell tools (Bash/Read/Write/Edit/Grep/Glob/LS) are backed by
|
|
# # harness FileSystem/Shell, which ship as stable top-level modules from 0.4.0
|
|
# # onwards. Keep this in sync with the lint-group pin in the root pyproject.toml.
|
|
# "pydantic-ai-harness>=0.4.0",
|
|
# "logfire",
|
|
# "opentelemetry-instrumentation-httpx",
|
|
# ]
|
|
# ///
|
|
"""Pydantic AI gh-aw shim launcher.
|
|
|
|
Thin entry point that defers to the `pydantic_ai_gh_aw_shim` package
|
|
beside this script. The real shim lives in `pydantic_ai_gh_aw_shim.cli`;
|
|
the package's `__main__.py` calls `cli.main()`. This file exists only to
|
|
satisfy gh-aw's expectation of a single executable command (and to
|
|
carry the PEP 723 inline-metadata dependency block for `uv run --script`).
|
|
"""
|
|
import pathlib
|
|
import runpy
|
|
import sys
|
|
|
|
# `pydantic_ai_gh_aw_shim/` lives next to this script — put its parent on
|
|
# `sys.path` so `runpy.run_module` can find it (and the shim's `from .`
|
|
# relative imports resolve).
|
|
sys.path.insert(0, str(pathlib.Path(__file__).resolve().parent))
|
|
runpy.run_module("pydantic_ai_gh_aw_shim", run_name="__main__")
|