Raspbian automatic forward porter [Mon, 31 Aug 2020 20:19:19 +0000 (21:19 +0100)]
Merge version 0.25.3+dfsg2-5+rpi1 and 1.0.5+dfsg-3 to produce 1.0.5+dfsg-3+rpi1
Rebecca N. Palmer [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Merge pandas (1.0.5+dfsg-3) import into refs/heads/workingbranch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Skip a test that crashes on s390x
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name skip_crashing_test.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Disable pytest_asyncio
Debian currently has incompatible versions of pytest_asyncio and
pytest, causing these tests to error on collection.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/969050
Forwarded: not-needed https://github.com/pandas-dev/pandas/pull/35757
Gbp-Pq: Name disable_pytest_asyncio.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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
Bug-Debian: https://bugs.debian.org/963817
Forwarded: no
Gbp-Pq: Name numpy119_compat.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Allow some numba exceptions on 32 bit systems, warn on non-x86
Specifying the exception type allows only explicit errors,
not silently wrong answers
Numba has been observed to give wrong answers on mipsel
and crash on ppc64el.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name numba_fail_32bit.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't fail when np.intc != np.int32
np.intc (C int), np.int_ (C long) and np.longlong (C long long)
are always distinct type objects, but only two of them are
actually different sizes; np.int32 and np.int64 are aliases
https://sources.debian.org/src/numpy/1:1.18.4-1/numpy/core/_type_aliases.py/#L110
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/31856
Forwarded: not-needed https://github.com/pandas-dev/pandas/pull/33729/commits/
16600575b4a19ceb7ceabbec6992e932e797e109
Gbp-Pq: Name test_promote_32bit.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use test URLs that are less likely to disappear
Avoid 404 errors in stable when upstream reorganize the test data
(happened to two of these in 0.25 -> 1.0).
It is _not_ necessary to update the tag version on every package release,
only if these tests fail because they expect moved/changed data.
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name stable_test_urls.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Link to rather than embed Google calendar
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name privacy.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Fix typos
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Origin: lintian
Forwarded: not-needed (already fixed)
Gbp-Pq: Name spelling.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't require the pandas theme
(TODO - package it - here as a multi-upstream-tarball package?)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name sphinx_no_pandas_theme.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Xfail a test that doesn't work in the C locale
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name xfail_c_locale.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't fail tests on harmless changes to dependencies
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
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: accepted https://github.com/pandas-dev/pandas/pull/33262
Gbp-Pq: Name matplotlib32_compat.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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: not-needed
Gbp-Pq: Name contributor_list_not_in_tarball.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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: accepted for 1.1 https://github.com/pandas-dev/pandas/pull/31144
Gbp-Pq: Name pyarrow_feather.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use Python 3 shebangs and subprocess calls
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: accepted for 1.1 https://github.com/pandas-dev/pandas/pull/31147
Gbp-Pq: Name fix_shebangs.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use packaged intersphinx indexes
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/876417
Forwarded: not-needed
Gbp-Pq: Name use_system_intersphinx.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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 [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +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
Forwarded: no
Gbp-Pq: Name xfail_tests_nonintel_nannat.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Use Debian packaged mathjax
Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed
Gbp-Pq: Name mathjax-path.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't fail tests because we don't ship test data
This applies to users running them; our build/autopkgtest re-enable
this and use the data from the source tree
Author: Yaroslav Halchenko
Forwarded: no
Gbp-Pq: Name deb_no_strict_data.patch
Yaroslav Halchenko [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Avoid privacy breach by Google Analytics
Last-Update: Mon, 23 Oct 2017 08:55:28 +0200
Forwarded: not-needed
Gbp-Pq: Name deb_disable_googleanalytics.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
HDF5 and Stata I/O are broken on some architectures
Fix some issues, warn on use and xfail tests for the remainder
HDF5 and Stata are known to fail on big-endian architectures
Stata also fails on qemu-ppc64el, but not real ppc64el
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
Forwarded: no
Gbp-Pq: Name xfail_tests_nonintel_io.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't try to import from the source directory
Needed as we build the extension modules elsewhere
Author: Yaroslav Halchenko
Forwarded: not-needed
Gbp-Pq: Name deb_doc_donotoverride_PYTHONPATH.patch
Debian Science Team [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Don't try to use git to find the version number
Needed as Debian buildds use tarballs
Author: Yaroslav Halchenko
Forwarded: not-needed
Gbp-Pq: Name deb_nonversioneer_version.patch
Rebecca N. Palmer [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
pandas (1.0.5+dfsg-3) unstable; urgency=medium
* Remove pytest-asyncio test-depends.
* Remove numba test-depends on non-x86: at least s390x crashes.
[dgit import unpatched pandas 1.0.5+dfsg-3]
Rebecca N. Palmer [Wed, 26 Aug 2020 21:34:50 +0000 (22:34 +0100)]
Import pandas_1.0.5+dfsg-3.debian.tar.xz
[dgit import tarball pandas 1.0.5+dfsg-3 pandas_1.0.5+dfsg-3.debian.tar.xz]
Rebecca N. Palmer [Tue, 25 Aug 2020 19:07:50 +0000 (20:07 +0100)]
Import pandas_1.0.5+dfsg.orig.tar.xz
[dgit import orig pandas_1.0.5+dfsg.orig.tar.xz]
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
deb_ndsphinx_optional
Gbp-Pq: Name deb_ndsphinx_optional
Andreas Tille [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
Use Debian packaged mathjax
Gbp-Pq: Name mathjax-path.patch
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
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
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
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
Debian Science Team [Sun, 16 Aug 2020 19:09:14 +0000 (20:09 +0100)]
deb_nonversioneer_version
Gbp-Pq: Name deb_nonversioneer_version
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]
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]
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
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]