pandas.git
5 years agoBe compatible with numpy 1.18
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Be compatible with numpy 1.18

Fix NaT sort order
Don't assume isinf/isnan fail on datetimes

Origin: upstream f85502531806df4f3c0233edffe9460f3ee26031 + 0c0adfbc291fc1b1e9afad592f5275e783ffd0b0
Author: jbrockmendel, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/958531

Gbp-Pq: Name numpy118_compat.patch

5 years agoRemove code from Stack Overflow
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
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

5 years agoDon't use 'is' with literals
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Don't use 'is' with literals

It causes a SyntaxWarning on install, and possibly undefined test results

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/956021
Forwarded: https://github.com/pandas-dev/pandas/pull/33322

Gbp-Pq: Name fix_is_warnings.patch

5 years agoXfail tests using non-functioning URLs
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Xfail tests using non-functioning URLs

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

Gbp-Pq: Name xfail_tests_404.patch

5 years agoUse https for links where possible
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Use https for links where possible

Also fix some (semi-)broken links found while checking https availability.

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

Gbp-Pq: Name link_security.patch

5 years agoAllow tests to use the data files in the source tree
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
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

5 years agoDon't fail tests on harmless changes to dependencies
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Don't fail tests on harmless changes to dependencies

Ignore deprecation warnings added in
Python 3.8, matplotlib 3.2, jedi 0.16/0.17
(one jedi deprecation appears to come from IPython because it uses stacklevel=2)

Don't assert that matplotlib rejects shorthand hex colors,
as from 3.2 it accepts them:
https://matplotlib.org/users/prev_whats_new/whats_new_3.2.0.html#digit-and-4-digit-hex-colors

Ignore change to date axis default range/ticks

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

Gbp-Pq: Name ignore_matplotlib_warning.patch

5 years agoUse fixed seeds for reproducible pseudorandomness
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Use fixed seeds for reproducible pseudorandomness

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

Gbp-Pq: Name fix_random_seeds.patch

5 years agoFix or skip tests that assume the wrong endianness
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
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

5 years agoDon't try to read a contributor list from the git log
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
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: no

Gbp-Pq: Name contributor_list_not_in_tarball.patch

5 years agoSkip feather tests if pyarrow not available
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +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: no

Gbp-Pq: Name pyarrow_feather.patch

5 years agoUse Python 3 shebangs and subprocess calls
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Use Python 3 shebangs and subprocess calls

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

Gbp-Pq: Name fix_shebangs.patch

5 years agoFix typos
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Fix typos

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

Gbp-Pq: Name spelling.patch

5 years agoUse packaged intersphinx indexes, and use https links
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Use packaged intersphinx indexes, and use https links

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

Gbp-Pq: Name use_system_intersphinx.patch

5 years agoDon't test datetime in locales with no encoding
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +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 agoSkip tests removed for copyright reasons
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Skip tests removed for copyright reasons

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

Gbp-Pq: Name skip_tests_copyright.patch

5 years agoXfail NaN <-> NaT tests on non-x86 and warn on cast
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +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

Gbp-Pq: Name xfail_tests_nonintel_nannat.patch

5 years agodeb_ndsphinx_optional
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
deb_ndsphinx_optional

Gbp-Pq: Name deb_ndsphinx_optional

5 years agoUse Debian packaged mathjax
Andreas Tille [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Use Debian packaged mathjax

Gbp-Pq: Name mathjax-path.patch

5 years agodeb_no_strict_data
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
deb_no_strict_data

Gbp-Pq: Name deb_no_strict_data

5 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Avoid privacy breach by Google Analytics

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

Gbp-Pq: Name deb_disable_googleanalytics

5 years agoHDF5 and Stata I/O are broken on some architectures
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
HDF5 and Stata I/O are broken on some architectures

Warn on use, and xfail tests

HDF5 known to fail on s390x, Stata on s390x and ppc64el (in 1.0.0),
but not all architectures have been checked yet

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

Gbp-Pq: Name xfail_tests_nonintel_io.patch

5 years agodeb_doc_donotoverride_PYTHONPATH
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
deb_doc_donotoverride_PYTHONPATH

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH

5 years agodeb_nonversioneer_version
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
deb_nonversioneer_version

Gbp-Pq: Name deb_nonversioneer_version

5 years agopandas (0.25.3+dfsg2-2) unstable; urgency=medium
Rebecca N. Palmer [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
pandas (0.25.3+dfsg2-2) unstable; urgency=medium

  * Tests: don't fail on jedi deprecation warnings.

[dgit import unpatched pandas 0.25.3+dfsg2-2]

5 years agoImport pandas_0.25.3+dfsg2-2.debian.tar.xz
Rebecca N. Palmer [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Import pandas_0.25.3+dfsg2-2.debian.tar.xz

[dgit import tarball pandas 0.25.3+dfsg2-2 pandas_0.25.3+dfsg2-2.debian.tar.xz]

5 years agoImport pandas_0.25.3+dfsg2.orig.tar.xz
Rebecca N. Palmer [Wed, 6 May 2020 11:18:23 +0000 (12:18 +0100)]
Import pandas_0.25.3+dfsg2.orig.tar.xz

[dgit import orig pandas_0.25.3+dfsg2.orig.tar.xz]