Skip to content

Commit

Permalink
Mypy Pydantic 2.7.0 (#3462)
Browse files Browse the repository at this point in the history
* Add support for pydantic 2.7.0

* Add release note

* Update lock

* Run pydantic tests on latest

* Bump

* Change pydantic version based on python version

* Revert change and fix issue by downgrading pytest-mypy-plugins
  • Loading branch information
patrick91 authored Apr 19, 2024
1 parent e1ee096 commit 7928b0b
Show file tree
Hide file tree
Showing 5 changed files with 1,052 additions and 1,053 deletions.
3 changes: 3 additions & 0 deletions RELEASE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Release type: patch

This release updates our Mypy plugin to add support for Pydantic >= 2.7.0
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ def tests_integrations(session: Session, integration: str) -> None:


@session(python=PYTHON_VERSIONS, name="Pydantic tests", tags=["tests", "pydantic"])
@nox.parametrize("pydantic", ["1.10", "2.0.3"])
@nox.parametrize("pydantic", ["1.10", "2.7.0"])
def test_pydantic(session: Session, pydantic: str) -> None:
session.run_always("poetry", "install", external=True)

Expand Down
Loading

0 comments on commit 7928b0b

Please sign in to comment.