#1014650 autopkgtest: ModuleNotFoundError: No module named 'packaging'

#1014650#5
Date:
2022-07-09 14:04:09 UTC
From:
To:
Dear Maintainer,

after updating python-bleach to 5.0.0 your package from testing fails
together wich python3-bleach from unstable.

e.g. on amd64
https://ci.debian.net/data/autopkgtest/testing/amd64/n/nbconvert/23478280/log.gz

The error in detail looks like this:

autopkgtest [20:13:04]: test autodep8-python3: set -e ; for py in $(py3versions -r 2>/dev/null) ; do cd "$AUTOPKGTEST_TMP" ; echo "Testing with $py:" ; $py -c "import nbconvert; print(nbconvert)" ; done
autopkgtest [20:13:04]: test autodep8-python3: [-----------------------
Testing with python3.9:
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/nbconvert/__init__.py", line 4, in <module>
    from .exporters import *
  File "/usr/lib/python3/dist-packages/nbconvert/exporters/__init__.py", line 3, in <module>
    from .html import HTMLExporter
  File "/usr/lib/python3/dist-packages/nbconvert/exporters/html.py", line 25, in <module>
    from nbconvert.filters.highlight import Highlight2HTML
  File "/usr/lib/python3/dist-packages/nbconvert/filters/__init__.py", line 5, in <module>
    from .latex import *
  File "/usr/lib/python3/dist-packages/nbconvert/filters/latex.py", line 17, in <module>
    from nbconvert.utils.pandoc import pandoc
  File "/usr/lib/python3/dist-packages/nbconvert/utils/pandoc.py", line 12, in <module>
    from nbconvert.utils.version import check_version
  File "/usr/lib/python3/dist-packages/nbconvert/utils/version.py", line 11, in <module>
    from packaging.version import Version
ModuleNotFoundError: No module named 'packaging'
autopkgtest [20:13:05]: test autodep8-python3: -----------------------]
autopkgtest [20:13:05]: test autodep8-python3:  - - - - - - - - - - results - - - - - - - - - -
autodep8-python3     FAIL non-zero exit status 1
autopkgtest [20:13:05]: @@@@@@@@@@@@@@@@@@@@ summary
command1             FAIL non-zero exit status 2
autodep8-python3     FAIL non-zero exit status 1

It might be enough to add python3-packaging as new dependency?

Regards
Carsten

#1014650#10
Date:
2022-07-10 15:35:12 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
nbconvert, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1014650@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Julien Puydt <jpuydt@debian.org> (supplier of updated nbconvert package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Sun, 10 Jul 2022 17:07:13 +0200
Source: nbconvert
Architecture: source
Version: 6.4.4-2
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+python@tracker.debian.org>
Changed-By: Julien Puydt <jpuydt@debian.org>
Closes: 1014650
Changes:
 nbconvert (6.4.4-2) unstable; urgency=medium
 .
   * Bump standards-version to 4.6.1.
   * Add python3-packaging to b-deps (Closes: #1014650).
   * Add explicit dep on python3-packaging (why isn't it automatic?).
   * Refresh patches.
   * Add patch for bleach 5 support.
   * Add lintian override for false positive.
Checksums-Sha1:
 a44fb624d80fcf459c91a1a353b85d9b310b3633 2843 nbconvert_6.4.4-2.dsc
 e327eeb0b722479b2c040491868f0958e3007e67 84852 nbconvert_6.4.4-2.debian.tar.xz
 097d6ecca8ff8dbcbbf54fb38571fdec2e6c6d21 9412 nbconvert_6.4.4-2_source.buildinfo
Checksums-Sha256:
 cfe214074b773a9f40e8484cc4caf7dd45b8b832a342ec600ae66526056bf45e 2843 nbconvert_6.4.4-2.dsc
 95224feefa2056e04ae21f04fcb3af19a87442129fd309ef57447479674ccacf 84852 nbconvert_6.4.4-2.debian.tar.xz
 ed263df16084d6a289349e45dd8f4d7dc7b0d91e1fce2b0e09e3899deec98815 9412 nbconvert_6.4.4-2_source.buildinfo
Files:
 fc43ba7233152c70fb2f58c6c2b39db3 2843 python optional nbconvert_6.4.4-2.dsc
 6a643e771b3e7b1f165f0c545866d8ce 84852 python optional nbconvert_6.4.4-2.debian.tar.xz
 9c59f9201d89167e9c8cabef437154ef 9412 python optional nbconvert_6.4.4-2_source.buildinfo
-----BEGIN PGP SIGNATURE-----

iQJGBAEBCgAwFiEEgS7v2KP7pKzk3xFLBMU71/4DBVEFAmLK60cSHGpwdXlkdEBk
ZWJpYW4ub3JnAAoJEATFO9f+AwVRh3cP/1Rcby1aKH1rTAf8QzaMmh7jovdWzlnw
R44qSaZKEfJh0b2SAVe4zEyZb9cwr/k4o11qXgttJfnKKzRT+4uCts2+0ODmgj2S
XIqDNrpF9vzMUm+8Eld8t6Xf60ev52bbKGggCtqPBszCHQdpHvcx5xJuyUi98ncW
KLKbVN274kRy74HnzOBpZQJnBr+WvsS3LS6qcpI4rRJRzxfRfMgNeaun+kDxjIrt
4Tzb8+/b9WJdyiEPI5EgFWBLRhuuCpQCJgAJthkIh2bfnkSpFDyfJqa7t+Qp5AgI
OAXoKqIJR/IHttoJyfwp2gNFxlh3Y1JG/Ggcz4Ma6w8jj3+XNswverES36IpfcPz
gRLVeXtjLhgoj8luUuu4+g4VTsNDFFNISZHowFd9aIbFGNi7UTlfd1C/KKlfLxqN
KulE4mFb14aeDU6hJAazjT9BFbYkQl3uXuG8U1P6krsm/BAJgyeO5Eh0yUip6MYC
LSIYVCcw/+bFcXwi7e+t4B4csPR9s2fVsjyRig6xiivqx9uY56PfmnjGbpzTf5oj
omDbr1Db/0jrkaY7BbTUEhj9c/dv7tNU0zb2zqeCw8TZL+JvroX7BKx++e8FOFeQ
iJGzOPnl6Jpakoy6F0wLWCaBi7S4vRVUWtwFUal9a5uqxFVpXJlhl5jTCfbr8Bec
Ah/7pHV9nRbd
=T+Pa
-----END PGP SIGNATURE-----