pikers / piker

(e2e) foss trading for non-tinas
GNU Affero General Public License v3.0
102 stars 17 forks source link

`python3.11` support... ish. #506

Closed goodboy closed 1 year ago

goodboy commented 1 year ago

python 3.11 just landed on arch 🏄🏼

Everything seems to be running fine for me with the small numpy.float removal 💥

Please give it a shot if you've got a copy of the new cpython interpreter 😎


wut's new bby!

https://docs.python.org/3/whatsnew/3.11.html

goodboy commented 1 year ago

Oof! stuff still a bit borked for pikerd --tsdb, namely docker py apis that changed; patch comin stat!

https://github.com/docker/docker-py/issues/3113

goodboy commented 1 year ago

I think this is also due to 3.11 which is causing an asyncio breakage inside ib_insync: https://github.com/erdewit/ib_insync/issues/585

goodboy commented 10 months ago

Hah! figured out the issue finally..

Turns out they removed support for passing coros to asyncio.wait().. https://docs.python.org/3/library/asyncio-task.html#asyncio.wait

So we need to instead use .wait_for() on the ib_insync.Ticker.TickerUpdateEvent: eventkit.Event..