[x ] I have included information about relevant versions
[ x] I have verified that the issue persists when using the master branch of Faust.
Steps to reproduce
Use aiokafka @ git+https://github.com/aio-libs/aiokafka.git@88c694546101e43c92d3a7349f02a9f74798766f as a dependency
Expected behavior
Work as normal
Actual behavior
Requires kafka-python, which is not explicitly declared as a requirement of faust - it is an assumed dependency of aiokafka, which will no longer be a dependency of aiokafka from the next release. kafka-python has been "abandoned" (according to aiokafka anyway). The dependencies
Full traceback
...
File "/usr/local/lib/python3.12/site-packages/faust/transport/drivers/aiokafka.py", line 38, in <module>
from kafka import TopicPartition
ModuleNotFoundError: No module named 'kafka'
Checklist
master
branch of Faust.Steps to reproduce
Use
aiokafka @ git+https://github.com/aio-libs/aiokafka.git@88c694546101e43c92d3a7349f02a9f74798766f
as a dependencyExpected behavior
Work as normal
Actual behavior
Requires
kafka-python
, which is not explicitly declared as a requirement offaust
- it is an assumed dependency ofaiokafka
, which will no longer be a dependency ofaiokafka
from the next release.kafka-python
has been "abandoned" (according toaiokafka
anyway). The dependenciesFull traceback
Versions
Python version All
Faust version master
See https://github.com/faust-streaming/faust/pull/565