Skip to content

Conversation

@carljm
Copy link
Contributor

@carljm carljm commented Sep 12, 2025

Summary

This looks like it should fix the errors that we've been seeing in sympy in recent mypy-primer runs.

Test Plan

I wasn't able to reproduce the sympy failures locally; it looks like there is probably a dependency on the order in which files are checked. So I don't have a minimal reproducible example, and wasn't able to add a test :/ Obviously I would be happier if we could commit a regression test here, but since the change is straightforward and clearly desirable, I'm not sure how many hours it's worth trying to track it down.

Mypy-primer is still failing in CI on this PR, because it fails on the "old" ty commit already (i.e. on main). But it passes on a no-op PR stacked on top of this, which strongly suggests this PR fixes the problem.

@carljm carljm added the ty Multi-file analysis & type inference label Sep 12, 2025
@github-actions
Copy link
Contributor

github-actions bot commented Sep 12, 2025

Diagnostic diff on typing conformance tests

No changes detected when running ty on typing conformance tests ✅

@carljm carljm marked this pull request as ready for review September 12, 2025 20:35
@carljm
Copy link
Contributor Author

carljm commented Sep 12, 2025

I'm going to go ahead and merge this to clear up CI for other PRs. Post-land review is welcome, and if anyone wants to try to track down a minimized repro so we can add a regression test, I certainly won't complain!

@carljm carljm merged commit 82796df into main Sep 12, 2025
37 of 38 checks passed
@carljm carljm deleted the cjm/sympy branch September 12, 2025 20:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ty Multi-file analysis & type inference

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants