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 Everything that has a run=False xfail in here should also be in the run-and-ignore set in debian/tests/numbatests 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 was previously seen to fail 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 upstream | ||
deb_disable_analytics.patch | Avoid privacy breach by analytics Andreas Tille <tille@debian.org>, Rebecca N. Palmer <rebecca_palmer@zoho.com> |
Yaroslav Halchenko <debian@onerussian.com>, | not-needed | |||
mathjax-path.patch | Use Debian packaged mathjax | Andreas Tille <tille@debian.org> | not-needed | |||
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 | |||
fix_random_seeds.patch | Use fixed seeds for reproducible pseudorandomness | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
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> | yes | |||
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 32-bit Specifying the exception type allows only explicit errors, not silently wrong answers |
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 | |||
skip_test_missing_required_dependency.patch | Skip test that fails from outside the source tree | Rebecca N. Palmer <rebecca_palmer@zoho.com> | not-needed | |||
fix_overly_arch_specific_xfails.patch | 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 |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | upstream | ||
tests_dont_assume_64bit.patch | Fix test failures on 32-bit systems | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | debian | ||
armel_ignore_nonwarning.patch | Don't require a warning armel numpy doesn't have | Rebecca N. Palmer <rebecca_palmer@zoho.com> | invalid | |||
1029251_ignore_rounding_error.patch | Don't fail plot tests on rounding error (upstream seem to have _disabled_ the affected tests ...see also test_series) |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | debian | ||
tests_dont_assume_endian.patch | Don't assume little-endian in test references | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
accept_system_tzdata.patch | Don't require python3-tzdata | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | debian | ||
numba_warn_nonx86.patch | Warn that numba may not work on non-x86 Currently known issues are crashes, not wrong answers, but because the test setup doesn't allow ignoring crashes but failing on wrong answers, it would be easy to not notice if this changed |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
mips_pow_nan.patch | On mips, 1**np.nan and np.nan**0 may be NaN not 1 Done this way not a plain xfail to allow only this difference, not clearly wrong answers (The same hardware's "invalid value encountered" warnings, probably from sNaN/qNaN being reversed, are ignored elsewhere: d/rules and xfail_tests_nonintel_io.patch) https://en.wikipedia.org/wiki/NaN#Encoding |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
allow_no_matplotlib.patch | Don't try to run matplotlib-using tests without it | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
unbreak_clean.patch | Don't crash on clean | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
ignore_ipython_exceptions.patch | Ignore exceptions in documentation examples Some examples download data, and/or depend on packages Debian doesn't have, so can't run in a Debian build |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | not-needed | |||
xarray_version_workaround.patch | Work around xarray wrongly reporting its version | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
allow_no_openpyxl.patch | Mark tests that need openpyxl (These do the usual loop through engine/read_ext but actually use .xlsx every time) |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
2p1_openpyxl_errors.patch | Fix test failures when xlsxwriter is not installed | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
pytables_python3p12.patch | Ignore pytables test failures with Python 3.12 The combined xfails are because two separate xfails where only one has run=False may run, which is a problem when the run=False exists to avoid a crash - see 1.5.3+dfsg-8 armhf build log |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | debian | ||
ignore_python3p12_deprecations.patch | Ignore DeprecationWarnings from Python 3.12 | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
sum_loosen_test_tolerance.patch | Don't fail sum test on near-cancelling inputs Failed in 1.5.3+dfsg-11 after it happened to select an input that cancelled to ~1e-5 (on i386, so x87 excess precision might be involved) |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
1068104_time64.patch | Don't require 32-bit to be time32 Debian armhf/armel (but not i386) are now time64 |
Graham Inggs, Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | debian | ||
1068422_ignore_dask_tests.patch | Ignore dask test failures (to unblock other fixes - these are probably a real bug but not in pandas) |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | debian | ||
versioned_importorskip.patch | Avoid failing when a dependency is too old (some of them are pulled in by other dependencies, so just not including them in d/control doesn't stop them being installed) Most of the content of this patch was generated by the following Python code: import pathlib import re basedir = pathlib.Path.cwd() if not (basedir / 'pandas/tests').exists(): raise FileNotFoundError('must be run from the pandas root') for source_file in basedir.glob('pandas/**/*.py'): with open(source_file, 'r') as fd: source_text = fd.read() if 'pytest.importorskip' in source_text: source_text = re.sub(r'pytest\.importorskip(.*)minversion', r'td.versioned_importorskip\1min_version', source_text) source_text = re.sub(r'pytest\.importorskip', r'td.versioned_importorskip', source_text) if '_test_decorators as td' not in source_text: # add the import if it isn't already present source_text, count = re.subn(r'^(import pandas|from pandas.*import)',r'import pandas.util._test_decorators as td\n\1', source_text, count=1, flags=re.MULTILINE) if count != 1: raise KeyError("failed to add import") with open(source_file, 'w') as fd: fd.write(source_text) |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
add_missing_importorskip.patch | Skip tests when dependencies are missing | Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
blosc_nonstrict_xfail.patch | Use nonstrict xfail Upstream strict-xfailed this instead of changing the expected message, which doesn't work here because it only fails in build, not autopkgtest |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
skiptests_intervaltree_32bit.patch | Re-add test skips dropped in 2.2.3 Dropped because they apparently aren't needed in 3.x; unknown if this is 2.x vs 3.x or i386 vs arm* |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | not-needed | |||
no_pkg_resources.patch | Stop using pkg_resources | Rebecca N. Palmer <rebecca_palmer@zoho.com> | invalid | debian | ||
no_pytz_datetime.patch | datetime does not work with non-constant pytz.timezone This has always been the case (and is explicitly warned about in the pytz documentation), but became a test fail when tzdata 2024b changed 'CET' and similar to aliases. |
Rebecca N. Palmer <rebecca_palmer@zoho.com> | no | |||
no_pydata_theme.patch | Don't use pydata-sphinx-theme, as it is currently broken | Rebecca N. Palmer <rebecca_palmer@zoho.com> | not-needed | debian |