← Back to issue list

build(deps): bump pydantic from 1.8.1 to 1.8.2

View original Github issue

Metadata

Project
craft-providers
Number
#48
Type
pull request
State
closed
Author
dependabot[bot]
Labels
—
Created
Updated
Closed

Current evaluation

Superseded by merged PR canonical/craft-providers#49, which re-froze requirements and upgraded pydantic from 1.8.1 to 1.8.2.

Resolution: closed superseded

Reason: A maintainer explicitly closed this PR with “Replaced with #49.” PR #49 was merged in commit 5fa9fb2 (implementation d4113e4), providing the dependency re-freeze.

Evaluated by: mr-cal-bot

No scores available.

Issue body

Bumps [pydantic](https://github.com/samuelcolvin/pydantic) from 1.8.1 to 1.8.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/samuelcolvin/pydantic/releases">pydantic's releases</a>.</em></p> <blockquote> <h2>v1.8.2 (2021-05-11)</h2> <p>See <a href="https://pydantic-docs.helpmanual.io/changelog/">Changelog</a>.</p> <h2>Warning</h2> <p>A security vulnerability, level &quot;moderate&quot; is fixed in v1.8.2. Please upgrade <strong>ASAP</strong>. See security advisory <a href="https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh">CVE-2021-29510</a>.</p> <h2>Changes</h2> <ul> <li><strong>Security fix:</strong> Fix <code>date</code> and <code>datetime</code> parsing so passing either <code>'infinity'</code> or <code>float('inf')</code> (or their negative values) does not cause an infinite loop, see security advisory <a href="https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh">CVE-2021-29510</a></li> <li>fix schema generation with Enum by generating a valid name, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2575">#2575</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> <li>fix JSON schema generation with a <code>Literal</code> of an enum member, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2536">#2536</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> <li>Fix bug with configurations declarations that are passed as keyword arguments during class creation, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2532">#2532</a> by <a href="https://github.com/uriyyo"><code>@​uriyyo</code></a></li> <li>Allow passing <code>json_encoders</code> in class kwargs, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2521">#2521</a> by <a href="https://github.com/layday"><code>@​layday</code></a></li> <li>support arbitrary types with custom <code>__eq__</code>, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2483">#2483</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> <li>support <code>Annotated</code> in <code>validate_arguments</code> and in generic models with python 3.9, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2483">#2483</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/samuelcolvin/pydantic/blob/master/HISTORY.md">pydantic's changelog</a>.</em></p> <blockquote> <h2>v1.8.2 (2021-05-11)</h2> <p>!!! warning A security vulnerability, level &quot;moderate&quot; is fixed in v1.8.2. Please upgrade <strong>ASAP</strong>. See security advisory <a href="https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh">CVE-2021-29510</a></p> <ul> <li><strong>Security fix:</strong> Fix <code>date</code> and <code>datetime</code> parsing so passing either <code>'infinity'</code> or <code>float('inf')</code> (or their negative values) does not cause an infinite loop, see security advisory <a href="https://github.com/samuelcolvin/pydantic/security/advisories/GHSA-5jqp-qgf6-3pvh">CVE-2021-29510</a></li> <li>fix schema generation with Enum by generating a valid name, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2575">#2575</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> <li>fix JSON schema generation with a <code>Literal</code> of an enum member, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2536">#2536</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> <li>Fix bug with configurations declarations that are passed as keyword arguments during class creation, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2532">#2532</a> by <a href="https://github.com/uriyyo"><code>@​uriyyo</code></a></li> <li>Allow passing <code>json_encoders</code> in class kwargs, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2521">#2521</a> by <a href="https://github.com/layday"><code>@​layday</code></a></li> <li>support arbitrary types with custom <code>__eq__</code>, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2483">#2483</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> <li>support <code>Annotated</code> in <code>validate_arguments</code> and in generic models with python 3.9, <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2483">#2483</a> by <a href="https://github.com/PrettyWood"><code>@​PrettyWood</code></a></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/samuelcolvin/pydantic/commit/a84cfacf9caf08bef8edca076c3325c3cf49475d"><code>a84cfac</code></a> v1.6.2 and v1.7.4 to history</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/d209e13fcfb872643a987f0a2d8f4ee73b724d2b"><code>d209e13</code></a> fix warning</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/2d925585d54030d0d28e3e9999d03ad47fcc08e2"><code>2d92558</code></a> remove CI branch change</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/ccdf4726bdd9ef28b8c7af24065dd58606a07965"><code>ccdf472</code></a> add <a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2465">#2465</a> to history</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/2bff0bf9b66405d108a0346ee40e4721b9871d24"><code>2bff0bf</code></a> Support user defined generic field types in generic models. (<a href="https://github-redirect.dependabot.com/samuelcolvin/pydantic/issues/2554">#2554</a>)</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/870cb6e38f3990f73c7fbe6d527671a489d0b2db"><code>870cb6e</code></a> fix mypy</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/9131d2dd01fc9aaccd6f555d189335807da7bdf9"><code>9131d2d</code></a> update linting requirements</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/e2a44f79bb7cedd7e379d3d6865c2606731f962a"><code>e2a44f7</code></a> try and get tests to run</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/d3ad4e15762e8f19aa5bb66f8d565d6797de6000"><code>d3ad4e1</code></a> bump</li> <li><a href="https://github.com/samuelcolvin/pydantic/commit/92c52ae531a55a300ae1f083ce76878adb31de53"><code>92c52ae</code></a> add change log for v1.8.2</li> <li>Additional commits viewable in <a href="https://github.com/samuelcolvin/pydantic/compare/v1.8.1...v1.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.8.1&new-version=1.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 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/canonical/craft-providers/network/alerts). </details>

Evaluation history

Date Model Scores Action Summary
stealth/space-bunny-alpha — closed superseded Superseded by merged PR canonical/craft-providers#49, which re-froze requirements and upgraded pydantic from 1.8.1 to 1.8.2.
qwen/qwen3.6-35b-a3b — closed superseded Superseded by #49, which updated pydantic to 1.8.2 to address CVE-2021-29510.

Update history

Date Change
created

Related work

  • Superseded By: canonical/craft-providers#49 (confidence 100%)

    Merged replacement PR that re-froze requirements to address the vulnerable pydantic version.

Related issues

Issue Project State Summary Similarity
#451 build(deps): bump pydantic to v2 craft-providers merged Merged PR #451 upgraded craft-providers to Pydantic v2 for 2.0; current project metadata requires pydantic~=2.4.
84%
#348 build(deps): bump pydantic from 1.8.1 to 1.8.2 charmcraft merged Merged PR #348 upgraded Pydantic 1.8.1 to 1.8.2, fixing CVE-2021-29510's infinite loop in date/datetime parsing.
81%
#483 upgrade to pydantic 2.x craft-providers closed PR #483 (a one-line pyproject.toml bump to pydantic>=2) was closed unmerged by its author as a duplicate; maintainers pointed to craft-providers#451, which landed as commit f380a9e and set pydantic~=2.4.
76%
#648 build(deps): update bugfixes craft-providers merged Merged dependency updates in craft-providers#648 (commit 9a77e48): mypy 1.11.2, pyright 1.1.379, and pytest-time 0.3.2.
76%
#1323 build(deps): update dependency mypy to ~=1.18.2 (main) craft-parts merged Merged PR canonical/craft-parts#1323 via commit 3023f5b0, updating mypy from ~=1.14.1 to ~=1.18.2.
75%
#691 build(deps): update bugfixes (main) craft-providers merged Renovate PR canonical/craft-providers#691 merged into main, bumping pyright 1.1.384 to 1.1.385 and types-requests 20240914 to 20241016.
75%
#601 feat: upgrade to pydantic 2.x craft-parts closed Closed unmerged as superseded after ~8 months stalled with 39 unresolved review comments. Pydantic 2 upgrade was later delivered by canonical/craft-parts#771 (commit 6b155294) plus #776, #778, #794.
74%
#2000 build(deps): update dependency pydantic to v1.10.19 (hotfix/2.7) charmcraft merged Merged PR #2000 into hotfix/2.7, updating pinned pydantic from 1.10.14 to 1.10.19 in two files.
74%
#2155 build(deps): update dependency pydantic to v2.10.6 (main) charmcraft closed Pydantic 2.10.6 update closed unmerged; a later toolchain and Pydantic update merged in canonical/charmcraft#2310 via commit e635550d.
74%
#497 build(deps): bump craft-providers to 1.23.0 rockcraft merged Merged PR #497 (commit 924b6080) bumped craft-providers to 1.23.0 (+3/-3 across pyproject.toml, uv.lock, requirements). Reseated onto hotfix/1.2 by maintainer request for a 1.2.2 patch release; #509 (cf96cab5) later bumped to 1.23.1.
74%