FS#67979 - [tensorboard] Do not hard depend on python-tensorflow
Attached to Project:
Community Packages
Opened by huyizheng (huyizheng) - Thursday, 24 September 2020, 06:11 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 25 September 2020, 03:38 GMT
Opened by huyizheng (huyizheng) - Thursday, 24 September 2020, 06:11 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Friday, 25 September 2020, 03:38 GMT
|
Details
Description:
According to upstream's README, tensorboard 1.14+ can run without tensorflow: https://github.com/tensorflow/tensorboard#can-i-run-tensorboard-without-a-tensorflow-installation Also, the `tensorboard 2.3.0` package on pypi only depends on these packages: absl-py>=0.4, google-auth<2,>=1.6.3, requests<3,>=2.21.0, werkzeug>=0.11.15, grpcio>=1.24.3, markdown>=2.6.8, six>=1.10.0, wheel>=0.26, google-auth-oauthlib<0.5,>=0.4.1, setuptools>=41.0.0, numpy>=1.12.0, tensorboard-plugin-wit>=1.6.0, protobuf>=3.6.0 So I think perhaps the package `tensorboard` can put `python-tensorflow` as an optional dependency. Additional info: * package version(s) * config and/or log files etc. * link to upstream bug report, if any Steps to reproduce: Remove all `tensorflow` related package from pacman, then run `pip install --user tensorboard`, it will not install `tensorflow`, but `tensorboard` will works with "TensorFlow installation not found - running with reduced feature set.". |
This task depends upon
Closed by Sven-Hendrik Haase (Svenstaro)
Friday, 25 September 2020, 03:38 GMT
Reason for closing: Fixed
Friday, 25 September 2020, 03:38 GMT
Reason for closing: Fixed
Comment by huyizheng (huyizheng) -
Friday, 25 September 2020, 02:38 GMT
- Field changed: Percent Complete (100% → 0%)
Perhaps you should add package `absl-py` to dependency. Before,
the package depends on `tensorflow`, then it depends on `absl-py`
indirectly. Now the package doesn't depends on `absl-py`, and it
will not run without it.