[Debian-astro-maintainers] Bug#975529: python-asdf's autopkg tests fail with Python 3.9
Matthias Klose
doko at debian.org
Mon Nov 23 09:58:15 GMT 2020
Package: src:python-asdf
Version: 2.7.1-1
Severity: serious
Tags: sid bullseye
User: debian-python at lists.debian.org
Usertags: python3.9
[...]
autopkgtest [01:09:51]: test command1: cd $AUTOPKGTEST_TMP && pytest-3 --pyargs asdf
autopkgtest [01:09:51]: test command1: [-----------------------
============================= test session starts ==============================
platform linux -- Python 3.9.0+, pytest-4.6.11, py-1.9.0, pluggy-0.13.0
rootdir: /tmp/autopkgtest-lxc.dhe2dv4q/downtmp/autopkgtest_tmp
plugins: openfiles-0.5.0, arraydiff-0.3, hypothesis-5.41.2, remotedata-0.3.2,
asdf-2.7.1, astropy-header-0.1.2, doctestplus-0.7.0, filter-subpackage-0.1.1,
cov-2.8.1
collected 462 items / 2 errors / 460 selected
==================================== ERRORS ====================================
_______________ ERROR collecting tags/core/tests/test_ndarray.py _______________
/usr/lib/python3/dist-packages/asdf/tags/core/tests/test_ndarray.py:25: in <module>
TEST_DATA_PATH = helpers.get_test_data_path('', module=test_data)
/usr/lib/python3/dist-packages/asdf/tests/helpers.py:68: in get_test_data_path
with resources.path(module, name) as path:
/usr/lib/python3.9/contextlib.py:117: in __enter__
return next(self.gen)
/usr/lib/python3.9/importlib/resources.py:175: in _path_from_reader
opener_reader = reader.open_resource(norm_resource)
<frozen importlib._bootstrap_external>:995: in open_resource
???
E IsADirectoryError: [Errno 21] Is a directory:
'/usr/lib/python3/dist-packages/asdf/tags/core/tests/data'
_____________________ ERROR collecting tests/test_types.py _____________________
/usr/lib/python3/dist-packages/asdf/tests/test_types.py:20: in <module>
TEST_DATA_PATH = str(helpers.get_test_data_path(''))
/usr/lib/python3/dist-packages/asdf/tests/helpers.py:68: in get_test_data_path
with resources.path(module, name) as path:
/usr/lib/python3.9/contextlib.py:117: in __enter__
return next(self.gen)
/usr/lib/python3.9/importlib/resources.py:175: in _path_from_reader
opener_reader = reader.open_resource(norm_resource)
<frozen importlib._bootstrap_external>:995: in open_resource
???
E IsADirectoryError: [Errno 21] Is a directory:
'/usr/lib/python3/dist-packages/asdf/tests/data'
!!!!!!!!!!!!!!!!!!! Interrupted: 2 errors during collection !!!!!!!!!!!!!!!!!!!!
=========================== 2 error in 1.59 seconds ============================
More information about the Debian-astro-maintainers
mailing list