pandas.git
5 years agoSkip feather tests if pyarrow not available
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Skip feather tests if pyarrow not available

pandas now needs pyarrow.feather (not in Debian),
not python3-feather-format, for read_feather/to_feather

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: accepted for 1.1 https://github.com/pandas-dev/pandas/pull/31144

Gbp-Pq: Name pyarrow_feather.patch

5 years agoUse Python 3 shebangs and subprocess calls
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use Python 3 shebangs and subprocess calls

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: accepted for 1.1 https://github.com/pandas-dev/pandas/pull/31147

Gbp-Pq: Name fix_shebangs.patch

5 years agoUse packaged intersphinx indexes
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use packaged intersphinx indexes

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/876417
Forwarded: not-needed

Gbp-Pq: Name use_system_intersphinx.patch

5 years agoDon't test datetime in locales with no encoding
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't test datetime in locales with no encoding

Some datetime tests run the test in every available locale.
If this set includes locales without an encoding (currently dsb_DE
and sah_RU), it fails due to Python bug
https://bugs.python.org/issue20088

Failure log
https://tests.reproducible-builds.org/debian/rbuild/buster/amd64/pandas_0.23.3+dfsg-3.rbuild.log.gz

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/20957
Forwarded: no

Gbp-Pq: Name skip_noencoding_locales.patch

5 years agoXfail NaN <-> NaT tests on non-x86 and warn on cast
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
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)

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

5 years agoUse Debian packaged mathjax
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use Debian packaged mathjax

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

Gbp-Pq: Name mathjax-path.patch

5 years agoDon't fail tests because we don't ship test data
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't fail tests because we don't ship test data

This applies to users running them; our build/autopkgtest re-enable
this and use the data from the source tree

Author: Yaroslav Halchenko
Forwarded: no

Gbp-Pq: Name deb_no_strict_data.patch

5 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
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

5 years agoHDF5 and Stata I/O are broken on some architectures
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
HDF5 and Stata I/O are broken on some architectures

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

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

In 0.25.3 HDF5 _crashes_ on armhf, so skip
(pytest-forked allows continuing past a crash,
but still seems to fail on xfailed crashes)

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

5 years agoDon't try to import from the source directory
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
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

5 years agoDon't try to use git to find the version number
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
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

5 years agopandas (1.0.5+dfsg-3) unstable; urgency=medium
Rebecca N. Palmer [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
pandas (1.0.5+dfsg-3) unstable; urgency=medium

  * Remove pytest-asyncio test-depends.
  * Remove numba test-depends on non-x86: at least s390x crashes.

[dgit import unpatched pandas 1.0.5+dfsg-3]

5 years agoImport pandas_1.0.5+dfsg-3.debian.tar.xz
Rebecca N. Palmer [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Import pandas_1.0.5+dfsg-3.debian.tar.xz

[dgit import tarball pandas 1.0.5+dfsg-3 pandas_1.0.5+dfsg-3.debian.tar.xz]

5 years agoImport pandas_1.0.5+dfsg.orig.tar.xz
Rebecca N. Palmer [Tue, 25 Aug 2020 19:07:50 +0000 (20:07 +0100)]
Import pandas_1.0.5+dfsg.orig.tar.xz

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