Closed jrcavani closed 1 year ago
Getting a compatible version of librocksdb-dev
has been an issue for me as well, hence why RocksDB libraries are packaged into the wheel.
We test with multiple versions of RocksDB as indicated in: https://github.com/faust-streaming/python-rocksdb/blob/91e60f2a54235640c50a505a82166e3dbf9831b9/.github/workflows/build.yml#L22
However, we have a specific version of RocksDB hardcoded into our release workflow: https://github.com/faust-streaming/python-rocksdb/blob/91e60f2a54235640c50a505a82166e3dbf9831b9/.github/workflows/dist.yml#L20
Before we had wheels for faust-streaming-rocksdb
, I built this library inside an Ubuntu:22.04
container. As you can see on https://packages.ubuntu.com/search?suite=default§ion=all&arch=any&keywords=rocksdb&searchon=names, you'll have different versions available dependent on your version of Ubuntu:
[bionic (18.04LTS)](https://packages.ubuntu.com/bionic/librocksdb-dev) (libdevel): persistent Key-Value Store for Flash and RAM Storage (development) [universe]
5.8.8-1: amd64 arm64 ppc64el
[focal (20.04LTS)](https://packages.ubuntu.com/focal/librocksdb-dev) (libdevel): persistent Key-Value Store for Flash and RAM Storage (development) [universe]
5.17.2-3: amd64 arm64 ppc64el s390x
[jammy (22.04LTS)](https://packages.ubuntu.com/jammy/librocksdb-dev) (libdevel): persistent Key-Value Store for Flash and RAM Storage (development) [universe]
6.11.4-3: amd64 arm64 ppc64el s390x
[kinetic (22.10)](https://packages.ubuntu.com/kinetic/librocksdb-dev) (libdevel): persistent Key-Value Store for Flash and RAM Storage (development) [universe]
7.3.1-2: amd64 arm64 armhf ppc64el s390x
[lunar](https://packages.ubuntu.com/lunar/librocksdb-dev) (libdevel): persistent Key-Value Store for Flash and RAM Storage (development) [universe]
7.3.1-2: amd64 arm64 armhf ppc64el s390x
Upgrade your Ubuntu Docker image and you should be fine.
Hello,
I was able to install the x86 python whl from pypi: https://pypi.org/project/faust-streaming-rocksdb/#files
Each whl contains a few precompiled dynamic libs:
I was wondering which script compiles these libraries and how they can be packaged into the whl. The
Dockerfile
installslibrocksdb-dev
from Ubuntu 20.04 package, which is RockDB 5, rather than 6.14.