From 432bd9647442ec8b20071ee80f300e3498e22691 Mon Sep 17 00:00:00 2001 From: Guillermo Rodriguez Date: Sun, 16 May 2021 18:53:54 -0300 Subject: [PATCH] Added missing toml dependency to setup.py Pinned qdarkstyle to 2.8.1 Updated arrow timestamp api used in kraken backend --- piker/brokers/kraken.py | 2 +- setup.py | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/piker/brokers/kraken.py b/piker/brokers/kraken.py index 3620f19a..824b3710 100644 --- a/piker/brokers/kraken.py +++ b/piker/brokers/kraken.py @@ -181,7 +181,7 @@ class Client: ) -> dict: if since is None: since = arrow.utcnow().floor('minute').shift( - minutes=-count).timestamp + minutes=-count).timestamp() # UTC 2017-07-02 12:53:20 is oldest seconds value since = str(max(1499000000, since)) json = await self._public( diff --git a/setup.py b/setup.py index 6a37f47e..76246e56 100755 --- a/setup.py +++ b/setup.py @@ -40,6 +40,7 @@ setup( ] }, install_requires=[ + 'toml', 'click', 'colorlog', 'attrs', @@ -69,7 +70,7 @@ setup( # UI 'PyQt5', 'pyqtgraph', - 'qdarkstyle', + 'qdarkstyle==2.8.1', # tsdbs 'pymarketstore',