The packaging spec says that Requires-Dist specifiers should not have parens, but wheel add the parens here.
I ran into this problem because of a super edge case installing a wheel that has exact identity (===) dependencies. Pip allows any character after an the identity specifier, which means that it also captures the closing paren and so a requirement like requests (===1.2.3) won't match. The identity specifiers are used for prereleases and some other special-case version specifiers.
The packaging spec says that Requires-Dist specifiers should not have parens, but wheel add the parens here.
I ran into this problem because of a super edge case installing a wheel that has exact identity (===) dependencies. Pip allows any character after an the identity specifier, which means that it also captures the closing paren and so a requirement like
requests (===1.2.3)won't match. The identity specifiers are used for prereleases and some other special-case version specifiers.