[Pkg-electronics-devel] Bug#1091427: python3-apycula: Missing dependency on python3-crc

Philipp Klaus Krause pkk at spth.de
Thu Dec 26 00:10:57 GMT 2024


Package: python3-apycula
Version: 0.15+dfsg1-1
Severity: normal
X-Debbugs-Cc: pkk at spth.de

Dear Maintainer,

I installed python3-apycula, but gowin_pack didn't work for me:

gowin_pack -d GW1N-9C -o tests/cblink/tangnano9k2.fs
tests/cblink/tangnano9k2.json
Traceback (most recent call last):
  File "/usr/bin/gowin_pack", line 33, in <module>
    sys.exit(load_entry_point('Apycula==0.15+dfsg1', 'console_scripts',
'gowin_pack')())
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/bin/gowin_pack", line 25, in importlib_load_entry_point
    return next(matches).load()
           ^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/metadata/__init__.py", line 205, in load
    module = import_module(match.group('module'))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 999, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/usr/lib/python3/dist-packages/apycula/gowin_pack.py", line 17, in
<module>
    from apycula import bslib
  File "/usr/lib/python3/dist-packages/apycula/bslib.py", line 2, in <module>
    import crc
ModuleNotFoundError: No module named 'crc'
make: *** [Makefile:134: tests/cblink/tangnano9k2.fs] Fehler 1

Then I installed the python3-crc package, and gowin_pack has been working for
me since.


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-debug
  APT policy: (500, 'testing-debug'), (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.11.7-amd64 (SMP w/16 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages python3-apycula depends on:
ii  python3  3.12.6-1

python3-apycula recommends no packages.

python3-apycula suggests no packages.

-- no debconf information



More information about the Pkg-electronics-devel mailing list