jsonpipe icon indicating copy to clipboard operation
jsonpipe copied to clipboard

Remove simplejson dependency for Python>=2.7

Open laurentb opened this issue 14 years ago • 2 comments

Even though the json module is in Python 2.6, OrderedDict is only present in 2.7.

laurentb avatar Apr 23 '11 22:04 laurentb

One question: since we're installing simplejson in the install_requires anyway (for all Python versions), is there an advantage to using the stdlib versions when they are present?

zacharyvoase avatar Apr 27 '11 00:04 zacharyvoase

When using pip to install the package, not really, unless there is a way to have a conditional dependency. However I've seen and wrote Gentoo ebuilds with that logic.

Also, for Python 3 and onwards, simplejson is only available from the stdlib.

laurentb avatar Apr 27 '11 06:04 laurentb