tcalmant / jsonrpclib

A Python (2 & 3) JSON-RPC over HTTP that mirrors the syntax of xmlrpclib (aka jsonrpclib-pelix)
https://jsonrpclib-pelix.readthedocs.io/
Apache License 2.0
53 stars 24 forks source link

Add support for python 3.8/3.9 #44

Closed citrus-it closed 3 years ago

citrus-it commented 3 years ago
# |   File "/usr/lib/python3.9/vendor-packages/jsonrpclib/jsonrpc.py", line 570, in __init__
# |     schema, uri = splittype(uri)
# |   File "/usr/lib/python3.9/urllib/parse.py", line 1009, in splittype
# |     warnings.warn("urllib.parse.splittype() is deprecated as of 3.8, "
# | DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead

Travis does not have 3.9 yet so I only added 3.7 and 3.8, which both pass.

coveralls commented 3 years ago

Coverage Status

Coverage increased (+0.07%) to 83.98% when pulling f95cfacf2af93d49946c49aafa2d66390b243030 on citrus-it:python39 into b784c700ff97e0c6839c927b597d7ba02f809c38 on tcalmant:master.

tcalmant commented 3 years ago

Thanks for the contribution (and for reminding me to check some other projects :) ). I'll release the new version later today or tomorrow.