Skip to content

Make lz4 support and dependency optional #461

Open
@Jens-Dittrich

Description

@Jens-Dittrich

Is your feature request related to a problem? Please describe.
The python-lz4 dependency of clickhouse-connect causes issues in supporting newer python versions. Python 3.12 wheels of lz4 were released months after the initial language release, Python 3.13 wheels are not yet built. I am maintaining a larger internal library of 23 packages where the one package dealing with clickhouse is the only one which blocks supporting 3.13 for the entire library because of the dependency.

Describe the solution you'd like
Make python-lz4 an optional dependency to clickhouse-connect. Users who require it can still us it, however not everyone who does not have a C-Compiler on his/her system would be blocked.

Describe alternatives you've considered
Building lz4 wheels myself and upload to our internal pypi/artifactory. However, the very fact that python-lz4 is only maintained by one individual who apparently cannot spend larger amount of time into this project, remains an issue.

Additional context
https://pyreadiness.org/3.13/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions