Your message dated Mon, 17 Aug 2020 22:22:30 +0100
with message-id <[email protected]>
and subject line fixed version now in stable
has caused the Debian Bug report #923745,
regarding python-pandas: import pandas hanging Flask 0.11.1 / Apache 2.4.18
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 [email protected]
immediately.)
--
923745: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=923745
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python-pandas
Version: 0.19.2-5.1
Severity: important
Tags: patch
-- System Information:
Debian Release: 9.8
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8),
LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-pandas depends on:
ii python 2.7.13-2
ii python-dateutil 2.5.3-2
ii python-numpy 1:1.12.1-3
ii python-pandas-lib 0.19.2-5.1
ii python-pkg-resources 33.1.1-1
ii python-six 1.10.0-3
ii python-tz 2016.7-0.3
Versions of packages python-pandas recommends:
ii python-bs4 4.5.3-1
ii python-html5lib 0.999999999-1
ii python-lxml 3.7.1-1
ii python-matplotlib 2.0.0+dfsg1-2
ii python-numexpr 2.6.1-4
ii python-openpyxl 2.3.0-3
ii python-scipy 0.18.1-2
ii python-statsmodels 0.8.0~rc1+git59-gef47cd9-5
ii python-tables 3.3.0-5
ii python-xlrd 1.0.0-1
ii python-xlwt 0.7.5+debian1-1
Versions of packages python-pandas suggests:
pn python-pandas-doc <none>
-- no debconf information
In python-pandas 0.19.2-5.1 there is a known bug
(https://github.com/pandas-dev/pandas/issues/14641)
An application (privacyidea) hangs during initialization phase of python pandas
library
This bug was also discussed here:
https://github.com/jzwinck/pandas/commit/dadb97c6e3fa684466b4e1b89c66cad677d3da03
In later versions (0.20 and 0.22) of this package the solution was to
statically define "_eps":
root@ecs-privacyidea01:/tmp# wget
https://github.com/pandas-dev/pandas/archive/v0.20.0.tar.gz
root@ecs-privacyidea01:/tmp# tar -xzvf v0.20.0.tar.gz
root@ecs-privacyidea01:/tmp# grep -R _eps pandas-0.20.0/
pandas-0.20.0/pandas/core/indexing.py:_eps = 1.1920929e-07
pandas-0.20.0/pandas/core/indexing.py: np.allclose(x, int(x),
rtol=_eps, atol=0))
root@ecs-privacyidea01:/tmp# grep -R _eps pandas-0.22.0/
pandas-0.22.0/pandas/core/indexing.py:_eps = 1.1920929e-07
pandas-0.22.0/pandas/core/indexing.py: np.allclose(x, int(x),
rtol=_eps, atol=0))
Please provide this patch also for 0.19 versions in debian 9.x
--- End Message ---
--- Begin Message ---
Version: 0.20.3-1
Debian 10 has been released with pandas 0.23, which no longer has
_eps/is_index_slice at all (
https://github.com/pandas-dev/pandas/commit/7feba58af88b555c93078e4f9ef33011d3b464fc
). The above discussion suggests that it hence doesn't have this bug,
but I haven't tested this myself.
--- End Message ---