aiokafka requires the python3 module 'typing', when run on a version below 3.5. As jessie packages python 3.4, this means that we need a .deb of this module. Note: stretch packages python 3.5, and so this is not needed for stretch.
Pypi location: https://pypi.python.org/pypi/typing/3.6.4
As our packaging for python modules is inconsistent, I need some direction from SRE as to what the correct way to do this is:
- Use fpm or a similar tool to build a binary package, and hand the binary package over.
- Create a repo that includes the module source and a debian/ directory, hand that off for build and upload
- Create a source .deb, hand that off to have a binary package built and uploaded to apt.
- Build the binary packages myself, and hand those off to be uploaded
Note that the second of the options above is the one that conforms with the debian packaging guidelines.