requirements: freeze pydantic<2.0
Metadata
Current evaluation
Merged #347 (commit ee9f32d), pinning pydantic<2.0 to avoid test failures caused by Pydantic v2 incompatibilities.
Resolution: closed resolved
Reason: PR #347 was approved and merged, applying the temporary pydantic<2.0 requirement freeze as commit ee9f32d.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [x] Have you followed the guidelines for contributing?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] Have you successfully run `tox`?
-----
Pydantic v2 [broke](https://github.com/canonical/craft-providers/actions/runs/5425485846/jobs/9866285742#step:7:64) some tests. I'm freezing the library for now.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged #347 (commit ee9f32d), pinning pydantic<2.0 to avoid test failures caused by Pydantic v2 incompatibilities. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged #347 to freeze pydantic<2.0, preventing test failures caused by Pydantic v2 incompatibilities. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #89 deps: freeze pydantic <2.0 | craft-store | merged | Merged PR #89 as commit 86e3c52, pinning pydantic below 2.0 to prevent further breakage; remaining test failures were attributed to #88. | |
| #511 deps: freeze pydantic version | craft-parts | merged | Merged #511 as commit 86fbcb58 to pin pydantic; together with #512, it restored passing CI as validated by #513. | |
| #49 requirements: re-freeze requirements | craft-providers | merged | Merged PR #49 re-froze requirements and updated pydantic from vulnerable 1.8.1 to 1.8.2, addressing CVE-2021-29510. | |
| #488 packaging: pin Pydantic to <2.0.0 | craft-parts | merged | Merged PR #488 via dbd1b89c, pinning Pydantic <2.0.0 so craft-parts remained compatible until Pydantic 2 support was completed. | |
| #419 deps: loosen pydantic dependency | craft-parts | merged | PR #419 by lengau merged (commit acf46ada), relaxing the pydantic pin from 1.9.0 to >=1.9.0 now that the upstream pydantic-yaml blocker was resolved; the original pin came from commit b42526df. | |
| #49 deps: freeze pydantic-yaml < 1.0 | craft-application | merged | Merged PR #49 as commit 97c620ab, capping pydantic-yaml below 1.0 to avoid potentially breaking dependency releases. | |
| #159 setup: pin pydantic-yaml and pydantic versions (CRAFT-718) | craft-parts | merged | Merged in #159 via 0226365f, pinning pydantic-yaml 0.4.2 and pydantic 1.9.0 to restore compatibility and fix #158. | |
| #201 do we need Pydantic? | craft-cli | closed | Unused Pydantic dependency was removed by merged PR #207 (commit ce2ee08), avoiding a Pydantic 2 migration. | |
| #48 build(deps): bump pydantic from 1.8.1 to 1.8.2 | craft-providers | closed | Superseded by merged PR canonical/craft-providers#49, which re-froze requirements and upgraded pydantic from 1.8.1 to 1.8.2. | |
| #519 deps: freeze pydantic-yaml <1.0.0 (#498) | craft-parts | merged | Merged PR #519 as cf61a4f6, cherry-picking 5b463227 from #498 to cap pydantic-yaml below 1.0.0 and avoid breaking API changes pending refactoring. |