Support Python 3.13's removal of mailcap #1643
Jelle van der Waa authored 8d663998
complete00:00:32
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
WARNING: 'engines' has been deprecated, please use 'plugins' instead
WARNING: 'exclude_paths' has been deprecated, please use 'exclude_patterns' instead
WARNING: 'ratings' has been deprecated, and will not be used
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
docker pull codeclimate/codeclimate-pep8:b25
b25: Pulling from codeclimate/codeclimate-pep8
ab6db1bc80d0: Pulling fs layer
bf17e9a1c113: Pulling fs layer
4f8d95c214b1: Pulling fs layer
0de813e89c33: Pulling fs layer
a9696c7f4cd8: Pulling fs layer
51b9219e6e44: Pulling fs layer
e3c7e34cb08c: Pulling fs layer
328f3a57c882: Pulling fs layer
43b5f16a0c84: Pulling fs layer
0de813e89c33: Waiting
a9696c7f4cd8: Waiting
51b9219e6e44: Waiting
e3c7e34cb08c: Waiting
328f3a57c882: Waiting
43b5f16a0c84: Waiting
bf17e9a1c113: Verifying Checksum
bf17e9a1c113: Download complete
a9696c7f4cd8: Verifying Checksum
a9696c7f4cd8: Download complete
ab6db1bc80d0: Verifying Checksum
ab6db1bc80d0: Download complete
51b9219e6e44: Download complete
ab6db1bc80d0: Pull complete
e3c7e34cb08c: Verifying Checksum
e3c7e34cb08c: Download complete
328f3a57c882: Download complete
bf17e9a1c113: Pull complete
0de813e89c33: Verifying Checksum
0de813e89c33: Download complete
43b5f16a0c84: Verifying Checksum
43b5f16a0c84: Download complete
4f8d95c214b1: Pull complete
0de813e89c33: Pull complete
a9696c7f4cd8: Pull complete
51b9219e6e44: Pull complete
e3c7e34cb08c: Pull complete
328f3a57c882: Pull complete
43b5f16a0c84: Pull complete
Digest: sha256:75f70c714bc5f9e65359d45469a1fe7c1b181a15aee8fbabec7e23c65b19d447
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-pep8:b25
docker pull codeclimate/codeclimate-fixme:b188
b188: Pulling from codeclimate/codeclimate-fixme
90f4dba627d6: Already exists
a3ed95caeb02: Pulling fs layer
84319a08f3d7: Pulling fs layer
9a7a3c8b75ac: Pulling fs layer
a295ebbbbdc1: Pulling fs layer
e9068dee127d: Pulling fs layer
1ba56920fd8f: Pulling fs layer
df6640a2ada9: Pulling fs layer
0b4a6fa6bdae: Pulling fs layer
9a7a3c8b75ac: Waiting
a295ebbbbdc1: Waiting
0b4a6fa6bdae: Waiting
e9068dee127d: Waiting
df6640a2ada9: Waiting
1ba56920fd8f: Waiting
a3ed95caeb02: Verifying Checksum
a3ed95caeb02: Pull complete
9a7a3c8b75ac: Verifying Checksum
9a7a3c8b75ac: Download complete
a295ebbbbdc1: Verifying Checksum
a295ebbbbdc1: Download complete
e9068dee127d: Verifying Checksum
e9068dee127d: Download complete
84319a08f3d7: Verifying Checksum
84319a08f3d7: Download complete
0b4a6fa6bdae: Verifying Checksum
0b4a6fa6bdae: Download complete
df6640a2ada9: Download complete
84319a08f3d7: Pull complete
9a7a3c8b75ac: Pull complete
a295ebbbbdc1: Pull complete
e9068dee127d: Pull complete
1ba56920fd8f: Pull complete
df6640a2ada9: Pull complete
0b4a6fa6bdae: Pull complete
Digest: sha256:a1d81814b1bcb2a08a5537aa956a566723daef4b1b02dd2bc6addf4d836a4a2d
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-fixme:b188
docker pull codeclimate/codeclimate-radon:b695
b695: Pulling from codeclimate/codeclimate-radon
e00d546a75ad: Pulling fs layer
21f0a0866768: Pulling fs layer
cd9d3946aa16: Pulling fs layer
2e56add6654f: Pulling fs layer
6c87f215a2be: Pulling fs layer
c2b31566ca3d: Pulling fs layer
21f0a0866768: Waiting
cd9d3946aa16: Waiting
2e56add6654f: Waiting
6c87f215a2be: Waiting
e00d546a75ad: Verifying Checksum
e00d546a75ad: Pull complete
21f0a0866768: Verifying Checksum
21f0a0866768: Download complete
21f0a0866768: Pull complete
6c87f215a2be: Download complete
cd9d3946aa16: Verifying Checksum
cd9d3946aa16: Download complete
c2b31566ca3d: Verifying Checksum
c2b31566ca3d: Download complete
cd9d3946aa16: Pull complete
2e56add6654f: Verifying Checksum
2e56add6654f: Download complete
2e56add6654f: Pull complete
6c87f215a2be: Pull complete
c2b31566ca3d: Pull complete
Digest: sha256:dfeb7edc634b4e2f851f3c788f7c21bd8bae097d4c66af722c76a6ba51121f98
Status: Downloaded newer image for registry.prod.codeclimate.net/codeclimate/codeclimate-radon:b695
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2024-12-07T11:30:33.803127 #1]  INFO -- : Skipping file ./extra/theme_test.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 22
    return [f"{name}: ".rjust(WIDTH), (attr, "A B C")]
                      ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:33.885332 #1]  INFO -- : Skipping file ./alot/account.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 326
    async def send_mail(self, mail):
        ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.057972 #1]  INFO -- : Skipping file ./alot/utils/ansi.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 37
    return "".join(s for *_, s in parse_csi(text))
                         ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.289545 #1]  INFO -- : Skipping file ./alot/settings/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 109
    msg = f'failed to read notmuch config with command {cmd} (exit error: {code}):\n{err}'
                                                                                         ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.337271 #1]  INFO -- : Skipping file ./alot/db/envelope.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/json/__init__.py", line 244, in dumps
    return _default_encoder.encode(obj)
  File "/usr/local/python2/lib/python2.7/json/encoder.py", line 207, in encode
    chunks = self.iterencode(o, _one_shot=True)
  File "/usr/local/python2/lib/python2.7/json/encoder.py", line 270, in iterencode
    return _iterencode(o, 0)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xf8 in position 94: invalid start byte


I, [2024-12-07T11:30:34.426560 #1]  INFO -- : Skipping file ./alot/db/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 123
    f'expected exactly two messages, got {nb_parts}')
                                                   ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.463756 #1]  INFO -- : Skipping file ./alot/ui.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 28
    async def periodic(callable_, period, *args, **kwargs):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.474122 #1]  INFO -- : Skipping file ./alot/commands/envelope.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 109
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.482531 #1]  INFO -- : Skipping file ./alot/commands/common.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 14
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.486206 #1]  INFO -- : Skipping file ./alot/commands/search.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 103
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.494289 #1]  INFO -- : Skipping file ./alot/commands/namedqueries.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.506942 #1]  INFO -- : Skipping file ./alot/commands/utils.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 13
    async def update_keys(ui, envelope, block_error=False, signed_only=False):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.522572 #1]  INFO -- : Skipping file ./alot/commands/thread.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 136
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.532078 #1]  INFO -- : Skipping file ./alot/commands/taglist.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 15
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.534572 #1]  INFO -- : Skipping file ./alot/commands/globals.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 57
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.547099 #1]  INFO -- : Skipping file ./alot/commands/bufferlist.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 23
    async def apply(self, ui):
            ^
SyntaxError: invalid syntax


I, [2024-12-07T11:30:34.899663 #1]  INFO -- : Skipping file ./alot/helper.py due to exception (CC::Engine::Analyzers::ParserError): `python2 /usr/src/app/lib/cc/engine/analyzers/python/parser.py` exited with code 1:
Traceback (most recent call last):
  File "/usr/src/app/lib/cc/engine/analyzers/python/parser.py", line 51, in <module>
    print(json.dumps(to_json(ast.parse(source))))
  File "/usr/local/python2/lib/python2.7/ast.py", line 37, in parse
    return compile(source, filename, mode, PyCF_ONLY_AST)
  File "<unknown>", line 299
    async def call_cmd_async(cmdlist, stdin=None):
            ^
SyntaxError: invalid syntax
7
pep8
pep8 engine documentation
View output
.github/ extra/ docs/ alot/
8
fixme
fixme engine documentation
9
radon
radon engine documentation
View output
Running radon3...