From b8884b4877278ae66c11ad245be6f9938c1b6efe Mon Sep 17 00:00:00 2001 From: KEriks Date: Tue, 20 Jul 2021 13:25:02 +0300 Subject: [PATCH] Requirement update Bugfix --- erepublik/utils.py | 4 ++-- requirements_dev.txt | 8 ++++---- setup.py | 9 ++++----- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/erepublik/utils.py b/erepublik/utils.py index ff0c39c..151b90e 100644 --- a/erepublik/utils.py +++ b/erepublik/utils.py @@ -232,12 +232,12 @@ def json_decode_object_hook( def json_load(f, **kwargs): - kwargs.update(object_hook=json_decode_object_hook) + # kwargs.update(object_hook=json_decode_object_hook) return json.load(f, **kwargs) def json_loads(s: str, **kwargs): - kwargs.update(object_hook=json_decode_object_hook) + # kwargs.update(object_hook=json_decode_object_hook) return json.loads(s, **kwargs) diff --git a/requirements_dev.txt b/requirements_dev.txt index 4046287..0d5c612 100644 --- a/requirements_dev.txt +++ b/requirements_dev.txt @@ -8,14 +8,14 @@ isort==5.9.2 pip==21.1.3 pre-commit==2.13.0 pur==5.4.2 -PyInstaller==4.3 +PyInstaller==4.4 PySocks==1.7.1 pytest==6.2.4 pytz==2021.1 -requests==2.25.1 +requests==2.26.0 requests-toolbelt==0.9.1 responses==0.13.3 -setuptools==57.1.0 -Sphinx==4.0.3 +setuptools==57.4.0 +Sphinx==4.1.1 twine==3.4.1 wheel==0.36.2 diff --git a/setup.py b/setup.py index 347023f..e1e7ccc 100644 --- a/setup.py +++ b/setup.py @@ -12,17 +12,16 @@ with open('HISTORY.rst') as history_file: history = history_file.read() requirements = [ - 'PySocks>=1.7.1', - 'pytz>=2021.1', - 'requests>=2.25.0', - 'requests-toolbelt>=0.9.0', + 'PySocks==1.7.1', + 'pytz==2021.1', + 'requests==2.26.0', + 'requests-toolbelt==0.9.1', ] setup_requirements = [] test_requirements = [ "pytest==6.2.4", - "responses==0.13.3" ] setup(