[Debian-med-packaging] Bug#1044070: python-pauvre: FTBFS with pandas 2.0
Étienne Mollier
emollier at debian.org
Wed Sep 6 20:36:52 BST 2023
Control: tags -1 confirmed
There is a build failure reproducible by pulling python3-pandas
and python3-pandas-lib from experimental specifically. Relevant
log that went missing from Launchpad would probably have looked
like:
debian/rules override_dh_auto_test
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYBUILDDIR="$(echo "/<<PKGBUILDDIR>>"/.pybuild/cpython3_3.*/build)" \
&& mkdir -p "${PYBUILDDIR}/pauvre/tests/testdata/alignments" \
"${PYBUILDDIR}/pauvre/tests/testresults" \
&& cp -r "/<<PKGBUILDDIR>>/debian/tests/gff_files" \
"${PYBUILDDIR}/pauvre/tests/testdata" \
&& BUILDDIR="${PYBUILDDIR}" PATH="/<<PKGBUILDDIR>>/debian/bin:$PATH" \
dh_auto_test \
&& rm "${PYBUILDDIR}/input" \
&& rm -r "${PYBUILDDIR}/pauvre/tests/testdata" \
"${PYBUILDDIR}/pauvre/tests/testresults"
I: pybuild base:291: cd /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build; python3.11 -m unittest discover -v
test_normal_plotting_scenario (pauvre.tests.test_synplot.libSeq_test_case.test_normal_plotting_scenario)
This verifies that the LibSeq class is constructed with all of the ... + export PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build
+ PYTHONPATH=/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build
+ exec python3 /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/pauvre_main.py synplot --aln_dir /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/tests/testdata/alignments/ --fileform pdf --gff_paths /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/tests/testdata/gff_files/Bf201706.gff /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/tests/testdata/gff_files/JN392469.gff /<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/tests/testdata/gff_files/NC016117.gff --center_on COX1 --gff_labels 'B. forskalii' 'P. bachei' 'M. leidyi'
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/pauvre_main.py", line 636, in <module>
main()
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/pauvre_main.py", line 630, in main
args.func(parser, args)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/pauvre_main.py", line 64, in run_subtool
submodule.run(args)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/synplot.py", line 581, in run
synplot(args)
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/synplot.py", line 402, in synplot
GFFs.append(GFFParse(gffpath, args.stop_codons, species))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/functions.py", line 75, in __init__
self.features.drop('dunno1', 1, inplace=True)
TypeError: DataFrame.drop() takes from 1 to 2 positional arguments but 3 positional arguments (and 1 keyword-only argument) were given
FAIL
======================================================================
FAIL: test_normal_plotting_scenario (pauvre.tests.test_synplot.libSeq_test_case.test_normal_plotting_scenario)
This verifies that the LibSeq class is constructed with all of the
----------------------------------------------------------------------
Traceback (most recent call last):
File "/<<PKGBUILDDIR>>/.pybuild/cpython3_3.11_pauvre/build/pauvre/tests/test_synplot.py", line 66, in test_normal_plotting_scenario
self.assertEqual(0, int(data.returncode))
AssertionError: 0 != 1
In hope this helps (including future self),
--
.''`. Étienne Mollier <emollier at debian.org>
: :' : gpg: 8f91 b227 c7d6 f2b1 948c 8236 793c f67e 8f0d 11da
`. `' sent from /dev/pts/0, please excuse my verbosity
`- on air: Pink Floyd - One Of These Days
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20230906/0d80f88b/attachment.sig>
More information about the Debian-med-packaging
mailing list