Getting this error when building:
==> Starting check()...
ImportError while loading conftest '/home/alkis/.cache/yay/python-cartopy/src/cartopy-0.25.0/test-env/lib/python3.13/site-packages/cartopy/tests/conftest.py'.
../__init__.py:106: in <module>
import cartopy.crs # noqa: E402 module-level imports
^^^^^^^^^^^^^^^^^^
../crs.py:1722: in <module>
Mercator.GOOGLE = Mercator(min_latitude=-85.0511287798066,
../crs.py:1676: in __init__
super().__init__(proj4_params, globe=globe)
../crs.py:677: in __init__
super().__init__(*args, **kwargs)
../crs.py:203: in __init__
super().__init__(self.proj4_init)
/usr/lib/python3.13/site-packages/pyproj/crs/crs.py:350: in __init__
self._local.crs = _CRS(self.srs)
^^^^^^^^^^^^^^
pyproj/_crs.pyx:2355: in pyproj._crs._CRS.__init__
???
E TypeError: expected bytes, str found
Pinned Comments
bcb commented on 2023-12-08 10:48 (UTC)
The currently enabled tests pass (repeatedly) for me in a clean chroot. I am reluctant to disable too many tests in the PKGBUILD, especially when I cannot reproduce the failures and make sure I am disabling the correct test for a build failure reported by somebody else. For now, if you run into failures you may have to build with
--nocheck. I am hoping to make the checks more robust -- suggestions welcome!