Skip to content

Commit

Permalink
Update pydantic requirement from ~=1.10.12 to ~=2.6.3 (#1298)
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.3 2024-02-27</h2>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>Update <code>pydantic-settings</code> version in the docs by <a
href="https://github.com/hramezani"><code>@​hramezani</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/8906">#8906</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Fix discriminated union schema gen bug by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/8904">#8904</a></li>
</ul>
<p>Full Changelog: <a
href="https://github.com/pydantic/pydantic/compare/v2.6.2...v2.6.3/">https://github.com/pydantic/pydantic/compare/v2.6.2...v2.6.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.6.3 (2024-02-27)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.6.3">GitHub
release</a></p>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>Update <code>pydantic-settings</code> version in the docs by <a
href="https://github.com/hramezani"><code>@​hramezani</code></a> in <a
href="https://github.com/pydantic/pydantic/pull/8906">#8906</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>Fix discriminated union schema gen bug by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/8904">#8904</a></li>
</ul>
<h2>v2.6.2 (2024-02-23)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.6.2">GitHub
release</a></p>
<h3>What's Changed</h3>
<h4>Packaging</h4>
<ul>
<li>Upgrade to <code>pydantic-core</code> 2.16.3 by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic/pull/8879">#8879</a></li>
</ul>
<h4>Fixes</h4>
<ul>
<li>'YYYY-MM-DD' date string coerced to datetime shouldn't infer
timezone by <a
href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a>
in <a
href="https://github.com/pydantic/pydantic-core/pull/1193">pydantic/pydantic-core#1193</a></li>
</ul>
<h2>v2.6.1 (2024-02-05)</h2>
<p><a
href="https://github.com/pydantic/pydantic/releases/tag/v2.6.1">GitHub
release</a></p>
<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://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://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://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://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://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://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://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://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://github.com/pydantic/pydantic-core/pull/1187">pydantic/pydantic-core#1187</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/88451f3a09f6cc34e66fcb78f0e76755fc6a89bc"><code>88451f3</code></a>
prep for 2.6.3 release</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/5c4ac0988d3c4195263b30a6b4925fb056736644"><code>5c4ac09</code></a>
Merge branch '2.6' of <a
href="https://github.com/pydantic/pydantic">https://github.com/pydantic/pydantic</a>
into 2.6</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/6fcee87eb4627530483a4f7e4d23e6789b6cde5d"><code>6fcee87</code></a>
Fix discriminated union schema gen bug (<a
href="https://github.com/pydantic/pydantic/issues/8904">#8904</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/a525a6433afab59d9111ea6d90a92029a6a2e693"><code>a525a64</code></a>
Update pydantic-settings docs (<a
href="https://github.com/pydantic/pydantic/issues/8906">#8906</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/511d862ec9895de6999d260ac4c790d0b233e316"><code>511d862</code></a>
fixing test</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/0a2eee85cd86bb0aa97f77db084cb4b35f92e897"><code>0a2eee8</code></a>
fix number</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/86689275300e98906273254c2f9b55f0d6d52006"><code>8668927</code></a>
Upgrade <code>pydantic-core</code> to 2.16.3 (<a
href="https://github.com/pydantic/pydantic/issues/8879">#8879</a>)</li>
<li><a
href="https://github.com/pydantic/pydantic/commit/18433ee22af8ee2130e02b74a244485248685e04"><code>18433ee</code></a>
prep for 2.6.2, reformatting</li>
<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://github.com/pydantic/pydantic/issues/8717">#8717</a>)</li>
<li>Additional commits viewable in <a
href="https://github.com/pydantic/pydantic/compare/v1.10.12...v2.6.3">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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Yunchu Lee <yunchu.lee@intel.com>
  • Loading branch information
dependabot[bot] and yunchu authored Mar 12, 2024
1 parent e84c7af commit 2529043
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Core
streamlit~=1.29.0
pydantic~=1.10.12
pydantic~=2.6.3

# Streamlit components
streamlit-elements
Expand Down

0 comments on commit 2529043

Please # to comment.