Debian Codegraph @

debian/README.Debian

raw
1 mypy 2.x for Debian
2 -------------------
3
4 Mypy 2.x include a rust-based native parser that is not yet packaged in Debian.
5 Until that library is packaged [1], the Debian package of mypy 2.x does not
6 have both the native parser and parallel parsing features, and their
7 command-line options (`--native-parser`, `--num-workers`) are silently accepted
8 and ignored. The parallel parsing feature requires the native parser, so it had
9 to also be disabled.
10
11 [1] The mypy native parsing Python library "ast_serialize" requires private Rust
12 crates from "ruff" that are not published independently (on crates.io or
13 similar) nor distributed (vendored) by ast_serialize itself. The Debian package
14 for ruff[2] is quite behind the version pinned by ast_serialize and is
15 currently (2026-05-15) not even in Debian's "testing" distribution.
16 Additionally, it is likely that whatever is blocking the ruff packagers from
17 upgrading to more recent releases would be a challenge for packaging the
18 specific private crates needed by ast_serialize.
19
20 https://github.com/mypyc/ast_serialize/issues/49
21 https://bugs.debian.org/1074734 Latest update on ruff packaging
22
23 [2] https://tracker.debian.org/pkg/ruff
24
25 -- Michael R. Crusoe <[email protected]>, Fri, 15 May 2026 12:09:17 +0200