Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.rc > #310485

Bug#1000812: pyrle: import fails on Python 3.10

From Nilesh Patra <nilesh@debian.org>
Newsgroups linux.debian.bugs.rc
Subject Bug#1000812: pyrle: import fails on Python 3.10
Date 2021-11-29 19:10 +0100
Message-ID <DoTge-3XB-7@gated-at.bofh.it> (permalink)
References <DoOqd-SC-3@gated-at.bofh.it> <DoOqd-SC-3@gated-at.bofh.it>
Organization The Debian Project

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Mon, 29 Nov 2021 12:50:11 +0000 "Rebecca N. Palmer" <rebecca_palmer@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.
 

Back to linux.debian.bugs.rc | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Bug#1000812: pyrle: import fails on Python 3.10 Nilesh Patra <nilesh@debian.org> - 2021-11-29 19:10 +0100
  Bug#1000812: pyrle: import fails on Python 3.10 Nilesh Patra <nilesh@debian.org> - 2021-12-02 07:40 +0100
    Bug#1000812: [RFH] Bug#1000812: pyrle: import fails on Python 3.10 Stefano Rivera <stefanor@debian.org> - 2021-12-04 16:40 +0100

csiph-web