Based on https://github.com/bazelbuild/rules_python/pull/1067/#issuecomment-2282845919 Once the issue is fixed upstream, we can remove our workaround.