[Bug 257694] devel/cmake: Fails to build with Python 3.10: ImportError: cannot import name 'Union' from 'types'

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 09 Aug 2021 00:57:11 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257694

Kubilay Kocak <koobs@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|devel/cmake: Build fails    |devel/cmake: Fails to build
                   |with Python 3.10            |with Python 3.10:
                   |                            |ImportError: cannot import
                   |                            |name 'Union' from 'types'
           Severity|Affects Only Me             |Affects Some People
           Keywords|                            |needs-qa
             Status|New                         |Open
              Flags|                            |merge-quarterly?

--- Comment #1 from Kubilay Kocak <koobs@FreeBSD.org> ---
If cmake doesn't currently intend, claim or hasnt otherwise been confirmed
(tested) to support Python 3.10, it's USES=python <version-spec> should be
corrected (bug) to only declare those versions it does support.

Upstream references and CI examples/configs would be handy to validate those
details

-- 
You are receiving this mail because:
You are on the CC list for the bug.