Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make clickhouse-cityhash dependency optional #76

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

samuelcolvin
Copy link
Contributor

As per xzkostyan/clickhouse-cityhash#3 clickhouse-cityhash can't currently be installed on M1 macs, it's also not required in many scenariois.

The solution is to only import it when it needs to be used, and make it an optional dependency.

I've installed this branch locally and it's working fine.

I'm not at all clear on how to correctly implement optional dependencies with poetry, please let me know if something needs changing here.

@long2ice
Copy link
Owner

Thanks! Please fix the CI

@samuelcolvin
Copy link
Contributor Author

samuelcolvin commented Jul 28, 2023

done 🤞, maybe could allow my workflows to run without awaiting approval?

@long2ice
Copy link
Owner

Which is just for first time contributor. Please fix the test, thanks!

@samuelcolvin
Copy link
Contributor Author

@long2ice any chance you could approve the workflow?

@long2ice long2ice merged commit cf50aff into long2ice:dev Aug 7, 2023
1 check passed
@long2ice
Copy link
Owner

long2ice commented Aug 7, 2023

Thanks!

@samuelcolvin samuelcolvin deleted the compression-optional branch August 7, 2023 09:33
@samuelcolvin samuelcolvin restored the compression-optional branch August 7, 2023 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants