Skip to content

Add Python 3.14 support and update CI infrastructure#136

Merged
letmaik merged 3 commits intomainfrom
copilot/add-python-3-14-support
Jan 24, 2026
Merged

Add Python 3.14 support and update CI infrastructure#136
letmaik merged 3 commits intomainfrom
copilot/add-python-3-14-support

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 24, 2026

Adds Python 3.14 support across all platforms and modernizes CI to use latest macOS runners, following patterns from lensfunpy#64.

Changes

Python 3.14 matrix entries

  • Added to all platforms (Linux x86_64/aarch64, macOS x86_64/arm64, Windows x86_64) with numpy 2.3.*

macOS runner updates

  • x86_64: macos-13macos-15-intel
  • arm64: macos-14macos-15

Dynamic Python path resolution
Replaced hardcoded version conditionals with computed paths:

# Before: manual if/elif chain for each version
if [ $PYTHON_VERSION == "3.13" ]; then
    PYBIN="/opt/python/cp313-cp313/bin"
elif...

# After: automatic computation
PYVER_NO_DOT=${PYTHON_VERSION//./}
PYBIN="/opt/python/cp${PYVER_NO_DOT}-cp${PYVER_NO_DOT}/bin"

Build optimization

  • Added PIP_PREFER_BINARY=1 across all build scripts
  • Added pip install --upgrade pip before dependency installation

💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: letmaik <530988+letmaik@users.noreply.github.com>
Copilot AI changed the title [WIP] Add Python 3.14 support based on reference PR Add Python 3.14 support Jan 24, 2026
Copilot AI requested a review from letmaik January 24, 2026 14:41
Co-authored-by: letmaik <530988+letmaik@users.noreply.github.com>
Copilot AI changed the title Add Python 3.14 support Add Python 3.14 support and update CI infrastructure Jan 24, 2026
@letmaik letmaik marked this pull request as ready for review January 24, 2026 16:44
@letmaik letmaik merged commit ae64a46 into main Jan 24, 2026
100 checks passed
@letmaik letmaik deleted the copilot/add-python-3-14-support branch January 24, 2026 16:45
Copilot AI mentioned this pull request Jan 24, 2026
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