spacy-universal-sentence-encoder icon indicating copy to clipboard operation
spacy-universal-sentence-encoder copied to clipboard

SpaCy versions required for en_use_lg-0.4.3

Open michkessler opened this issue 1 year ago • 2 comments

I have a project that requires spacy==3.2.1, and I want to include en_use_lg-0.4.3 in the project as well. The spaCy requirements specified for the large model are "spacy_version":">=3.0.3,<3.1.0", which is incompatible with the requirement I already have (3.2.1). I tried changing it locally to "spacy_version":">=3.0.3,<=3.2.1", and installed with no problem, and so I was hoping you could update the versions to support spaCy up to the most recent compatible stable version (at least 3.2.1).

michkessler avatar Jul 11 '22 13:07 michkessler

Hey @michkessler ! Thank you for opening this issue. There is no real motivation for the upper bound of the spacy version. This comes purely from how spaCy carefully recomputes the version range. The last release of this library was done with spaCy 3.0.3, so I am just going to update every dependency and release a new version.

Best, Martino

Best, Martino

MartinoMensio avatar Jul 11 '22 15:07 MartinoMensio

In the latest version, I override the spacy_version that was being modified by the command spacy package.

Please let me know if this works for you.

MartinoMensio avatar Jul 11 '22 16:07 MartinoMensio