scylladb / scylla-cqlsh

A fork of the cqlsh code
Apache License 2.0
11 stars 29 forks source link

Find a way to package python driver wheels #90

Closed fruch closed 3 weeks ago

fruch commented 1 month ago

Currently the packaging part packages python driver as source package zip file

We should find a way to package wheels, since in python 3.12 we'll need the libev eventloop enable, otherwise we'll fall back to asyncio which isn't full operational yet

Or error, not find a default eventloop

We might in the process need to change the package to be arch specific, so we won't pack all architectures, or find a way to select correctly the wheel to load

fruch commented 1 month ago

Using shiv might elevate some of the issues, and allow having a full virtual env included include binary wheels

https://github.com/linkedin/shiv

fruch commented 4 weeks ago

taking this change for ride in scylla: https://github.com/scylladb/scylladb/pull/19385

to see if it would be compiled, packaged, and running in dtest as expected

fruch commented 4 weeks ago

Note: one would need to check if scylla-pkg need any adaptation for this