Skip to content

Commit

Permalink
Fix demjson 2to3 install failure
Browse files Browse the repository at this point in the history
Use the new demjson3 library to fix consullock install failure.
demjson is no longer possible to install on python3 when
setuptools >58.0.0 is used.

See this issue for more details:
dmeranda/demjson#40

Fixes wtsi-hgi#4
  • Loading branch information
logan2211 committed Sep 13, 2021
1 parent deb07ab commit 52e5eb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion consullock/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from os.path import normpath
from typing import List, Any, Optional, Dict

import demjson as demjson
import demjson3 as demjson

from consullock._logging import create_logger
from consullock.configuration import DEFAULT_SESSION_TTL, DEFAULT_LOG_VERBOSITY, DEFAULT_NON_BLOCKING, \
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
python-consul>=0.7.2
timeout-decorator>=0.4.0
hgijson>=1.5.0
demjson>=2.2.4
demjson3>=3.0.5
munch>=2.2.0

0 comments on commit 52e5eb4

Please sign in to comment.