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:
- Start a fresh docassemble 1.9.7 instance using Docker
- Log in as admin
- Go to Package Management
- Install: openai
- 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.
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
Steps to reproduce:
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:
Failing combinations:
Which suggests a regression or dependency incompatibility introduced in 1.9.7.