What wxPython version for what Python

I wanted to upgrade my Python to 3.10 (for the match/case clause). How can I easily tell what is the newest version of Python I can use with the newest version of wxPython? If you are going to send me to a specific page, please provide a link to the page.

None of the pypi-published wxPython versions support Python 3.10.

You’ll have to install one of the snapshot builds:

That’s not true, at least in Ubuntu 22.04 you can:

mario@mario:~$ python3
Python 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import wx
>>> print(wx.__version__)

My comment is about the published wheels, which are only for Python < 3.10 and for Windows, it isn’t possible to build it either. Linux does work as you noted.

While that tells me what versions of python and wxpython are installed, it did not help me when I upgraded to python 3.10, then found out afterwards that the latest release of wxpython doesn’t work under 3.10. The whole point is to find all this out BEFORE I upgrade anything.

Fortunately the other solution proposed earlier (use a snapshot wxpython build) worked just fine. And because I write code, mainly for myself, I don’t have to worry about compatibility on anyone else’s machine.