Your message dated Wed, 20 Nov 2024 22:00:40 +0000
with message-id <6c167456-d766-4279-8170-6acd8ffca...@zoho.com>
and subject line Re: Bug#1087640: pandas can't open .xls - xlrd too old
has caused the Debian Bug report #1087640,
regarding python3-pandas: versions of python3-pandas and python3-xlrd not 
compatible
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1087640: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1087640
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: python3-pandas
Version: 1.5.3+dfsg-2
Severity: normal
X-Debbugs-Cc: hugh.pumph...@gmail.com

Dear Maintainer,

This bug may or may not be a duplicate of #1017470 --- I am not sure. 

The bug may be triggered by a python script that includes the lines

import pandas as pd
df=pd.read_excel("blah.xls")

. . . where blah.xls is a valid file in the old Excel format. Note that

df=pd.read_excel("blah.xlsx") 

where blah.xlsx is a valid file in the current Excel format works fine. 

I reproduce the full error message below, but the critical line is

ImportError: Pandas requires version '2.0.1' or newer of 'xlrd' (version 
'1.2.0' currently installed).

So this is not really a bug in either python3-pandas or python3-xlrd; it is a
problem that Stable contains a version of xlrd which cannot be used 
by the version of pandas in Stable. 

Best wishes

Hugh Pumphrey


-- System Information:
Debian Release: 12.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 6.1.0-22-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-pandas depends on:
ii  python3                3.11.2-1+b1
ii  python3-dateutil       2.8.2-2
ii  python3-numpy          1:1.24.2-1+deb12u1
ii  python3-pandas-lib     1.5.3+dfsg-2
ii  python3-pkg-resources  66.1.1-1
ii  python3-six            1.16.0-4
ii  python3-tz             2022.7.1-4

Versions of packages python3-pandas recommends:
ii  python3-bottleneck  1.3.5+ds1-2+b1
ii  python3-bs4         4.11.2-2
ii  python3-html5lib    1.1-3
ii  python3-jinja2      3.1.2-1
ii  python3-lxml        4.9.2-1+b1
ii  python3-matplotlib  3.6.3-1+b1
ii  python3-numexpr     2.8.4-1+b2
ii  python3-odf         1.4.2-2
ii  python3-openpyxl    3.0.9-1
ii  python3-scipy       1.10.1-2
ii  python3-tables      3.7.0-5

Versions of packages python3-pandas suggests:
pn  python-pandas-doc    <none>
ii  python3-statsmodels  0.13.5+dfsg-7

-- no debconf information

--- End Message ---
--- Begin Message --- This is #1031701, which is closed because it is fixed in unstable, but does still exist in current stable.

I agree that using pip (as described above) is a good idea if you need to load .xls files. (This is a potential security risk because pip lacks automatic updates, but is probably less of a security risk than upgrading to unstable.)

xlrd can't be updated in stable itself because that could break other packages. xlrd 2 potentially could be added to stable-backports; would you like to request this?
--- End Message ---
-- 
debian-science-maintainers mailing list
debian-science-maintainers@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to