Skip to content

bug: only python version 3.12 works #68

@micahpw

Description

@micahpw

Currently, the CI/CD only packages the python 3.12 dynamic library. In order to support the multiple python versions supported in r2x-core we need to handle multiple python versions of the dynamic library. We do need at least one dylib included in the default installation for the cli to work at all.

One solution could be to have uv add additional cdylibs to the r2x binary folder when a user switches versions, or if for some reason, the users default python version is different than the client default python version.

A less optimal solution would be to package all python cdylib versions as part of the CI/CD pipeline, but this would mean a larger binary archive to install initially.

UPDATE:
We will need to compile separate binaries for each version of python supported in r2x core. When building with PYO3, a hard link is created to the version specific shared object library, so we can't just switch between versions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions