-
Notifications
You must be signed in to change notification settings - Fork 1
Description
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.