Skip to content

Commit c23f361

Browse files
[workspace] Upgrade mypy to latest commit (#17552)
Update mypy, bringing in a patch to increase the timeout before aborting an attempt to import a module. The default timeout of 5s is not long enough to import `pydrake` in some configurations. Also increase the timeout on our `stubgen_test`. See python/mypy#13109.
1 parent 22fe44c commit c23f361

File tree

2 files changed

+3
-7
lines changed

2 files changed

+3
-7
lines changed

bindings/pydrake/BUILD.bazel

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -694,11 +694,7 @@ drake_py_binary(
694694

695695
drake_py_unittest(
696696
name = "stubgen_test",
697-
tags = [
698-
# TODO(jwnimmer-tri) Re-enable this test once Debug build timeouts
699-
# have been fixed.
700-
"manual",
701-
],
697+
timeout = "moderate",
702698
deps = [
703699
":all_py",
704700
"@mypy_internal//:mypy",

tools/workspace/mypy_internal/repository.bzl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ def mypy_internal_repository(
99
name = name,
1010
repository = "python/mypy",
1111
# TODO(mwoehlke-kitware): switch to a tag >= v0.980.
12-
commit = "3ae19a25f0a39358ede1383e93d44ef9abf165e0",
13-
sha256 = "866503aed58d7207c0fe4bca9a6a51c1eaa6668157b1c5ed61b40eda71af9175", # noqa
12+
commit = "7c6faf4c7a7bac6b126a30c5c61f5d209a4312c0",
13+
sha256 = "f0ab4a26f0f75fc345865b17e4c21f34f13b7d9220eab663e96116dd326b9e48", # noqa
1414
build_file = ":package.BUILD.bazel",
1515
mirrors = mirrors,
1616
)

0 commit comments

Comments
 (0)