[Bug 274020] devel/meson: ModuleNotFoundError: No module named 'typing_extensions'

From: <bugzilla-noreply_at_freebsd.org>
Date: Fri, 22 Sep 2023 11:54:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=274020

            Bug ID: 274020
           Summary: devel/meson: ModuleNotFoundError: No module named
                    'typing_extensions'
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: desktop@FreeBSD.org
          Reporter: milios@ccsys.com
             Flags: maintainer-feedback?(desktop@FreeBSD.org)
          Assignee: desktop@FreeBSD.org

I am working with DEFAULT_VERSIONS+= python=3.11 python3=3.11

In building meson-1.2.1 I encounter an error:
ModuleNotFoundError: No module named 'typing_extensions'

I added this to BUILD_DEPENDS:
${PYTHON_PKGNAMEPREFIX}typing-extensions>0:devel/py-typing-extensions@${PY_FLAVOR}

...for "Great Success!"

I don't however use Python enough nor have the necessary motivation to
investigate in order to confidently say where this line might more
appropriately belong (LIB_DEPENDS perhaps?) and under what conditions (Python
versions? Other software I have tickling the configure target?). Meson is now
working well on my workstation for my purposes (where all build dependencies
always remain installed anyway among 2500+ pkgs).

I am of course assuming this error doesn't come up in the typical environment.
If requested, I would be happy to dig further into its cause.

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