Merge pull request #153771 from Stunkymonkey/spaCy-3.2.0-fit
python3Packages.spacy: 3.2.1 fix
This commit is contained in:
commit
6dbbf99120
34
pkgs/development/python-modules/spacy-loggers/default.nix
Normal file
34
pkgs/development/python-modules/spacy-loggers/default.nix
Normal file
|
@ -0,0 +1,34 @@
|
|||
{ lib
|
||||
, callPackage
|
||||
, fetchPypi
|
||||
, buildPythonPackage
|
||||
, wandb
|
||||
, wasabi
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spacy-loggers";
|
||||
version = "1.0.1";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "sha256-F9DiSbLmxlRsSfxlYaCmhfkajtvySlsrd1nq1EPHRlQ=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
wandb
|
||||
wasabi
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "spacy_loggers" ];
|
||||
|
||||
# skipping the checks, becaus it requires a cycle dependency to spacy as well.
|
||||
doCheck = false;
|
||||
|
||||
meta = with lib; {
|
||||
description = "Logging utilities for spaCy";
|
||||
homepage = "https://github.com/explosion/spacy-loggers";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ stunkymonkey ];
|
||||
};
|
||||
}
|
|
@ -25,17 +25,19 @@
|
|||
, python
|
||||
, tqdm
|
||||
, typing-extensions
|
||||
, spacy-loggers
|
||||
, langcodes
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "spacy";
|
||||
version = "3.2.0";
|
||||
version = "3.2.1";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "68e54b2a14ce74eeecea9bfb0b9bdadf8a4a8157765dbefa7e50d25a1bf0f2f3";
|
||||
sha256 = "sha256-9uusURYndAqMorEXuR71UVyPCy+xF6aevgHQEN1PxTw=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
|
@ -58,6 +60,8 @@ buildPythonPackage rec {
|
|||
tqdm
|
||||
typer
|
||||
wasabi
|
||||
spacy-loggers
|
||||
langcodes
|
||||
] ++ lib.optional (pythonOlder "3.8") typing-extensions;
|
||||
|
||||
checkInputs = [
|
||||
|
|
|
@ -9126,6 +9126,8 @@ in {
|
|||
|
||||
spacy-legacy = callPackage ../development/python-modules/spacy/legacy.nix { };
|
||||
|
||||
spacy-loggers = callPackage ../development/python-modules/spacy-loggers { };
|
||||
|
||||
spacy_models = callPackage ../development/python-modules/spacy/models.nix { };
|
||||
|
||||
spacy-pkuseg = callPackage ../development/python-modules/spacy-pkuseg { };
|
||||
|
|
Loading…
Reference in a new issue