pandas.git
5 years agoMerge pandas (0.25.3+dfsg2-2) import into refs/heads/workingbranch
Rebecca N. Palmer [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Merge pandas (0.25.3+dfsg2-2) import into refs/heads/workingbranch

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]

5 years agoMerge pandas (0.25.3+dfsg-9) import into refs/heads/workingbranch
Rebecca N. Palmer [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
Merge pandas (0.25.3+dfsg-9) import into refs/heads/workingbranch

5 years agoXfail tests using non-functioning URLs
Debian Science Team [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
Don't fail tests on harmless changes to dependencies

Ignore deprecation warnings added in
Python 3.8, matplotlib 3.2, jedi 0.16

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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
deb_ndsphinx_optional

Gbp-Pq: Name deb_ndsphinx_optional

5 years agoUse Debian packaged mathjax
Andreas Tille [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
Use Debian packaged mathjax

Gbp-Pq: Name mathjax-path.patch

5 years agodeb_no_strict_data
Debian Science Team [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
deb_no_strict_data

Gbp-Pq: Name deb_no_strict_data

5 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +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 [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
deb_doc_donotoverride_PYTHONPATH

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH

5 years agodeb_nonversioneer_version
Debian Science Team [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
deb_nonversioneer_version

Gbp-Pq: Name deb_nonversioneer_version

5 years agopandas (0.25.3+dfsg-9) unstable; urgency=medium
Rebecca N. Palmer [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
pandas (0.25.3+dfsg-9) unstable; urgency=medium

  * Don't raise on import without matplotlib installed.  Add test of this.

[dgit import unpatched pandas 0.25.3+dfsg-9]

5 years agoImport pandas_0.25.3+dfsg-9.debian.tar.xz
Rebecca N. Palmer [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
Import pandas_0.25.3+dfsg-9.debian.tar.xz

[dgit import tarball pandas 0.25.3+dfsg-9 pandas_0.25.3+dfsg-9.debian.tar.xz]

5 years agoMerge pandas (0.25.3+dfsg-7) import into refs/heads/workingbranch
Rebecca N. Palmer [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
Merge pandas (0.25.3+dfsg-7) import into refs/heads/workingbranch

5 years agoXfail tests using non-functioning URLs
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +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

5 years agoDon't fail tests on warning from matplotlib
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
Don't fail tests on warning from matplotlib

New in Python 3.8

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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +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

5 years agoDon't try to read a contributor list from the git log
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +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: no

Gbp-Pq: Name contributor_list_not_in_tarball.patch

5 years agoSkip feather tests if pyarrow not available
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +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

5 years agoSkip tests removed for copyright reasons
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +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)

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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
deb_ndsphinx_optional

Gbp-Pq: Name deb_ndsphinx_optional

5 years agoUse Debian packaged mathjax
Andreas Tille [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
Use Debian packaged mathjax

Gbp-Pq: Name mathjax-path.patch

5 years agodeb_no_strict_data
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
deb_no_strict_data

Gbp-Pq: Name deb_no_strict_data

5 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
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 [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
deb_doc_donotoverride_PYTHONPATH

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH

5 years agodeb_nonversioneer_version
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
deb_nonversioneer_version

Gbp-Pq: Name deb_nonversioneer_version

5 years agopandas (0.25.3+dfsg-7) unstable; urgency=medium
Rebecca N. Palmer [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
pandas (0.25.3+dfsg-7) unstable; urgency=medium

  * Fix another test failure due to our warnings.
  * Skip rather than xfail crashing tests.

[dgit import unpatched pandas 0.25.3+dfsg-7]

5 years agoImport pandas_0.25.3+dfsg-7.debian.tar.xz
Rebecca N. Palmer [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
Import pandas_0.25.3+dfsg-7.debian.tar.xz

[dgit import tarball pandas 0.25.3+dfsg-7 pandas_0.25.3+dfsg-7.debian.tar.xz]

6 years agoMerge pandas (0.25.3+dfsg-4) import into refs/heads/workingbranch
Rebecca N. Palmer [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
Merge pandas (0.25.3+dfsg-4) import into refs/heads/workingbranch

6 years agoignore_matplotlib_warning
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
ignore_matplotlib_warning

New in Python 3.8

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

Gbp-Pq: Name ignore_matplotlib_warning.patch

6 years agofix_random_seeds
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
fix_random_seeds

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

Gbp-Pq: Name fix_random_seeds.patch

6 years agotests_dont_assume_endian
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
tests_dont_assume_endian

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

6 years agocontributor_list_not_in_tarball
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
contributor_list_not_in_tarball

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

6 years agopyarrow_feather
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
pyarrow_feather

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

6 years agofix_shebangs
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
fix_shebangs

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

Gbp-Pq: Name fix_shebangs.patch

6 years agospelling
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
spelling

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

Gbp-Pq: Name spelling.patch

6 years agouse_system_intersphinx
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
use_system_intersphinx

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

Gbp-Pq: Name use_system_intersphinx.patch

6 years agoskip_noencoding_locales
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
skip_noencoding_locales

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

6 years agoskip_tests_copyright
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
skip_tests_copyright

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

Gbp-Pq: Name skip_tests_copyright.patch

6 years agoSkip two tests which fail when ran in full battery during pkg build
Yaroslav Halchenko [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
Skip two tests which fail when ran in full battery during pkg build

Origin: (Neuro)Debian
Bug: https://github.com/pandas-dev/pandas/issues/19774
Last-Update: 2018-02-20

Gbp-Pq: Name deb_skip_difffailingtests

6 years agomark_tests_failing_on_386
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
mark_tests_failing_on_386

Gbp-Pq: Name mark_tests_failing_on_386.patch

6 years agomark_tests_working_on_intel_armhf
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
mark_tests_working_on_intel_armhf

At least some of these are pd.Timestamp(np.nan) = 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

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

Gbp-Pq: Name mark_tests_working_on_intel_armhf.patch

6 years agomark_tests_working_on_intel_mips
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
mark_tests_working_on_intel_mips

Gbp-Pq: Name mark_tests_working_on_intel_mips.patch

6 years agomark_tests_working_on_intel_s390x
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
mark_tests_working_on_intel_s390x

Gbp-Pq: Name mark_tests_working_on_intel_s390x.patch

6 years agomark_tests_working_on_intel
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
mark_tests_working_on_intel

Last-Update Sat, 14 Oct 2017 19:42:59 +0200
Bug-Debian: https://bugs.debian.org/877419
Author: Graham Inggs <ginggs@debian.org>
Last-Update: 2018-04-11

Gbp-Pq: Name mark_tests_working_on_intel.patch

6 years agodeb_ndsphinx_optional
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
deb_ndsphinx_optional

Gbp-Pq: Name deb_ndsphinx_optional

6 years agomathjax-path
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
mathjax-path

Gbp-Pq: Name mathjax-path.patch

6 years agodeb_no_strict_data
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
deb_no_strict_data

Gbp-Pq: Name deb_no_strict_data

6 years agodeb_skip_sequencelike_on_armel
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
deb_skip_sequencelike_on_armel

Gbp-Pq: Name deb_skip_sequencelike_on_armel

6 years agodeb_disable_googleanalytics
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
deb_disable_googleanalytics

Gbp-Pq: Name deb_disable_googleanalytics

6 years agodeb_skip_stata_on_bigendians
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
deb_skip_stata_on_bigendians

Gbp-Pq: Name deb_skip_stata_on_bigendians

6 years agodeb_doc_donotoverride_PYTHONPATH
Debian Science Team [Sun, 10 Nov 2019 16:35:41 +0000 (16:35 +0000)]
deb_doc_donotoverride_PYTHONPATH

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH