ContinuumIO / anaconda-issues

Anaconda issue tracking
646 stars 220 forks source link

h5py 3 needed for TensorFlow 2.5 #12427

Open jayfurmanek opened 3 years ago

jayfurmanek commented 3 years ago

Actual Behavior

The latest h5py version in defaults in 2.10. The upstream h5py project has since reached 3.x (https://docs.h5py.org/en/latest/whatsnew/3.0.html)

The recent upstream release of TensorFlow 2.5 requires h5py 3.1.x: https://github.com/tensorflow/tensorflow/blob/v2.5.0/tensorflow/tools/pip_package/setup.py#L87

It would be nice to be able to use defaults to back the dependencies needed by the latest TensorFlow.

Conda-forge does have an updated h5py. Note that the h5py packages from forge still use a dependency of hdf5 1.10.6, so this request won't necessarily require an hdf5 update as well.

$ conda install h5py=3.1
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.

PackagesNotFoundError: The following packages are not available from current channels:

  - h5py=3.1

Expected Behavior

This working :) $ conda install h5py=3.1

sheetalkalburgi commented 2 years ago

Thank you for the report. Support added for h5py 3.3.0, and is used to build and test Tensorflow 2.5.0. Please do let us know this works and if this issue can be closed.

npanpaliya commented 2 years ago

Conda package for h5py 3.3.0 isn't available for ppc64le. Moreover, py36 compatible package is missing for 3.2 and above on both x86 and ppc64le.