On 06. 07. 21 17:13, Zbigniew Jędrzejewski-Szmek wrote:
This is Python 3.10 related.

https://docs.python.org/3.10/whatsnew/3.10.html#removed

"Remove deprecated aliases to Collections Abstract Base Classes from the
collections module."

E.g. use collections.abc.Sequence instead of collections.Sequence.
collections.Sequence was deprecated from Python 3.7.

Well the fix looks simple enough but it's the bundled spidermonkey that
needs to be patched and it's gziped inside of the 0ad archive with a
separate patching mechanism. BLEH.
I started looking into this yesterday… The attached patch moves past
the import errors, and cuts the warning noise to a manageable level.
Maybe it'll be useful as a start for someone. The build still fails with:
AttributeError: module 'sysconfig' has no attribute '_get_default_scheme'. Did 
you mean: 'get_default_scheme'?

That is still Python 3.10 relevant. The "private" sysconfig._get_default_scheme function has been made public (and hence has a new name, without the leading underscore). Since it was private, this is not considered as a breaking change. No code outside of Python standard library should have used it 🤷

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to