Summary: | dev-python/wxpython: incompatible with python3.10 (needs bump to 4.1.1) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Alex Orange <alex.orange> |
Component: | Current packages | Assignee: | Gentoo wxWidgets project <wxwidgets> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | python |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
See Also: | https://bugs.gentoo.org/show_bug.cgi?id=902205 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 823185 | ||
Attachments: |
Updated ebuild to handle my 3.10 problems.
Patch to make sip work. Backport to make a few things work in python3.10. |
Description
Alex Orange
2022-08-03 23:02:04 UTC
Forgot to add these resources: https://discuss.wxpython.org/t/deprecation-warnings-with-python-3-8/34405/3 https://github.com/wxWidgets/Phoenix/issues/1525 4.0.7 missing __index__ https://github.com/wxWidgets/Phoenix/blob/wxPython-4.0.7/etg/windowid.py 4.1.0 has __index__ https://github.com/wxWidgets/Phoenix/blob/wxPython-4.1.0/etg/windowid.py Given the depends that I just read, I should offer that another solution might be to see what kinds of issues like this exist and just backport some patches until whatever other versioning stuff gets worked out for the 4.1.x line. Created attachment 799139 [details]
Updated ebuild to handle my 3.10 problems.
Ok, I've come up with a solution for my problems (2 patches, a BDEPEND on sip and running the sip phase of build). To be clear, I have **NOT** checked for any other possible python3.10 problems.
Created attachment 799141 [details, diff]
Patch to make sip work.
This was taken from debian.
Created attachment 799143 [details, diff]
Backport to make a few things work in python3.10.
Backport of wxpython fixes that exist in 4.1.0. I am **NOT** saying this is everything wrong for python3.10. It does fix my issue. There may be others.
*** This bug has been marked as a duplicate of bug 766914 *** |