pandas.git
10 months agoDon't fail plot tests on rounding error
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Don't fail plot tests on rounding error

(upstream seem to have _disabled_ the affected tests
...see also test_series)

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

10 months agoDon't require a warning armel numpy doesn't have
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoFix test failures on 32-bit systems
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoFix arch-specific upstream xfails
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

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

10 months agoSkip test that fails from outside the source tree
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoAvoid test failures on Hurd
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoAllow some numba errors on 32-bit
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Allow some numba errors on 32-bit

Specifying the exception type allows only explicit errors,
not silently wrong answers

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name numba_fail_32bit.patch

10 months agoRemove code from Stack Overflow
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoAllow tests to use the data files in the source tree
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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: https://github.com/pandas-dev/pandas/issues/54907

Gbp-Pq: Name find_test_data.patch

10 months agoLink to rather than embed Google calendar
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Link to rather than embed Google calendar

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: not-needed

Gbp-Pq: Name privacy.patch

10 months agoUse fixed seeds for reproducible pseudorandomness
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Use fixed seeds for reproducible pseudorandomness

Author: Rebecca N. Palmer <rebecca_palmer@zoho.com>
Forwarded: no

Gbp-Pq: Name fix_random_seeds.patch

10 months agoDon't try to read a contributor list from the git log
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoUse packaged intersphinx indexes
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoUse Debian packaged mathjax
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Use Debian packaged mathjax

Author: Andreas Tille <tille@debian.org>
Forwarded: not-needed

Gbp-Pq: Name mathjax-path.patch

10 months agoAvoid privacy breach by analytics
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Avoid privacy breach by 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_analytics.patch

10 months agoHDF5 and Stata I/O are broken on some architectures
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
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

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
Bug: partly https://github.com/pandas-dev/pandas/issues/54396
Forwarded: no

Gbp-Pq: Name xfail_tests_nonintel_io.patch

10 months agoDon't try to import from the source directory
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agoDon't try to use git to find the version number
Debian Science Team [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +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

10 months agopandas (2.2.3+dfsg-7) unstable; urgency=medium
Rebecca N. Palmer [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
pandas (2.2.3+dfsg-7) unstable; urgency=medium

  * Re-add some but not all build-deps, stop ignoring most tests
    and documentation fails (but still ignore #1094417).
  * Temporarily move matplotlib to Build-Depends-Indep.
  * Tests: remove no longer needed xfails.

[dgit import unpatched pandas 2.2.3+dfsg-7]

10 months agoImport pandas_2.2.3+dfsg-7.debian.tar.xz
Rebecca N. Palmer [Tue, 28 Jan 2025 22:18:06 +0000 (22:18 +0000)]
Import pandas_2.2.3+dfsg-7.debian.tar.xz

[dgit import tarball pandas 2.2.3+dfsg-7 pandas_2.2.3+dfsg-7.debian.tar.xz]

14 months agoImport pandas_2.2.3+dfsg.orig.tar.xz
Rebecca N. Palmer [Sat, 21 Sep 2024 16:21:40 +0000 (17:21 +0100)]
Import pandas_2.2.3+dfsg.orig.tar.xz

[dgit import orig pandas_2.2.3+dfsg.orig.tar.xz]