[med-svn] [Git][python-team/packages/mypy][master] d/rules: run tests related to the native parser and skip two flaky parallel tests.
Michael R. Crusoe (@crusoe)
gitlab at salsa.debian.org
Sat Aug 29 19:06:43 BST 2026
Michael R. Crusoe pushed to branch master at Debian Python Team / packages / mypy
Commits:
a0d0e09b by Michael R. Crusoe at 2026-08-29T09:54:36+02:00
d/rules: run tests related to the native parser and skip two flaky parallel tests.
- - - - -
2 changed files:
- debian/changelog
- debian/rules
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+mypy (2.2.0-4) unstable; urgency=medium
+
+ * d/rules: run tests related to the native parser and skip two flaky
+ parallel tests.
+
+ -- Michael R. Crusoe <crusoe at debian.org> Fri, 28 Aug 2026 18:29:39 +0200
+
mypy (2.2.0-3) unstable; urgency=medium
* python3-ast-serialize is in the archive; build-dep on it and enable
=====================================
debian/rules
=====================================
@@ -30,15 +30,14 @@ export MYPY_TEST_PREFIX=$(CURDIR)
export PYBUILD_TEST_ARGS=$(DEB_BUILD_OPTION_PARALLEL:%=-n%) \
-o python_files=test*.py \
-o python_classes= -o python_functions= --pyargs mypy.test mypyc.test \
- -k 'not (PEP561Suite or testIgnoreImportIfNoPython3StubAvailable or testNoPython3StubAvailable or testCustomTypeshedDirWithRelativePathDoesNotCrash or testDaemonStatusKillRestartRecheck or testParallelRunWithSyntaxError or testCannotDisableCacheInParallelMode or testNativeParser)'
+ -k 'not (PEP561Suite or testIgnoreImportIfNoPython3StubAvailable or testNoPython3StubAvailable or testCustomTypeshedDirWithRelativePathDoesNotCrash or testDaemonStatusKillRestartRecheck or testOutputJsonParallel or testOutputJsonSyntaxErrorParallel)'
# PEP561Suite: needs internet access to pypi.org
# testIgnoreImportIfNoPython3StubAvailable: needs scribe installed (it isn't packaged for Debian)
# testNoPython3StubAvailable: no longer works because python3-typeshed includes docutils types, which it isn't expecting
# testCustomTypeshedDirWithRelativePathDoesNotCrash: fails as the mypy_extensions package is installed, so a different error appears
# testDaemonStatusKillRestartRecheck: fails for sbuild/unshare
-# testParallelRunWithSyntaxError: no parallel support until we package ast_serialize
-# testCannotDisableCacheInParallelMode: no parallel support until we package ast_serialize
-# testNativeParser*: no native parser untill we package ast_serialize
+# testOutputJsonParallel: flaky https://github.com/python/mypy/issues/21905
+# testOutputJsonSyntaxErrorParallel: flaky https://github.com/python/mypy/issues/21905
%:
dh $@ --buildsystem=pybuild
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/a0d0e09b0cf9e7cf8a81ac1fba7c0a3ffc1063f8
--
View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/a0d0e09b0cf9e7cf8a81ac1fba7c0a3ffc1063f8
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20260829/c9a66654/attachment-0001.htm>
More information about the debian-med-commit
mailing list