Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What is the Python version support policy? #2664

Closed
echoix opened this issue Jan 7, 2025 · 2 comments
Closed

What is the Python version support policy? #2664

echoix opened this issue Jan 7, 2025 · 2 comments
Labels

Comments

@echoix
Copy link
Contributor

echoix commented Jan 7, 2025

I've been looking around to try to improve typing of wxPython, trying to build myself. I'm aware of #2651, #1253, and #2468. What would help me a bit, is to have the Python version support policy documented somewhere, to know what typing features can be used, or other language features, and other build requirements. Do you only support non-eol Python versions, meaning 3.9 is the minimum, and has less than a year left, or you go more the SPEC 0 way, like numpy, scipy and more, with a time based approach with less Python versions supported.

https://devguide.python.org/versions/

https://scientific-python.org/specs/spec-0000/

As for building, for now, I'm only successful to run builds through CI, not locally. Locally I've manually changed my pyi files + wx sites-packages folder, and had good(er) results by using the sip-generated pyi files and the classes there as base classes for the wx PI generator generated classes. It allowed for more precise types for arguments, but not as much for return types that were none.

@swt2c
Copy link
Collaborator

swt2c commented Jan 7, 2025

Yes, we only support non-EOL Python versions (so 3.9-3.13 currently).

@swt2c swt2c added the question label Jan 7, 2025
@swt2c
Copy link
Collaborator

swt2c commented Jan 7, 2025

As far as building from a source checkout goes, please see:
https://github.com/wxWidgets/Phoenix/blob/master/README.rst#how-to-build-wxpython-phoenix

@swt2c swt2c closed this as not planned Won't fix, can't repro, duplicate, stale Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants