Your message dated Mon, 28 Sep 2020 07:57:40 +0200
with message-id <2020-09-28t07-56...@devnull.michael-prokop.at>
and subject line Re: Bug#971137: grml2usb: FTBFS: ModuleNotFoundError: No 
module named '_black_version'
has caused the Debian Bug report #971137,
regarding black: cannot run, "ModuleNotFoundError: No module named 
'_black_version'"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
971137: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971137
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: black
Version: 20.8b1-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

The new black package version 20.8b1-1 seems to be missing some files:

% black
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/black/__init__.py", line 63, in <module>
    from black._black_version import version as __version__
ModuleNotFoundError: No module named 'black._black_version'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/black", line 33, in <module>
    sys.exit(load_entry_point('black==20.8b1', 'console_scripts', 'black')())
  File "/usr/bin/black", line 25, in importlib_load_entry_point
    return next(matches).load()
  File "/usr/lib/python3.8/importlib/metadata.py", line 77, in load
    module = import_module(match.group('module'))
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/black/__init__.py", line 65, in <module>
    from _black_version import version as __version__
ModuleNotFoundError: No module named '_black_version'

Looking at the source, _black_version.py appears to be generated by the 
setup.py:
https://github.com/psf/black/blob/master/setup.py#L50-L53

Regards,


-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.8.0-2-amd64 (SMP w/8 CPU threads)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8), LANGUAGE=en_US
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages black depends on:
ii  python3                    3.8.2-3
ii  python3-appdirs            1.4.4-1
ii  python3-click              7.1.2-1
ii  python3-mypy-extensions    0.4.3-1
ii  python3-pathspec           0.8.0-1
ii  python3-pkg-resources      49.3.1-2
ii  python3-regex              0.1.20200714-1
ii  python3-toml               0.10.1-1
ii  python3-typed-ast          1.4.1-1+b1
ii  python3-typing-extensions  3.7.4.2-1

black recommends no packages.

Versions of packages black suggests:
pn  python-black-doc  <none>

-- no debconf information

--- End Message ---
--- Begin Message ---
Hi,

* Lucas Nussbaum [Sun Sep 27, 2020 at 08:45:00PM +0200]:

> During a rebuild of all packages in sid, your package failed to build
> on amd64.

> Relevant part (hopefully):
[...]
> > black --check grml2usb
> > Traceback (most recent call last):
> >   File "/usr/lib/python3/dist-packages/black/__init__.py", line 63, in 
> > <module>
> >     from black._black_version import version as __version__
> > ModuleNotFoundError: No module named 'black._black_version'
[...]

Thanks for reporting, this is a bug in package black, see #970901.

I'm closing this one here for now (not being aware of a better
way how to handle this, tbh).

regards
-mika-

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply via email to