aphp / edspdf

EDS-PDF is a generic, pure-Python framework for text extraction from PDF documents. It provides the machinery to use rule- or machine-learning-based approaches to classify text blocs between body and meta-data.
https://aphp.github.io/edspdf/
BSD 3-Clause "New" or "Revised" License
41 stars 6 forks source link

Pydantic dependency too old #29

Closed xav-hydra closed 2 days ago

xav-hydra commented 4 days ago

This project uses pydantic<2 and it would be nice to have this fixed.

Description

This project uses pydantic<2 and it would be nice to have this fixed as I use it in a jupyterhub which uses pydantic>=2. Also to note that even edsnlp, which i'm also using, accepts version 2+.

How to reproduce the bug

pip install jupyterhub==5.1.0 "edsnlp[ml]>=0.13" edspdf==0.9.1

Your Environment

percevalw commented 2 days ago

Indeed! Our main pydantic v2.0 blocker was confit, which we adapted a few months ago, so it shouldn't be too difficult. I'll keep you posted.