Bug#1056246: fiona's autopkg tests fail with Python 3.12

Matthias Klose doko at debian.org
Sun Nov 19 12:04:04 GMT 2023


Package: src:fiona
Version: 1.9.5-1
Severity: important
Tags: sid trixie
User: debian-python at lists.debian.org
Usertags: python3.12


[...]
295s ============================= test session starts 
==============================
295s platform linux -- Python 3.12.0+, pytest-7.4.3, pluggy-1.3.0
295s GDAL: 3.8.0 (3080000)
295s Supported drivers: CSV, DGN, DXF, ESRI Shapefile, ESRIJSON, 
FlatGeobuf, GML, GPKG, GPX, GeoJSON, GeoJSONSeq, Idrisi, MapInfo File, 
OGR_GMT, OGR_PDS, OpenFileGDB, PCIDSK, S57, SQLite, TopoJSON
295s rootdir: /tmp/autopkgtest.vXDJRg/autopkgtest_tmp/build
295s configfile: pytest.ini
295s testpaths: tests
295s collected 1004 items / 1 error
295s
295s ==================================== ERRORS 
====================================
295s ___________________ ERROR collecting tests/test_datetime.py 
____________________
295s /usr/lib/python3/dist-packages/_pytest/python.py:617: in 
_importtestmodule
295s     mod = import_path(self.path, mode=importmode, 
root=self.config.rootpath)
295s /usr/lib/python3/dist-packages/_pytest/pathlib.py:540: in import_path
295s     spec.loader.exec_module(mod)  # type: ignore[union-attr]
295s /usr/lib/python3/dist-packages/_pytest/assertion/rewrite.py:186: in 
exec_module
295s     exec(co, module.__dict__)
295s tests/test_datetime.py:25: in <module>
295s     import pytz
295s E     File "/usr/lib/python3/dist-packages/pytz/__init__.py", line 30
295s E       match = re.match("^#\s*version\s*([0-9a-z]*)\s*$", line)
295s E                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
295s E   SyntaxError: invalid escape sequence '\s'
295s =========================== short test summary info 
============================
295s ERROR tests/test_datetime.py
295s !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection 
!!!!!!!!!!!!!!!!!!!!
295s =============================== 1 error in 0.65s 
===============================



More information about the Pkg-grass-devel mailing list