Skip to content

Added Python 3.13 and 3.14 support for _memimporter.#235

Open
AraHaan wants to merge 12 commits into
py2exe:developfrom
AraHaan:cp313
Open

Added Python 3.13 and 3.14 support for _memimporter.#235
AraHaan wants to merge 12 commits into
py2exe:developfrom
AraHaan:cp313

Conversation

@AraHaan

@AraHaan AraHaan commented Dec 30, 2025

Copy link
Copy Markdown

More changes might be needed to enable Python 3.14 support in the python code itself though.

This adds support for python3.13+ for the C code so far.

The zipextimporter may or may not work as is for these versions of Python though and could be replaced with these 2 files: https://github.com/SeaHOH/memimport/blob/main/zipextimporter.py and https://github.com/SeaHOH/memimport/blob/main/memimport.py.
Since the python core dynamic loading code cannot be made to work for Python 3.12+. The related code for loading the python core from zip file/resource section has been ifdef'd out. As such single file deployments for Python 3.12+ is not possible at all.
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
@AraHaan AraHaan changed the base branch from master to develop December 30, 2025 00:15
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
… from compile causing _memimporter to not find the symbol.

Signed-off-by: AraHaan <seandhunt_7@yahoo.com>
@albertosottile

Copy link
Copy Markdown
Member

@AraHaan I pushed on master the fixes for Action, can you rebase this branch so that we see if we can get passing tests? Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants