Package: python-jellyfish
Version: 0.6.1-1
Severity: important
Tags: patch
User: [email protected]
Usertags: origin-ubuntu focal ubuntu-patch
Hi Diego,
The python-jellyfish autopkgtest is failing in Ubuntu now that python3.8 has
been added to the list of supported pythons there. The reason is that the
autopkgtest simply isn't safe in the face of multiple python versions and
fails with:
[...]
cp: 'testdata' and '/tmp/autopkgtest.jUi2oO/autopkgtest_tmp/testdata' are the
same file
[...]
(http://autopkgtest.ubuntu.com/packages/p/python-jellyfish/focal/amd64)
The attached patch takes care of separating the setup from the
per-python-version test run, so that it doesn't fail trying to copy the
testdata to itself.
Cheers,
--
Steve Langasek Give me a lever long enough and a Free OS
Debian Developer to set it on, and I can move the world.
Ubuntu Developer https://www.debian.org/
[email protected] [email protected]
diff -Nru python-jellyfish-0.6.1/debian/tests/py3
python-jellyfish-0.6.1/debian/tests/py3
--- python-jellyfish-0.6.1/debian/tests/py3 2019-07-23 11:25:54.000000000
-0700
+++ python-jellyfish-0.6.1/debian/tests/py3 2019-10-24 16:12:27.000000000
-0700
@@ -2,9 +2,9 @@
set -e
+cp -r testdata "$AUTOPKGTEST_TMP"
+cd "$AUTOPKGTEST_TMP"
for py in $(py3versions -r 2>/dev/null) ; do
- cp -r testdata "$AUTOPKGTEST_TMP"
- cd "$AUTOPKGTEST_TMP"
echo "Testing with $py:"
$py -m pytest --pyargs jellyfish.test
done
_______________________________________________
Python-modules-team mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team