Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 710074 - sci-libs/tensorflow: missing dependency on dev-python/h5py
Summary: sci-libs/tensorflow: missing dependency on dev-python/h5py
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-18 17:13 UTC by Michael Orlitzky
Modified: 2020-08-30 00:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Orlitzky gentoo-dev 2020-02-18 17:13:25 UTC
The keras API in TF-2.1 (and possibly earlier) requires hdf5 support to save models:

  https://www.tensorflow.org/guide/keras/save_and_serialize

Adding dev-python/h5py to RDEPEND does the trick.
Comment 1 Larry the Git Cow gentoo-dev 2020-08-30 00:26:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f654de63913a1631a9a7ec25cee4f8447de7f2f

commit 0f654de63913a1631a9a7ec25cee4f8447de7f2f
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2020-08-29 21:50:43 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2020-08-30 00:25:08 +0000

    sci-libs/tensorflow: Fix build failures in 2.2
    
    Patch needed to build against numpy-1.19.
    Also updated deps for flatbuffers, h5py
    
    Closes: https://bugs.gentoo.org/736155
    Closes: https://bugs.gentoo.org/710074
    Closes: https://bugs.gentoo.org/725120
    Package-Manager: Portage-2.3.103, Repoman-2.3.23
    Signed-off-by: Jason Zaman <perfinion@gentoo.org>

 sci-libs/tensorflow/Manifest                                     | 2 +-
 .../{tensorflow-2.2.0.ebuild => tensorflow-2.2.0-r1.ebuild}      | 9 +++++----
 2 files changed, 6 insertions(+), 5 deletions(-)