Skip to content
Open
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 @@ -39,7 +39,7 @@ dependencies = [
"pexpect>=4.9.0",
"psutil>=5.9.0",
"jsonpath-ng>=1.5.3",
"python-dotenv>=1.0.0",
"python-dotenv>=1.2.1",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🔴 python-dotenv >=1.2.1 requires Python >=3.9, breaking declared Python 3.8 support

The minimum version of python-dotenv was bumped from >=1.0.0 to >=1.2.1, but python-dotenv 1.2.1 declares Requires-Python: >=3.9. This project declares requires-python = ">=3.8" at pyproject.toml:12 and lists Python 3.8 in its classifiers at pyproject.toml:18. Users on Python 3.8 will encounter a dependency resolution failure because pip cannot find a python-dotenv version that satisfies both >=1.2.1 and Python 3.8 compatibility (the last Python 3.8-compatible release was 1.0.1). Additionally, requirements.txt:7 still has the old >=1.0.0 constraint, creating an inconsistency between the two dependency specifications.

Prompt for agents
The python-dotenv version bump to >=1.2.1 is incompatible with the project's declared Python 3.8 support. python-dotenv 1.1.0+ dropped Python 3.8 support (requires Python >=3.9). There are two approaches to fix this:

1. If Python 3.8 support must be maintained: revert the minimum version back to >=1.0.0 (or use a version constraint like >=1.0.0,<1.1.0 to cap at the last 3.8-compatible release if a specific feature from newer versions is not needed).

2. If Python 3.8 support can be dropped: update requires-python to >=3.9 in pyproject.toml:12, remove the Python 3.8 classifier from pyproject.toml:18, and update the mypy python_version at pyproject.toml:102 and the black target-version at pyproject.toml:77 accordingly.

Also ensure requirements.txt:7 is updated to be consistent with whichever choice is made in pyproject.toml.
Open in Devin Review

Was this helpful? React with 👍 or 👎 to provide feedback.

"requests>=2.31.0",
]

Expand Down
Loading