Bug#1014452: pyresample: Test failures with rasterio 1.3.0
Bas Couwenberg
sebastic at xs4all.nl
Wed Jul 6 12:04:41 BST 2022
Source: pyresample
Version: 1.23.0-1
Severity: serious
Tags: ftbfs upstream
Dear Maintainer,
Your package FTBFS with rasterio 1.3.0 due to test failures which also affect the autopkgtests:
____________________ TestMisc.test_get_area_def_from_raster ____________________
self = <pyresample.test.test_utils.TestMisc testMethod=test_get_area_def_from_raster>
def test_get_area_def_from_raster(self):
from affine import Affine
> from rasterio.crs import CRS as RCRS
/usr/lib/python3/dist-packages/pyresample/test/test_utils.py:441:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3/dist-packages/rasterio/__init__.py:14: in <module>
from rasterio.crs import CRS
rasterio/crs.pyx:1: in init rasterio.crs
???
rasterio/_base.pyx:22: in init rasterio._base
???
/usr/lib/python3/dist-packages/rasterio/dtypes.py:10: in <module>
from rasterio.env import GDALVersion
/usr/lib/python3/dist-packages/rasterio/env.py:16: in <module>
from rasterio._env import (
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
> ???
E ImportError: /usr/lib/python3/dist-packages/rasterio/_filepath.cpython-39-x86_64-linux-gnu.so: undefined symbol: VSIAllocFilesystemPluginCallbacksStruct
rasterio/_env.pyx:1: ImportError
___________ TestMisc.test_get_area_def_from_raster_extracts_proj_id ____________
self = <pyresample.test.test_utils.TestMisc testMethod=test_get_area_def_from_raster_extracts_proj_id>
def test_get_area_def_from_raster_extracts_proj_id(self):
> from rasterio.crs import CRS as RCRS
/usr/lib/python3/dist-packages/pyresample/test/test_utils.py:465:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
"""Rasterio"""
from collections import namedtuple
from contextlib import ExitStack
import logging
from logging import NullHandler
import os
import warnings
import rasterio._loading
> with rasterio._loading.add_gdal_dll_directories():
E AttributeError: partially initialized module 'rasterio' has no attribute '_loading' (most likely due to a circular import)
/usr/lib/python3/dist-packages/rasterio/__init__.py:11: AttributeError
Other tests raise the same AttributeError, see:
https://ci.debian.net/data/autopkgtest/testing/amd64/p/pyresample/23427351/log.gz
Kind Regards,
Bas
More information about the Pkg-grass-devel
mailing list