python3Packages.tensorboard: rename from tensorflow-tensorboard, relax deps

This commit is contained in:
Martin Weinelt
2022-03-06 23:46:59 +01:00
parent 87658e75f3
commit 270b07fcc5
12 changed files with 26 additions and 25 deletions

View File

@@ -18,7 +18,7 @@
, opt-einsum
, backports_weakref
, tensorflow-estimator
, tensorflow-tensorboard
, tensorboard
, cudaSupport ? false
, cudatoolkit
, cudnn
@@ -74,7 +74,7 @@ in buildPythonPackage {
google-pasta
wrapt
tensorflow-estimator
tensorflow-tensorboard
tensorboard
keras-applications
keras-preprocessing
h5py
@@ -168,7 +168,7 @@ in buildPythonPackage {
'';
# Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
# and the propagated input tensorflow-tensorboard, which causes environment collisions.
# and the propagated input tensorboard, which causes environment collisions.
# Another possibility would be to have tensorboard only in the buildInputs
# See https://github.com/NixOS/nixpkgs/pull/44381 for more information.
postInstall = ''

View File

@@ -3,7 +3,7 @@
# Python deps
, buildPythonPackage, pythonOlder, python
# Python libraries
, numpy, tensorflow-tensorboard, absl-py
, numpy, tensorboard, absl-py
, setuptools, wheel, keras, keras-preprocessing, google-pasta
, opt-einsum, astunparse, h5py
, termcolor, grpcio, six, wrapt, protobuf-python, tensorflow-estimator
@@ -94,8 +94,8 @@ let
setuptools
six
tblib
tensorboard
tensorflow-estimator
tensorflow-tensorboard
termcolor
typing-extensions
wheel
@@ -439,7 +439,7 @@ in buildPythonPackage {
'';
# Upstream has a pip hack that results in bin/tensorboard being in both tensorflow
# and the propagated input tensorflow-tensorboard, which causes environment collisions.
# and the propagated input tensorboard, which causes environment collisions.
# Another possibility would be to have tensorboard only in the buildInputs
# https://github.com/tensorflow/tensorflow/blob/v1.7.1/tensorflow/tools/pip_package/setup.py#L79
postInstall = ''
@@ -469,7 +469,7 @@ in buildPythonPackage {
typing-extensions
wrapt
] ++ lib.optionals withTensorboard [
tensorflow-tensorboard
tensorboard
];
# remove patchelfUnstable once patchelf 0.14 with https://github.com/NixOS/patchelf/pull/256 becomes the default