Skip to content
Snippets Groups Projects
Unverified Commit d194613d authored by Andrej Shadura's avatar Andrej Shadura
Browse files

Phase out OrderedDict usage since xmltodict 0.13 no longer uses it


Signed-off-by: default avatarAndrej Shadura <andrew.shadura@collabora.co.uk>
parent 56457022
No related branches found
No related tags found
1 merge request!33Drop HTTP proxy support, upgrade Websockets to 10.0
Pipeline #498234 failed
......@@ -86,11 +86,11 @@ class Worker:
... </worker>''')
Worker(port=1234, hostarch='armv8l', ip='1.2.3.4',
meta={'linux':
OrderedDict([('version', '4.19.0-14'),
('flavor', 'arm64')]),
{'version': '4.19.0-14',
'flavor': 'arm64'},
'hardware':
OrderedDict([('cpu', None),
('processors', '8')])},
{'cpu': None,
'processors': '8'}},
workerid='worker-1:1')
>>> Worker.fromxml('''
... <worker hostarch="aarch64" ip="4.3.2.1" port="4321" workerid="worker-2:2">
......@@ -110,11 +110,11 @@ class Worker:
Worker(port=4321, hostarch='aarch64', ip='4.3.2.1',
meta={'sandbox': 'chroot',
'linux':
OrderedDict([('version', '4.19.0-5'),
('flavor', 'arm64')]),
{'version': '4.19.0-5',
'flavor': 'arm64'},
'hardware':
OrderedDict([('cpu', None),
('processors', '24')]),
{'cpu': None,
'processors': '24'},
'job': 'debian:bookworm::default::systemd-4834c55cd01c5ef054f079c3af4f9533',
'arch': 'aarch64',
'jobid': '211438592abc7892a636a711f9dc339c'},
......
......@@ -28,7 +28,7 @@ install_requires =
json-rpc ~= 1.12
Quart >= 0.11, < 0.18
websockets ~= 10.0
xmltodict ~= 0.12
xmltodict ~= 0.13
aiofiles ~= 0.8
jinja2 ~= 3.0.0
tests_require = obs-proxy[test]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment