[Python-modules-team] Bug#954256: python-pip-whl: Editable installs broken: can't find __main__ module

Scott Kitterman debian at kitterman.com
Wed Apr 1 04:25:00 BST 2020


On Tue, 31 Mar 2020 15:03:30 -0400 Scott Kitterman <debian at kitterman.com> 
wrote:
> On Fri, 27 Mar 2020 08:50:28 -0400 Scott Kitterman <debian at kitterman.com> 
> wrote:
> > On Fri, 27 Mar 2020 01:39:04 -0400 Scott Kitterman <debian at kitterman.com> 
> > wrote:
> > > On Fri, 27 Mar 2020 01:25:28 -0400 Scott Kitterman 
<debian at kitterman.com> 
> > > wrote:
> > > > I can replicate this with the current pip in unstable (which is the 
> > current 
> > > > upstream release).  We kept pep517 at version 0.7.0 because that's the 
> > > version 
> > > > that pip bundles and there are no other users of it in the archive.  I 
> > > > upgraded pep517 to the current release and the problem went away.  I 
> think 
> > > > this is a pep517 problem.  I even see what looks like a relevant 
commit 
> > > > (although I'm not sure).
> > > 
> > > I've uploaded the updated pep517.  This problem won't be fully solved 
> until 
> > > python-pip is rebuilt to update the provided wheel.  I'll do that 
> tomorrow.
> > 
> > Testing this again with the updated pep517 it still fails, just in a 
> slightly 
> > different way, so I reopened the bug.  I still think this is something in 
> > pep517, so the reassignment was correct.
> 
> I have confirmed that if we aren't using a debundled pep517 (the path is 
> different), it all works.  Upstream supports debundling so there is a bug 
here 
> somewhere and I still think it's in pep517.  I intend to leave this open to 
> track the issue, but I am changing our pip package to use the bundled pep517 
> to work around this for now.

The newer pep517 made changes to make it zip safe, but they were incomplete.  
That's why the error changes with the current pep517 release.  It almost 
works.

Scott K
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://alioth-lists.debian.net/pipermail/python-modules-team/attachments/20200331/8c2327b4/attachment.sig>


More information about the Python-modules-team mailing list