[Python-modules-team] Bug#976983: sip-build fails to run on some machines when python3-sip is installed

Julian Gilbey jdg at debian.org
Tue Dec 22 19:40:56 GMT 2020


Hi Dmitry,

Thanks for this!

Best wishes,

   Julian

On Tue, Dec 22, 2020 at 08:58:55PM +0300, Dmitry Shachnev wrote:
> Control: reassign -1 python3-sip 4.19.24+dfsg-1
> 
> Hi Julian, and thanks for your report!
> 
> On Wed, Dec 09, 2020 at 03:00:06PM +0000, Julian Gilbey wrote:
> > I have both python3-sip (4.19.24+dfsg-1+b2) and python3-sipbuild
> > (5.5.0+dfsg-1+b1) installed on two different machines running
> > testing.  On one of the machines, I get the following output (with
> > sip5-tools installed):
> >
> > $ sip-build --version
> > 5.5.0
> >
> > while on the other I get an error message:
> >
> > $ sip-build --version
> > Traceback (most recent call last):
> >   File "/usr/bin/sip-build", line 33, in <module>
> >     sys.exit(load_entry_point('sip==5.5.0', 'console_scripts', 'sip-build')())
> >   File "/usr/bin/sip-build", line 25, in importlib_load_entry_point
> >     return next(matches).load()
> > StopIteration
> 
> I think I will fix it by removing the dist-info metadata for sip4.
> 
> SIP 4 is deprecated and is going to be removed anyway, and anyone who installs
> “sip” from PyPI will get SIP 5, so that package should own the sip name.
> 
> --
> Dmitry Shachnev



More information about the Python-modules-team mailing list