Bug#1151246: cadquery: Missing imports
Dima Kogan
dkogan at debian.org
Mon Oct 19 06:50:46 BST 2026
Package: cadquery
Version: 0.0~git20260224135352.ba71107-2
Severity: serious
Hi. I just installed "cadquery". This happened when trying to use it:
>>> import cadquery
Traceback (most recent call last):
File "<python-input-0>", line 1, in <module>
import cadquery
File "/usr/lib/python3/dist-packages/cadquery/__init__.py", line 10, in <module>
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location
File "/usr/lib/python3/dist-packages/cadquery/occ_impl/geom.py", line 7, in <module>
from OCP.gp import (
...<13 lines>...
)
This is a missing Depends: python3-ocp, which should be added to
debian/control. After installing it manually I get this:
>>> import cadquery
Traceback (most recent call last):
File "<python-input-1>", line 1, in <module>
import cadquery
File "/usr/lib/python3/dist-packages/cadquery/__init__.py", line 10, in <module>
from .occ_impl.geom import Plane, BoundBox, Vector, Matrix, Location
File "/usr/lib/python3/dist-packages/cadquery/occ_impl/geom.py", line 30, in <module>
from ..utils import multidispatch
File "/usr/lib/python3/dist-packages/cadquery/utils.py", line 4, in <module>
from runtype import isa
"runtype" isn't in Debian I believe, so this cannot work today.
Thanks
-- System Information:
Debian Release: forky/sid
APT prefers unstable
APT policy: (800, 'unstable'), (500, 'unstable-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: arm64, riscv64
Kernel: Linux 7.0.10+deb14-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_US.utf-8, LC_CTYPE=en_US.utf-8 (charmap=UTF-8) (ignored: LC_ALL set to en_US.utf-8), LANGUAGE=en_US.utf-8
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages cadquery depends on:
ii python3 3.14.7-3
ii python3-ezdxf 1.4.3-1
ii python3-multimethod 2.0-3
ii python3-pyparsing 3.3.2-2
ii python3-trame 3.13.2-1
cadquery recommends no packages.
cadquery suggests no packages.
-- no debconf information
More information about the debian-science-maintainers
mailing list