[Bug 259507] [NEW PORT]: math/py-nptyping: Type hints for Numpy

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 29 Oct 2021 20:11:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=259507

rsmith@xs4all.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rsmith@xs4all.nl

--- Comment #1 from rsmith@xs4all.nl ---
I've been trying Neal's patches to get cadquery to work.
(BTW; Great work Neal, much appreciated!)

When I've installed his ports and patches, I get the following error from one
of the cadquery examples:

~/github/cadquery/examples> python Ex001_Simple_Block.py
Traceback (most recent call last):
  File "/home/rsmith/github/cadquery/examples/Ex001_Simple_Block.py", line 1,
in <module>
    import cadquery as cq
  File "/usr/local/lib/python3.9/site-packages/cadquery/__init__.py", line 31,
in <module>
    from .assembly import Assembly, Color, Constraint
  File "/usr/local/lib/python3.9/site-packages/cadquery/assembly.py", line 10,
in <module>
    from .occ_impl.solver import (
  File "/usr/local/lib/python3.9/site-packages/cadquery/occ_impl/solver.py",
line 2, in <module>
    from nptyping import NDArray as Array
  File "/usr/local/lib/python3.9/site-packages/nptyping/__init__.py", line 2,
in <module>
    from nptyping.functions._get_type import get_type
  File
"/usr/local/lib/python3.9/site-packages/nptyping/functions/_get_type.py", line
9, in <module>
    from typish import ClsFunction
ModuleNotFoundError: No module named 'typish'

So it seems that https://github.com/ramonhagenaars/typish is required.

I installed typish-1.9.3 (current version) and that seems to work.

-- 
You are receiving this mail because:
You are the assignee for the bug.