Skip to content

deps(deps): update python-dotenv requirement from >=1.0.0 to >=1.2.1#25

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dotenv-gte-1.2.1
Open

deps(deps): update python-dotenv requirement from >=1.0.0 to >=1.2.1#25
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/python-dotenv-gte-1.2.1

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 13, 2026

Updates the requirements on python-dotenv to permit the latest version.

Release notes

Sourced from python-dotenv's releases.

v1.2.1

What's Changed

New Contributors

Full Changelog: theskumar/python-dotenv@v1.2.0...v1.2.1

Changelog

Sourced from python-dotenv's changelog.

[1.2.1] - 2025-10-26

  • Move more config to pyproject.toml, removed setup.cfg
  • Add support for reading .env from FIFOs (Unix) by [@​sidharth-sudhir] in #586

[1.2.0] - 2025-10-26

[1.1.1] - 2025-06-24

Fixed

[1.1.0] - 2025-03-25

Added

  • Add support for python 3.13
  • Enhance dotenv run, switch to execvpe for better resource management and signal handling (#523) by [@​eekstunt]

Fixed

  • find_dotenv and load_dotenv now correctly looks up at the current directory when running in debugger or pdb (#553 by [@​randomseed42])

Misc

  • Drop support for Python 3.8

[1.0.1] - 2024-01-23

Fixed

  • Gracefully handle code which has been imported from a zipfile (#456 by [@​samwyma])
  • Allow modules using load_dotenv to be reloaded when launched in a separate thread (#497 by [@​freddyaboulton])
  • Fix file not closed after deletion, handle error in the rewrite function (#469 by [@​Qwerty-133])

Misc

[1.0.0] - 2023-02-24

Fixed

... (truncated)

Commits
  • eaf2a91 Do not remove .coverage file
  • 8716196 Bump version: 1.2.0 → 1.2.1
  • b87807f Update changelog
  • 3af77d3 Support reading .env from FIFOs (Unix) (#586)
  • 467ee22 Fix test failures after moving config to pyproject.toml
  • 76999e7 Move more config pyproject.toml
  • 222ce2c Update to use trusted publisher on pypi
  • 8ed4f79 Update docs requirements
  • 5bf8822 Bump version: 1.1.1 → 1.2.0
  • 1fe11cc upadate changelog
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Open with Devin

Updates the requirements on [python-dotenv](https://github.com/theskumar/python-dotenv) to permit the latest version.
- [Release notes](https://github.com/theskumar/python-dotenv/releases)
- [Changelog](https://github.com/theskumar/python-dotenv/blob/main/CHANGELOG.md)
- [Commits](theskumar/python-dotenv@v1.0.0...v1.2.1)

---
updated-dependencies:
- dependency-name: python-dotenv
  dependency-version: 1.2.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Python related changes labels Apr 13, 2026
Copy link
Copy Markdown

@devin-ai-integration devin-ai-integration Bot left a comment

Choose a reason for hiding this comment

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

Devin Review found 1 potential issue.

View 1 additional finding in Devin Review.

Open in Devin Review

Comment thread pyproject.toml
"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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file python Python related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant