Skip to content

Issue with uv sync for A2A sample app #9

@jaycoolslm

Description

@jaycoolslm

I've set up my local directory as per the Google blogpost

mkdir sdk
git clone https://github.com/Universal-Commerce-Protocol/python-sdk.git sdk/python
pushd sdk/python
uv sync
popd
git clone https://github.com/Universal-Commerce-Protocol/samples.git
cd samples/rest/python/server
uv sync

Rest server demo works fine.

However, when I try to run the A2A demo I get this error at the uv sync stage

 ~/co/a/ucp/samples/a2a/business_agent  main  uv sync                                                 ✔
Resolved 119 packages in 0.58ms
  × Failed to download `opentelemetry-exporter-otlp-proto-http==1.37.0`
  ├─▶ Failed to fetch:
  │   `https://us-python.pkg.dev/artifact-foundry-prod/ah-3p-staging-python/opentelemetry-exporter-otlp-proto-http/opentelemetry_exporter_otlp_proto_http-1.37.0-py3-none-any.whl`
  ╰─▶ HTTP status client error (401 Unauthorized) for url
      (https://us-python.pkg.dev/artifact-foundry-prod/ah-3p-staging-python/opentelemetry-exporter-otlp-proto-http/opentelemetry_exporter_otlp_proto_http-1.37.0-py3-none-any.whl)
  help: `opentelemetry-exporter-otlp-proto-http` (v1.37.0) was included because `business-agent` (v0.1.0)
        depends on `google-adk` (v1.22.0) which depends on `opentelemetry-exporter-otlp-proto-http`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions