-
Notifications
You must be signed in to change notification settings - Fork 907
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
httpx migration problems #1882
Comments
Same issue as #1879. They suddenly decided on a patch version to make requirements for schema registry and other serializer/deserializers optional. From updated README, you now have to install it as pip install confluent-kafka[schemaregistry]
# or if you need one of serializers/deserializers like avro
pip install confluent-kafka[avro,schemaregistry] |
It actually crashed our Databricks jobs... It definately should no be smuggled in as a minor version patch |
@Nemeczek - crashed some of our Databricks jobs as well (although not any production jobs, fortunately). We have previously allowed non-production jobs to not pin minor and/or patch versions for dependencies to allow for security updates. But I guess going forward we will use bots to update package dependencies as needed for these jobs as well. |
We have a CI build that is failing the same way with version 2.8 of the library. Installed with conda:
Error:
|
Description
Seems that the Python client with the latest update to 2.6.2 is broken...
All kinds of modules probably required for httpx are seemingly not listed in the dependencies of confluent_kafka and when you import confluent_kafka, you get all kinds of errors like this:
ModuleNotFoundError: No module named 'httpx'
ModuleNotFoundError: No module named 'cachetools'
ModuleNotFoundError: No module named 'google.type'
etc.
How to reproduce
...and if you install httpx, you get other missing dependencies...
I think these dependencies should be part of confluent_kafka and should not have to be installed manually by the user...
Checklist
Please provide the following information:
confluent_kafka.version()
andconfluent_kafka.libversion()
): 2.6.2The text was updated successfully, but these errors were encountered: