diff --git a/.github/workflows/latest_deps.yml b/.github/workflows/latest_deps.yml
index ec6391cf8fd41e09d8f4dba8da72f700ca11de32..7b839f59c1d9982b0bcf07dc376eb6289249e35c 100644
--- a/.github/workflows/latest_deps.yml
+++ b/.github/workflows/latest_deps.yml
@@ -57,8 +57,8 @@ jobs:
       # `pip install matrix-synapse[all]` as closely as possible.
       - run: poetry update --no-dev
       - run: poetry run pip list > after.txt && (diff -u before.txt after.txt || true)
-      - name: Remove warn_unused_ignores from mypy config
-        run: sed '/warn_unused_ignores = True/d' -i mypy.ini
+      - name: Remove unhelpful options from mypy config
+        run: sed -e '/warn_unused_ignores = True/d' -e '/warn_redundant_casts = True/d' -i mypy.ini
       - run: poetry run mypy
   trial:
     needs: check_repo
diff --git a/changelog.d/16213.misc b/changelog.d/16213.misc
new file mode 100644
index 0000000000000000000000000000000000000000..8c14f5fd51ad0e1bcf1ca089d8f70ea5984f7227
--- /dev/null
+++ b/changelog.d/16213.misc
@@ -0,0 +1 @@
+Fix the latest-deps CI job.