Requirement update

Bugfix
This commit is contained in:
KEriks 2021-07-20 13:25:02 +03:00
parent 5a1f7801a2
commit b8884b4877
3 changed files with 10 additions and 11 deletions

View File

@ -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)

View File

@ -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

View File

@ -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(