Add set-relation helpers to SpecifierSet in the packaging library. Specifically, implement three new methods…
Add set-relation helpers to SpecifierSet in the packaging library. Specifically, implement three new methods…: a task in repo2rlenv-swe-gen (Harbor dataset). SpecifierSet.to range() Converts the SpecifierSet to a VersionRange object, enabling set-relation comparisons. This is the underlying…
The task
**`SpecifierSet.to_range()`** Converts the `SpecifierSet` to a `VersionRange` object, enabling set-relation comparisons. This is the underlying primitive used by the three relation helpers.
Part of FineEnvs/repo2rlenv-swe-gen.