Debian Patches

Status for pandas/1.1.5+dfsg-2

Patch Description Author Forwarded Bugs Origin Last update
deb_nonversioneer_version.patch Don't try to use git to find the version number
Needed as Debian buildds use tarballs
Yaroslav Halchenko not-needed
deb_doc_donotoverride_PYTHONPATH.patch Don't try to import from the source directory
Needed as we build the extension modules elsewhere
Yaroslav Halchenko not-needed
xfail_tests_nonintel_io.patch 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
Andreas Tille <tille@debian.org>, Graham Inggs <ginggs@debian.org>, Yaroslav Halchenko <debian@onerussian.com>, Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
deb_disable_googleanalytics.patch Avoid privacy breach by Google Analytics Yaroslav Halchenko <debian@onerussian.com> not-needed 2017-10-23
deb_no_strict_data.patch 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
Yaroslav Halchenko no
mathjax-path.patch Use Debian packaged mathjax Andreas Tille <tille@debian.org> not-needed
xfail_tests_nonintel_nannat.patch 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)
Andreas Tille <tille@debian.org>, Graham Inggs <ginggs@debian.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
skip_noencoding_locales.patch 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
Rebecca N. Palmer <rebecca_palmer@zoho.com> no upstream
use_system_intersphinx.patch Use packaged intersphinx indexes Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed debian
contributor_list_not_in_tarball.patch 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.
Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
tests_dont_assume_endian.patch 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
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
fix_random_seeds.patch Use fixed seeds for reproducible pseudorandomness Rebecca N. Palmer <rebecca_palmer@zoho.com> no
xfail_c_locale.patch Xfail a test that doesn't work in the C locale Rebecca N. Palmer <rebecca_palmer@zoho.com> no
sphinx_no_pandas_theme.patch Don't require the pandas theme
(TODO - package it - here as a multi-upstream-tarball package?)
Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
privacy.patch Link to rather than embed Google calendar Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
find_test_data.patch 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
Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
stable_test_urls.patch 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.
Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
remove_ccbysa_snippets.patch 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
Rebecca N. Palmer <rebecca_palmer@zoho.com> invalid
numba_fail_32bit.patch 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).
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
hurd_compat.patch 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)
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
matplotlib33_compat.patch Matplotlib 3.3 compatibility fixup Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
968208_rounding.patch Don't fail test for rounding difference on i386 Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian
fsspec_version.patch Skip rather than fail tests if fsspec is too old
(which it currently is in Debian)
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
35080_plot_tests.patch Clean up so test_ts_plot_with_tz doesn't fail Steffen Rehberg, Rebecca N. Palmer <rebecca_palmer@zoho.com> no upstream
skip_test_missing_required_dependency.patch Skip test that fails from outside the source tree Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed
python39_compat.patch Fix pytables expressions with Python 3.9
ast.Index has been replaced by a bare value, so we need to do the
conversion from Constant to int
Rebecca N. Palmer <rebecca_palmer@zoho.com> yes debian
xlrd_976620.patch Default to openpyxl not xlrd for read_excel
xlrd 1.2 fails if defusedxml (needed for odf) is installed
Robert de Vries, Rebecca N. Palmer <rebecca_palmer@zoho.com> not-needed debian upstream upstream b3a3932af6aafaa2fd41f17e9b7995643e5f92eb
i386_time_overflow.patch Avoid year 2038 overflow in test
https://tests.reproducible-builds.org/debian/rbuild/unstable/i386/pandas_1.1.4+dfsg-1.rbuild.log.gz
Rebecca N. Palmer <rebecca_palmer@zoho.com> no
979621_dead_url.patch Stop using now-dead URL in tests/examples patrick "phofl", Rebecca N. Palmer <rebecca_palmer@zoho.com> no debian upstream loosely based on upstream commit 68db2d26ddb5f95de4254d61b850d3dcaf6ce717
jedi018_compat.patch Don't require external warnings that no longer exist
(The cause is not actually known to be jedi 0.18, but it moved to a
new upstream version since the last pandas and ipython didn't.)
Rebecca N. Palmer <rebecca_palmer@zoho.com> no

All known versions for source package 'pandas'

Links