Skip to content

Conversation

@wdconinc
Copy link
Contributor

This PR updates the install location for the python package to support free-threaded pythons, following up on the strategy developed in #599.

BEGINRELEASENOTES

  • fix: install into free-threaded python3.14t/site-packages prefixes

ENDRELEASENOTES

Copilot AI review requested due to automatic review settings December 29, 2025 20:26
@wdconinc
Copy link
Contributor Author

FYI @tmadlener

@wdconinc wdconinc marked this pull request as draft December 29, 2025 20:35
@wdconinc
Copy link
Contributor Author

It seems that #650 will need to be adapted too.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the Python package installation path to support free-threaded Python interpreters (PEP 703) introduced in Python 3.13+, where the site-packages directory includes a 't' suffix (e.g., python3.14t/site-packages).

Key changes:

  • Extracts the Python-specific site-packages path from Python3_SITEARCH using regex to capture ABI suffixes
  • Adds fallback mechanism to manual path construction if regex extraction fails
  • Updates installation path construction to use the extracted path component

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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.

1 participant