On Wed, Mar 29, 2023 at 8:56 AM Paolo Bonzini <pbonz...@redhat.com> wrote: > > BTW, another way to repair Debian 10's pip is to create a symbolic link > to sys.base_prefix + '/share/python-wheels' in sys.prefix + > '/share/python-wheels'. Since this is much faster, perhaps it can be > done unconditionally and checkpip mode can go away together with > self._context? > > Paolo >
I'm coming around on this one a bit; it's definitely going to be a lot faster. As you say, my version is more robust, but more complex and with more lines. We may decide to drop any workarounds for Debian 10 entirely and we can live without either fix. I'll mention this in the commit message for the Debian 10 workaround. I do not know right now if other distros suffer from the same problem; we could attempt to omit the fix and just see if anyone barks. Not very nice, but impossible to enumerate all of the bugs that exist in various downstream distros... --js