[Debian-med-packaging] Bug#1000812: pyrle: import fails on Python 3.10

Nilesh Patra nilesh at debian.org
Mon Nov 29 18:06:33 GMT 2021


On Mon, 29 Nov 2021 12:50:11 +0000 "Rebecca N. Palmer" <rebecca_palmer at zoho.com> wrote:
> Package: python3-pyrle
> Version: 0.0.33-1
> Severity: serious
> Control: affects -1 python3-pyranges
> 
> python3-pyrle fails to import on Python 3.10.  This causes 
> python3-pyranges to fail its build-time tests.  (python3-pyrle itself 
> doesn't run build-time tests.)

I rebuilt with python3.10, and now error is this.
Something wrong with pandas?

Regards,
Nilesh

autopkgtest [23:33:27]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import pyrle; print(pyrle)" ; done
autopkgtest [23:33:27]: test autodep8-python3: [-----------------------
Testing with python3.10:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 30, in <module>
    from pandas._libs import hashtable as _hashtable, lib as _lib, tslib as _tslib
  File "/usr/lib/python3/dist-packages/pandas/_libs/__init__.py", line 13, in <module>
    from pandas._libs.interval import Interval
ModuleNotFoundError: No module named 'pandas._libs.interval'

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/pyrle/__init__.py", line 1, in <module>
    from pyrle.rle import Rle
  File "/usr/lib/python3/dist-packages/pyrle/rle.py", line 4, in <module>
    from pyrle.src.coverage import _remove_dupes
  File "pyrle/src/coverage.pyx", line 2, in init pyrle.src.coverage
  File "/usr/lib/python3/dist-packages/pandas/__init__.py", line 34, in <module>
    raise ImportError(
ImportError: C extension: No module named 'pandas._libs.interval' not built. If you want to import pandas from the source directory, you may need to run 'python setup.py build_ext --inplace --force' to build the C extensions first.
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20211129/e02812a8/attachment-0001.sig>


More information about the Debian-med-packaging mailing list