[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 +0000
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257694

Kubilay Kocak <koobs_at_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_at_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.
Received on Mon Aug 09 2021 - 00:57:11 UTC

Original text of this message