chore(deps): update dependency pytest to v9.0.3 [security]#9
chore(deps): update dependency pytest to v9.0.3 [security]#9renovate[bot] wants to merge 1 commit into
Conversation
Checking back in with the latest test results. 📡I've aggregated the results of the automated checks for this PR below. 📋 Repo HealthIs the codebase feeling fit today? Let's check. 🏃♂️ Latest Version: ✅ 🔒 Security (pip-audit)I've checked for any insecure file permissions. 📂 ✅ No known vulnerabilities found (32 packages scanned). 🔍 LintAnother check completed successfully! 🏁 ❌ ruff: issues found — see job log 🏷️ Release PreviewA sneak peek into the future! 🔮 Current:
🚀 Release Channel Compatibility Predicted next version:
📊 CoverageQuantifying the robustness of your changes. 🏋️ ✅ 92.6% total coverage Files below 80% coverage (1 file)
Full report: download the ⚖️ License CheckEvaluating the legal risk of these changes. ⚖️ ✅ No license violations found (9 packages). License distribution: 3× MIT, 2× Apache Software License, 1× Apache-2.0 OR BSD-2-Clause, 1× BSD-3-Clause, 1× MIT License, 1× Mozilla Public License 2.0 (MPL 2.0) Full breakdown — 9 packages
Policy: Apache 2.0 (universal donor). StrongCopyleft / NetworkCopyleft / WeakCopyleft / Other / Error categories fail. MPL allowed. 🔨 Build TestsThe build process has successfully terminated. 🏁 ✅ All versions pass
The silent guardian of the dev branch. 🦇 |
This PR contains the following updates:
9.0.2→9.0.3pytest has vulnerable tmpdir handling
CVE-2025-71176 / GHSA-6w46-j5rx-g56g
More information
Details
pytest through 9.0.2 on UNIX relies on directories with the
/tmp/pytest-of-{user}name pattern, which allows local users to cause a denial of service or possibly gain privileges.Severity
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:LReferences
This data is provided by the GitHub Advisory Database (CC-BY 4.0).
Release Notes
pytest-dev/pytest (pytest)
v9.0.3Compare Source
pytest 9.0.3 (2026-04-07)
Bug fixes
#12444: Fixed
pytest.approxwhich now correctly takes into account~collections.abc.Mappingkeys order to compare them.#13634: Blocking a
conftest.pyfile using the-p no:option is now explicitly disallowed.Previously this resulted in an internal assertion failure during plugin loading.
Pytest now raises a clear
UsageErrorexplaining that conftest files are not plugins and cannot be disabled via-p.#13734: Fixed crash when a test raises an exceptiongroup with
__tracebackhide__ = True.#14195: Fixed an issue where non-string messages passed to unittest.TestCase.subTest() were not printed.
#14343: Fixed use of insecure temporary directory (CVE-2025-71176).
Improved documentation
-pvsPYTEST_PLUGINSplugin loading and fixed an incorrect-pexample.capsysandcapfd) take precedence over the-s/--capture=nocommand-line options inAccessing captured output from a test function <accessing-captured-output>.pytest_collectionhook setssession.itemsbefore it callspytest_collection_finish, not after.Contributor-facing changes
#12689: The test reports are now published to Codecov from GitHub Actions.
The test statistics is visible on the web interface.
-- by
aleguy02Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.