-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Description
When running the backend with Python 3.14.0, a compatibility warning appears from the langchain-core dependency. The application still runs successfully, but this warning indicates potential future compatibility issues as Python 3.14 adoption increases.
Warning Message
UserWarning: Core Pydantic V1 functionality isn't compatible with Python 3.14 or greater.
from pydantic.v1.fields import FieldInfo as FieldInfoV1
Environment
- OS: Windows 11
- Python: 3.14.0
- UV: 0.9.27
Steps to Reproduce
- Install Python 3.14
- Clone repository
- Create virtual environment with uv venv
- Activate virtual environment
- Install dependencies with uv sync
- Run backend with cd backend && uv run main.py
- Observe warning in console output
Current Behavior
- Warning appears on every startup
- Application runs successfully despite warning
Expected Behavior
- No compatibility warnings
- OR clear documentation about supported Python versions
Suggested Solutions
Option 1: Add Python version constraint in pyproject.toml (requires-python = ">=3.11,<3.14")
Option 2: Document supported versions in README.md
Option 3: Update langchain-core to a Pydantic V2 compatible version
Additional Context
- Warning originates from langchain-core dependency
- Python 3.14 was released recently
- Application functionality is not affected
Willingness to Contribute
I have the project running locally on Windows and can submit a PR if maintainers indicate a preferred approach.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels