Bug#867026: xtensor-python: Autopkgtest fails with multiple supported Python 3 versions

Dmitry Shachnev mitya57 at debian.org
Mon Jul 3 13:46:12 UTC 2017


Source: xtensor-python
Version: 0.12.1-1

Dear maintainer,

The current test logic in xtensor-python looks like this:

for py in $(py3versions -r 2>/dev/null); do
  cd "$AUTOPKGTEST_TMP";
  mkdir build && cd build;
  ...
done

When py3versions returns two versions (like in the current sid, where we
have Python 3.5 and 3.6), it fails with:

  mkdir: cannot create directory ‘build’: File exists

You need to either use ‘mkdir -p’, or ‘rm -rf build’ before creating it.

--
Dmitry Shachnev
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20170703/bbe53300/attachment.sig>


More information about the debian-science-maintainers mailing list