-
Notifications
You must be signed in to change notification settings - Fork 56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix Python deprecations #335
Comments
You planning on working through them all or do you want some help. |
I appreciate any support :-) |
I will take a swing at the jsonrpc ones. Just so we don't double up on work. |
jhulten
added a commit
to jhulten/circuits
that referenced
this issue
Apr 3, 2024
``` tests/web/test_jsonrpc.py::test /home/runner/work/circuits/circuits/tests/web/jsonrpclib.py:370: DeprecationWarning: urllib.parse.splittype() is deprecated as of 3.8, use urllib.parse.urlparse() instead utype, uri = splittype(uri) tests/web/test_jsonrpc.py::test /home/runner/work/circuits/circuits/tests/web/jsonrpclib.py:373: DeprecationWarning: urllib.parse.splithost() is deprecated as of 3.8, use urllib.parse.urlparse() instead self.__host, self.__handler = splithost(uri) tests/web/test_jsonrpc.py::test /home/runner/work/circuits/circuits/tests/web/jsonrpclib.py:236: DeprecationWarning: urllib.parse.splituser() is deprecated as of 3.8, use urllib.parse.urlparse() instead auth, host = splituser(host) ``` Replaces above uses with urllib.parse.urlparse and passed appropriate elements from the named tuple it returns. Refs circuits#335
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: