Skip to content

Conversation

@pksophos
Copy link

@pksophos pksophos commented Oct 25, 2025

This pull request updates the Temporal documentation to include installation instructions for integrating Pydantic AI with Temporal. The changes clarify how to install the necessary Python packages for both the full and slim versions of Pydantic AI.

Installation instructions:

  • Added instructions for installing the pydantic-ai package with Temporal support using either pip or uv, including the temporal extra.
  • Provided installation guidance for the slim version of pydantic-ai, specifying the use of optional groups for temporal and openai.

Closes #3256

@DouweM DouweM changed the title Add package installation instruction for Temporal example (#3256) Add package installation instruction for Temporal example Oct 27, 2025
And installing Pydantic AI with Temporal [open-source library](https://github.com/temporalio/sdk-python):

```bash
pip/uv-add 'pydantic-ai[temporal]'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pydantic-ai depends on pydantic-ai-slim[...,temporal,...], so explicit installation is only necessary when using pydantic-ai-slim directly. This is not the case for DBOS and Prefect which are not including in pydantic-ai by default.

Can you update the docs to make that more clear please?

@github-actions
Copy link

github-actions bot commented Nov 4, 2025

This PR is stale, and will be closed in 3 days if no reply is received.

@github-actions github-actions bot added the Stale label Nov 4, 2025
@github-actions
Copy link

github-actions bot commented Nov 7, 2025

Closing this PR as it has been inactive for 10 days.

@github-actions github-actions bot closed this Nov 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Temporal documentation missing package installation instruction

2 participants