remove stream.py dependency