Fix tests broken by hatchling by hauntsaninja · Pull Request #16655 · python/mypy

@hauntsaninja

@hauntsaninja

AlexWaygood

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I was thinking that something like this would probably be the simplest fix (but held off from making a PR in case folks thought we should do something more principled 😄)

JelleZijlstra

@hauntsaninja

If hatchling is going to roll out changes as breaking as this in minor versions then seems like we'd break often enough that pinning is worthwhile in any case. These tests are literally doing the dumbest thing ever, I'm almost tempted to write my own build backend.....

@AlexWaygood

Good point, tests should certainly have this kind of stuff pinned anyway

KotlinIsland referenced this pull request in KotlinIsland/basedmypy

Jan 4, 2024

@hauntsaninja @KotlinIsland