Skip to content

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

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 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.

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 changed the title chore(deps): bump python-dotenv from 1.1.1 to 1.2.2 Bump python-dotenv from 1.1.1 to 1.2.2 Jul 25, 2026
@dependabot
dependabot Bot force-pushed the dependabot/uv/python-dotenv-1.2.2 branch from c56f5b2 to 8c4f82b Compare July 25, 2026 22:25

@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-only bump of python-dotenv 1.1.1 → 1.2.2.

What was reviewed

  • Only uv.lock changes; the python-dotenv>=1.0.0 constraint (cli extra) already allows 1.2.2, so no pyproject.toml change is needed.
  • Checked the 1.2.x breaking changes (set_key/unset_key symlink and file-mode behavior) against SDK usage — the SDK only calls dotenv.dotenv_values(), which is unaffected.
  • 1.2.2 drops Python 3.9, which is below this repo's 3.10 floor, so the support matrix is unaffected.
Extended reasoning...

Overview

This is a Dependabot PR that bumps python-dotenv from 1.1.1 to 1.2.2 in uv.lock only. No source code, pyproject.toml, or CI configuration is touched. The dependency is an optional one, pulled in via the cli extra with constraint python-dotenv>=1.0.0, which 1.2.2 satisfies.

Security risks

None specific to this change. The lockfile entry pins new sdist/wheel URLs and SHA-256 hashes from PyPI, which uv verifies at install time. The upstream 1.2.2 release actually tightens security-relevant behavior (no longer following symlinks in set_key/unset_key), but the SDK does not use those APIs.

Level of scrutiny

Low. This is a mechanical lockfile bump of an optional CLI dependency. The only compatibility concerns in the 1.1.1 → 1.2.2 range are the set_key/unset_key symlink/file-mode breaking changes and the Python 3.9 support drop. I grepped the SDK: the only usage is dotenv.dotenv_values() in src/mcp/cli/cli.py (guarded by an optional import), which is unaffected. The repo's minimum Python is 3.10, so the 3.9 drop is irrelevant.

Other factors

The bug hunting system found no issues, and there are no prior reviews or unresolved comments on the PR. CI runs the test matrix against the locked resolution, which exercises the CLI path. The repo's guideline about not raising dependency floors for CVEs is not implicated — the >=1.0.0 floor is unchanged; only the locked resolution moves.

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