Skip to content

docassemble 1.9.7 fails to start after installing openai package (pydantic-core mismatch) #932

Description

@jscarruth

I encountered a startup failure in docassemble 1.9.7 after installing the openai Python package through Package Management.
The issue results in a complete application failure with HTTP 500 errors and uWSGI unable to load the Python app.

Environment:- docassemble version: 1.9.7

  • Docker image: jhpyle/docassemble:1.9.7
  • Platform: Docker Desktop (Mac, Apple Silicon)

Steps to reproduce:

  1. Start a fresh docassemble 1.9.7 instance using Docker
  2. Log in as admin
  3. Go to Package Management
  4. Install: openai
  5. Restart the container (docker compose down / up)

Behavior:
Application fails to start. All pages return HTTP 500.
uWSGI logs show "no python application found".

Details:
SystemError: The installed pydantic-core version (2.45.0) is incompatible with the current pydantic version, which requires 2.41.5.

Working combinations:

  • docassemble 1.9.6 + openai 1.107.3 → works
  • docassemble 1.9.6 + openai 2.30.0 → works

Failing combinations:

  • docassemble 1.9.7 + openai 2.30.0 → fails
  • docassemble 1.9.7 + openai 1.107.3 → fails

Which suggests a regression or dependency incompatibility introduced in 1.9.7.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions