pandas.git
4 years agoFix arch-specific upstream xfails
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Fix arch-specific upstream xfails

We test on more architectures, so upstream's xfails are not always
correct everywhere.  On those known to fail:
arm64 xfail -> all non-x86 xfail
x86 or unconditional strict xfail -> unconditional nonstrict xfail

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/38921, https://github.com/pandas-dev/pandas/issues/38798, https://github.com/pandas-dev/pandas/issues/41740, https://github.com/numpy/numpy/issues/19146
Forwarded: no

Gbp-Pq: Name fix_overly_arch_specific_xfails.patch

4 years agoAccept changed error message from Python 3.10
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Accept changed error message from Python 3.10

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name python310_compat.patch

4 years agoBe compatible with matplotlib 3.5
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Be compatible with matplotlib 3.5

Origin: upstream 63e323356eab4fd91e453a9855a97cbc210362ef
Author: Thomas Li, Simon Hawkins
Forwarded: not-needed

Gbp-Pq: Name matplotlib35_compat.patch

4 years agoAccept changed exception message
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Accept changed exception message

Origin: upstream 847e8ba1f89692d100a1087eec88afe36a98282b
Author: Thomas Li

Gbp-Pq: Name python398_compat.patch

4 years agoSphinx panels is not packaged yet, so ignore it for the moment
Andreas Tille [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Sphinx panels is not packaged yet, so ignore it for the moment

Last-Update: Wed, 10 Nov 2021 06:42:56 +0100

Gbp-Pq: Name ignore_sphinx_panels.patch

4 years agoStop using now-dead URL in tests/examples
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Stop using now-dead URL in tests/examples

Origin: loosely based on upstream commit 68db2d26ddb5f95de4254d61b850d3dcaf6ce717
Author: patrick "phofl", Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/38988
Bug-Debian: https://bugs.debian.org/979621
Forwarded: no

Gbp-Pq: Name 979621_dead_url.patch

4 years agoSkip test that fails from outside the source tree
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Skip test that fails from outside the source tree

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name skip_test_missing_required_dependency.patch

4 years agoClean up so test_ts_plot_with_tz doesn't fail
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Clean up so test_ts_plot_with_tz doesn't fail

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

Gbp-Pq: Name 35080_plot_tests.patch

4 years agoSkip rather than fail tests if fsspec is too old
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Skip rather than fail tests if fsspec is too old

(which it currently is in Debian)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fsspec_version.patch

4 years agoDon't fail test for rounding difference on i386
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Don't fail test for rounding difference on i386

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

Gbp-Pq: Name 968208_rounding.patch

4 years agoMatplotlib 3.3 compatibility fixup
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Matplotlib 3.3 compatibility fixup

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

Gbp-Pq: Name matplotlib33_compat.patch

4 years agoAvoid test failures on Hurd
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Avoid test failures on Hurd

Allow multiprocessing to be unavailable
Accept any errno not just 2 for (intentionally) nonexistent files
(Hurd appears to use 2**30+2)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name hurd_compat.patch

4 years agoAllow some numba errors on non-amd64, warn on non-x86
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Allow some numba errors on non-amd64, warn on non-x86

Also one non-numba test that implicitly assumes 64 bit

Specifying the exception type allows only explicit errors,
not silently wrong answers

Numba has been observed to give wrong answers on mipsel,
and crash on armel (LLVM ERROR) and s390x (segfault).

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name numba_fail_32bit.patch

4 years agoRemove code from Stack Overflow
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Remove code from Stack Overflow

Stack Overflow content is CC-BY-SA licensed,
which this package is not supposed to be.  These snippets may be
too small to be copyrightable, but removing them to be safe.

https://lists.debian.org/debian-legal/2020/04/threads.html#00018

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no - deletes some tests/examples without replacement

Gbp-Pq: Name remove_ccbysa_snippets.patch

4 years agoUse test URLs that are less likely to disappear
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Use test URLs that are less likely to disappear

Avoid 404 errors in stable when upstream reorganize the test data
(happened to two of these in 0.25 -> 1.0).

It is _not_ necessary to update the tag version on every package release,
only if these tests fail because they expect moved/changed data.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name stable_test_urls.patch

4 years agoAllow tests to use the data files in the source tree
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Allow tests to use the data files in the source tree

We don't ship these in the package,
but do want to run the tests that use them

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name find_test_data.patch

4 years agoLink to rather than embed Google calendar
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Link to rather than embed Google calendar

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name privacy.patch

4 years agoDon't require the pandas theme
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Don't require the pandas theme

(TODO - package it - here as a multi-upstream-tarball package?)

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name sphinx_no_pandas_theme.patch

4 years agoXfail a test that doesn't work in the C locale
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Xfail a test that doesn't work in the C locale

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name xfail_c_locale.patch

4 years agoUse fixed seeds for reproducible pseudorandomness
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Use fixed seeds for reproducible pseudorandomness

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_random_seeds.patch

4 years agoFix or skip tests that assume the wrong endianness
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Fix or skip tests that assume the wrong endianness

This is a bug in the tests not pandas itself -
the expected values explicitly specify little-endian

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name tests_dont_assume_endian.patch

4 years agoDon't try to read a contributor list from the git log
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Don't try to read a contributor list from the git log

Debian packages are built from tarballs, so there isn't a git log.

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name contributor_list_not_in_tarball.patch

4 years agoUse packaged intersphinx indexes
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
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

4 years agoDon't test datetime in locales with no encoding
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
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

4 years agoXfail NaN <-> NaT tests on non-x86 and warn on cast
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +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

4 years agoUse Debian packaged mathjax
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Use Debian packaged mathjax

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

Gbp-Pq: Name mathjax-path.patch

4 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +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

4 years agoHDF5 and Stata I/O are broken on some architectures
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +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

4 years agoDon't try to import from the source directory
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +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

4 years agoDon't try to use git to find the version number
Debian Science Team [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +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

4 years agopandas (1.3.4+dfsg-7) unstable; urgency=medium
Jochen Sprickerhof [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
pandas (1.3.4+dfsg-7) unstable; urgency=medium

  * Team upload.
  * Disable more numba tests on 32bit archs

[dgit import unpatched pandas 1.3.4+dfsg-7]

4 years agoImport pandas_1.3.4+dfsg-7.debian.tar.xz
Jochen Sprickerhof [Thu, 2 Dec 2021 16:32:54 +0000 (16:32 +0000)]
Import pandas_1.3.4+dfsg-7.debian.tar.xz

[dgit import tarball pandas 1.3.4+dfsg-7 pandas_1.3.4+dfsg-7.debian.tar.xz]

4 years agoImport pandas_1.3.4+dfsg.orig.tar.xz
Rebecca N. Palmer [Sun, 21 Nov 2021 21:04:26 +0000 (21:04 +0000)]
Import pandas_1.3.4+dfsg.orig.tar.xz

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