Repository navigation
Fix click dependency issue (#13971) - #13973
Conversation
|
Here's my PR with that change: #13976 |
There was a problem hiding this comment.
This is probably the best option right now to ensure installs don't break.
But, @D3X is correct in his comment that the exception class won't match anymore. These are internals subject to change in the near future in Typer though, so I strongly advise against importing from typer/_click.
So either merge this PR (and perhaps update again when the relevant Typer internals have stabilized), or rework the relevant features here in spaCy that do not rely on Click anymore (I haven't looked in detail at those).
Matt/Ines, let me know if you want to discuss in more detail, happy to help!
This fixes issue #13971 that causes a
spacyimport to fail after a fresh install if/whenclickisn't available.Description
This PR just adds a
clickdependency torequirements.txtas well assetup.cfg.I added it to next to
typerin both since that's what previously pulled it in.Again, this is to fix #13971
Types of change
Fix of a dependency issue
Checklist