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
|
||||
, jsonschema
|
||||
, matplotlib
|
||||
, nbconvert
|
||||
, nbformat
|
||||
, pandas
|
||||
, pathtools
|
||||
|
@ -36,7 +37,7 @@
|
|||
|
||||
buildPythonPackage rec {
|
||||
pname = "wandb";
|
||||
version = "0.12.15";
|
||||
version = "0.12.16";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
@ -45,7 +46,7 @@ buildPythonPackage rec {
|
|||
owner = pname;
|
||||
repo = "client";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Fq+JwUEZP1QDFKYVyiR8DUU0GQV6fK50FW78qaWh+Mo=";
|
||||
hash = "sha256-ZY7nTj93piTEeHhW+H+nQ+ws2dDmmY6u3p7uz296PbA=";
|
||||
};
|
||||
|
||||
# setuptools is necessary since pkg_resources is required at runtime.
|
||||
|
@ -66,23 +67,6 @@ buildPythonPackage rec {
|
|||
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
|
||||
# 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
|
||||
|
@ -93,6 +77,30 @@ buildPythonPackage rec {
|
|||
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 = [
|
||||
# Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
|
||||
"tests/test_cli.py"
|
||||
|
|
Loading…
Reference in a new issue