Bug#997502: pyresample: FTBFS: dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13

Lucas Nussbaum lucas at debian.org
Sat Oct 23 21:40:15 BST 2021


Source: pyresample
Version: 1.21.1-1
Severity: serious
Justification: FTBFS
Tags: bookworm sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20211023 ftbfs-bookworm

Hi,

During a rebuild of all packages in sid, your package failed to build
on amd64.


Relevant part (hopefully):
> make[2]: Entering directory '/<<PKGBUILDDIR>>/docs'
> sphinx-build -b html -d build/doctrees  -a source build/html
> Running Sphinx v4.2.0
> making output directory... done
> loading intersphinx inventory from https://docs.python.org/3/objects.inv...
> loading intersphinx inventory from https://docs.scipy.org/doc/numpy/objects.inv...
> loading intersphinx inventory from https://docs.scipy.org/doc/scipy/reference/objects.inv...
> loading intersphinx inventory from https://xarray.pydata.org/en/stable/objects.inv...
> loading intersphinx inventory from https://docs.dask.org/en/latest/objects.inv...
> loading intersphinx inventory from https://pandas.pydata.org/docs/objects.inv...
> loading intersphinx inventory from https://pyresample.readthedocs.io/en/stable/objects.inv...
> loading intersphinx inventory from https://trollsift.readthedocs.io/en/stable/objects.inv...
> loading intersphinx inventory from https://trollimage.readthedocs.io/en/stable/objects.inv...
> intersphinx inventory has moved: https://docs.scipy.org/doc/numpy/objects.inv -> https://numpy.org/doc/stable/objects.inv
> loading intersphinx inventory from https://pyproj4.github.io/pyproj/dev/objects.inv...
> loading intersphinx inventory from https://proj.org/objects.inv...
> building [mo]: all of 0 po files
> building [html]: all source files
> updating environment: [new config] 21 added, 0 changed, 0 removed
> reading sources... [  4%] api/pyresample
> reading sources... [  9%] api/pyresample.bilinear
> reading sources... [ 14%] api/pyresample.bucket
> reading sources... [ 19%] api/pyresample.ewa
> reading sources... [ 23%] api/pyresample.gradient
> reading sources... [ 28%] api/pyresample.utils
> reading sources... [ 33%] data_reduce
> reading sources... [ 38%] geo_def
> reading sources... [ 42%] geo_filter
> reading sources... [ 47%] geometry_utils
> reading sources... [ 52%] grid
> reading sources... [ 57%] index
> reading sources... [ 61%] installation
> reading sources... [ 66%] multi
> reading sources... [ 71%] plot
> reading sources... [ 76%] plot_cartopy_basemap
> reading sources... [ 80%] plot_projections
> reading sources... [ 85%] preproc
> reading sources... [ 90%] roadmap
> reading sources... [ 95%] spherical_geometry
> reading sources... [100%] swath
> 
> /<<PKGBUILDDIR>>/pyresample/geometry.py:docstring of pyresample.geometry.AreaDefinition.area_extent:1: WARNING: duplicate object description of pyresample.geometry.AreaDefinition.area_extent, other instance in api/pyresample, use :noindex: for one of them
> /<<PKGBUILDDIR>>/pyresample/geometry.py:docstring of pyresample.geometry.DynamicAreaDefinition.pixel_size_x:1: WARNING: duplicate object description of pyresample.geometry.DynamicAreaDefinition.pixel_size_x, other instance in api/pyresample, use :noindex: for one of them
> /<<PKGBUILDDIR>>/pyresample/geometry.py:docstring of pyresample.geometry.DynamicAreaDefinition.pixel_size_y:1: WARNING: duplicate object description of pyresample.geometry.DynamicAreaDefinition.pixel_size_y, other instance in api/pyresample, use :noindex: for one of them
> /<<PKGBUILDDIR>>/pyresample/bucket/__init__.py:docstring of pyresample.bucket.BucketResampler.get_average:12: WARNING: Definition list ends without a blank line; unexpected unindent.
> /<<PKGBUILDDIR>>/pyresample/bucket/__init__.py:docstring of pyresample.bucket.BucketResampler.get_max:15: WARNING: Definition list ends without a blank line; unexpected unindent.
> /<<PKGBUILDDIR>>/pyresample/bucket/__init__.py:docstring of pyresample.bucket.BucketResampler.get_min:15: WARNING: Definition list ends without a blank line; unexpected unindent.
> /<<PKGBUILDDIR>>/pyresample/bucket/__init__.py:docstring of pyresample.bucket.BucketResampler.get_sum:10: WARNING: Definition list ends without a blank line; unexpected unindent.
> WARNING: autodoc: failed to import module 'ewa' from module 'pyresample'; the following exception was raised:
> cannot import name '_ll2cr' from partially initialized module 'pyresample.ewa' (most likely due to a circular import) (/<<PKGBUILDDIR>>/pyresample/ewa/__init__.py)
> WARNING: autodoc: failed to import module 'gradient' from module 'pyresample'; the following exception was raised:
> No module named 'pyresample.gradient._gradient_search'
> looking for now-outdated files... none found
> pickling environment... done
> checking consistency... done
> preparing documents... done
> writing output... [  4%] api/pyresample
> writing output... [  9%] api/pyresample.bilinear
> writing output... [ 14%] api/pyresample.bucket
> writing output... [ 19%] api/pyresample.ewa
> writing output... [ 23%] api/pyresample.gradient
> writing output... [ 28%] api/pyresample.utils
> writing output... [ 33%] data_reduce
> writing output... [ 38%] geo_def
> writing output... [ 42%] geo_filter
> writing output... [ 47%] geometry_utils
> writing output... [ 52%] grid
> writing output... [ 57%] index
> writing output... [ 61%] installation
> writing output... [ 66%] multi
> writing output... [ 71%] plot
> writing output... [ 76%] plot_cartopy_basemap
> writing output... [ 80%] plot_projections
> writing output... [ 85%] preproc
> writing output... [ 90%] roadmap
> writing output... [ 95%] spherical_geometry
> writing output... [100%] swath
> 
> generating indices... genindex py-modindex done
> writing additional pages... search done
> copying images... [  7%] _static/images/time_vs_nproc_1-12.png
> copying images... [ 15%] _static/images/tb37v_quick.png
> copying images... [ 23%] _static/images/tb37v_pc.png
> copying images... [ 30%] _static/images/tb37v_ortho.png
> copying images... [ 38%] _static/images/amsr2_tb37v_cartopy.png
> copying images... [ 46%] _static/images/tb37v_bmng.png
> copying images... [ 53%] _static/images/tb37v_bmng_cartopy.png
> copying images... [ 61%] _static/images/2_passes_between_202001051137_and_202001051156.png
> copying images... [ 69%] _static/images/uncert_conc_nh.png
> copying images... [ 76%] _static/images/uncert_stddev_nh.png
> copying images... [ 84%] _static/images/uncert_count_nh.png
> copying images... [ 92%] _static/images/nearest_overview.png
> copying images... [100%] _static/images/bilinear_overview.png
> 
> copying static files... done
> copying extra files... done
> dumping search index in English (code: en)... done
> dumping object inventory... done
> build succeeded, 9 warnings.
> 
> The HTML pages are in build/html.
> 
> Build finished. The HTML pages are in build/html.
> make[2]: Leaving directory '/<<PKGBUILDDIR>>/docs'
> rm -rf docs/build/html/_static/images/
> make[1]: Leaving directory '/<<PKGBUILDDIR>>'
>    dh_auto_test -O--buildsystem=pybuild
> I: pybuild base:232: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build; python3.9 -m pytest 
> ============================= test session starts ==============================
> platform linux -- Python 3.9.7, pytest-6.2.5, py-1.10.0, pluggy-0.13.0
> rootdir: /<<PKGBUILDDIR>>
> collected 488 items
> 
> pyresample/test/test_bilinear.py ....................................... [  7%]
> .                                                                        [  8%]
> pyresample/test/test_bucket.py .................                         [ 11%]
> pyresample/test/test_dask_ewa.py .........s.s.........s.s.s.s.s.s.s.s.s. [ 19%]
> s.s.s.s.s.........s.s.........s.s............................            [ 32%]
> pyresample/test/test_data_reduce.py ......                               [ 33%]
> pyresample/test/test_ewa_fornav.py .....                                 [ 34%]
> pyresample/test/test_ewa_ll2cr.py .......                                [ 35%]
> pyresample/test/test_geometry.py ..........F.....................F...... [ 43%]
> ......................................................................   [ 58%]
> pyresample/test/test_gradient.py ....................                    [ 62%]
> pyresample/test/test_grid.py ......F.....                                [ 64%]
> pyresample/test/test_image.py ..............                             [ 67%]
> pyresample/test/test_kd_tree.py ........................................ [ 75%]
> ...s..                                                                   [ 77%]
> pyresample/test/test_plot.py .s...F.                                     [ 78%]
> pyresample/test/test_spatial_mp.py ..                                    [ 78%]
> pyresample/test/test_spherical.py ..........................             [ 84%]
> pyresample/test/test_spherical_geometry.py .....                         [ 85%]
> pyresample/test/test_spherical_utils.py ..........................       [ 90%]
> pyresample/test/test_swath.py ..                                         [ 90%]
> pyresample/test/test_utils.py .......................................... [ 99%]
> ..                                                                       [100%]
> 
> =================================== FAILURES ===================================
> ____________________________ Test.test_cartopy_crs _____________________________
> 
> self = <pyresample.test.test_geometry.Test testMethod=test_cartopy_crs>
> 
>     def test_cartopy_crs(self):
>         """Test conversion from area definition to cartopy crs."""
>         europe = geometry.AreaDefinition(area_id='areaD',
>                                          description='Europe (3km, HRV, VTC)',
>                                          proj_id='areaD',
>                                          projection={'a': '6378144.0',
>                                                      'b': '6356759.0',
>                                                      'lat_0': '50.00',
>                                                      'lat_ts': '50.00',
>                                                      'lon_0': '8.00',
>                                                      'proj': 'stere'},
>                                          width=800, height=800,
>                                          area_extent=[-1370912.72,
>                                                       -909968.64000000001,
>                                                       1029087.28,
>                                                       1490031.3600000001])
>         seviri = geometry.AreaDefinition(area_id='seviri',
>                                          description='SEVIRI HRIT like (flipped, south up)',
>                                          proj_id='seviri',
>                                          projection={'proj': 'geos',
>                                                      'lon_0': 0.0,
>                                                      'a': 6378169.00,
>                                                      'b': 6356583.80,
>                                                      'h': 35785831.00,
>                                                      'units': 'm'},
>                                          width=123, height=123,
>                                          area_extent=[5500000, 5500000, -5500000, -5500000])
>     
>         for area_def in [europe, seviri]:
>             crs = area_def.to_cartopy_crs()
>     
>             # Bounds
>             self.assertEqual(crs.bounds,
>                              (area_def.area_extent[0],
>                               area_def.area_extent[2],
>                               area_def.area_extent[1],
>                               area_def.area_extent[3]))
>     
>             # Threshold
>             thresh_exp = min(np.fabs(area_def.area_extent[2] - area_def.area_extent[0]),
>                              np.fabs(area_def.area_extent[3] - area_def.area_extent[1])) / 100.
>             self.assertEqual(crs.threshold, thresh_exp)
>     
>         # EPSG projection
>         projections = ['+init=EPSG:6932', 'EPSG:6932']
>         for projection in projections:
>             area = geometry.AreaDefinition(
>                 area_id='ease-sh-2.0',
>                 description='25km EASE Grid 2.0 (Southern Hemisphere)',
>                 proj_id='ease-sh-2.0',
>                 projection=projection,
>                 width=123, height=123,
>                 area_extent=[-40000., -40000., 40000., 40000.])
>             with patch('pyresample.utils.cartopy.warnings.warn') as warn:
>                 # Test that user warning has been issued (EPSG to proj4 string is potentially lossy)
> >               area.to_cartopy_crs()
> 
> pyresample/test/test_geometry.py:142: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> pyresample/geometry.py:1621: in to_cartopy_crs
>     crs = from_proj(proj_params, bounds=bounds)
> pyresample/utils/cartopy.py:110: in _lesser_from_proj
>     return _PROJ4Projection(proj4_terms, globe=globe, bounds=bounds)
> pyresample/utils/cartopy.py:74: in __init__
>     super(_PROJ4Projection, self).__init__(other_terms, globe)
> /usr/lib/python3/dist-packages/cartopy/crs.py:648: in __init__
>     super().__init__(*args, **kwargs)
> /usr/lib/python3/dist-packages/cartopy/crs.py:182: in __init__
>     super().__init__(self.proj4_init)
> /usr/lib/python3/dist-packages/pyproj/crs/crs.py:326: in __init__
>     self._local.crs = _CRS(self.srs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> >   ???
> E   pyproj.exceptions.CRSError: Invalid projection: +proj=laea +ellps=WGS84 +towgs84=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] +lat_0=-90 +lon_0=0 +x_0=0 +y_0=0 +units=m +no_defs +type=crs +no_defs: (Internal Proj Error: proj_create: Non numerical value in towgs84 clause)
> 
> pyproj/_crs.pyx:2352: CRSError
> ______________________________ Test.test_proj_str ______________________________
> 
> self = <pyresample.test.test_geometry.Test testMethod=test_proj_str>
> 
>     def test_proj_str(self):
>         """Test the 'proj_str' property of AreaDefinition."""
>         from collections import OrderedDict
>         from pyresample.test.utils import friendly_crs_equal
>     
>         # pyproj 2.0+ adds a +type=crs parameter
>         proj_dict = OrderedDict()
>         proj_dict['proj'] = 'stere'
>         proj_dict['a'] = 6378144.0
>         proj_dict['b'] = 6356759.0
>         proj_dict['lat_0'] = 90.00
>         proj_dict['lat_ts'] = 50.00
>         proj_dict['lon_0'] = 8.00
>         area = geometry.AreaDefinition('areaD', 'Europe (3km, HRV, VTC)', 'areaD',
>                                        proj_dict, 10, 10,
>                                        [-1370912.72, -909968.64, 1029087.28,
>                                         1490031.36])
>         assert friendly_crs_equal(
>             '+a=6378144.0 +b=6356759.0 +lat_0=90.0 +lat_ts=50.0 '
>             '+lon_0=8.0 +proj=stere',
>             area
>         )
>         # try a omerc projection and no_rot parameters
>         proj_dict['proj'] = 'omerc'
>         proj_dict['lat_0'] = 50.0
>         proj_dict['alpha'] = proj_dict.pop('lat_ts')
>         proj_dict['no_rot'] = ''
>         area = geometry.AreaDefinition('areaD', 'Europe (3km, HRV, VTC)', 'areaD',
>                                        proj_dict, 10, 10,
>                                        [-1370912.72, -909968.64, 1029087.28,
>                                         1490031.36])
> >       assert friendly_crs_equal(
>             '+a=6378144.0 +alpha=50.0 +b=6356759.0 +lat_0=50.0 '
>             '+lon_0=8.0 +no_rot +proj=omerc',
>             area
>         )
> E       AssertionError: assert False
> E        +  where False = <function friendly_crs_equal at 0x7f8dc2df6a60>('+a=6378144.0 +alpha=50.0 +b=6356759.0 +lat_0=50.0 +lon_0=8.0 +no_rot +proj=omerc', Area ID: areaD\nDescription: Europe (3km, HRV, VTC)\nProjection ID: areaD\nProjection: {'a': '6378144.0', 'alpha': '50.0'... 'type': 'crs'}\nNumber of columns: 10\nNumber of rows: 10\nArea extent: (-1370912.72, -909968.64, 1029087.28, 1490031.36))
> 
> pyresample/test/test_geometry.py:1262: AssertionError
> ____________________________ Test.test_proj4_string ____________________________
> 
> self = <pyresample.test.test_grid.Test testMethod=test_proj4_string>
> 
>     def test_proj4_string(self):
>         """Test 'proj_str' property of AreaDefinition."""
>         proj4_string = self.area_def.proj_str
>         expected_string = '+a=6378144 +k=1 +lat_0=50 +lon_0=8 ' \
>                           '+no_defs +proj=stere +rf=298.253168108487 ' \
>                           '+type=crs +units=m +x_0=0 +y_0=0'
> >       self.assertEqual(
>             frozenset(proj4_string.split()), frozenset(expected_string.split()))
> E       AssertionError: Items in the first set but not the second:
> E       '+lat_ts=50.0'
> E       '+a=6378144.0'
> E       '+lon_0=8.0'
> E       '+b=6356759.0'
> E       '+lat_0=50.0'
> E       Items in the second set but not the first:
> E       '+k=1'
> E       '+x_0=0'
> E       '+no_defs'
> E       '+lat_0=50'
> E       '+a=6378144'
> E       '+y_0=0'
> E       '+lon_0=8'
> E       '+rf=298.253168108487'
> E       '+units=m'
> 
> pyresample/test/test_grid.py:208: AssertionError
> __________________________ Test.test_plate_carreeplot __________________________
> 
> self = <pyresample.test.test_plot.Test testMethod=test_plate_carreeplot>
> 
>     def test_plate_carreeplot(self):
>         """Test the Plate Caree plotting functionality."""
>         from pyresample import plot, kd_tree, geometry
>         from pyresample import parse_area_file
>         area_def = parse_area_file(os.path.join(os.path.dirname(__file__), 'test_files', 'areas.yaml'), 'pc_world')[0]
>         swath_def = geometry.SwathDefinition(self.lons, self.lats)
>         result = kd_tree.resample_nearest(swath_def, self.tb37v, area_def,
>                                           radius_of_influence=20000,
>                                           fill_value=None)
>     
> >       plot._get_quicklook(area_def, result, num_meridians=0, num_parallels=0)
> 
> pyresample/test/test_plot.py:167: 
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> pyresample/plot.py:252: in _get_quicklook
>     crs = area_def.to_cartopy_crs()
> pyresample/geometry.py:1621: in to_cartopy_crs
>     crs = from_proj(proj_params, bounds=bounds)
> pyresample/utils/cartopy.py:110: in _lesser_from_proj
>     return _PROJ4Projection(proj4_terms, globe=globe, bounds=bounds)
> pyresample/utils/cartopy.py:74: in __init__
>     super(_PROJ4Projection, self).__init__(other_terms, globe)
> /usr/lib/python3/dist-packages/cartopy/crs.py:648: in __init__
>     super().__init__(*args, **kwargs)
> /usr/lib/python3/dist-packages/cartopy/crs.py:182: in __init__
>     super().__init__(self.proj4_init)
> /usr/lib/python3/dist-packages/pyproj/crs/crs.py:326: in __init__
>     self._local.crs = _CRS(self.srs)
> _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
> 
> >   ???
> E   pyproj.exceptions.CRSError: Invalid projection: +proj=eqc +ellps=WGS84 +towgs84=[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0] +lat_ts=0 +lat_0=0 +lon_0=0 +x_0=0 +y_0=0 +units=m +no_defs +type=crs +no_defs: (Internal Proj Error: proj_create: Non numerical value in towgs84 clause)
> 
> pyproj/_crs.pyx:2352: CRSError
> =============================== warnings summary ===============================
> pyresample/spherical_geometry.py:26
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/spherical_geometry.py:26: DeprecationWarning: This module will be removed in pyresample 2.0, please use the `pyresample.spherical` module functions and class instead.
>     warnings.warn("This module will be removed in pyresample 2.0, please use the "
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py: 24 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bucket.py: 19 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_dask_ewa.py: 132 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_data_reduce.py: 2 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_ewa_ll2cr.py: 1 warning
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py: 59 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py: 246 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_grid.py: 9 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py: 15 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_plot.py: 3 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py: 35 warnings
>   /usr/lib/python3/dist-packages/pyproj/crs/crs.py:1256: UserWarning: You will likely lose important projection information when converting to a PROJ string from another format. See: https://proj.org/faq.html#what-is-the-best-format-for-describing-coordinate-reference-systems
>     return self._crs.to_proj4(version=version)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_bil_info
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_bil_info
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_sample_from_bil_info
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_numpy_resampler.py:216: FutureWarning: Usage of get_bil_info() is deprecated, please use NumpyResamplerBilinear class instead
>     warnings.warn(
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances_division_by_zero
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances_irregular
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_get_fractional_distances_division_by_zero
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:386: RuntimeWarning: invalid value encountered in true_divide
>     x_1 = (-b__ + np.sqrt(discriminant)) / (2 * a__)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances_division_by_zero
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances_irregular
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_get_fractional_distances_division_by_zero
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:387: RuntimeWarning: divide by zero encountered in true_divide
>     x_2 = (-b__ - np.sqrt(discriminant)) / (2 * a__)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances_irregular
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:453: RuntimeWarning: invalid value encountered in true_divide
>     g__ = ((out_y - y_1 - y_21 * f__) /
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:386: RuntimeWarning: divide by zero encountered in true_divide
>     x_1 = (-b__ + np.sqrt(discriminant)) / (2 * a__)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_fractional_distances
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:387: RuntimeWarning: invalid value encountered in true_divide
>     x_2 = (-b__ - np.sqrt(discriminant)) / (2 * a__)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_get_sample_from_bil_info
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_numpy_resampler.py:136: FutureWarning: Usage of get_sample_from_bil_info() is deprecated, please use NumpyResamplerBilinear class instead
>     warnings.warn(
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_resample_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_resample_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_resample_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear_multi
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear_swath
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_numpy_resampler.py:91: FutureWarning: Usage of resample_bilinear() is deprecated, please use NumpyResamplerBilinear class instead
>     warnings.warn(
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestNumpyBilinear::test_solve_quadratic
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_solve_quadratic
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:389: RuntimeWarning: invalid value encountered in true_divide
>     x_3 = -c__ / b__
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_get_fractional_distances_irregular
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_get_fractional_distances_irregular
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bucket.py::Test::test_resample_bucket_fractions
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bucket.py::Test::test_resample_bucket_fractions
>   /usr/lib/python3/dist-packages/dask/core.py:121: RuntimeWarning: invalid value encountered in true_divide
>     return func(*(_execute_task(a, cache) for a in args))
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_get_fractional_distances_irregular
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_bilinear.py::TestXarrayBilinear::test_get_fractional_distances_irregular
>   /usr/lib/python3/dist-packages/dask/core.py:121: RuntimeWarning: divide by zero encountered in true_divide
>     return func(*(_execute_task(a, cache) for a in args))
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_data_reduce.py::Test::test_reduce_north_pole
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_data_reduce.py:133: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area_def = utils.get_area_def(area_id, description, proj_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_data_reduce.py::Test::test_reduce_north_pole
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_data_reduce.py:145: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     smaller_area_def = utils.get_area_def(area_id, description, proj_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_area_def_geocentric_resolution
>   /usr/lib/python3/dist-packages/numpy/lib/function_base.py:1280: RuntimeWarning: invalid value encountered in subtract
>     a = op(a[slice1], a[slice2])
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py: 14 warnings
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py: 4 warnings
>   /usr/lib/python3/dist-packages/pyproj/crs/crs.py:131: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
>     in_crs_string = _prepare_from_proj_string(in_crs_string)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_colrow2lonlat
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:820: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_colrow2lonlat
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:858: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_from_epsg
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestLegacyAreaParser::test_commented
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestLegacyAreaParser::test_commented
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestLegacyAreaParser::test_commented
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestLegacyAreaParser::test_commented
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/geometry.py:1314: PendingDeprecationWarning: 'name' is deprecated, use 'description' instead.
>     warnings.warn("'name' is deprecated, use 'description' instead.", PendingDeprecationWarning)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_proj_coords_basic
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:894: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area_def = utils.get_area_def(area_id, area_name, proj_id, proj_dict, x_size, y_size, area_extent)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_slice_starts_stops
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1177: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     target_area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_slice_starts_stops
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1189: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     source_area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_slice_starts_stops
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1200: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     source_area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_slice_starts_stops
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1211: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     source_area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_slice_starts_stops
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1222: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     source_area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_get_xy_from_lonlat
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1099: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area_def = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py: 11 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/geometry.py:1921: DeprecationWarning: 'get_xy_from_lonlat' is deprecated, please use 'get_array_indices_from_lonlat' instead.
>     warnings.warn("'get_xy_from_lonlat' is deprecated, please use "
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_lonlat2colrow
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:781: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_parse_area_file
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_parse_area_file
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_parse_area_file
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/area_config.py:160: DeprecationWarning: It looks like you passed a YAML string directly.  This is deprecated since pyresample 1.14.1, please use load_area_from_string or pass a stream or a path to a file instead
>     warnings.warn("It looks like you passed a YAML string "
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::Test::test_striding
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py:1329: UserWarning: 'get_area_def' has moved, import it with 'from pyresample import get_area_def'
>     area_def = utils.get_area_def(area_id,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py: 12 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/geometry.py:628: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
>     x, y, z = transform(src, dst, lons, lats, alt)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::TestSwathDefinition::test_swath_def_geocentric_resolution
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_geometry.py::TestSwathDefinition::test_swath_def_geocentric_resolution
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/geometry.py:528: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
>     xyz = np.stack(transform(src, dst, lons, lats, alt), axis=1)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py: 13 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/gradient/__init__.py:56: UserWarning: You are using the Gradient Search Resampler, which is still EXPERIMENTAL.
>     warnings.warn("You are using the Gradient Search Resampler, which is still EXPERIMENTAL.")
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py: 20 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/gradient/__init__.py:46: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
>     return pyproj.transform(src_prj, dst_prj, x_coords, y_coords)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py::TestGradientResampler::test_resample_swath_to_area_2d
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py::TestGradientResampler::test_resample_swath_to_area_3d
>   /usr/lib/python3/dist-packages/numpy/lib/function_base.py:1068: RuntimeWarning: invalid value encountered in subtract
>     out[tuple(slice1)] = (f[tuple(slice4)] - f[tuple(slice2)]) / (2. * ax_dx)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py::TestGradientResampler::test_resample_swath_to_area_2d
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py::TestGradientResampler::test_resample_swath_to_area_3d
>   /usr/lib/python3/dist-packages/numpy/lib/function_base.py:1089: RuntimeWarning: invalid value encountered in subtract
>     out[tuple(slice1)] = (f[tuple(slice2)] - f[tuple(slice3)]) / dx_0
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py::TestGradientResampler::test_resample_swath_to_area_2d
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_gradient.py::TestGradientResampler::test_resample_swath_to_area_3d
>   /usr/lib/python3/dist-packages/numpy/lib/function_base.py:1096: RuntimeWarning: invalid value encountered in subtract
>     out[tuple(slice1)] = (f[tuple(slice2)] - f[tuple(slice3)]) / dx_n
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py: 27 warnings
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/image.py:60: FutureWarning: Usage of ImageContainer is deprecated, please use NumpyResamplerBilinear class instead
>     warnings.warn(
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear_multi
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:606: RuntimeWarning: invalid value encountered in cos
>     r_cos_lats = R * np.cos(lats)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear_multi
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:608: RuntimeWarning: invalid value encountered in cos
>     x_coords = r_cos_lats * np.cos(lons)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear_multi
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:609: RuntimeWarning: invalid value encountered in sin
>     y_coords = r_cos_lats * np.sin(lons)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_image.py::Test::test_bilinear_multi
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/bilinear/_base.py:610: RuntimeWarning: invalid value encountered in sin
>     z_coords = R * np.sin(lats)
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_kd_tree.py::TestXArrayResamplerNN::test_nearest_area_2d_to_area_1n_no_roi
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/kd_tree.py:995: RuntimeWarning: All-NaN axis encountered
>     radius_of_influence = np.nanmax([src_res, dst_res])
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_plot.py::Test::test_plate_carreeplot
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/utils/cartopy.py:65: UserWarning: Converting EPSG projection to proj4 string, which is a potentially lossy transformation
>     warnings.warn('Converting EPSG projection to proj4 string, which is a potentially lossy transformation')
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_plot.py::Test::test_translate_coast_res
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/plot.py:207: UserWarning: 'coast_res' should be either '110m', '50m', '10m'.
>     warnings.warn("'coast_res' should be either '110m', '50m', '10m'.")
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestMisc::test_def2yaml_converter
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestMisc::test_def2yaml_converter
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestMisc::test_def2yaml_converter
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestMisc::test_def2yaml_converter
>   /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build/pyresample/geometry.py:1626: DeprecationWarning: 'create_areas_def' is deprecated. Please use `dump` instead, which also supports writing directly to a file.
>     warnings.warn("'create_areas_def' is deprecated. Please use `dump` instead, which also "
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestMisc::test_get_area_def_from_raster_extracts_proj_id
>   /usr/lib/python3/dist-packages/rasterio/__init__.py:230: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix be returned.
>     s = writer(path, mode, driver=driver,
> 
> .pybuild/cpython3_3.9_pyresample/build/pyresample/test/test_utils.py::TestMisc::test_get_area_def_from_raster_extracts_proj_id
>   /usr/lib/python3/dist-packages/rasterio/__init__.py:220: NotGeoreferencedWarning: Dataset has no geotransform, gcps, or rpcs. The identity matrix be returned.
>     s = DatasetReader(path, driver=driver, sharing=sharing, **kwargs)
> 
> -- Docs: https://docs.pytest.org/en/stable/warnings.html
> =========================== short test summary info ============================
> FAILED pyresample/test/test_geometry.py::Test::test_cartopy_crs - pyproj.exce...
> FAILED pyresample/test/test_geometry.py::Test::test_proj_str - AssertionError...
> FAILED pyresample/test/test_grid.py::Test::test_proj4_string - AssertionError...
> FAILED pyresample/test/test_plot.py::Test::test_plate_carreeplot - pyproj.exc...
> ===== 4 failed, 462 passed, 22 skipped, 724 warnings in 114.10s (0:01:54) ======
> E: pybuild pybuild:354: test: plugin distutils failed with: exit code=1: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.9_pyresample/build; python3.9 -m pytest 
> dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p 3.9 returned exit code 13


The full build log is available from:
http://qa-logs.debian.net/2021/10/23/pyresample_1.21.1-1_unstable.log

A list of current common problems and possible solutions is available at
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

If you reassign this bug to another package, please marking it as 'affects'-ing
this package. See https://www.debian.org/Bugs/server-control#affects

If you fail to reproduce this, please provide a build log and diff it with mine
so that we can identify if something relevant changed in the meantime.



More information about the Pkg-grass-devel mailing list