dev-python/wxpython-4.0.7-r4 is marked as being compatible with both Python 3.9 and 3.10, however in reality it still does not work with 3.10. This is problematic since both dev-python/wxpython-4.0.7-r4 and Python 3.10 are marked as stable. This also breaks packages that use wxpython (e.g. Kicad-6 series). The example code below snippet is from https://bugs.gentoo.org/863494 and it still fails. Reproducible: Always Steps to Reproduce: Steps to Reproduce: 1. emerge -1 "=dev-python/wxpython-4.0.7-r4" 2. emerge python:3.10 3. Run the following code: import wx from wx.py import crust app = wx.App(redirect=False) frame = wx.Frame(parent=None, id=wx.ID_ANY, title='Hello World') crust_ = crust.Crust(parent=frame, intro="Hello") frame.Show() app.MainLoop() Actual Results: Get the following trace: Traceback (most recent call last): File "/home/alex/tmp/test_crust.py", line 5, in <module> crust_ = crust.Crust(parent=frame, intro="Hello") File "/usr/lib/python3.10/site-packages/wx/py/crust.py", line 43, in __init__ self.shell = Shell(parent=self, introText=intro, File "/usr/lib/python3.10/site-packages/wx/py/shell.py", line 332, in __init__ self.Bind(wx.EVT_MENU, lambda evt: self.CopyWithPrompts(), id=frame.ID_COPY_PLUS) File "/usr/lib/python3.10/site-packages/wx/core.py", line 1406, in _EvtHandler_Bind event.Bind(self, id, id2, handler) File "/usr/lib/python3.10/site-packages/wx/core.py", line 1477, in Bind target.Connect(id1, id2, et, function) TypeError: EvtHandler.Connect(): argument 1 has unexpected type 'WindowIDRef' Expected Results: Show a window with some sort of python command line thingy. Change wxpython-4.0.7* python_compat to: PYTHON_COMPAT=( python3_9 )
wxpython-4.0.7 is gone from the tree. Please close.