Skip to content

Commit

Permalink
Bump pydantic from 2.10.2 to 2.10.3 (#2566)
Browse files Browse the repository at this point in the history
Bumps [pydantic](https://github.com/pydantic/pydantic) from 2.10.2 to
2.10.3.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/releases">pydantic's
releases</a>.</em></p>
<blockquote>
<h2>v2.10.3 2024-12-03</h2>
<h2>What's Changed</h2>
<h3>Fixes</h3>
<ul>
<li>Set fields when <code>defer_build</code> is set on Pydantic
dataclasses by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/10984">#10984</a></li>
<li>Do not resolve the JSON Schema reference for <code>dict</code> core
schema keys by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/10989">#10989</a></li>
<li>Use the globals of the function when evaluating the return type for
<code>PlainSerializer</code> and <code>WrapSerializer</code> functions
by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11008">#11008</a></li>
<li>Fix host required enforcement for urls to be compatible with v2.9
behavior by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11027">#11027</a></li>
<li>Add a <code>default_factory_takes_validated_data</code> property to
<code>FieldInfo</code> by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11034">#11034</a></li>
<li>Fix url json schema in <code>serialization</code> mode by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11035">#11035</a></li>
</ul>
<p><strong>Full Changelog</strong>: <a
href="https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3">https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3</a></p>
</blockquote>
</details>
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a
href="https://github.com/pydantic/pydantic/blob/main/HISTORY.md">pydantic's
changelog</a>.</em></p>
<blockquote>
<h2>v2.10.3 (2024-12-03)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.10.3">GitHub
release</a></p>
<h3>What's Changed</h3>
<h4>Fixes</h4>
<ul>
<li>Set fields when <code>defer_build</code> is set on Pydantic
dataclasses by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/10984">#10984</a></li>
<li>Do not resolve the JSON Schema reference for <code>dict</code> core
schema keys by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/10989">#10989</a></li>
<li>Use the globals of the function when evaluating the return type for
<code>PlainSerializer</code> and <code>WrapSerializer</code> functions
by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11008">#11008</a></li>
<li>Fix host required enforcement for urls to be compatible with v2.9
behavior by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11027">#11027</a></li>
<li>Add a <code>default_factory_takes_validated_data</code> property to
<code>FieldInfo</code> by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11034">#11034</a></li>
<li>Fix url json schema in <code>serialization</code> mode by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/11035">#11035</a></li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pydantic/pydantic/commit/c326748b0119f12e284c280825d4ab6d3576643c"><code>c326748</code></a>
Prep for v2.10.3 release (<a
href="https://redirect.github.com/pydantic/pydantic/issues/11038">#11038</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/68d35bffe00bf3b417d025a915effbfa8749d1e3"><code>68d35bf</code></a>
Fix url json schema in <code>serialization</code> mode (<a
href="https://redirect.github.com/pydantic/pydantic/issues/11035">#11035</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/fa69b4c09a64d2c12a61e9ff2a747f2a304f1ee2"><code>fa69b4c</code></a>
Add a <code>default_factory_takes_validated_data</code> property to
<code>FieldInfo</code> (<a
href="https://redirect.github.com/pydantic/pydantic/issues/11034">#11034</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/435a7031f39c35286934edd0de6bfe134e8118c8"><code>435a703</code></a>
Fix host required enforcement for urls to be compatible with v2.9
behavior (#...</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/b2c4548f361b046062efe01e699b30121bb6b88d"><code>b2c4548</code></a>
Use the globals of the function when evaluating the return type for
`PlainSer...</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/cb962c10b75c51fa4e1dc377c3d0db416ccb3bbf"><code>cb962c1</code></a>
Do not resolve the JSON Schema reference for <code>dict</code> core
schema keys (<a
href="https://redirect.github.com/pydantic/pydantic/issues/10989">#10989</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/10ebcdf60319676211b2bd5d36d9507835df9cb6"><code>10ebcdf</code></a>
Set fields when <code>defer_build</code> is set on Pydantic dataclasses
(<a
href="https://redirect.github.com/pydantic/pydantic/issues/10984">#10984</a>)</li>
<li>See full diff in <a
href="https://github.com/pydantic/pydantic/compare/v2.10.2...v2.10.3">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=pydantic&package-manager=pip&previous-version=2.10.2&new-version=2.10.3)](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 merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after
your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge
and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating
it. You can achieve the same result by closing it manually
- `@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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
dependabot[bot] authored Dec 10, 2024
1 parent daca753 commit 03bfdad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ maggma==0.70.0
monty==2024.10.21
numpy==1.26.4
psutil==6.1.0
pydantic==2.10.2
pydantic==2.10.3
pydantic-settings==2.6.1
pymatgen==2024.10.3
ruamel.yaml==0.18.6
Expand Down

0 comments on commit 03bfdad

Please sign in to comment.