Skip to content

Conversation

@DavidMStraub
Copy link
Owner

Closes #18

Also updated the version.

Still need to update the workflow

@DavidMStraub DavidMStraub marked this pull request as ready for review November 18, 2025 14:03
Copy link

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 implements Python Stable ABI (abi3) support for the SWIG-generated rundec Python wrapper. The main changes include:

  • Adding Stable ABI macros to setup.py and rundec.i to enable building abi3-compatible wheels
  • Updating from SWIG 4.2.0 to 4.3.0 with corresponding code generation changes
  • Updating the minimum supported Python version from 2.7/3.5+ to 3.10+
  • Modernizing the GitHub Actions workflow to build abi3 wheels

Reviewed Changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
setup.py Added py_limited_api=True and Py_LIMITED_API macro definition; updated version to 0.7 and author email
rundec.i Added %begin block to define Py_LIMITED_API before SWIG includes
_rundec.cc SWIG-generated file updated from 4.2.0 to 4.3.0 with Stable ABI compatibility changes
rundec.py SWIG version comment updated from 4.2.0 to 4.3.0
README.md Updated Python version requirement from 2.7/3.5+ to 3.10+
.github/workflows/wheels.yml Added sdist build job, restricted wheel builds to cp310-* for abi3, updated OS versions, added release trigger
.github/workflows/test.yml Updated test matrix from Python 3.7-3.10 to 3.10-3.14

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

@DavidMStraub DavidMStraub merged commit 23ef057 into master Nov 18, 2025
10 checks passed
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.

New wheel needed for python 3.14

2 participants