forked from mirrors/nixpkgs
Merge pull request #171503 from samuela/samuela/wandb
python39Packages.wandb: 0.12.15 -> 0.12.16
This commit is contained in:
commit
de7bc408c6
|
@ -12,6 +12,7 @@
|
||||||
, jsonref
|
, jsonref
|
||||||
, jsonschema
|
, jsonschema
|
||||||
, matplotlib
|
, matplotlib
|
||||||
|
, nbconvert
|
||||||
, nbformat
|
, nbformat
|
||||||
, pandas
|
, pandas
|
||||||
, pathtools
|
, pathtools
|
||||||
|
@ -36,7 +37,7 @@
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "wandb";
|
pname = "wandb";
|
||||||
version = "0.12.15";
|
version = "0.12.16";
|
||||||
format = "setuptools";
|
format = "setuptools";
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
@ -45,7 +46,7 @@ buildPythonPackage rec {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = "client";
|
repo = "client";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
hash = "sha256-Fq+JwUEZP1QDFKYVyiR8DUU0GQV6fK50FW78qaWh+Mo=";
|
hash = "sha256-ZY7nTj93piTEeHhW+H+nQ+ws2dDmmY6u3p7uz296PbA=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# setuptools is necessary since pkg_resources is required at runtime.
|
# setuptools is necessary since pkg_resources is required at runtime.
|
||||||
|
@ -66,23 +67,6 @@ buildPythonPackage rec {
|
||||||
shortuuid
|
shortuuid
|
||||||
];
|
];
|
||||||
|
|
||||||
checkInputs = [
|
|
||||||
azure-core
|
|
||||||
bokeh
|
|
||||||
flask
|
|
||||||
jsonref
|
|
||||||
jsonschema
|
|
||||||
matplotlib
|
|
||||||
nbformat
|
|
||||||
pandas
|
|
||||||
pydantic
|
|
||||||
pytest-mock
|
|
||||||
pytest-xdist
|
|
||||||
pytestCheckHook
|
|
||||||
scikit-learn
|
|
||||||
tqdm
|
|
||||||
];
|
|
||||||
|
|
||||||
# wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
|
# wandb expects git to be in PATH. See https://gist.github.com/samuela/57aeee710e41ab2bf361b7ed8fbbeabf
|
||||||
# for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128.
|
# for the error message, and an example usage here: https://github.com/wandb/client/blob/d5f655b7ca7e3eac2f3a67a84bc5c2a664a31baf/wandb/sdk/internal/meta.py#L128.
|
||||||
# See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to
|
# See https://github.com/NixOS/nixpkgs/pull/164176#discussion_r828801621 as to
|
||||||
|
@ -93,6 +77,30 @@ buildPythonPackage rec {
|
||||||
ln -s ${git}/bin/git $out/bin/git
|
ln -s ${git}/bin/git $out/bin/git
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
preCheck = ''
|
||||||
|
export HOME=$(mktemp -d)
|
||||||
|
'';
|
||||||
|
|
||||||
|
checkInputs = [
|
||||||
|
azure-core
|
||||||
|
bokeh
|
||||||
|
flask
|
||||||
|
jsonref
|
||||||
|
jsonschema
|
||||||
|
matplotlib
|
||||||
|
# Oddly enough, nbclient does not provide the `nbclient` module. Rather it's
|
||||||
|
# available in nbconvert. See https://github.com/NixOS/nixpkgs/issues/171493#issuecomment-1116960488.
|
||||||
|
nbconvert
|
||||||
|
nbformat
|
||||||
|
pandas
|
||||||
|
pydantic
|
||||||
|
pytest-mock
|
||||||
|
pytest-xdist
|
||||||
|
pytestCheckHook
|
||||||
|
scikit-learn
|
||||||
|
tqdm
|
||||||
|
];
|
||||||
|
|
||||||
disabledTestPaths = [
|
disabledTestPaths = [
|
||||||
# Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
|
# Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
|
||||||
"tests/test_cli.py"
|
"tests/test_cli.py"
|
||||||
|
|
Loading…
Reference in a new issue