Dear Bas,
it seems to me that the issue is in basemap rather then pyresample.
As far as I can understand it has been already fixed [1,2] in the latest
version of basemap (1.2.1) which is still not in debian.

The problem seems to be related to the recent proj/pyproj updates and
the location of EPSG data. In particular it seems that the "epsg" data
file used by basemap was provided by proj-data v5.2.0 but is no longer
in the new version. Is it correct?

I'm going to reassign.

@sandro probably you are busy with other packages in this period so, if
it is OK for you, I could take in charge of updating the basemap package
on salsa (not sure I have push permissions anyway). You should only take
care of reviewing/upload since I'm not a DD/DM.


[1] https://github.com/matplotlib/basemap/pull/454
[2] https://github.com/matplotlib/basemap/issues/458


kind regards
antonio

On Sat, 31 Aug 2019 11:52:33 +0200 Bas Couwenberg <sebas...@xs4all.nl>
wrote:
> 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
> 
> 

-- 
Antonio Valentino

Reply via email to