You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to add MedCAT as a dependency to my project I run into:
Using version ^1.1.3 for medcat
Updating dependencies
Resolving dependencies... (29.8s)
SolverProblemError
Because no versions of spacy match >3.0.1,<3.0.2 || >3.0.2,<3.0.3 || >3.0.3,<3.0.4 || >3.0.4,<3.0.5 || >3.0.5,<3.0.6 || >3.0.6,<3.0.7 || >3.0.7,<3.1.0
and spacy (3.0.1) depends on typer (>=0.3.0,<0.4.0), spacy (>=3.0.1,<3.0.2 || >3.0.2,<3.0.3 || >3.0.3,<3.0.4 || >3.0.4,<3.0.5 || >3.0.5,<3.0.6 || >3.0.6,<3.0.7 || >3.0.7,<3.1.0) requires typer (>=0.3.0,<0.4.0).
And because spacy (3.0.2) depends on typer (>=0.3.0,<0.4.0), spacy (>=3.0.1,<3.0.3 || >3.0.3,<3.0.4 || >3.0.4,<3.0.5 || >3.0.5,<3.0.6 || >3.0.6,<3.0.7 || >3.0.7,<3.1.0) requires typer (>=0.3.0,<0.4.0).
And because spacy (3.0.3) depends on typer (>=0.3.0,<0.4.0)
and spacy (3.0.4) depends on typer (>=0.3.0,<0.4.0), spacy (>=3.0.1,<3.0.5 || >3.0.5,<3.0.6 || >3.0.6,<3.0.7 || >3.0.7,<3.1.0) requires typer (>=0.3.0,<0.4.0).
And because spacy (3.0.5) depends on typer (>=0.3.0,<0.4.0)
and spacy (3.0.6) depends on typer (>=0.3.0,<0.4.0), spacy (>=3.0.1,<3.0.7 || >3.0.7,<3.1.0) requires typer (>=0.3.0,<0.4.0).
Because no versions of medcat match >1.1.3,<2.0.0
and medcat (1.1.3) depends on spacy (>=3.0.1,<3.1.0), medcat (>=1.1.3,<2.0.0) requires spacy (>=3.0.1,<3.1.0).
Thus, medcat (>=1.1.3,<2.0.0) requires typer (>=0.3.0,<0.4.0) or spacy (3.0.7).
(1) So, because spacy (3.0.7) depends on typer (>=0.3.0,<0.4.0), medcat (>=1.1.3,<2.0.0) requires typer (>=0.3.0,<0.4.0).
Because no versions of typer match >0.3.0,<0.3.1 || >0.3.1,<0.3.2 || >0.3.2,<0.4.0
and typer (0.3.0) depends on click (>=7.1.1,<7.2.0), typer (>=0.3.0,<0.3.1 || >0.3.1,<0.3.2 || >0.3.2,<0.4.0) requires click (>=7.1.1,<7.2.0).
And because typer (0.3.1) depends on click (>=7.1.1,<7.2.0)
and typer (0.3.2) depends on click (>=7.1.1,<7.2.0), typer (>=0.3.0,<0.4.0) requires click (>=7.1.1,<7.2.0).
And because medcat (>=1.1.3,<2.0.0) requires typer (>=0.3.0,<0.4.0) (1), medcat (>=1.1.3,<2.0.0) requires click (>=7.1.1,<7.2.0)
So, because ehrapy depends on both click (^8.0.2) and medcat (^1.1.3), version solving failed.
From what I can see you are pinning a version of spaCy which requires typer <=0.4.0
The latest spaCy allows for typer dependencies up to 0.5.0. This version has added support for click 8.x : fastapi/typer@b972981
Could you please upgrade the spaCy version, (test whether it works with Click 8.x) and release a new version?
This would be highly appreciated. Happy to provide more detailed if required. I urgently need this to work with my environment.
Thanks!
The text was updated successfully, but these errors were encountered:
When trying to add MedCAT as a dependency to my project I run into:
From what I can see you are pinning a version of spaCy which requires typer <=0.4.0
The latest spaCy allows for typer dependencies up to 0.5.0. This version has added support for click 8.x : fastapi/typer@b972981
Could you please upgrade the spaCy version, (test whether it works with Click 8.x) and release a new version?
This would be highly appreciated. Happy to provide more detailed if required. I urgently need this to work with my environment.
Thanks!
The text was updated successfully, but these errors were encountered: