Skip to content

chore(deps-dev): bump pytest-env from 1.7.1 to 1.8.7 - #1383

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/main/pytest-env-1.8.7
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/pip/main/pytest-env-1.8.7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 25, 2026

Copy link
Copy Markdown
Contributor

Bumps pytest-env from 1.7.1 to 1.8.7.

Release notes

Sourced from pytest-env's releases.

1.8.7

Bug fixes

  • Reject non-boolean env_files_skip_if_set values in native TOML configuration (#355) by @​gaborbernat.
  • Report -o env as the source of overridden INI entries in the verbose header (#348) by @​gaborbernat.
  • Report a configuration error for a directory or named pipe supplied as a dotenv file (#356) by @​gaborbernat.
  • Report a usage error naming the entry when the operating system rejects an environment assignment (#349) by @​gaborbernat.
  • Resolve mixed-case environment variable references on Windows (#351) by @​gaborbernat.
  • Show the file and line number of malformed dotenv statements in pytest's warning summary (#350) by @​gaborbernat.

Security

  • Omit rejected environment option values from configuration errors (#353) by @​gaborbernat.
  • Report invalid environment templates without including field text in error output (#354) by @​gaborbernat.

Performance

  • Defer loading the .env parser until a configured environment file is read (#341) by @​gaborbernat.

🐍 PyPI release

📜 Full Changelog

1.8.6

Bug fixes

  • Escape non-printable characters in the --pytest-env-verbose header so each assignment stays on one line (#331) by @​gaborbernat.
  • Expand ${VAR} in .env files with the kept value when env_files_skip_if_set skips the file's own assignment (#340) by @​gaborbernat.
  • Keep an existing variable when an entry combines skip_if_set (D:) with unset (U:) (#337) by @​gaborbernat.
  • Name the file when a TOML file found during discovery does not parse, and skip files whose pytest_env is not a table (#333) by @​gaborbernat.
  • Raise FileNotFoundError for an empty --envfile value instead of loading the configured env files (#330) by @​gaborbernat.
  • Read [pytest_env] from a custom-named TOML file selected with -c instead of a sibling or parent file (#339) by @​gaborbernat.
  • Reject INI env lines with an unknown flag or no variable name instead of applying them (#334) by @​gaborbernat.
  • Reject native TOML entry tables with unknown keys, non-boolean flags or no value instead of applying them (#338) by @​gaborbernat.
  • Resolve --envfile against the invocation directory before the project root, so --envfile ../file loads the file it names (#332) by @​gaborbernat.
  • Skip directories and other non-regular entries named like a TOML configuration file during discovery (#336) by @​gaborbernat.

Security

  • Report an invalid {VAR} template as a usage error that names the entry instead of printing an environment value (#335) by @​gaborbernat.

... (truncated)

Changelog

Sourced from pytest-env's changelog.

1.8.7 (2026-11-19)

Fixed

  • Reject non-boolean env_files_skip_if_set values in native TOML configuration (#355) by @​gaborbernat.
  • Report -o env as the source of overridden INI entries in the verbose header (#348) by @​gaborbernat.
  • Report a configuration error for a directory or named pipe supplied as a dotenv file (#356) by @​gaborbernat.
  • Report a usage error naming the entry when the operating system rejects an environment assignment (#349) by @​gaborbernat.
  • Resolve mixed-case environment variable references on Windows (#351) by @​gaborbernat.
  • Show the file and line number of malformed dotenv statements in pytest's warning summary (#350) by @​gaborbernat.

Security

  • Omit rejected environment option values from configuration errors (#353) by @​gaborbernat.
  • Report invalid environment templates without including field text in error output (#354) by @​gaborbernat.

Performance

  • Defer loading the .env parser until a configured environment file is read (#341) by @​gaborbernat.

1.8.6 (2026-11-17)

Fixed

  • Escape non-printable characters in the --pytest-env-verbose header so each assignment stays on one line (#331) by @​gaborbernat.
  • Expand ${VAR} in .env files with the kept value when env_files_skip_if_set skips the file's own assignment (#340) by @​gaborbernat.
  • Keep an existing variable when an entry combines skip_if_set (D:) with unset (U:) (#337) by @​gaborbernat.
  • Name the file when a TOML file found during discovery does not parse, and skip files whose pytest_env is not a table

... (truncated)

Commits
  • ea1d986 release 1.8.7
  • 048dc8d 🐛 fix(expand): respect Windows variable casing (#351)
  • 124662b 🐛 fix(env): report rejected assignments (#349)
  • fff304a 🐛 fix(verbose): name env overrides in the header (#348)
  • 01aea0c 🐛 fix(dotenv): report skipped lines to pytest (#350)
  • e77ca6c 🔒 fix(expand): redact field lookup errors (#354)
  • 8f7985a 🐛 fix(toml): require a boolean skip option (#355)
  • 688b779 🐛 fix(envfile): diagnose non-regular paths (#356)
  • 702e450 🔒 fix(config): redact rejected option values (#353)
  • ac5583c 👷 ci(deps): bump github-workflows to 6.8.5 (#342)
  • Additional commits viewable in compare view

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)

Bumps [pytest-env](https://github.com/pytest-dev/pytest-env) from 1.7.1 to 1.8.7.
- [Release notes](https://github.com/pytest-dev/pytest-env/releases)
- [Changelog](https://github.com/pytest-dev/pytest-env/blob/main/CHANGELOG.md)
- [Commits](pytest-dev/pytest-env@1.7.1...1.8.7)

---
updated-dependencies:
- dependency-name: pytest-env
  dependency-version: 1.8.7
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Nov 25, 2026
@dependabot @github

dependabot Bot commented on behalf of github Dec 2, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1385.

@dependabot dependabot Bot closed this Dec 2, 2026
@dependabot
dependabot Bot deleted the dependabot/pip/main/pytest-env-1.8.7 branch December 2, 2026 08:52
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 Pull requests that update Python code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants