As mentioned in https://github.com/python-wheel-build/fromager/pull/551#discussion_r1980103465 we need to use the packaging library to parse metadata instead of using the email library ourselves.