Debian bug for this is https://bugs.debian.org/837764, the small fix should be able to be applied against the Bionic version, too.
** Bug watch added: Debian Bug tracker #837764 https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=837764 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1822842 Title: pip fails to install package from source when extra-index-url returns 404 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/python-pip/+bug/1822842/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs