Skip to content

Have SWIG use the Python limited API #458

@ShadowJonathan

Description

@ShadowJonathan

This is a consideration; currently with #448 we are building for every single Python version, as this is required for Python compatibility.

However, Python has a "Limited API" that is forward compatible for all versions starting from the version that an extension (packaged in a wheel) is built for.

SWIG appears to support this: swig/swig#1009

This would;

  • decrease the amount of wheels needed to be built
  • consequently; decrease CI build times
  • make soar-sml binary releases forward-compatible with all Python versions that come after, even ones unknown at the time of release

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions