From 1a3f76a38e9c3ad6f7df825445e97bfc396577c6 Mon Sep 17 00:00:00 2001 From: Saleh Mir Date: Tue, 22 Feb 2022 15:19:54 +0100 Subject: [PATCH] bring back simplejson --- jesse/libs/custom_json/__init__.py | 2 +- jesse/services/redis.py | 2 +- jesse/version.py | 2 +- requirements.txt | 2 +- setup.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jesse/libs/custom_json/__init__.py b/jesse/libs/custom_json/__init__.py index d4788f7..0685358 100644 --- a/jesse/libs/custom_json/__init__.py +++ b/jesse/libs/custom_json/__init__.py @@ -1,5 +1,5 @@ import numpy as np -import jimplejson as json +import simplejson as json class NpEncoder(json.JSONEncoder): diff --git a/jesse/services/redis.py b/jesse/services/redis.py index 06f6371..6cfdc86 100644 --- a/jesse/services/redis.py +++ b/jesse/services/redis.py @@ -1,6 +1,6 @@ import aioredis import redis as sync_redis_lib -import jimplejson as json +import simplejson as json import asyncio import jesse.helpers as jh from jesse.libs.custom_json import NpEncoder diff --git a/jesse/version.py b/jesse/version.py index 5d59568..1e22f9a 100644 --- a/jesse/version.py +++ b/jesse/version.py @@ -1 +1 @@ -__version__ = '0.33.2' +__version__ = '0.33.3' diff --git a/requirements.txt b/requirements.txt index 978e14e..e461128 100644 --- a/requirements.txt +++ b/requirements.txt @@ -20,7 +20,7 @@ TA-Lib==0.4.24 tabulate==0.8.9 timeloop==1.0.2 websocket-client==1.2.3 -jimplejson==1.0.0 +simplejson==3.16.0 aioredis==1.3.1 redis==4.1.4 fastapi==0.74.0 diff --git a/setup.py b/setup.py index a4b6fb8..12e11ae 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,7 @@ from setuptools import setup, find_packages # also change in version.py -VERSION = '0.33.2' +VERSION = '0.33.3' DESCRIPTION = "A trading framework for cryptocurrencies" with open("requirements.txt", "r", encoding="utf-8") as f: REQUIRED_PACKAGES = f.read().splitlines()