PreTeXtBook / pretext-cli

Command line interface for quickly creating, authoring, and building PreTeXt documents.
https://pretextbook.org
GNU General Public License v3.0
16 stars 15 forks source link

Updates to pudantic causing type checking to fail #605

Closed oscarlevin closed 9 months ago

oscarlevin commented 9 months ago

I did a poetry update to get pymupdf added to the dependencies, and this also updated pydantic stuff. That causes 18 type errors. Something about FieldValidation and not having data as a type.

bjones1 commented 9 months ago

I'll take a look!

bjones1 commented 9 months ago

What versions are you using? I ran the tests and it's working for me on my local PC.

pydantic               2.4.2
pydantic_core          2.10.1
pydantic-xml           2.2.3
bjones1 commented 9 months ago

I'm testing at #606 as well.

bjones1 commented 9 months ago

OK, I see it now (mypy problems). Testing a fix.

bjones1 commented 9 months ago

The fix works.