allenai / scispacy

A full spaCy pipeline and models for scientific/biomedical documents.
https://allenai.github.io/scispacy/
Apache License 2.0
1.68k stars 225 forks source link

Spacy >=3.3.0 #434

Closed mpetruc closed 2 years ago

mpetruc commented 2 years ago

Hi, was wondering if there is a timeline for supporting Spacy >=3.3.0? What pitfalls should i expect if i tried to manually modify the requirements to allow it? thank you.

dakinggg commented 2 years ago

There is no timeline, but it looks like it doesn't necessarily require retraining the models, so it might just work if you change the requirements or force install it.

qhreul commented 2 years ago

Not sure whether it would have an impact, but Spacy >=3.3 has looser dependencies on typing-extensions. typing_extensions>=3.7.4.1,<4.2.0; python_version < "3.8" The current restriction in Spacy == 2.2.x makes it difficult to compile with recently updated libraries.

dakinggg commented 2 years ago

Ok, I will try to release an updated version soon. I was trying to add something new with the next release but haven't really had time. I had already done most of the upgrade to 3.3.x, but will have to see what upgrading to 3.4.x entails.

dakinggg commented 2 years ago

@qhreul @mpetruc @davidefiocco I just release scispacy 0.5.1, which is compatible with spacy 3.4.x