Re: [Help] Bug#938668: tifffile: Python2 removal in sid/bullseye

2019-09-05 Thread Andreas Tille
Hi Andrey,

On Thu, Sep 05, 2019 at 11:06:22PM +0500, Andrey Rahmatullin wrote:
> > Depends: python3-numpy (>= 1:1.16.0~rc1), python3-numpy-abi9, python3:any, 
> > python:any
> > 
> > 
> > How can I get rid of the python:any dependency?
> You ship a Python 2 script, /usr/bin/tifffile. It also doesn't work, for
> obvious reasons. Fix its shebang.

Argh.  Thanks a lot for opening my eyes.

> It would also be a good idea to test it
> before the last upload, but as nobody noticed that the package doesn't
> work since it was broken in December and got into buster, maybe it should
> just be RMed?

Good question.  I admit I'm actually a bit pissed since the former
maintainer introduced several packages into the team and than
simply left the team.  I tried my best to get the packages in a
decent state but in this case failed obviously.  I've just checked
popcon of "vote" which is not really amazing.

> I've just filed an RC bug for it.

Fixed in new upload.

> Also, my understanding is that public modules should be packaged
> separately as python3-foo packages and private modules should be put into
> private paths, but this package ships a public module and the changelog
> entry says "The package does not really provide a Python module for
> inclusion into other projects." See
> https://www.debian.org/doc/packaging-manuals/python-policy/programs.html#current_version_progs

Thanks for the hint.  I admit I try to concentrate on other Python3
migration issues.  In case some more problems come up with tifffile I'll
reconsider RM.

Kind regards

   Andreas.

-- 
http://fam-tille.de



Re: [Help] Bug#938668: tifffile: Python2 removal in sid/bullseye

2019-09-05 Thread Andrey Rahmatullin
On Thu, Sep 05, 2019 at 07:42:15PM +0200, Andreas Tille wrote:
> for some reason I do not understand are the dependencies of the
> binary package
> 
> Depends: python3-numpy (>= 1:1.16.0~rc1), python3-numpy-abi9, python3:any, 
> python:any
> 
> 
> How can I get rid of the python:any dependency?
You ship a Python 2 script, /usr/bin/tifffile. It also doesn't work, for
obvious reasons. Fix its shebang. It would also be a good idea to test it
before the last upload, but as nobody noticed that the package doesn't
work since it was broken in December and got into buster, maybe it should
just be RMed? I've just filed an RC bug for it.

Also, my understanding is that public modules should be packaged
separately as python3-foo packages and private modules should be put into
private paths, but this package ships a public module and the changelog
entry says "The package does not really provide a Python module for
inclusion into other projects." See
https://www.debian.org/doc/packaging-manuals/python-policy/programs.html#current_version_progs

-- 
WBR, wRAR


signature.asc
Description: PGP signature


Re: [Help] Bug#938668: tifffile: Python2 removal in sid/bullseye

2019-09-05 Thread Scott Talbert

On Thu, 5 Sep 2019, Andreas Tille wrote:


Control: tags -1 help

Hi,

for some reason I do not understand are the dependencies of the
binary package

Depends: python3-numpy (>= 1:1.16.0~rc1), python3-numpy-abi9, python3:any, 
python:any


How can I get rid of the python:any dependency?


Very good question.  The only thing I can see is debian/tests/control has 
Depends: python, but I don't see how that should end up in the binary 
package's Depends.


Scott



[Help] Bug#938668: tifffile: Python2 removal in sid/bullseye

2019-09-05 Thread Andreas Tille
Control: tags -1 help

Hi,

for some reason I do not understand are the dependencies of the
binary package

Depends: python3-numpy (>= 1:1.16.0~rc1), python3-numpy-abi9, python3:any, 
python:any


How can I get rid of the python:any dependency?

Kind regards

  Andreas.

-- 
http://fam-tille.de