Skip to content

Commit

Permalink
build(deps): Update pydantic requirement from ~=2.5.3 to ~=2.6.1 (#321)
Browse files Browse the repository at this point in the history
Updates the requirements on
[pydantic](https://github.com/pydantic/pydantic) to permit the latest
version.
<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.6.1 2024-02-05</h2>
<h2>v2.6.1 (2024-02-05)</h2>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>Upgrade to <code>pydantic-core</code> 2.16.2 by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8717">#8717</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Fix bug with <code>mypy</code> plugin and <code>no_strict_optional =
True</code> by <a
href="https://github.com/dmontagu"><code>@​dmontagu</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8666">#8666</a></li>
<li>Fix <code>ByteSize</code> error <code>type</code> change by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8681">#8681</a></li>
<li>Fix inheriting <code>Field</code> annotations in dataclasses by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8679">#8679</a></li>
<li>Fix regression in core schema generation for indirect definition
references by <a
href="https://github.com/dmontagu"><code>@​dmontagu</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8702">#8702</a></li>
<li>Fix unsupported types bug with <code>PlainValidator</code> by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8710">#8710</a></li>
<li>Reverting problematic fix from 2.6 release, fixing schema building
bug by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8718">#8718</a></li>
<li>Fix warning for tuple of wrong size in <code>Union</code> by <a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1174">pydantic/pydantic-core#1174</a></li>
<li>Fix <code>computed_field</code> JSON serializer
<code>exclude_none</code> behavior by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1187">pydantic/pydantic-core#1187</a></li>
</ul>
<p>Full Changelog: <a
href="https://github.com/pydantic/pydantic/compare/v2.6.0...v2.6.1/">https://github.com/pydantic/pydantic/compare/v2.6.0...v2.6.1/</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.6.0 (2024-01-23)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.6.0">GitHub
release</a></p>
<p>The code released in v2.6.0 is practically identical to that of
v2.6.0b1.</p>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>Check for <code>email-validator</code> version &gt;= 2.0 by <a
href="https://github.com/commonism"><code>@​commonism</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/6033">#6033</a></li>
<li>Upgrade `ruff`` target version to Python 3.8 by <a
href="https://github.com/Elkiwa"><code>@​Elkiwa</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8341">#8341</a></li>
<li>Update to <code>pydantic-extra-types==2.4.1</code> by <a
href="https://github.com/yezz123"><code>@​yezz123</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8478">#8478</a></li>
<li>Update to <code>pyright==1.1.345</code> by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8453">#8453</a></li>
<li>Update pydantic-core from 2.14.6 to 2.16.1, significant changes from
these updates are described below, full changelog <a
href="https://github.com/pydantic/pydantic-core/compare/v2.14.6...v2.16.1">here</a></li>
</ul>
<h4>New Features</h4>
<ul>
<li>Add <code>NatsDsn</code> by <a
href="https://github.com/ekeew"><code>@​ekeew</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/6874">#6874</a></li>
<li>Add <code>ConfigDict.ser_json_inf_nan</code> by <a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic/pull/8159">#8159</a></li>
<li>Add <code>types.OnErrorOmit</code> by <a
href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8222">#8222</a></li>
<li>Support <code>AliasGenerator</code> usage by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8282">#8282</a></li>
<li>Add Pydantic People Page to docs by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8345">#8345</a></li>
<li>Support <code>yyyy-MM-DD</code> datetime parsing by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8404">#8404</a></li>
<li>Added bits conversions to the <code>ByteSize</code> class <a
href="https://redirect.github.com/pydantic/pydantic/issues/8415">#8415</a>
by <a href="https://github.com/luca-matei"><code>@​luca-matei</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8507">#8507</a></li>
<li>Enable json schema creation with type <code>ByteSize</code> by <a
href="https://github.com/geospackle"><code>@​geospackle</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8537">#8537</a></li>
<li>Add <code>eval_type_backport</code> to handle union operator and
builtin generic subscripting in older Pythons by <a
href="https://github.com/alexmojaki"><code>@​alexmojaki</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8209">#8209</a></li>
<li>Add support for <code>dataclass</code> fields <code>init</code> by
<a href="https://github.com/dmontagu"><code>@​dmontagu</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8552">#8552</a></li>
<li>Implement pickling for <code>ValidationError</code> by <a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1119">pydantic/pydantic-core#1119</a></li>
<li>Add unified tuple validator that can handle &quot;variadic&quot;
tuples via PEP-646 by <a
href="https://github.com/dmontagu"><code>@​dmontagu</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic-core/pull/865">pydantic/pydantic-core#865</a></li>
</ul>
<h4>Changes</h4>
<ul>
<li>Drop Python3.7 support by <a
href="https://github.com/hramezani"><code>@​hramezani</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/7188">#7188</a></li>
<li>Drop Python 3.7, and PyPy 3.7 and 3.8 by <a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1129">pydantic/pydantic-core#1129</a></li>
<li>Use positional-only <code>self</code> in <code>BaseModel</code>
constructor, so no field name can ever conflict with it by <a
href="https://github.com/ariebovenberg"><code>@​ariebovenberg</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8072">#8072</a></li>
<li>Make <code>@validate_call</code> return a function instead of a
custom descriptor - fixes binding issue with inheritance and adds
<code>self/cls</code> argument to validation errors by <a
href="https://github.com/alexmojaki"><code>@​alexmojaki</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8268">#8268</a></li>
<li>Exclude <code>BaseModel</code> docstring from JSON schema
description by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8352">#8352</a></li>
<li>Introducing <code>classproperty</code> decorator for
<code>model_computed_fields</code> by <a
href="https://github.com/Jocelyn-Gas"><code>@​Jocelyn-Gas</code></a> in
<a
href="https://redirect.github.com/pydantic/pydantic/pull/8437">#8437</a></li>
<li>Explicitly raise an error if field names clashes with types by <a
href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8243">#8243</a></li>
<li>Use stricter serializer for unions of simple types by <a
href="https://github.com/alexdrydew"><code>@​alexdrydew</code></a> <a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1132">pydantic/pydantic-core#1132</a></li>
</ul>
<h4>Performance</h4>
<ul>
<li>Add Codspeed profiling Actions workflow by <a
href="https://github.com/lambertsbennett"><code>@​lambertsbennett</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic/pull/8054">#8054</a></li>
<li>Improve <code>int</code> extraction by <a
href="https://github.com/samuelcolvin"><code>@​samuelcolvin</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1155">pydantic/pydantic-core#1155</a></li>
<li>Improve performance of recursion guard by <a
href="https://github.com/samuelcolvin"><code>@​samuelcolvin</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1156">pydantic/pydantic-core#1156</a></li>
<li><code>dataclass</code> serialization speedups by <a
href="https://github.com/samuelcolvin"><code>@​samuelcolvin</code></a>
in <a
href="https://redirect.github.com/pydantic/pydantic-core/pull/1162">pydantic/pydantic-core#1162</a></li>
<li>Avoid <code>HashMap</code> creation when looking up small JSON
objects in <code>LazyIndexMaps</code> by <a
href="https://github.com/samuelcolvin"><code>@​samuelcolvin</code></a>
in <a
href="https://redirect.github.com/pydantic/jiter/pull/55">pydantic/jiter#55</a></li>
<li>use hashbrown to speedup python string caching by <a
href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in
<a
href="https://redirect.github.com/pydantic/jiter/pull/51">pydantic/jiter#51</a></li>
</ul>
<!-- raw HTML omitted -->
</blockquote>
<p>... (truncated)</p>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="https://github.com/pydantic/pydantic/commit/cf822bd7eef30b2027a6869be2a69b5b22a8ec3b"><code>cf822bd</code></a>
prep for 2.6.1 release</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/fa8acbb916b0d6399480cf3fead1bccb96c203e1"><code>fa8acbb</code></a>
Version bump for pydantic 2.16.2 (<a
href="https://redirect.github.com/pydantic/pydantic/issues/8717">#8717</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/2d812a807984aee04dd68ddd4ca3f102b8c2cc85"><code>2d812a8</code></a>
Reverting problematic fix from 2.6 release, fixing schema building bug
(<a
href="https://redirect.github.com/pydantic/pydantic/issues/8718">#8718</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/8e790d598a2926cd855cf053666b1b115c23db7f"><code>8e790d5</code></a>
Fix unsupported types bug with plain validator (<a
href="https://redirect.github.com/pydantic/pydantic/issues/8710">#8710</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/aac1069ec33d20ec3c89332774da625d0d135df8"><code>aac1069</code></a>
Fix regression in core schema generation for indirect definition
references (...</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/43327d819035319826124c32713a08e5acff852f"><code>43327d8</code></a>
Fix inheriting annotations in dataclasses (<a
href="https://redirect.github.com/pydantic/pydantic/issues/8679">#8679</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/f3532edb9f7b9985d6d43e9c9e5b029d05944d46"><code>f3532ed</code></a>
Fix <code>ByteSize</code> error <code>type</code> change (<a
href="https://redirect.github.com/pydantic/pydantic/issues/8681">#8681</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/50259d7ce69b1a9ec47caff25b94704817336c8c"><code>50259d7</code></a>
Fix bug with mypy plugin and <code>no_strict_optional = True</code> (<a
href="https://redirect.github.com/pydantic/pydantic/issues/8666">#8666</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/afd0aa8fb0717e99083ac74034ecb2e734af8847"><code>afd0aa8</code></a>
Drop pypy-3.8 from CI (<a
href="https://redirect.github.com/pydantic/pydantic/issues/8667">#8667</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/0b2578dbb0c0479fbc29a39df60d835ce8425d1d"><code>0b2578d</code></a>
update date for 2.6 release</li>
<li>Additional commits viewable in <a
href="https://github.com/pydantic/pydantic/compare/v2.5.3...v2.6.1">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 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 Feb 6, 2024
1 parent bd72308 commit f0a5b2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion requirements-core.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
uri~=2.0.1
requests~=2.31.0
pydantic~=2.5.3
pydantic~=2.6.1
urllib3==2.1.0
email-validator~=2.1.0.post1

0 comments on commit f0a5b2d

Please sign in to comment.