Raspbian automatic forward porter [Wed, 1 Mar 2023 14:16:20 +0000 (14:16 +0000)]
Merge version 1.5.3+dfsg-1+rpi1 and 1.5.3+dfsg-2 to produce 1.5.3+dfsg-2+rpi1
Rebecca N. Palmer [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Merge pandas (1.5.3+dfsg-2) import into refs/heads/workingbranch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Use a non-backzone timezone for test
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/
1031437
Forwarded: https://github.com/pandas-dev/pandas/pull/51486
Gbp-Pq: Name
1031437.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Ignore extra warning from numpy 1.24
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed (on main, this is .raises due to other changes)
Gbp-Pq: Name numpy1p24.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Don't fail plot tests on rounding error
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/
1029251
Forwarded: no
Gbp-Pq: Name 1029251_ignore_rounding_error.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Allow building with Debian's pydata-sphinx-theme
This is currently too old to have all the options upstream expects
Gbp-Pq: Name sphinx_old_pydata_theme.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Don't try to use a Sphinx extension we don't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name no_sphinx_toggleprompt.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
float-to-datetime conversion fixes
Avoid assuming that NaN casts to NaT (= fails on riscv64/hppa ?)
Don't round to int for the bounds check when we don't for the real
conversion (wrong near the bounds, and maybe also a waste of time)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/pandas-dev/pandas/pull/50183
Gbp-Pq: Name float_to_datetime.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Don't require a warning armel numpy doesn't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)
Gbp-Pq: Name armel_ignore_nonwarning.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Fix test failures on 32-bit systems
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/
1026351
Forwarded: no
Gbp-Pq: Name tests_dont_assume_64bit.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Warn that pandas is possibly broken on mips(64)(el)
Tests disabled in d/rules
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name mips_warning.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Fix arch-specific upstream xfails
We test on more architectures, so upstream's xfails are not always
correct everywhere. On those known to fail:
arm64 xfail -> all non-x86 xfail
x86 or unconditional strict xfail -> unconditional nonstrict xfail
pandas/tests/window/test_rolling.py also gets an i386 xfail for
rounding error that may be x87 excess precision
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/38921, https://github.com/pandas-dev/pandas/issues/38798, https://github.com/pandas-dev/pandas/issues/41740, https://github.com/numpy/numpy/issues/19146
Forwarded: no
Gbp-Pq: Name fix_overly_arch_specific_xfails.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Skip test that fails from outside the source tree
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name skip_test_missing_required_dependency.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Allow some numba errors on non-amd64, 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 armel (LLVM ERROR) and s390x (segfault).
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name numba_fail_32bit.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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, 19 Feb 2023 11:01:48 +0000 (11:01 +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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +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: not-needed - upstream fix
ad98c2b77
Gbp-Pq: Name tests_dont_assume_endian.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +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: not-needed
Gbp-Pq: Name contributor_list_not_in_tarball.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Use Debian packaged mathjax
Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed
Gbp-Pq: Name mathjax-path.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Avoid privacy breach by Google Analytics
Author: Yaroslav Halchenko <debian@onerussian.com>,
Andreas Tille <tille@debian.org>,
Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name deb_disable_googleanalytics.patch
Debian Science Team [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
HDF5 and Stata I/O are broken on some architectures
Fix some issues, warn on use and xfail tests for the remainder
armhf TestHDF5Store::test*encoding only sometimes crashes
(1.1.3+dfsg-1 passed on build but failed autopkgtest)
HDF5 and Stata are known to fail on big-endian architectures
Stata also fails on qemu-ppc64el, but not real ppc64el
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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
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 [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
pandas (1.5.3+dfsg-2) unstable; urgency=medium
* Tests: use a non-backzone timezone. (Closes: #
1031437)
[dgit import unpatched pandas 1.5.3+dfsg-2]
Rebecca N. Palmer [Sun, 19 Feb 2023 11:01:48 +0000 (11:01 +0000)]
Import pandas_1.5.3+dfsg-2.debian.tar.xz
[dgit import tarball pandas 1.5.3+dfsg-2 pandas_1.5.3+dfsg-2.debian.tar.xz]
Peter Michael Green [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Merge pandas (1.5.3+dfsg-1+rpi1) import into refs/heads/workingbranch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Ignore extra warning from numpy 1.24
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed (on main, this is .raises due to other changes)
Gbp-Pq: Name numpy1p24.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Don't fail plot tests on rounding error
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/
1029251
Forwarded: no
Gbp-Pq: Name 1029251_ignore_rounding_error.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Allow building with Debian's pydata-sphinx-theme
This is currently too old to have all the options upstream expects
Gbp-Pq: Name sphinx_old_pydata_theme.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Don't try to use a Sphinx extension we don't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name no_sphinx_toggleprompt.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
float-to-datetime conversion fixes
Avoid assuming that NaN casts to NaT (= fails on riscv64/hppa ?)
Don't round to int for the bounds check when we don't for the real
conversion (wrong near the bounds, and maybe also a waste of time)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/pandas-dev/pandas/pull/50183
Gbp-Pq: Name float_to_datetime.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Don't require a warning armel numpy doesn't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)
Gbp-Pq: Name armel_ignore_nonwarning.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Fix test failures on 32-bit systems
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/
1026351
Forwarded: no
Gbp-Pq: Name tests_dont_assume_64bit.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Warn that pandas is possibly broken on mips(64)(el)
Tests disabled in d/rules
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name mips_warning.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Fix arch-specific upstream xfails
We test on more architectures, so upstream's xfails are not always
correct everywhere. On those known to fail:
arm64 xfail -> all non-x86 xfail
x86 or unconditional strict xfail -> unconditional nonstrict xfail
pandas/tests/window/test_rolling.py also gets an i386 xfail for
rounding error that may be x87 excess precision
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/38921, https://github.com/pandas-dev/pandas/issues/38798, https://github.com/pandas-dev/pandas/issues/41740, https://github.com/numpy/numpy/issues/19146
Forwarded: no
Gbp-Pq: Name fix_overly_arch_specific_xfails.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Skip test that fails from outside the source tree
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name skip_test_missing_required_dependency.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Allow some numba errors on non-amd64, 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 armel (LLVM ERROR) and s390x (segfault).
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name numba_fail_32bit.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +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: not-needed - upstream fix
ad98c2b77
Gbp-Pq: Name tests_dont_assume_endian.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +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: not-needed
Gbp-Pq: Name contributor_list_not_in_tarball.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Use Debian packaged mathjax
Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed
Gbp-Pq: Name mathjax-path.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Avoid privacy breach by Google Analytics
Author: Yaroslav Halchenko <debian@onerussian.com>,
Andreas Tille <tille@debian.org>,
Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name deb_disable_googleanalytics.patch
Debian Science Team [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
HDF5 and Stata I/O are broken on some architectures
Fix some issues, warn on use and xfail tests for the remainder
armhf TestHDF5Store::test*encoding only sometimes crashes
(1.1.3+dfsg-1 passed on build but failed autopkgtest)
HDF5 and Stata are known to fail on big-endian architectures
Stata also fails on qemu-ppc64el, but not real ppc64el
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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 [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
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
Peter Michael Green [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
pandas (1.5.3+dfsg-1+rpi1) bookworm-staging; urgency=medium
* Disable testsuite.
* Disable documentation build.
* Partiallly fix clean target.
[dgit import unpatched pandas 1.5.3+dfsg-1+rpi1]
Peter Michael Green [Tue, 31 Jan 2023 13:21:16 +0000 (13:21 +0000)]
Import pandas_1.5.3+dfsg-1+rpi1.debian.tar.xz
[dgit import tarball pandas 1.5.3+dfsg-1+rpi1 pandas_1.5.3+dfsg-1+rpi1.debian.tar.xz]
Rebecca N. Palmer [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Merge pandas (1.5.3+dfsg-1) import into refs/heads/workingbranch
Rebecca N. Palmer [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Import pandas_1.5.3+dfsg.orig.tar.xz
[dgit import orig pandas_1.5.3+dfsg.orig.tar.xz]
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Ignore extra warning from numpy 1.24
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed (on main, this is .raises due to other changes)
Gbp-Pq: Name numpy1p24.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Don't fail plot tests on rounding error
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: https://bugs.debian.org/
1029251
Forwarded: no
Gbp-Pq: Name 1029251_ignore_rounding_error.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Allow building with Debian's pydata-sphinx-theme
This is currently too old to have all the options upstream expects
Gbp-Pq: Name sphinx_old_pydata_theme.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Don't try to use a Sphinx extension we don't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name no_sphinx_toggleprompt.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
float-to-datetime conversion fixes
Avoid assuming that NaN casts to NaT (= fails on riscv64/hppa ?)
Don't round to int for the bounds check when we don't for the real
conversion (wrong near the bounds, and maybe also a waste of time)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/pandas-dev/pandas/pull/50183
Gbp-Pq: Name float_to_datetime.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Don't require a warning armel numpy doesn't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)
Gbp-Pq: Name armel_ignore_nonwarning.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Fix test failures on 32-bit systems
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/
1026351
Forwarded: no
Gbp-Pq: Name tests_dont_assume_64bit.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Warn that pandas is possibly broken on mips(64)(el)
Tests disabled in d/rules
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name mips_warning.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Fix arch-specific upstream xfails
We test on more architectures, so upstream's xfails are not always
correct everywhere. On those known to fail:
arm64 xfail -> all non-x86 xfail
x86 or unconditional strict xfail -> unconditional nonstrict xfail
pandas/tests/window/test_rolling.py also gets an i386 xfail for
rounding error that may be x87 excess precision
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug: https://github.com/pandas-dev/pandas/issues/38921, https://github.com/pandas-dev/pandas/issues/38798, https://github.com/pandas-dev/pandas/issues/41740, https://github.com/numpy/numpy/issues/19146
Forwarded: no
Gbp-Pq: Name fix_overly_arch_specific_xfails.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Skip test that fails from outside the source tree
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name skip_test_missing_required_dependency.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Allow some numba errors on non-amd64, 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 armel (LLVM ERROR) and s390x (segfault).
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no
Gbp-Pq: Name numba_fail_32bit.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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, 22 Jan 2023 11:54:30 +0000 (11:54 +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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +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: not-needed - upstream fix
ad98c2b77
Gbp-Pq: Name tests_dont_assume_endian.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +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: not-needed
Gbp-Pq: Name contributor_list_not_in_tarball.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Use Debian packaged mathjax
Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed
Gbp-Pq: Name mathjax-path.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Avoid privacy breach by Google Analytics
Author: Yaroslav Halchenko <debian@onerussian.com>,
Andreas Tille <tille@debian.org>,
Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name deb_disable_googleanalytics.patch
Debian Science Team [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
HDF5 and Stata I/O are broken on some architectures
Fix some issues, warn on use and xfail tests for the remainder
armhf TestHDF5Store::test*encoding only sometimes crashes
(1.1.3+dfsg-1 passed on build but failed autopkgtest)
HDF5 and Stata are known to fail on big-endian architectures
Stata also fails on qemu-ppc64el, but not real ppc64el
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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
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 [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
pandas (1.5.3+dfsg-1) unstable; urgency=medium
* Upstream bugfix release. Update copyright and patches.
* Tests: ignore plot rounding errors. (Closes: #
1029251)
* Tests: re-enable dask test, ignore numpy 1.24 warning.
* Docs: re-enable style.ipynb.
[dgit import unpatched pandas 1.5.3+dfsg-1]
Rebecca N. Palmer [Sun, 22 Jan 2023 11:54:30 +0000 (11:54 +0000)]
Import pandas_1.5.3+dfsg-1.debian.tar.xz
[dgit import tarball pandas 1.5.3+dfsg-1 pandas_1.5.3+dfsg-1.debian.tar.xz]
Rebecca N. Palmer [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
Merge pandas (1.5.2+dfsg-6) import into refs/heads/workingbranch
Debian Science Team [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
Avoid test failures with numpy 1.24
(some tests fail on unexpected DeprecationWarnings)
Origin: mostly upstream commit
70121c75a0e2a42e31746b6c205c7bb9e4b9b930
Author: Patrick Hoefler, Rebecca N. Palmer
Forwarded: not-needed
Gbp-Pq: Name numpy1p24.patch
Debian Science Team [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
Allow building with Debian's pydata-sphinx-theme
This is currently too old to have all the options upstream expects
Gbp-Pq: Name sphinx_old_pydata_theme.patch
Debian Science Team [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
Don't try to use a Sphinx extension we don't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed
Gbp-Pq: Name no_sphinx_toggleprompt.patch
Debian Science Team [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
float-to-datetime conversion fixes
Avoid assuming that NaN casts to NaT (= fails on riscv64/hppa ?)
Don't round to int for the bounds check when we don't for the real
conversion (wrong near the bounds, and maybe also a waste of time)
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: https://github.com/pandas-dev/pandas/pull/50183
Gbp-Pq: Name float_to_datetime.patch
Debian Science Team [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
Don't require a warning armel numpy doesn't have
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no (this version requires dpkg)
Gbp-Pq: Name armel_ignore_nonwarning.patch
Debian Science Team [Wed, 11 Jan 2023 07:34:28 +0000 (07:34 +0000)]
Fix test failures on 32-bit systems
Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Bug-Debian: partly https://bugs.debian.org/
1026351
Forwarded: no
Gbp-Pq: Name tests_dont_assume_64bit.patch