Bug 257673

Summary: devel/py-virtualenv: does not build with Python 3.10. poudriere log attached.
Product: Ports & Packages Reporter: Matthias Andree <mandree>
Component: Individual Port(s)Assignee: Nicola Vitale <nivit>
Status: Closed Overcome By Events    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (nivit)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
log of poudriere bulk devel/py-virtualenv@py310
none
Poudriere log for py-virtualenv with Python 3.10 none

Description Matthias Andree freebsd_committer freebsd_triage 2021-08-07 15:39:07 UTC
Created attachment 227007 [details]
log of poudriere bulk devel/py-virtualenv@py310
Comment 1 Nicola Vitale freebsd_committer freebsd_triage 2021-09-14 13:17:49 UTC
From the log provided, it looks that it is a bug of the Python package sphinx:

[00:00:16]   File "/usr/local/lib/python3.10/site-packages/sphinx/util/typing.py", line 34, in <module>
    1 [00:00:16]     from types import Union as types_Union                           
    2 [00:00:16] ImportError: cannot import name 'Union' from 'types' (/usr/local/lib/python3.10/types.py)
    3 [00:00:16] *** Error code 1
Comment 2 Nicola Vitale freebsd_committer freebsd_triage 2022-11-25 17:33:15 UTC
Created attachment 238344 [details]
Poudriere log for py-virtualenv with Python 3.10

Now the port builds correctly with Python 3.10.

Thank you for the PR!