[circuits/circuits] 70952d: test(web): fix urlparse deprecations in jsonrpc tests

0 views
Skip to first unread message

Jeffrey Hulten

unread,
Apr 24, 2026, 7:07:49 PM (4 days ago) Apr 24
to circui...@googlegroups.com
Branch: refs/heads/master
Home: https://github.com/circuits/circuits
Commit: 70952d8bcf7f168e3aa66b3e0c015447e3cf03f0
https://github.com/circuits/circuits/commit/70952d8bcf7f168e3aa66b3e0c015447e3cf03f0
Author: Jeffrey Hulten <jeffrey...@gettyimages.com>
Date: 2026-04-25 (Sat, 25 Apr 2026)

Changed paths:
M tests/web/jsonrpclib.py

Log Message:
-----------
test(web): fix urlparse deprecations in jsonrpc tests

```
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 #335



To unsubscribe from these emails, change your notification settings at https://github.com/circuits/circuits/settings/notifications
Reply all
Reply to author
Forward
0 new messages