#51122: py-h5py: upgrade to 2.6.0 -------------------------+-------------------------------- Reporter: kurtjaeke@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: haspatch | Port: py-h5py -------------------------+-------------------------------- Attached patch upgrades py-h5py to v2.6.0, which works with HDF5 1.10. It also changes the ports' source to github. For the record, v2.5.0 fails with the following error when using HDF5 v1.10: {{{ $ /opt/local/bin/python2.7 Python 2.7.11 (default, Mar 3 2016, 11:29:18) [GCC 4.2.1 Compatible Apple LLVM 7.0.2 (clang-700.1.81)] on darwin Type "help", "copyright", "credits" or "license" for more information.
import h5py Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/h5py/__init__.py", line 31, in <module> from .highlevel import * File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/h5py/highlevel.py", line 13, in <module> from ._hl.base import is_hdf5, HLObject File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/h5py/_hl/base.py", line 78, in <module> dlapl = default_lapl() File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7 /site-packages/h5py/_hl/base.py", line 65, in default_lapl lapl = h5p.create(h5p.LINK_ACCESS) File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/opt/local/var/macports/build/_opt_local_var_macports_sources_git.macports .org_python_py-h5py/py27-h5py/work/h5py-2.5.0/h5py/_objects.c:2681) File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/opt/local/var/macports/build/_opt_local_var_macports_sources_git.macports .org_python_py-h5py/py27-h5py/work/h5py-2.5.0/h5py/_objects.c:2639) File "h5py/h5p.pyx", line 131, in h5py.h5p.create (/opt/local/var/macports/build/_opt_local_var_macports_sources_git.macports .org_python_py-h5py/py27-h5py/work/h5py-2.5.0/h5py/h5p.c:2720) File "h5py/h5p.pyx", line 72, in h5py.h5p.propwrap (/opt/local/var/macports/build/_opt_local_var_macports_sources_git.macports .org_python_py-h5py/py27-h5py/work/h5py-2.5.0/h5py/h5p.c:2527) ValueError: Not a property list class (Not a property list class) }}}
-- Ticket URL: <https://trac.macports.org/ticket/51122> MacPorts <https://www.macports.org/> Ports system for OS X