blob: d48ad91b24a0bdc233bef357416b72cfcde31cfd [file] [view]
(pypi) Fixed the fixed-point loop that resolves self-referencing extras
(`pkg[extra]` entries in a package's own `Requires-Dist`). The loop compared the
number of extras discovered in the current round against the number known
before it, rather than against the size of the merged set. As a result it could
stop before every extra was resolved, silently dropping dependencies only
reachable through two or more `pkg[extra]` hops, and for the common case of a
package with no self-referencing extras it never converged at all, running all
10000 rounds while evaluating each wheel's generated `BUILD` file
([#4039](https://github.com/bazel-contrib/rules_python/pull/4039)).