Cap `dbos` below 2.31.0 to avoid a missing `opentelemetry-instrumentation-logging` import

Merged
DS
3mo ago
+4-2

The latest-versions canary caught this ahead of today's release: dbos==2.31.0 (published yesterday) added an unconditional import of opentelemetry.instrumentation.logging in DBOS.__init__'s default config_logger path, but only declares that package under their own optional [otel] extra — which we don't request. A fresh pip install 'pydantic-ai[dbos]' now breaks on first DBOS() construction.

Capping the upper bound until dbos fixes their packaging. Filed upstream: dbos-inc/dbos-transact-py#832.

Checklist

  • Any AI generated code has been reviewed line-by-line by the human PR author, who stands by it.
  • No breaking changes in accordance with the version policy.
  • Any permitted compatibility impact has a label, warning, migration, release note, and exact API-check waiver.
  • PR title is fit for the release changelog.