Michael R. Crusoe pushed to branch debian/experimental at Debian Python Team / 
packages / mypy


Commits:
58b5294b by Michael R. Crusoe at 2026-05-15T12:15:18+02:00
d/README.Debian: explain that the native parser & parallel parser is not 
currently available in Debian.

- - - - -


2 changed files:

- + debian/README.Debian
- debian/changelog


Changes:

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


=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mypy (2.1.0-2) UNRELEASED; urgency=medium
+
+  * d/README.Debian: explain that the native parser & parallel parser is
+    not currently available in Debian.
+
+ -- Michael R. Crusoe <[email protected]>  Fri, 15 May 2026 12:10:04 +0200
+
 mypy (2.1.0-1) experimental; urgency=medium
 
   * New upstream version



View it on GitLab: 
https://salsa.debian.org/python-team/packages/mypy/-/commit/58b5294be77b5a45a4692207c56a3d3524753c23

-- 
View it on GitLab: 
https://salsa.debian.org/python-team/packages/mypy/-/commit/58b5294be77b5a45a4692207c56a3d3524753c23
You're receiving this email because of your account on salsa.debian.org. Manage 
all notifications: https://salsa.debian.org/-/profile/notifications | Help: 
https://salsa.debian.org/help


_______________________________________________
debian-med-commit mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to