Merge pull request #194351 from erdnaxe/wandb-fix
python3Packages.wandb: relax protobuf version
This commit is contained in:
commit
72d2709853
1 changed files with 12 additions and 4 deletions
|
@ -25,6 +25,7 @@
|
|||
, pytestCheckHook
|
||||
, python-dateutil
|
||||
, pythonOlder
|
||||
, pythonRelaxDepsHook
|
||||
, torch
|
||||
, pyyaml
|
||||
, requests
|
||||
|
@ -52,12 +53,17 @@ buildPythonPackage rec {
|
|||
};
|
||||
|
||||
patches = [
|
||||
# Replace git paths
|
||||
(substituteAll {
|
||||
src = ./hardcode-git-path.patch;
|
||||
git = "${lib.getBin git}/bin/git";
|
||||
})
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pythonRelaxDepsHook
|
||||
];
|
||||
|
||||
# setuptools is necessary since pkg_resources is required at runtime.
|
||||
propagatedBuildInputs = [
|
||||
click
|
||||
|
@ -76,10 +82,6 @@ buildPythonPackage rec {
|
|||
shortuuid
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
checkInputs = [
|
||||
azure-core
|
||||
bokeh
|
||||
|
@ -99,6 +101,12 @@ buildPythonPackage rec {
|
|||
tqdm
|
||||
];
|
||||
|
||||
preCheck = ''
|
||||
export HOME=$(mktemp -d)
|
||||
'';
|
||||
|
||||
pythonRelaxDeps = [ "protobuf" ];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Tests that try to get chatty over sockets or spin up servers, not possible in the nix build environment.
|
||||
"tests/unit_tests/integrations/test_keras.py"
|
||||
|
|
Loading…
Reference in a new issue