Skip to content

build(deps): bump python-dotenv from 1.0.1 to 1.2.2 - #26188

Closed
dependabot[bot] wants to merge 1 commit into
litellm_internal_stagingfrom
dependabot/uv/python-dotenv-1.2.2
Closed

build(deps): bump python-dotenv from 1.0.1 to 1.2.2#26188
dependabot[bot] wants to merge 1 commit into
litellm_internal_stagingfrom
dependabot/uv/python-dotenv-1.2.2

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps python-dotenv from 1.0.1 to 1.2.2.

Release notes

Sourced from python-dotenv's releases.

v1.2.2

Added

  • Support for Python 3.14, including the free-threaded (3.14t) build. (#)

Changed

  • The dotenv run command now forwards flags directly to the specified command by @​bbc2 in theskumar/python-dotenv#607
  • Improved documentation clarity regarding override behavior and the reference page.
  • Updated PyPy support to version 3.11.
  • Documentation for FIFO file support.
  • Support for Python 3.9.

Fixed

Breaking Changes

  • dotenv.set_key and dotenv.unset_key used to follow symlinks in some situations. This is no longer the case. For that behavior to be restored in all cases, follow_symlinks=True should be used.

  • In the CLI, set and unset used to follow symlinks in some situations. This is no longer the case.

  • dotenv.set_key, dotenv.unset_key and the CLI commands set and unset used to reset the file mode of the modified .env file to 0o600 in some situations. This is no longer the case: The original mode of the file is now preserved. Is the file needed to be created or wasn't a regular file, mode 0o600 is used.

Misc

New Contributors

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

v1.2.1

What's Changed

... (truncated)

Changelog

Sourced from python-dotenv's changelog.

[1.2.2] - 2026-03-01

Added

  • Support for Python 3.14, including the free-threaded (3.14t) build. (#588)

Changed

  • The dotenv run command now forwards flags directly to the specified command by [@​bbc2] in #607
  • Improved documentation clarity regarding override behavior and the reference page.
  • Updated PyPy support to version 3.11.
  • Documentation for FIFO file support.
  • Dropped Support for Python 3.9.

Fixed

  • Improved set_key and unset_key behavior when interacting with symlinks by [@​bbc2] in [790c5c0]
  • Corrected the license specifier and added missing Python 3.14 classifiers in package metadata by [@​JYOuyang] in #590

Breaking Changes

  • dotenv.set_key and dotenv.unset_key used to follow symlinks in some situations. This is no longer the case. For that behavior to be restored in all cases, follow_symlinks=True should be used.

  • In the CLI, set and unset used to follow symlinks in some situations. This is no longer the case.

  • dotenv.set_key, dotenv.unset_key and the CLI commands set and unset used to reset the file mode of the modified .env file to 0o600 in some situations. This is no longer the case: The original mode of the file is now preserved. Is the file needed to be created or wasn't a regular file, mode 0o600 is used.

[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

... (truncated)

Commits

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Apr 21, 2026
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@greptile-apps

greptile-apps Bot commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This is an automated Dependabot PR that bumps python-dotenv from 1.0.1 to 1.2.2 in both pyproject.toml and uv.lock. The upgrade spans three minor versions and includes breaking changes to set_key/unset_key symlink-following behavior, but a grep of the repository confirms these APIs are not used anywhere in the litellm source — only load_dotenv and dotenv_values are called, which are unaffected.

Confidence Score: 5/5

Safe to merge — breaking changes in the new version do not affect any code path in this repository.

The only breaking changes in python-dotenv 1.2.2 are around set_key/unset_key symlink behavior and file mode handling. A full codebase search confirms neither API is used anywhere in litellm source or tests. The APIs that are used (load_dotenv, dotenv_values) are unaffected. The lock file hashes are consistent with the PyPI published artifacts.

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Single-line version pin change from python-dotenv==1.0.1 to python-dotenv==1.2.2; no other changes.
uv.lock Lock file updated with new package hashes/URLs for python-dotenv 1.2.2 and a minor exclude-newer timestamp bump; consistent with the pyproject.toml change.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[python-dotenv 1.0.1] -->|bump| B[python-dotenv 1.2.2]
    B --> C{Breaking changes?}
    C -->|set_key / unset_key symlink behavior| D[Check codebase usage]
    D --> E[No usage found in litellm source]
    E --> F[Safe to merge ✅]
Loading

Reviews (4): Last reviewed commit: "build(deps): bump python-dotenv from 1.0..." | Re-trigger Greptile

@codecov

codecov Bot commented Apr 21, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dependabot
dependabot Bot force-pushed the dependabot/uv/python-dotenv-1.2.2 branch 2 times, most recently from c11343e to c76a925 Compare April 23, 2026 01:34
@techgeniuswang

Copy link
Copy Markdown

Cooooooool!!!!

This upgrade would also help resolve dependency conflicts with FastMCP >=3.0.0, which requires python-dotenv>=1.1.0. Currently litellm 1.83.x pins python-dotenv==1.0.1 and makes uv resolution fail in projects that need both.

Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.0.1 to 1.2.2.
- [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.1...v1.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title chore(deps): bump python-dotenv from 1.0.1 to 1.2.2 build(deps): bump python-dotenv from 1.0.1 to 1.2.2 Apr 24, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/python-dotenv-1.2.2 branch from c76a925 to 92819a6 Compare April 24, 2026 00:32
@techgeniuswang

Copy link
Copy Markdown

Hi @yuneng-berri and @ishaan-berri — could you please help take a look at this PR when you have a chance, or help assign a reviewer to move it forward?

This dependency bump would help resolve a real downstream compatibility issue for us:

  • fastmcp>=3.0.0 requires python-dotenv>=1.1.0
  • litellm 1.83.x currently pins python-dotenv==1.0.1

Because of that, uv lock / uv sync fails in projects that need both packages.

Would appreciate any help reviewing this PR or routing it to the right reviewer. Thanks!

@dependabot @github

dependabot Bot commented on behalf of github Apr 25, 2026

Copy link
Copy Markdown
Contributor Author

Looks like python-dotenv is up-to-date now, so this is no longer needed.

@dependabot dependabot Bot closed this Apr 25, 2026
@dependabot
dependabot Bot deleted the dependabot/uv/python-dotenv-1.2.2 branch April 25, 2026 18:02
@techgeniuswang

techgeniuswang commented Apr 26, 2026

Copy link
Copy Markdown

Hi @dependabot and maintainers,

I noticed that PR #26188 was closed but not merged.

The issue #26333 regarding python-dotenv being pinned to 1.0.1 is still present in the main branch and in the released versions of LitLLM (e.g., 1.83.7 and v1.83.13-nightly).

Since this PR bumps python-dotenv to >=1.1.0, merging it would properly address #26333. Could someone please review or re-open this PR to merge it, or provide guidance on the upstream fix?

My environment:
- Python 3.11
- LitLLM 1.83.7
- FastMCP >=3.0.0

Thanks!

I noticed that the changes from this PR (#26188) were later incorporated into #26365 on branch litellm_yj_apr23, which bumps python-dotenv to >=1.1.0.

Since this branch addresses the issue reported in #26333, it would be great if litellm_yj_apr23 could be merged into the release branch soon, so downstream projects can benefit from the fix.

Thanks for your work!

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:uv Pull requests that update python:uv code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants