-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Problem with new dependency checking mechanism in spacy 3.4.2 #11773
Comments
Thanks for the report! This has been fixed in #11735 and the fix will be published soon in v3.4.3. It should skip any lines it can't check with a warning instead of raising an error. |
Yes I saw that, however I do not fully agree with the solution. As the structure for the |
I agree, and we'll take a look, although further changes wouldn't make it into v3.4.3. It's frustrating that there's no public API to use pip to do some of the parsing instead. |
We have dropped the requirements checks entirely in weasel due to the deprecation of |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
In spaCy 3.4.2 a new dependency checking mechanism was introduced to the spaCy projects cli.
See #11226 for the addition to 3.4.2 and #11735 for an update.
This dependency check will fail with an exception in 3.4.2 when using some
requirements.txt
features like pip options or local paths.See Requirements File Format for a complete list of allowed values in the
requirements.txt
file.This is a common use case for Prodigy users (see Installation & Setup).
How to reproduce the behaviour
requirements.txt
project.yml
pip install -r requirements.txt
spacy project run reproduce
Woraround
Set
check_requirements: false
in theproject.yml
.Your Environment
The text was updated successfully, but these errors were encountered: