Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 795960 - dev-lang/python-3.9 - installation failed due to bug in some modules - _abc_collections.py.
Summary: dev-lang/python-3.9 - installation failed due to bug in some modules - _abc_c...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2021-06-14 13:17 UTC by matszpk
Modified: 2021-07-09 15:46 UTC (History)
5 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description matszpk 2021-06-14 13:17:14 UTC
Like in summary. The installation failed due to bug in python.
I found solution in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=980906 and apply it and after that python-3.9.5 has been installed.
This bug applied to version since 3.9.2. I was trying build versions 3.9.4-3.9.5.
A bug can be easily applied by simple change in some line in _collections_abc.py file:

class _CallableGenericAlias(GenericAlias):

to:

class _CallableGenericAlias(list[int]):

It will be good, when that patch will be added to this package.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-06-14 22:29:01 UTC
Please attach the complete build log and 'emerge --info'.  I have serious doubts about applying a workaround from a Debian bug that was closed invalid.
Comment 2 Ionen Wolkens gentoo-dev 2021-06-17 01:41:04 UTC
Unsure what this error is about, but I did see someone run into this on the forums:
https://forums.gentoo.org/viewtopic-t-1137450.html