The Metadata.from email() method in the packaging library has several issues with how it collects and…
The Metadata.from email() method in the packaging library has several issues with how it collects and…: a task in repo2rlenv-swe-gen (Harbor dataset). When Metadata.from email() encounters unknown/unparsed headers (e.g. "Hello: PyPA" ), those errors should be collected together with the validation…
The task
When `Metadata.from_email()` encounters unknown/unparsed headers (e.g. `"Hello: PyPA"`), those errors should be collected together with the validation errors from `Metadata.from_raw()` into a single `ExceptionGroup`. Currently, they may be raised separately or not combined correctly.
Part of FineEnvs/repo2rlenv-swe-gen.