mirror of
https://github.com/beenuar/AiSOC.git
synced 2026-11-24 08:35:46 +08:00
chore(deps): bump pydantic-settings from 2.16.2 to 2.16.3 in /services/actions (#2025)
[//]: # (dependabot-start) ⚠️ **Dependabot is rebasing this PR** ⚠️ Rebasing might not happen immediately, so don't worry if this takes some time. Note: if you make any changes to this PR yourself, they will take precedence over the rebase. --- [//]: # (dependabot-end) Bumps [pydantic-settings](https://github.com/pydantic/pydantic-settings) from 2.16.2 to 2.16.3. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/pydantic/pydantic-settings/releases">pydantic-settings's releases</a>.</em></p> <blockquote> <h2>v2.16.3</h2> <h2>Highlights</h2> <p>This patch release fixes a security issue in the default secrets source, a regression from 2.14.2 that dropped nested secrets on Kubernetes, and a <code>CliApp.serialize</code> round-trip bug with <code>CliUnknownArgs</code>.</p> <h3>Security</h3> <ul> <li><strong><code>SecretsSettingsSource</code> no longer follows symlinks that resolve outside <code>secrets_dir</code></strong> (<a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1138">#1138</a>, fixes <a href="https://redirect.github.com/pydantic/pydantic-settings/issues/1137">#1137</a>). A secret file that is a symbolic link to a file outside <code>secrets_dir</code> was read into the matching field, so anyone who could place a link in <code>secrets_dir</code> could make the application load any file it can read. This is the plain-source counterpart of GHSA-4xgf-cpjx-pc3j, whose fix in 2.14.2 covered only <code>NestedSecretsSettingsSource</code>. Links that stay inside <code>secrets_dir</code>, such as the Kubernetes secret volume layout (<code>passwd</code> linking to <code>..data/passwd</code>), still work.</li> </ul> <h3>Behavior changes</h3> <ul> <li>A secret file that resolves outside <code>secrets_dir</code> is now skipped with a warning instead of being read (<a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1138">#1138</a>). If you deliberately point secret files at targets elsewhere on disk, move or copy the targets into <code>secrets_dir</code>, or point <code>secrets_dir</code> at the directory that holds them.</li> <li><code>NestedSecretsSettingsSource</code> skips hidden entries (names starting with <code>.</code>) again, as it did before 2.14.2, and stops with a <code>SettingsError</code> after 10,000 entries (<a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1070">#1070</a>).</li> </ul> <h3>Bug fixes</h3> <p><strong>Secrets</strong></p> <ul> <li>With <code>secrets_nested_subdir=True</code>, a directory reached through a second symlink is loaded again (<a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1070">#1070</a>, fixes <a href="https://redirect.github.com/pydantic/pydantic-settings/issues/1061">#1061</a>). Since 2.14.2, only the name that sorted first was walked, so the standard Kubernetes secret volume layout (<code>db</code> linking to <code>..data/db</code>) silently lost its nested secrets.</li> <li>A symlink loop inside <code>secrets_dir</code> is skipped instead of aborting the load with <code>RuntimeError</code> on Python 3.11 and 3.12 (<a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1070">#1070</a>, <a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1138">#1138</a>).</li> </ul> <p><strong>CLI</strong></p> <ul> <li><code>CliApp.serialize</code> keeps each level's <code>CliUnknownArgs</code> before that level's subcommand token (<a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1050">#1050</a>, fixes <a href="https://redirect.github.com/pydantic/pydantic-settings/issues/1048">#1048</a>). They were emitted after the last subcommand, so parsing the output again moved a parent's unknown args onto the subcommand.</li> </ul> <!-- raw HTML omitted --> <h2>What's Changed</h2> <ul> <li>Fix CliApp.serialize moving a parent unknown args into the subcommand by <a href="https://github.com/XXXXXQ-0206"><code>@XXXXXQ-0206</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1050">pydantic/pydantic-settings#1050</a></li> <li>Load nested secrets reached through a second directory link by <a href="https://github.com/digit50"><code>@digit50</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1070">pydantic/pydantic-settings#1070</a></li> <li>Prevent SecretsSettingsSource from following symlinks outside secrets_dir by <a href="https://github.com/twotnguyen"><code>@twotnguyen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1138">pydantic/pydantic-settings#1138</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/XXXXXQ-0206"><code>@XXXXXQ-0206</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1050">pydantic/pydantic-settings#1050</a></li> <li><a href="https://github.com/twotnguyen"><code>@twotnguyen</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic-settings/pull/1138">pydantic/pydantic-settings#1138</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic-settings/compare/v2.16.2...v2.16.3">https://github.com/pydantic/pydantic-settings/compare/v2.16.2...v2.16.3</a></p> <!-- raw HTML omitted --> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pydantic/pydantic-settings/commit/50e676c2050225877a011779ef6c07a942feb335"><code>50e676c</code></a> Prepare release 2.16.3</li> <li><a href="https://github.com/pydantic/pydantic-settings/commit/e394a889d4f3b1332e26287325236fcfceee701e"><code>e394a88</code></a> Prevent SecretsSettingsSource from following symlinks outside secrets_dir (<a href="https://redirect.github.com/pydantic/pydantic-settings/issues/1">#1</a>...</li> <li><a href="https://github.com/pydantic/pydantic-settings/commit/2e6645154d796c33f73acb7497b72d09a353ac42"><code>2e66451</code></a> Load nested secrets reached through a second directory link (<a href="https://redirect.github.com/pydantic/pydantic-settings/issues/1070">#1070</a>)</li> <li><a href="https://github.com/pydantic/pydantic-settings/commit/0379552aa526c1df803036dd31263085fc0c09f6"><code>0379552</code></a> Fix CliApp.serialize moving a parent unknown args into the subcommand (<a href="https://redirect.github.com/pydantic/pydantic-settings/issues/1050">#1050</a>)</li> <li>See full diff in <a href="https://github.com/pydantic/pydantic-settings/compare/v2.16.2...v2.16.3">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) 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 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) </details> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This commit is contained in:
Generated
+3
-3
@@ -1188,14 +1188,14 @@ typing-extensions = ">=4.16.0"
|
||||
|
||||
[[package]]
|
||||
name = "pydantic-settings"
|
||||
version = "2.16.2"
|
||||
version = "2.16.3"
|
||||
description = "Settings management using Pydantic"
|
||||
optional = false
|
||||
python-versions = ">=3.11"
|
||||
groups = ["main"]
|
||||
files = [
|
||||
{file = "pydantic_settings-2.16.2-py3-none-any.whl", hash = "sha256:8d523e5c129b097686bde019bd6109bff53f4c8c3f63f1ddf9933ffa42e5ab4f"},
|
||||
{file = "pydantic_settings-2.16.2.tar.gz", hash = "sha256:3dc08ffabed2bbd5dc2dd55ead7b78b4e4c5cd776aecd04310db5f1224caaf46"},
|
||||
{file = "pydantic_settings-2.16.3-py3-none-any.whl", hash = "sha256:d1db16a2d34006323a1b42c0640898da58adfbad7ec30baaa9e2b18aafc08999"},
|
||||
{file = "pydantic_settings-2.16.3.tar.gz", hash = "sha256:10e36f616623ebb586c05ca3d3cd22927146869db413d4f14c20c514442a1337"},
|
||||
]
|
||||
|
||||
[package.dependencies]
|
||||
|
||||
Reference in New Issue
Block a user