Bug#939022: pyresample: autopkgtest failure with PROJ 6 (epsg data file removed)

Bas Couwenberg sebastic at xs4all.nl
Sat Aug 31 10:52:33 BST 2019


Source: pyresample
Version: 1.12.3-5
Severity: serious
Justification: makes the package in question unusable or mostly so
Control: block 931949 by -1

Dear Maintainer,

Since the upgrade to proj (6.1.1-1) the autopkgtest of your package
fails:

 https://ci.debian.net/packages/p/pyresample/unstable/amd64/

The log show that basemap tries to use the epsg data file which was
removed in PROJ 6:

 autopkgtest [12:38:14]: test python3: [-----------------------
 === python3.7 ===
 Traceback (most recent call last):
   File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
     "__main__", mod_spec)
   File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
     exec(code, run_globals)
   File "/usr/lib/python3.7/unittest/__main__.py", line 18, in <module>
     main(module=None)
   File "/usr/lib/python3.7/unittest/main.py", line 100, in __init__
     self.parseArgs(argv)
   File "/usr/lib/python3.7/unittest/main.py", line 147, in parseArgs
     self.createTests()
   File "/usr/lib/python3.7/unittest/main.py", line 159, in createTests
     self.module)
   File "/usr/lib/python3.7/unittest/loader.py", line 220, in loadTestsFromNames
     suites = [self.loadTestsFromName(name, module) for name in names]
   File "/usr/lib/python3.7/unittest/loader.py", line 220, in <listcomp>
     suites = [self.loadTestsFromName(name, module) for name in names]
   File "/usr/lib/python3.7/unittest/loader.py", line 154, in loadTestsFromName
     module = __import__(module_name)
   File "/usr/lib/python3/dist-packages/pyresample/test/__init__.py", line 26, in <module>
     from pyresample.test import (
   File "/usr/lib/python3/dist-packages/pyresample/test/test_plot.py", line 31, in <module>
     from mpl_toolkits.basemap import Basemap
   File "/usr/lib/python3/dist-packages/mpl_toolkits/basemap/__init__.py", line 152, in <module>
     epsgf = open(os.path.join(pyproj.pyproj_datadir,'epsg'))
 AttributeError: module 'pyproj' has no attribute 'pyproj_datadir'
 autopkgtest [12:38:16]: test python3: -----------------------]
 autopkgtest [12:38:16]: test python3:  - - - - - - - - - - results - - - - - - - - - -
 python3              FAIL non-zero exit status 1

Please fix or remove the autopkgtest in your package.

Kind Regards,

Bas



More information about the Pkg-grass-devel mailing list