Skip to content
Snippets Groups Projects
Commit b32e8a60 authored by nimishsantosh107's avatar nimishsantosh107
Browse files

Bump version 3.0.14 → 3.0.15, msgpack unpackb removed encoding argument for v1.0

parent df9dd83e
No related branches found
No related tags found
No related merge requests found
No preview for this file type
...@@ -4,4 +4,4 @@ ...@@ -4,4 +4,4 @@
__author__ = """S.P. Mohanty""" __author__ = """S.P. Mohanty"""
__email__ = 'mohanty@aicrowd.com' __email__ = 'mohanty@aicrowd.com'
__version__ = '3.0.14' __version__ = '3.0.15'
...@@ -175,7 +175,6 @@ class FlatlandRemoteClient(object): ...@@ -175,7 +175,6 @@ class FlatlandRemoteClient(object):
error_bytes, error_bytes,
object_hook=m.decode, object_hook=m.decode,
strict_map_key=False, # new for msgpack 1.0? strict_map_key=False, # new for msgpack 1.0?
encoding="utf8" # remove for msgpack 1.0
) )
print("Error received: ", error_dict) print("Error received: ", error_dict)
raise TimeoutException(error_dict["type"]) raise TimeoutException(error_dict["type"])
...@@ -200,7 +199,6 @@ class FlatlandRemoteClient(object): ...@@ -200,7 +199,6 @@ class FlatlandRemoteClient(object):
_response, _response,
object_hook=m.decode, object_hook=m.decode,
strict_map_key=False, # new for msgpack 1.0? strict_map_key=False, # new for msgpack 1.0?
encoding="utf8" # remove for msgpack 1.0
) )
if _response['type'] == messages.FLATLAND_RL.ERROR: if _response['type'] == messages.FLATLAND_RL.ERROR:
raise Exception(str(_response["payload"])) raise Exception(str(_response["payload"]))
......
...@@ -594,7 +594,6 @@ class FlatlandRemoteEvaluationService: ...@@ -594,7 +594,6 @@ class FlatlandRemoteEvaluationService:
command, command,
object_hook=m.decode, object_hook=m.decode,
strict_map_key=False, # msgpack 1.0 strict_map_key=False, # msgpack 1.0
encoding="utf8" # msgpack 1.0
) )
if self.verbose: if self.verbose:
print("Received Request : ", command) print("Received Request : ", command)
......
[bumpversion] [bumpversion]
current_version = 3.0.14 current_version = 3.0.15
commit = True commit = True
tag = True tag = True
......
...@@ -80,6 +80,6 @@ setup( ...@@ -80,6 +80,6 @@ setup(
test_suite='tests', test_suite='tests',
tests_require=test_requirements, tests_require=test_requirements,
url='https://gitlab.aicrowd.com/flatland/flatland', url='https://gitlab.aicrowd.com/flatland/flatland',
version='3.0.14', version='3.0.15',
zip_safe=False, zip_safe=False,
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment