pandas.git
3 years agoXfail NaN <-> NaT tests on non-x86 and warn on cast
Debian Science Team [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
Xfail NaN <-> NaT tests on non-x86 and warn on cast

pd.Series([np.nan]).astype('datetime64[ns]')[0] = pd.NaT on x86
but 1970-01-01 on arm* because float NaN -> int is undefined:
https://github.com/numpy/numpy/issues/8325
https://github.com/pandas-dev/pandas/issues/17792
https://github.com/pandas-dev/pandas/issues/26964

On s390x it's the maximum _positive_ value (2**63-1 ns = year 2262)

On riscv64 one test case raises an exception
(though I suspect not the general case since there aren't more).

Author: Andreas Tille <tille@debian.org>, Graham Inggs <ginggs@debian.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/877754
Forwarded: no

Gbp-Pq: Name xfail_tests_nonintel_nannat.patch

3 years agoUse Debian packaged mathjax
Debian Science Team [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
Use Debian packaged mathjax

Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed

Gbp-Pq: Name mathjax-path.patch

3 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
Avoid privacy breach by Google Analytics

Last-Update: Mon, 23 Oct 2017 08:55:28 +0200
Forwarded: not-needed

Gbp-Pq: Name deb_disable_googleanalytics.patch

3 years agoHDF5 and Stata I/O are broken on some architectures
Debian Science Team [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
HDF5 and Stata I/O are broken on some architectures

Fix some issues, warn on use and xfail tests for the remainder

armhf TestHDF5Store::test*encoding only sometimes crashes
(1.1.3+dfsg-1 passed on build but failed autopkgtest)

HDF5 and Stata are known to fail on big-endian architectures
Stata also fails on qemu-ppc64el, but not real ppc64el

Author: Andreas Tille <tille@debian.org>, Graham Inggs <ginggs@debian.org>, Yaroslav Halchenko <debian@onerussian.com>, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/877419
Forwarded: no

Gbp-Pq: Name xfail_tests_nonintel_io.patch

3 years agoDon't try to import from the source directory
Debian Science Team [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
Don't try to import from the source directory

Needed as we build the extension modules elsewhere

Author: Yaroslav Halchenko
Forwarded: not-needed

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH.patch

3 years agoDon't try to use git to find the version number
Debian Science Team [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
Don't try to use git to find the version number

Needed as Debian buildds use tarballs

Author: Yaroslav Halchenko
Forwarded: not-needed

Gbp-Pq: Name deb_nonversioneer_version.patch

3 years agopandas (1.3.5+dfsg-6) unstable; urgency=medium
Graham Inggs [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
pandas (1.3.5+dfsg-6) unstable; urgency=medium

  * Team upload
  * Ignore test failures for first build with Python 3.11,
    see #1023965

[dgit import unpatched pandas 1.3.5+dfsg-6]

3 years agoImport pandas_1.3.5+dfsg-6.debian.tar.xz
Graham Inggs [Sun, 13 Nov 2022 10:36:51 +0000 (10:36 +0000)]
Import pandas_1.3.5+dfsg-6.debian.tar.xz

[dgit import tarball pandas 1.3.5+dfsg-6 pandas_1.3.5+dfsg-6.debian.tar.xz]

3 years agoImport pandas_1.3.5+dfsg.orig.tar.xz
Rebecca N. Palmer [Tue, 11 Jan 2022 21:25:17 +0000 (21:25 +0000)]
Import pandas_1.3.5+dfsg.orig.tar.xz

[dgit import orig pandas_1.3.5+dfsg.orig.tar.xz]