Package: python3-sphinx-copybutton
Version: 0.4.0-1
Severity: normal

I'm not sure if this is the right diagnosis of the problem
but the latest black upstream release (21.9b0) is failing to build
locally for multiple reasons, one of which (after patching out the
others) is:

dh_sphinxdoc: error: 
debian/python-black-doc/usr/share/doc/python-black-doc/html/_static/clipboard.min.js
 is missing

The copybutton package in buster contains clipboard.min.js:
/usr/lib/python3/dist-packages/sphinx_copybutton/_static/clipboard.min.js

https://packages.debian.org/bullseye/all/python3-sphinx-copybutton/filelist

However, this file is missing in the version in bookworm and sid.

Looks like the file is meant to be part of the python3-sphinx-copybutton 
package?
https://salsa.debian.org/python-team/packages/sphinx-copybutton/-/blob/master/sphinx_copybutton/_static/clipboard.min.js

(New upstream version of black also needs yet another sphinx module but
that's a different problem.)

Thanks.


-- System Information:
Debian Release: 11.1
  APT prefers stable-security
  APT policy: (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-8-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_GB:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-sphinx-copybutton depends on:
ii  python3         3.9.2-3
ii  python3-sphinx  3.4.3-2

python3-sphinx-copybutton recommends no packages.

Versions of packages python3-sphinx-copybutton suggests:
pn  python-sphinx-copybutton-doc  <none>

Reply via email to