Skip to content

support Python 3.15 - #513

Merged
Xmader merged 10 commits into
mainfrom
python315
Oct 15, 2026
Merged

Xmader merged 10 commits into
mainfrom
python315

Conversation

@Xmader

@Xmader Xmader commented Oct 14, 2026

Copy link
Copy Markdown
Member

This will resolve issue #511

We need it for Python 3.15 support.

Otherwise, TypeError: Can't instantiate abstract class WheelDistribution without an implementation for abstract method 'locate_file'
(v1.8.5 is the last version that supports Python 3.8)

We need it for Python 3.15 support.
Otherwise, TypeError: Can't instantiate abstract class WheelDistribution without an implementation for abstract method 'locate_file'
We need it for Python 3.15 support.
Otherwise, TypeError: Can't instantiate abstract class WheelDistribution without an implementation for abstract method 'locate_file'
We need it for Python 3.15 support.
Otherwise, TypeError: Can't instantiate abstract class WheelDistribution without an implementation for abstract method 'locate_file'
Co-authored-by: Xmader <16057139+Xmader@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

The private CPython layout changes need confirmation from successful cross-platform Python 3.15 builds and runtime tests.

0 open findings

What changed in this PR

Adds Python 3.15 compatibility to PythonMonkey’s event-loop integration and packaging, addressing the installation issue reported in #511.

Changes:

  • Updates the mirrored CPython thread-state layout for Python 3.15.
  • Refreshes build tooling and version-specific dependencies.
  • Adds Python 3.15 to the cross-platform test and publishing matrix.
File Description
src/​PyEventLoop.cc Adjusts event-loop lookup for Python 3.15 internals.
setup.sh Upgrades the Poetry installer version.
python/​pminit/​pyproject.toml Updates the versioning build dependency.
pyproject.toml Updates build dependencies and Python-specific pip/NumPy constraints.
poetry.lock Refreshes resolved dependencies and package hashes.
.github/​workflows/​test-and-publish.yaml Adds Python 3.15 coverage and upgrades Poetry.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Xmader
Xmader merged commit c5deebf into main Oct 15, 2026
7 of 50 checks passed
@Xmader
Xmader deleted the python315 branch October 15, 2026 21:02
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.

3 participants