Opened 12 years ago

Closed 12 years ago

#38256 closed update (fixed)

py*-netcdf4 @1.0fix1: update to 1.0.3

Reported by: andrealphus@… Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-netcdf4

Description (last modified by larryv (Lawrence Velázquez))

See similar ticket;

http://code.google.com/p/netcdf4-python/issues/detail?id=147

What steps will reproduce the problem?

  1. compile hdf5 version 1.8.10
  2. run netCDF4 "python setup.py install"
  3. attempt to import netCDF4

What is the expected output? What do you see instead?
No expected output, instead get this import error

ImportError: netCDF4 module must be linked against HDF5 version 1.8.4-patch1 or higher, got 1.8.10

What version of the product are you using? On what operating system?
netCDF4-1.0.1

Please provide any additional information below.
It appears that the hdf5libversion and the required_hdf5version variables are strings are used in the version comparison. The problem appears to be that the string comparison does not work now that HDF5 is up to version 1.8.10.
"1.8.10">"1.8.4" is FALSE

This would have worked in previous versions of HDF5 since
"1.8.9">"1.8.4" is TRUE

Change History (3)

comment:1 Changed 12 years ago by andrealphus@…

ignore; run netCDF4 "python setup.py install" ;

1) port install hdf5-18 2) port install netcdf4 3) port install py27-netcdf4 4) attempt to import netcdf4

comment:2 Changed 12 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Owner: changed from macports-tickets@… to larryv@…
Port: py-netcdf4 added; hdf5-18 netcdf4 removed
Status: newassigned
Summary: Import Error with HDF5 version 1.8.10py*-netcdf4 @1.0fix1: update to 1.0.3
Type: defectupdate
Version: 2.1.3

This has nothing to do with HDF5, and the bug in question was fixed in netcdf4-python 1.0.2.

Last edited 12 years ago by larryv (Lawrence Velázquez) (previous) (diff)

comment:3 Changed 12 years ago by larryv (Lawrence Velázquez)

Resolution: fixed
Status: assignedclosed

Updated to 1.0.3 in r103609.

Note: See TracTickets for help on using tickets.