pandas.git
5 years agoMerge version 0.25.3+dfsg2-3+rpi1 and 0.25.3+dfsg2-5 to produce 0.25.3+dfsg2-5+rpi1 archive/raspbian/0.25.3+dfsg2-5+rpi1 raspbian/0.25.3+dfsg2-5+rpi1
Raspbian automatic forward porter [Thu, 20 Aug 2020 17:49:19 +0000 (18:49 +0100)]
Merge version 0.25.3+dfsg2-3+rpi1 and 0.25.3+dfsg2-5 to produce 0.25.3+dfsg2-5+rpi1

5 years agoMerge pandas (0.25.3+dfsg2-5) import into refs/heads/workingbranch
Rebecca N. Palmer [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Merge pandas (0.25.3+dfsg2-5) import into refs/heads/workingbranch

5 years agoDon't fail test for rounding difference on i386
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
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

5 years agoMatplotlib 3.3 compatibility fixups
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Matplotlib 3.3 compatibility fixups

Author: Tom Augspurger, Saul Shanabrook, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/966393
Origin: (partly) upstream commits 41022a8 + 00ea10c
Forwarded: no

Gbp-Pq: Name matplotlib33_compat.patch

5 years agoFix test failures with numpy 1.19
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Fix test failures with numpy 1.19

Remove use of no-longer-existing constant
(and replace by its value on Python 3)
Don't pass dtype to np.datetime64
Ignore deprecations and error message rewordings

Author: jbrockmendel, Ali McMaster, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: partly upstream
Bug-Debian: https://bugs.debian.org/963817
Forwarded: not-needed

Gbp-Pq: Name numpy119_compat2.patch

5 years agoAvoid test failures on Hurd
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
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

5 years agoDon't fail with Numpy 1.19
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Don't fail with Numpy 1.19

Creating a nested DataFrame (which was already not recommended)
via the constructor no longer works.
Give a clearer error and xfail the tests.

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

Gbp-Pq: Name numpy119_compat.patch

5 years agoBe compatible with numpy 1.18
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
deb_ndsphinx_optional

Gbp-Pq: Name deb_ndsphinx_optional

5 years agoUse Debian packaged mathjax
Andreas Tille [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Use Debian packaged mathjax

Gbp-Pq: Name mathjax-path.patch

5 years agodeb_no_strict_data
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
deb_no_strict_data

Gbp-Pq: Name deb_no_strict_data

5 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
HDF5 and Stata I/O are broken on some architectures

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

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 [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
deb_doc_donotoverride_PYTHONPATH

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH

5 years agodeb_nonversioneer_version
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
deb_nonversioneer_version

Gbp-Pq: Name deb_nonversioneer_version

5 years agopandas (0.25.3+dfsg2-5) unstable; urgency=medium
Rebecca N. Palmer [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
pandas (0.25.3+dfsg2-5) unstable; urgency=medium

  * Tests: ignore rounding difference on i386.  (Closes: #968208)

[dgit import unpatched pandas 0.25.3+dfsg2-5]

5 years agoImport pandas_0.25.3+dfsg2-5.debian.tar.xz
Rebecca N. Palmer [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Import pandas_0.25.3+dfsg2-5.debian.tar.xz

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

5 years agoMerge version 0.25.3+dfsg2-2+rpi1 and 0.25.3+dfsg2-3 to produce 0.25.3+dfsg2-3+rpi1 archive/raspbian/0.25.3+dfsg2-3+rpi1 raspbian/0.25.3+dfsg2-3+rpi1
Raspbian automatic forward porter [Thu, 2 Jul 2020 17:56:40 +0000 (18:56 +0100)]
Merge version 0.25.3+dfsg2-2+rpi1 and 0.25.3+dfsg2-3 to produce 0.25.3+dfsg2-3+rpi1

5 years agoMerge pandas (0.25.3+dfsg2-3) import into refs/heads/workingbranch
Rebecca N. Palmer [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
Merge pandas (0.25.3+dfsg2-3) import into refs/heads/workingbranch

5 years agoFix test failures with numpy 1.19
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
Fix test failures with numpy 1.19

Remove use of no-longer-existing constant
(and replace by its value on Python 3)
Don't pass dtype to np.datetime64
Ignore deprecations and error message rewordings

Author: jbrockmendel, Ali McMaster, Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: partly upstream
Bug-Debian: https://bugs.debian.org/963817
Forwarded: not-needed

Gbp-Pq: Name numpy119_compat2.patch

5 years agoAvoid test failures on Hurd
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
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

5 years agoDon't fail with Numpy 1.19
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
Don't fail with Numpy 1.19

Creating a nested DataFrame (which was already not recommended)
via the constructor no longer works.
Give a clearer error and xfail the tests.

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

Gbp-Pq: Name numpy119_compat.patch

5 years agoBe compatible with numpy 1.18
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
deb_ndsphinx_optional

Gbp-Pq: Name deb_ndsphinx_optional

5 years agoUse Debian packaged mathjax
Andreas Tille [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
Use Debian packaged mathjax

Gbp-Pq: Name mathjax-path.patch

5 years agodeb_no_strict_data
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
deb_no_strict_data

Gbp-Pq: Name deb_no_strict_data

5 years agoAvoid privacy breach by Google Analytics
Yaroslav Halchenko [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
HDF5 and Stata I/O are broken on some architectures

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

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 [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
deb_doc_donotoverride_PYTHONPATH

Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH

5 years agodeb_nonversioneer_version
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
deb_nonversioneer_version

Gbp-Pq: Name deb_nonversioneer_version

5 years agopandas (0.25.3+dfsg2-3) unstable; urgency=medium
Rebecca N. Palmer [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
pandas (0.25.3+dfsg2-3) unstable; urgency=medium

  * Nested DataFrames may raise ValueError with numpy 1.19
    (upstream bug 32289).  Clarify error message and xfail tests.
  * Stop using a no-longer-existing numpy constant.
  * Tests: ignore deprecations/rewordings and avoid setup exception
    with numpy 1.19.  (Together, the above Closes: #963817)
  * Bump debhelper compat to 13.
  * Fix HDFStore.flush (part of #877419) on s390x.
  * Add NEWS.html.gz for Standards-Version 4.5.0.
    (Choosing not to also add NEWS.gz as it would be large.)
  * Tests: accept Hurd's errno and lack of multiprocessing.
  * Docs: replace embedded Javascript copies with links.

[dgit import unpatched pandas 0.25.3+dfsg2-3]

5 years agoImport pandas_0.25.3+dfsg2-3.debian.tar.xz
Rebecca N. Palmer [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
Import pandas_0.25.3+dfsg2-3.debian.tar.xz

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

5 years agoMerge version 0.25.3+dfsg-9+rpi1 and 0.25.3+dfsg2-2 to produce 0.25.3+dfsg2-2+rpi1 archive/raspbian/0.25.3+dfsg2-2+rpi1 raspbian/0.25.3+dfsg2-2+rpi1
Raspbian automatic forward porter [Mon, 11 May 2020 15:23:20 +0000 (16:23 +0100)]
Merge version 0.25.3+dfsg-9+rpi1 and 0.25.3+dfsg2-2 to produce 0.25.3+dfsg2-2+rpi1

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+rpi1) import into refs/heads/workingbranch
Peter Michael Green [Thu, 9 Apr 2020 03:11:32 +0000 (04:11 +0100)]
Merge pandas (0.25.3+dfsg-9+rpi1) import into refs/heads/workingbranch

5 years agoXfail tests using non-functioning URLs
Debian Science Team [Thu, 9 Apr 2020 03:11:32 +0000 (04:11 +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, 9 Apr 2020 03:11:32 +0000 (04:11 +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, 9 Apr 2020 03:11:32 +0000 (04:11 +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, 9 Apr 2020 03:11:32 +0000 (04:11 +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 [Thu, 9 Apr 2020 03:11:32 +0000 (04:11 +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, 9 Apr 2020 03:11:32 +0000 (04:11 +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