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
spacy: Fix build #46090
spacy: Fix build #46090
Conversation
@@ -37,7 +37,8 @@ buildPythonPackage rec { | |||
--replace "ftfy==" "ftfy>=" \ | |||
--replace "msgpack-python==" "msgpack-python>=" \ | |||
--replace "msgpack-numpy==" "msgpack-numpy>=" \ | |||
--replace "pathlib" "pathlib; python_version<\"3.4\"" | |||
--replace "thinc>=6.10.3,<6.11.0" "thinc>=6.10.3,<6.12.0" \ | |||
--replace "plac<1.0.0,>=0.9.6" "plac<1.1.0,>=0.9.6" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not removing the upper bound?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I could do that, but I am not sure how much these packages stick to semver or any API stability for that matter ;). I did some small tests to confirm that plac 1.0 and thinc 6.11 work with spacy.
But I'll update the PR without these upper bounds.
I have removed the upper bounds. |
@GrahamcOfBorg build spacy thinc |
No attempt on aarch64-linux (full log) The following builds were skipped because they don't evaluate on aarch64-linux: spacy, thinc Partial log (click to expand)
|
@GrahamcOfBorg build python36Packages.spacy python27Packages.spacy |
No attempt on x86_64-linux (full log) The following builds were skipped because they don't evaluate on x86_64-linux: spacy, thinc Partial log (click to expand)
|
No attempt on x86_64-darwin (full log) The following builds were skipped because they don't evaluate on x86_64-darwin: spacy, thinc Partial log (click to expand)
|
Failure on aarch64-linux (full log) Attempted: python36Packages.spacy, python27Packages.spacy Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Attempted: python36Packages.spacy, python27Packages.spacy Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: python36Packages.spacy, python27Packages.spacy Partial log (click to expand)
|
backport: [detached HEAD 7888e26] thinc: relax dependency version requirements |
Motivation for this change
Fix
thinc
andspacy
builds.ZHF #45960
To make spacy usable again, the model packages need to be updated as well. I will do this in a separate PR if I have time later today or tomorrow.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)