Skip to content

chore(deps): bump python-dotenv from 1.1.1 to 1.2.2#3114

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

chore(deps): bump python-dotenv from 1.1.1 to 1.2.2#3114
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/uv/python-dotenv-1.2.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 16, 2026

Copy link
Copy Markdown
Contributor

Bumps python-dotenv from 1.1.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

Commits

Dependabot compatibility score

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [python-dotenv](https://github.com/theskumar/python-dotenv) from 1.1.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.1.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 added dependencies Pull requests that update a dependency file python:uv Pull requests that update python:uv code labels Jul 16, 2026

@claude claude Bot left a comment

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.

LGTM — routine dependabot lockfile bump of python-dotenv 1.1.1 → 1.2.2.

What was reviewed:

  • uv.lock is the only changed file; the pyproject.toml constraint (python-dotenv>=1.0.0, cli extra) is unchanged and satisfied by 1.2.2.
  • Checked the upstream breaking changes (set_key/unset_key symlink and file-mode behavior) against SDK usage — the SDK only calls dotenv.dotenv_values() in src/mcp/cli/cli.py, so it is unaffected.
  • Upstream dropped Python 3.9, which is below this SDK's 3.10 floor, so the supported-version matrix is unaffected.
Extended reasoning...

Overview

Dependabot PR bumping python-dotenv from 1.1.1 to 1.2.2 in uv.lock only. No source code, dependency constraints, or CI configuration are modified. python-dotenv is an optional dependency of the cli extra with a >=1.0.0 floor, which 1.2.2 satisfies.

Security risks

None introduced by the SDK side of this change. The new upstream release actually tightens security posture (symlinks are no longer followed by set_key/unset_key by default). The sdist/wheel hashes in the lockfile pin the exact artifacts, so there is no supply-chain ambiguity beyond trusting PyPI's published release.

Level of scrutiny

Low. This is a mechanical lockfile update with no code changes. The main thing worth verifying was whether the upstream breaking changes affect the SDK: they are confined to set_key/unset_key and the dotenv CLI, while the SDK only uses dotenv.dotenv_values() (read-only) in src/mcp/cli/cli.py. The upstream drop of Python 3.9 support is also irrelevant since this SDK requires Python 3.10+.

Other factors

The bug hunting system found no issues, and there are no reviewer comments or prior reviews on the timeline. CI runs the full test matrix (3.10–3.14 across platforms) against the locked versions, which exercises the CLI import path. This fits squarely in the approve category: simple, mechanical, self-contained.

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.

0 participants