Run of multiarch-fixes for python-osprofiler

Try this locally (using the lintian-brush package):

debcheckout python-osprofiler
cd python-osprofiler
DEB_UPDATE_CHANGELOG=auto apply-multiarch-hints
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
[2021-06-17 09:59:32] Running ['apply-multiarch-hints']
[2021-06-17 09:59:32] Opening branch at https://salsa.debian.org/openstack-team/libs/python-osprofiler.git/,branch=debian%2Fwallaby
[2021-06-17 09:59:33] Using cached branch https://janitor.debian.net/git/python-osprofiler/,branch=debian%2Flatest
[2021-06-17 09:59:33] Total 2913 (delta 0), reused 0 (delta 0), pack-reused 2913
[2021-06-17 09:59:33] 
[2021-06-17 09:59:35] Total 154 (delta 36), reused 36 (delta 36), pack-reused 115
[2021-06-17 09:59:35] Workspace ready - starting.
python-osprofiler-doc: Add Multi-Arch: foreign.
Traceback (most recent call last):
  File "/usr/bin/apply-multiarch-hints", line 33, in <module>
    sys.exit(load_entry_point('lintian-brush==0.106', 'console_scripts', 'apply-multiarch-hints')())
  File "/home/janitor/debian-janitor/lintian-brush/lintian_brush/multiarch_hints.py", line 492, in main
    json.dump(f, {
  File "/usr/lib/python3.9/json/__init__.py", line 179, in dump
    for chunk in iterable:
  File "/usr/lib/python3.9/json/encoder.py", line 438, in _iterencode
    o = _default(o)
  File "/usr/lib/python3.9/json/encoder.py", line 179, in default
    raise TypeError(f'Object of type {o.__class__.__name__} '
TypeError: Object of type TextIOWrapper is not JSON serializable

Full worker log