Fix typing errors due to updates in type stubs.
A recent spate of type-stub updates express positional-only arguments
(the / marker), which is not valid syntax for the MyPy
--python-version 2.7 checks.
Work around pypa/pip#12156.
It seems to be the case that PEP-658 metadata is backfilling which
triggers bugs in the legacy resolver under Pip 23.2.
Two bitrot breaks are fixed:
Fix typing errors due to updates in type stubs. A recent spate of type-stub updates express positional-only arguments (the
/
marker), which is not valid syntax for the MyPy--python-version 2.7
checks.Work around pypa/pip#12156.
It seems to be the case that PEP-658 metadata is backfilling which triggers bugs in the legacy resolver under Pip 23.2.