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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
deb_ndsphinx_optional
Gbp-Pq: Name deb_ndsphinx_optional
Andreas Tille [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
Use Debian packaged mathjax
Gbp-Pq: Name mathjax-path.patch
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
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
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
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
Debian Science Team [Sun, 28 Jun 2020 20:47:22 +0000 (21:47 +0100)]
deb_nonversioneer_version
Gbp-Pq: Name deb_nonversioneer_version
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]
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
deb_ndsphinx_optional
Gbp-Pq: Name deb_ndsphinx_optional
Andreas Tille [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
Use Debian packaged mathjax
Gbp-Pq: Name mathjax-path.patch
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
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
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
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
Debian Science Team [Thu, 7 May 2020 10:57:06 +0000 (11:57 +0100)]
deb_nonversioneer_version
Gbp-Pq: Name deb_nonversioneer_version
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]
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]
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Debian Science Team [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
deb_ndsphinx_optional
Gbp-Pq: Name deb_ndsphinx_optional
Andreas Tille [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
Use Debian packaged mathjax
Gbp-Pq: Name mathjax-path.patch
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
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
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
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
Debian Science Team [Fri, 3 Apr 2020 20:56:02 +0000 (21:56 +0100)]
deb_nonversioneer_version
Gbp-Pq: Name deb_nonversioneer_version
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]
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]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Debian Science Team [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
deb_ndsphinx_optional
Gbp-Pq: Name deb_ndsphinx_optional
Andreas Tille [Wed, 26 Feb 2020 18:45:58 +0000 (18:45 +0000)]
Use Debian packaged mathjax
Gbp-Pq: Name mathjax-path.patch
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