Michael R. Crusoe pushed to branch debian/experimental at Debian Python Team / packages / mypy
Commits: 2f2dbc4e by Michael R. Crusoe at 2026-09-15T10:20:16+02:00 d/rules: skip some tests on riscv64 - - - - - 2 changed files: - debian/changelog - debian/rules Changes: ===================================== debian/changelog ===================================== @@ -1,3 +1,9 @@ +mypy (2.3.1-2) experimental; urgency=medium + + * d/rules: skip some tests on riscv64 + + -- Michael R. Crusoe <[email protected]> Tue, 15 Sep 2026 10:20:07 +0200 + mypy (2.3.1-1) experimental; urgency=medium * New upstream version ===================================== debian/rules ===================================== @@ -27,10 +27,16 @@ else endif export TEST_MYPYC=$(build_MYPY_USE_MYPYC) export MYPY_TEST_PREFIX=$(CURDIR) +self_test_joblimit := $(or $(DEB_BUILD_OPTION_PARALLEL),1) +ifneq (,$(filter $(DEB_HOST_ARCH),riscv64)) + self_test_joblimit=0 + riscv_no_test= or testShadowFileWithNativeParserParallel or testPackageRootMultipleParallel or testParallelRunWithSyntaxError or testCheckingStubPackagesWorksInParallelMode +endif +# riscv test failures: https://github.com/python/mypy/issues/21969 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 testOutputJsonParallel or testOutputJsonSyntaxErrorParallel)' + -k 'not (PEP561Suite or testIgnoreImportIfNoPython3StubAvailable or testNoPython3StubAvailable or testCustomTypeshedDirWithRelativePathDoesNotCrash or testDaemonStatusKillRestartRecheck or testOutputJsonParallel or testOutputJsonSyntaxErrorParallel $(riscv_no_test))' # 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 @@ -39,6 +45,7 @@ export PYBUILD_TEST_ARGS=$(DEB_BUILD_OPTION_PARALLEL:%=-n%) \ # testOutputJsonParallel: flaky https://github.com/python/mypy/issues/21905 # testOutputJsonSyntaxErrorParallel: flaky https://github.com/python/mypy/issues/21905 + %: dh $@ --buildsystem=pybuild @@ -93,12 +100,15 @@ execute_before_dh_auto_test-arch: ifeq (,$(filter nocheck,$(DEB_BUILD_PROFILES))) PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="{interpreter} -m mypy \ - --config-file {dir}/mypy_self_check.ini -p mypy" dh_auto_test + --config-file {dir}/mypy_self_check.ini \ + --num-workers $(self_test_joblimit) -p mypy" dh_auto_test PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="{interpreter} -m mypy \ + --num-workers $(self_test_joblimit) \ --config-file {dir}/mypy_self_check.ini -p mypyc" dh_auto_test PYBUILD_SYSTEM=custom \ PYBUILD_TEST_ARGS="{interpreter} -m mypy \ + --num-workers $(self_test_joblimit) \ --config-file {dir}/mypy_self_check.ini setup.py" dh_auto_test endif View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/2f2dbc4e21b0aa496f63f35203a3406705dc6cef -- View it on GitLab: https://salsa.debian.org/python-team/packages/mypy/-/commit/2f2dbc4e21b0aa496f63f35203a3406705dc6cef 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
