Skip to content

Commit 7bf0935

Browse files
author
Emanuele Palazzetti
authored
Merge pull request #120 from palazzem/json-default-encoder
[encoder] using JSONEncoder by default
2 parents 184e325 + 6e05e41 commit 7bf0935

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

ddtrace/encoding.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
import json
2-
import msgpack
32
import logging
43

54

65
# check msgpack CPP implementation; if the import fails, we're using the
76
# pure Python implementation that is really slow, so the ``Encoder`` should use
87
# a different encoding format
98
try:
9+
import msgpack
1010
from msgpack._packer import Packer # noqa
1111
from msgpack._unpacker import unpack, unpackb, Unpacker # noqa
1212
MSGPACK_CPP = True

setup.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ def run_tests(self):
5858
packages=find_packages(exclude=['tests*']),
5959
install_requires=[
6060
"wrapt",
61-
"msgpack-python",
6261
],
6362
# plugin tox
6463
tests_require=['tox', 'flake8'],

0 commit comments

Comments
 (0)