[MacPorts] #38256: py*-netcdf4 @1.0fix1: update to 1.0.3 (was: Import Error with HDF5 version 1.8.10)

MacPorts noreply at macports.org
Sat Mar 2 18:26:25 PST 2013


#38256: py*-netcdf4 @1.0fix1: update to 1.0.3
----------------------------+----------------------
  Reporter:  andrealphus@…  |      Owner:  larryv@…
      Type:  update         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:
Resolution:                 |   Keywords:
      Port:  py-netcdf4     |
----------------------------+----------------------
Changes (by larryv@…):

 * status:  new => assigned
 * version:  2.1.3 =>
 * owner:  macports-tickets@… => larryv@…
 * type:  defect => update
 * port:  hdf5-18, netcdf4 => py-netcdf4


Old description:

> 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

New description:

 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

--

Comment:

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

-- 
Ticket URL: <https://trac.macports.org/ticket/38256#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list