Skip to content

Commit d0eec26

Browse files
Bump pydantic from 1.10.12 to 2.8.2 (#8809)
Bumps [pydantic](https://github.com/pydantic/pydantic) from 1.10.12 to 2.8.2. <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.8.2 (2024-07-03)</h2> <h2>What's Changed</h2> <h3>Fixes</h3> <ul> <li>Fix issue with assertion caused by pluggable schema validator by <a href="https://github.com/dmontagu"><code>@​dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9838">#9838</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.8.1...v2.8.2">https://github.com/pydantic/pydantic/compare/v2.8.1...v2.8.2</a></p> <h2>v2.8.1 (2024-07-03)</h2> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>ruff</code> to <code>v0.5.0</code> and <code>pyright</code> to <code>v1.1.369</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9801">#9801</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.20.1</code>, <code>pydantic-extra-types</code> to <code>v2.9.0</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9832">#9832</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix breaking change in <code>to_snake</code> from v2.7 -&gt; v2.8 by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9812">#9812</a></li> <li>Fix list constraint json schema application by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9818">#9818</a></li> <li>Support time duration more than 23 by <a href="https://github.com/nix010"><code>@​nix010</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/64">pydantic/speedate#64</a></li> <li>Fix millisecond fraction being handled with the wrong scale by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/65">pydantic/speedate#65</a></li> <li>Handle negative fractional durations correctly by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/71">pydantic/speedate#71</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/kwint"><code>@​kwint</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9787">pydantic/pydantic#9787</a></li> <li><a href="https://github.com/seekinginfiniteloop"><code>@​seekinginfiniteloop</code></a> made their first contribution in <a href="https://redirect.github.com/pydantic/pydantic/pull/9822">pydantic/pydantic#9822</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/pydantic/pydantic/compare/v2.8.0...v2.8.1">https://github.com/pydantic/pydantic/compare/v2.8.0...v2.8.1</a></p> <h2>v2.8.0 (2024-07-01)</h2> <p>The code released in <code>v2.8.0</code> is functionally identical to that of <code>v2.8.0b1</code>.</p> <p>Check out our <a href="https://pydantic.dev/articles/pydantic-v2-8-release">blog post</a> to learn more about the release highlights!</p> <h2>What's Changed</h2> <h3>Packaging</h3> <ul> <li>Update citation version automatically with new releases by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9673">#9673</a></li> <li>Bump pyright to <code>v1.1.367</code> and add type checking tests for pipeline API by <a href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9674">#9674</a></li> <li>Update <code>pydantic.v1</code> stub to <code>v1.10.17</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9707">#9707</a></li> <li>General package updates to prep for <code>v2.8.0b1</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9741">#9741</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.20.0</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9745">#9745</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9743">#9743</a></li> <li>Update <code>pdm</code> version used for <code>pdm.lock</code> to <code>v2.16.1</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9761">#9761</a></li> <li>Update to <code>ruff</code> <code>v0.4.8</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9585">#9585</a></li> </ul> <h3>New Features</h3> <ul> <li>Experimental: support <code>defer_build</code> for <code>TypeAdapter</code> by <a href="https://github.com/MarkusSintonen"><code>@​MarkusSintonen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8939">#8939</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </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.8.2 (2024-07-03)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.8.2">GitHub release</a></p> <h3>What's Changed</h3> <h4>Fixes</h4> <ul> <li>Fix issue with assertion caused by pluggable schema validator by <a href="https://github.com/dmontagu"><code>@​dmontagu</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9838">#9838</a></li> </ul> <h2>v2.8.1 (2024-07-03)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.8.1">GitHub release</a></p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Bump <code>ruff</code> to <code>v0.5.0</code> and <code>pyright</code> to <code>v1.1.369</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9801">#9801</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.20.1</code>, <code>pydantic-extra-types</code> to <code>v2.9.0</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9832">#9832</a></li> </ul> <h4>Fixes</h4> <ul> <li>Fix breaking change in <code>to_snake</code> from v2.7 -&gt; v2.8 by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9812">#9812</a></li> <li>Fix list constraint json schema application by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9818">#9818</a></li> <li>Support time duration more than 23 by <a href="https://github.com/nix010"><code>@​nix010</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/64">pydantic/speedate#64</a></li> <li>Fix millisecond fraction being handled with the wrong scale by <a href="https://github.com/davidhewitt"><code>@​davidhewitt</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/65">pydantic/speedate#65</a></li> <li>Handle negative fractional durations correctly by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/speedate/pull/71">pydantic/speedate#71</a></li> </ul> <h2>v2.8.0 (2024-07-01)</h2> <p><a href="https://github.com/pydantic/pydantic/releases/tag/v2.8.0">GitHub release</a></p> <p>The code released in v2.8.0 is functionally identical to that of v2.8.0b1.</p> <h3>What's Changed</h3> <h4>Packaging</h4> <ul> <li>Update citation version automatically with new releases by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9673">#9673</a></li> <li>Bump pyright to <code>v1.1.367</code> and add type checking tests for pipeline API by <a href="https://github.com/adriangb"><code>@​adriangb</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9674">#9674</a></li> <li>Update <code>pydantic.v1</code> stub to <code>v1.10.17</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9707">#9707</a></li> <li>General package updates to prep for <code>v2.8.0b1</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9741">#9741</a></li> <li>Bump <code>pydantic-core</code> to <code>v2.20.0</code> by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9745">#9745</a></li> <li>Add support for Python 3.13 by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9743">#9743</a></li> <li>Update <code>pdm</code> version used for <code>pdm.lock</code> to v2.16.1 by <a href="https://github.com/sydney-runkle"><code>@​sydney-runkle</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9761">#9761</a></li> <li>Update to <code>ruff</code> <code>v0.4.8</code> by <a href="https://github.com/Viicos"><code>@​Viicos</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9585">#9585</a></li> </ul> <h4>New Features</h4> <ul> <li>Experimental: support <code>defer_build</code> for <code>TypeAdapter</code> by <a href="https://github.com/MarkusSintonen"><code>@​MarkusSintonen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/8939">#8939</a></li> <li>Implement <code>deprecated</code> field in json schema by <a href="https://github.com/NeevCohen"><code>@​NeevCohen</code></a> in <a href="https://redirect.github.com/pydantic/pydantic/pull/9298">#9298</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/4978ee235bf5f0fa11159b2dfe46068ef3deba0a"><code>4978ee2</code></a> update history</li> <li><a href="https://github.com/pydantic/pydantic/commit/03459290582af49a7dd09464a584fe315438c3fc"><code>0345929</code></a> v bump</li> <li><a href="https://github.com/pydantic/pydantic/commit/d390a0413f1317c129bb79e46a57397e2ef32cd1"><code>d390a04</code></a> Fix issue with assertion caused by pluggable schema validator (<a href="https://redirect.github.com/pydantic/pydantic/issues/9838">#9838</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/040865f3b8b9b201282826f92f552efa238b1f2e"><code>040865f</code></a> update history</li> <li><a href="https://github.com/pydantic/pydantic/commit/5a33e3b237285b721a42a1816ea1e67a4c6ecb75"><code>5a33e3b</code></a> bump version</li> <li><a href="https://github.com/pydantic/pydantic/commit/2f9abb29bf15981e9cab0037808808c860d9afbc"><code>2f9abb2</code></a> Bump <code>pydantic-core</code> to <code>v2.20.1</code>, <code>pydantic-extra-types</code> to <code>v2.9.0</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/9832">#9832</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/ce9c5f78b580755945a323628cdd9f673325133d"><code>ce9c5f7</code></a> Remove spooky meetings file (<a href="https://redirect.github.com/pydantic/pydantic/issues/9824">#9824</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/6bdd6d11440a43b0acff5d7d0e32f5f6ca8d9876"><code>6bdd6d1</code></a> Pedantic typo correction within explanation of Pydantic's root in 'pedantic' ...</li> <li><a href="https://github.com/pydantic/pydantic/commit/701ccdecec02da2b23f216cd6b2e33911b81bbc9"><code>701ccde</code></a> Fix list constraint json schema application (<a href="https://redirect.github.com/pydantic/pydantic/issues/9818">#9818</a>)</li> <li><a href="https://github.com/pydantic/pydantic/commit/2a066a26f7515fb99498ad9f5fcaba9c6abcb41e"><code>2a066a2</code></a> Bump <code>ruff</code> to <code>v0.5.0</code> and <code>pyright</code> to <code>v1.1.369</code> (<a href="https://redirect.github.com/pydantic/pydantic/issues/9801">#9801</a>)</li> <li>Additional commits viewable in <a href="https://github.com/pydantic/pydantic/compare/v1.10.12...v2.8.2">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=1.10.12&new-version=2.8.2)](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>
1 parent 53a7f41 commit d0eec26

File tree

4 files changed

+23
-5
lines changed

4 files changed

+23
-5
lines changed

requirements/constraints.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ aiosignal==1.3.1
1818
# via -r requirements/runtime-deps.in
1919
alabaster==0.7.13
2020
# via sphinx
21+
annotated-types==0.7.0
22+
# via pydantic
2123
async-timeout==4.0.3 ; python_version < "3.11"
2224
# via
2325
# -r requirements/runtime-deps.in
@@ -146,8 +148,10 @@ pycares==4.4.0
146148
# via aiodns
147149
pycparser==2.21
148150
# via cffi
149-
pydantic==1.10.12
151+
pydantic==2.8.2
150152
# via python-on-whales
153+
pydantic-core==2.20.1
154+
# via pydantic
151155
pyenchant==3.2.2
152156
# via sphinxcontrib-spelling
153157
pygments==2.18.0
@@ -250,8 +254,10 @@ typer==0.9.0
250254
typing-extensions==4.10.0
251255
# via
252256
# aioredis
257+
# annotated-types
253258
# mypy
254259
# pydantic
260+
# pydantic-core
255261
# python-on-whales
256262
# typer
257263
uritemplate==4.1.1

requirements/dev.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ aiosignal==1.3.1
1818
# via -r requirements/runtime-deps.in
1919
alabaster==0.7.13
2020
# via sphinx
21+
annotated-types==0.7.0
22+
# via pydantic
2123
async-timeout==4.0.3 ; python_version < "3.11"
2224
# via
2325
# -r requirements/runtime-deps.in
@@ -143,8 +145,10 @@ pycares==4.4.0
143145
# via aiodns
144146
pycparser==2.21
145147
# via cffi
146-
pydantic==1.10.12
148+
pydantic==2.8.2
147149
# via python-on-whales
150+
pydantic-core==2.20.1
151+
# via pydantic
148152
pygments==2.18.0
149153
# via sphinx
150154
pyjwt==2.8.0
@@ -242,8 +246,10 @@ typer==0.9.0
242246
typing-extensions==4.10.0
243247
# via
244248
# aioredis
249+
# annotated-types
245250
# mypy
246251
# pydantic
252+
# pydantic-core
247253
# python-on-whales
248254
# typer
249255
uritemplate==4.1.1

requirements/lint.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,9 @@ pycares==4.4.0
6868
# via aiodns
6969
pycparser==2.22
7070
# via cffi
71-
pydantic==2.7.1
71+
pydantic==2.8.2
7272
# via python-on-whales
73-
pydantic-core==2.18.2
73+
pydantic-core==2.20.1
7474
# via pydantic
7575
pygments==2.18.0
7676
# via rich

requirements/test.txt

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ aiohappyeyeballs==2.4.0
1010
# via -r requirements/runtime-deps.in
1111
aiosignal==1.3.1
1212
# via -r requirements/runtime-deps.in
13+
annotated-types==0.7.0
14+
# via pydantic
1315
async-timeout==4.0.3 ; python_version < "3.11"
1416
# via -r requirements/runtime-deps.in
1517
brotli==1.1.0 ; platform_python_implementation == "CPython"
@@ -69,8 +71,10 @@ pycares==4.4.0
6971
# via aiodns
7072
pycparser==2.21
7173
# via cffi
72-
pydantic==1.10.12
74+
pydantic==2.8.2
7375
# via python-on-whales
76+
pydantic-core==2.20.1
77+
# via pydantic
7478
pytest==8.1.1
7579
# via
7680
# -r requirements/test.in
@@ -107,8 +111,10 @@ typer==0.9.0
107111
# via python-on-whales
108112
typing-extensions==4.10.0
109113
# via
114+
# annotated-types
110115
# mypy
111116
# pydantic
117+
# pydantic-core
112118
# python-on-whales
113119
# typer
114120
urllib3==2.2.2

0 commit comments

Comments
 (0)