Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 863203

Summary: >=dev-lang/python-3.11.0_alpha3 missing xml USE flag
Product: Gentoo Linux Reporter: Boris Staletic <boris.staletic>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED INVALID    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description Boris Staletic 2022-08-02 18:44:40 UTC
Since python 3.11.0a3 the gentoo ebuild has been missing the xml USE flag.
Removing this flag prevents some ebuilds from being built with python 3.11,
like pfl and gobject-introspection.

Previously this flag was on by default.

If this USE flag was omitted intentionally, then this bug should be closed and
some ebuilds will need to be updated for python 3.11 (apart from the usual
PYTHON_COMPAT update).
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-02 18:49:11 UTC
This is intentional and ebuilds should use xml(+) instead. last time I checked, all ebuilds in tree handled this fine.

There is a pkgcheck warning for missing USE dep defaults. I don't see any for Python stuff being triggered right now. pfl doesn't even have 3.11 yet?
Comment 2 Boris Staletic 2022-08-02 19:20:29 UTC
Thanks for the quick response.
You are right that pfl does not have python3.11 yet. I came across this when I attempted to add python3.11 for pfl.

> ebuilds should use xml(+)

Ah, so that's how this is supposed to be handled!

Thanks!
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-08-02 19:33:20 UTC
No problem :)