Bump platformdirs from 4.14.5 to 4.14.8 in /docs #8897
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #8897"
general
weight: 0.35
twz123
Bumps platformdirs from 4.14.5 to 4.14.8.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/tox-dev/platformdirs/releases">platformdirs's releases</a>.</em></p>
<blockquote>
<h2>4.14.8</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h3>Bug fixes</h3>
<ul>
<li>Check Unix runtime directory parents, including sticky directories and symlink targets. Recheck the path after creating a missing XDG runtime directory (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/738">#738</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Check symlinks and entries in shared parents when creating POSIX user directories. Shared sticky directories must belong to root or the caller. Support system-owned Android paths and group-writable container homes (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/741">#741</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Check the parents of the temporary Unix runtime directory. A lookup accepts an existing group-writable fallback. File searches skip it until <code>ensure_exists</code> repairs its permissions. Raise an error if no safe temporary base is available (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/744">#744</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Create deeply nested directories without reaching Python's recursion limit (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/733">#733</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Ignore Windows UNC folder overrides with a missing server or share, or with <code>.</code> or <code>..</code> as either name (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/724">#724</a>) by <a href="https://github.com/mansur-akhmadi"><code>@mansur-akhmadi</code></a> and <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Keep the newest active <code>isolated_dirs()</code> root when overlapping contexts close out of order (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/729">#729</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>On macOS, validate the XDG runtime directory and its parents for both user and site paths. File placement and search use the native fallback when the override is unusable (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/745">#745</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Read Unix media settings from a trusted <code>user-dirs.dirs</code> file, including under a group-writable <code>~/.config</code>. Create configured media directories with mode <code>0775</code> subject to the umask (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/740">#740</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Root can look up existing service-owned Unix site directories. Creating directories or placing files requires a root-owned path. Group-writable ancestors are allowed. New directories use mode <code>0755</code> subject to the umask (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/742">#742</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Use root's password database home for Unix media and fonts when root redirection is active and <code>HOME</code> is unset, empty or relative (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/730">#730</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Use the same Unix site runtime fallback for lookup and creation when the XDG override fails validation. With root redirection, <code>site_runtime_dir</code> creates a missing <code>XDG_RUNTIME_DIR</code> with mode <code>0700</code> when <code>ensure_exists=True</code>. Find runtime files in valid fallbacks and in directories selected by root redirection or test isolation (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/745">#745</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
</ul>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h3>Performance</h3>
<ul>
<li>Defer imports on Python 3.15 to reduce startup work (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/722">#722</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
</ul>
<h3>New Contributors</h3>
<ul>
<li><a href="https://github.com/mansur-akhmadi"><code>@mansur-akhmadi</code></a> made their first contribution in <a href="https://redirect.github.com/tox-dev/platformdirs/pull/724">tox-dev/platformdirs#724</a></li>
</ul>
<p><a href="https://pypi.org/project/platformdirs/4.14.8/">🐍 PyPI release</a></p>
<p><a href="https://github.com/tox-dev/platformdirs/compare/4.14.7...4.14.8">📜 Full Changelog</a></p>
<h2>4.14.7</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h3>Bug fixes</h3>
<ul>
<li>Drop a backslash before the line break that ends an unquoted <code>user-dirs.dirs</code> value instead of keeping it in the folder name (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/721">#721</a>) by <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
</ul>
<p><a href="https://pypi.org/project/platformdirs/4.14.7/">🐍 PyPI release</a></p>
<p><a href="https://github.com/tox-dev/platformdirs/compare/4.14.6...4.14.7">📜 Full Changelog</a></p>
<h2>4.14.6</h2>
<p><!-- raw HTML omitted --><!-- raw HTML omitted --></p>
<h3>Bug fixes</h3>
<ul>
<li>Accept <code>use_site_for_root</code> in <code>user_fonts_dir</code>, <code>user_fonts_path</code> and the media directory and path functions, so they can return root's own directories as the matching properties do (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/686">#686</a>) by <a href="https://github.com/abhishekcpp007"><code>@abhishekcpp007</code></a> and <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Ignore a <code>WIN_PD_OVERRIDE_*</code> value that names an extended or device drive without its root, such as <code>\\?\D:</code> or <code>\\.\D:</code>, instead of appending the app name to it as a drive-relative path (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/702">#702</a>) by <a href="https://github.com/h55n"><code>@h55n</code></a> and <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
<li>Keep a carriage return inside a <code>user-dirs.dirs</code> path as part of the directory name, instead of ignoring the entry (<a href="https://redirect.github.com/tox-dev/platformdirs/pull/712">#712</a>) by <a href="https://github.com/liuyinchu"><code>@liuyinchu</code></a> and <a href="https://github.com/gaborbernat"><code>@gaborbernat</code></a>.</li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/tox-dev/platformdirs/blob/main/docs/changelog.rst">platformdirs's changelog</a>.</em></p>
<blockquote>
<p>###########
Changelog
###########</p>
<p>.. towncrier-draft-entries:: Unreleased</p>
<p>.. towncrier release notes start</p>
<p>.. _release-4-14-8:</p>
<hr />
<p>4.14.8 (2026-11-20)</p>
<hr />
<p>.. _release-4-14-8-fixed:</p>
<h1>Fixed</h1>
<ul>
<li>Check Unix runtime directory parents, including sticky directories and symlink targets. Recheck the path after
creating a missing XDG runtime directory (:pr:<code>738</code>) by :user:<code>gaborbernat</code>.</li>
<li>Check symlinks and entries in shared parents when creating POSIX user directories. Shared sticky directories must
belong to root or the caller. Support system-owned Android paths and group-writable container homes (:pr:<code>741</code>) by
:user:<code>gaborbernat</code>.</li>
<li>Check the parents of the temporary Unix runtime directory. A lookup accepts an existing group-writable fallback. File
searches skip it until <code>ensure_exists</code> repairs its permissions. Raise an error if no safe temporary base is
available (:pr:<code>744</code>) by :user:<code>gaborbernat</code>.</li>
<li>Create deeply nested directories without reaching Python's recursion limit (:pr:<code>733</code>) by :user:<code>gaborbernat</code>.</li>
<li>Ignore Windows UNC folder overrides with a missing server or share, or with <code>.</code> or <code>..</code> as either name (:pr:<code>724</code>)
by :user:<code>mansur-akhmadi</code> and :user:<code>gaborbernat</code>.</li>
<li>Keep the newest active <code>isolated_dirs()</code> root when overlapping contexts close out of order (:pr:<code>729</code>) by
:user:<code>gaborbernat</code>.</li>
<li>On macOS, validate the XDG runtime directory and its parents for both user and site paths. File placement and search
use the native fallback when the override is unusable (:pr:<code>745</code>) by :user:<code>gaborbernat</code>.</li>
<li>Read Unix media settings from a trusted <code>user-dirs.dirs</code> file, including under a group-writable <code>~/.config</code>.
Create configured media directories with mode <code>0775</code> subject to the umask (:pr:<code>740</code>) by :user:<code>gaborbernat</code>.</li>
<li>Root can look up existing service-owned Unix site directories. Creating directories or placing files requires a
root-owned path. Group-writable ancestors are allowed. New directories use mode <code>0755</code> subject to the umask
(:pr:<code>742</code>) by :user:<code>gaborbernat</code>.</li>
<li>Use root's password database home for Unix media and fonts when root redirection is active and <code>HOME</code> is unset,
empty or relative (:pr:<code>730</code>) by :user:<code>gaborbernat</code>.</li>
<li>Use the same Unix site runtime fallback for lookup and creation when the XDG override fails validation. With root
redirection, <code>site_runtime_dir</code> creates a missing <code>XDG_RUNTIME_DIR</code> with mode <code>0700</code> when
<code>ensure_exists=True</code>. Find runtime files in valid fallbacks and in directories selected by root redirection or test
isolation (:pr:<code>745</code>) by :user:<code>gaborbernat</code>.</li>
</ul>
<p>.. _release-4-14-8-performance:</p>
<h1>Performance</h1>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="https://github.com/tox-dev/platformdirs/commit/0eb91ada2febafcddab5ecd99ece8b7b5a4baf1f"><code>0eb91ad</code></a> release 4.14.8</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/47c34b7ee42f5892472d3f9cac5e7344f3861179"><code>47c34b7</code></a> 🐛 fix: correct directory creation, lookup and test isolation (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/745">#745</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/44abc50a508274411471718868cecd3e41c9618c"><code>44abc50</code></a> 🐛 fix(unix): check runtime symlink targets (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/738">#738</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/4f1997844c58edfb1a04c26fa18d9b67c501f901"><code>4f19978</code></a> 🐛 fix(api): check shared directory creation (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/741">#741</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/0c446d75d2e060fb7aa8260046dec733c3c68210"><code>0c446d7</code></a> 🐛 fix(unix): reject cwd runtime fallback (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/744">#744</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/5b253cf70368bba129b38cea1f3fe54b5b93dba0"><code>5b253cf</code></a> 🐛 fix(unix): check sticky parent ownership (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/734">#734</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/35bc503dc861de5d79709d8fb794ea77fe553483"><code>35bc503</code></a> 🐛 fix(unix): check site paths as root (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/742">#742</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/5b0d5fbcaeb078f944f95ce2fe3cff018c9a2790"><code>5b0d5fb</code></a> 🐛 fix(macos): validate XDG runtime searches (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/737">#737</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/f2b34f143fa3182f18879881987b5cee98dafe53"><code>f2b34f1</code></a> 🐛 fix(macos): check runtime parent paths (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/739">#739</a>)</li>
<li><a href="https://github.com/tox-dev/platformdirs/commit/738f3da3c5784a6503d3af5c6fd7809223732a83"><code>738f3da</code></a> 🐛 fix(unix): require complete runtime parent checks (<a href="https://redirect.github.com/tox-dev/platformdirs/issues/736">#736</a>)</li>
<li>Additional commits viewable in <a href="https://github.com/tox-dev/platformdirs/compare/4.14.5...4.14.8">compare view</a></li>
</ul>
</details>
<br />

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-automerge-start)
[//]: # (dependabot-automerge-end)
---
<details>
<summary>Dependabot commands and options</summary>
<br />
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)</details>