Skip to content

fix mypy after pydantic 2.7#390

Merged
pmeier merged 1 commit intomainfrom
mypy
Apr 16, 2024
Merged

fix mypy after pydantic 2.7#390
pmeier merged 1 commit intomainfrom
mypy

Conversation

@pmeier
Copy link
Member

@pmeier pmeier commented Apr 15, 2024

After the pydantic 2.7 release (April 11 2024), which gets installed in CI since we only have a lower pin

ragna/pyproject.toml

Lines 31 to 33 in f7de2e9

"pydantic>=2",
"pydantic-core",
"pydantic-settings>=2",

a few typing errors popped up, e.g. https://github.com/Quansight/ragna/actions/runs/8676481873/job/23791035320?pr=389. It seems typing on these objects was made a little tighter and now we have to ignore more dynamic stuff. Fortunately, no functional changes.

@pmeier pmeier added the type: maintenance 🛠️ Day-to-day maintenance tasks label Apr 15, 2024
@pmeier pmeier requested a review from nenb April 15, 2024 07:01
@pmeier pmeier merged commit 0fbe8c0 into main Apr 16, 2024
@pmeier pmeier deleted the mypy branch April 16, 2024 16:42
pmeier added a commit that referenced this pull request Jun 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: maintenance 🛠️ Day-to-day maintenance tasks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants