[Python-modules-team] Bug#805435: libapache2-mod-wsgi-py3,	broken depends when rebuilt.
    peter green 
    plugwash at p10link.net
       
    Wed Nov 18 07:27:06 UTC 2015
    
    
  
Package: libapache2-mod-wsgi-py3
Version: 4.3.0-1
Severity: serious
Tags: stretch sid
x-debbugs-cc: debian-python at lists.debian.org
I run a derivative called raspbian and I noticed our auto-binnmuer was 
repeatedly binnmuing mod-wsgi. Further investigation reveealed that 
every time it was rebuilt it was getting dependencies like.
python3 (>= 3.5), python3 (<<  3.5)
Which is obviously unsatisfiable.
I was able to reproduce this with a manual test build in a Debian sid 
environment.
Further investigation showed that the code in debian/rules assumed that 
supported python3 versions would be listed from lowest to highest but 
the current version of py3versions -vs always lists the default version 
last. My memory tells me this was a recent behaviour change and that 
would seem to fit with the fact that in Debian this package was 
successfully binnmu'd to add python 3.5 support.
As a quick fix I added some commands to debian/rules to sort the list 
before extracting the first and last entries and uploaded to Raspbian. A 
debdiff is attached, no intent to NMU in Debian.
  ccing debian-python for their opinion on
1: whether they were aware that this behaviour change could break packages
2: whether there is a better way to get the highest and lowest currently 
supported python3 version.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20151118/ba11db2d/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: moz-screenshot.png
Type: image/png
Size: 36 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20151118/ba11db2d/attachment-0001.png>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mod-wsgi.debdiff
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20151118/ba11db2d/attachment-0001.ksh>
    
    
More information about the Python-modules-team
mailing list