tpodlaski / copra

Ansyncronous REST and WebSocket Python clients for the Coinbase Pro virtual currency trading platform.
MIT License
49 stars 15 forks source link

update autobahn dependency #1

Closed meister245 closed 6 years ago

meister245 commented 6 years ago

Description

There were changes made in Python 3.7 that cause an issue in asyncio. With a clean install of copra from PyPi, the 'autobahn' dependency version that is installed is 18.7.1 which is impacted by this error.

File "C:\Users\******\AppData\Local\Programs\Python\Python37\lib\site-packages\autobahn\asyncio\websocket.py", lin
52
  ensure_future = asyncio.async

SyntaxError: invalid syntax

What I Did

A fix was released for autobahn that addresses this issue in latest version.

pip install autobahn==18.8.1
tpodlaski commented 6 years ago

Thank you for reporting this. As of version 1.0.6, copra now requires autobahn >= 18.8.1.