Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ python = ">=3.9,<4.0"
fastuuid = "0.14.0"
httpx = "0.28.1"
openai = "2.30.0"
python-dotenv = "1.0.1"
python-dotenv = ">=1.0.1"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

P2 No upper bound on the relaxed pin

All other core (non-optional) dependencies in this file are exact-pinned (e.g. httpx = "0.28.1", openai = "2.30.0"), and the comment at line 21 explicitly states these were derived from a known-good PyPI resolution. Relaxing python-dotenv to >=1.0.1 with no upper bound means a future python-dotenv 2.x with breaking changes could silently be pulled in by consumers.

As of now there is no 2.x release, but adding a major-version cap is inexpensive insurance and aligns with the project's cautious pinning intent:

Suggested change
python-dotenv = ">=1.0.1"
python-dotenv = ">=1.0.1,<2.0.0"

tiktoken = "0.12.0"
importlib-metadata = "8.5.0"
tokenizers = "0.22.2"
Expand Down
Loading