Re: dh_python3 sets shebang to Python 2 -- is this a bug?

2020-01-23 Thread Matthias Klose
On 22.01.20 02:18, Nicholas D Steeves wrote: > I don't think this is an assumption. Debian adheres to PEP 394, which > until recently said that /usr/bin/python is supposed to be Python 2, for > backwards compatibility. When I discovered this I felt increased trust > in Debian and its developers

Re: dh_python3 sets shebang to Python 2 -- is this a bug?

2020-01-21 Thread Nicholas D Steeves
Hi, Andreas Henriksson writes: > I've personally seen some upstream use 'python' in shebang with the > intention of meaning 'works with either python2 or python3', Yes, this has worked thus far, and it will definitely work in cases where `which python` is a symlink to python3 within a virtual

Re: dh_python3 sets shebang to Python 2 -- is this a bug?

2020-01-20 Thread Christian Kastner
Hi Andreas! On 20.01.20 17:40, Andreas Henriksson wrote: > On Mon, Jan 20, 2020 at 08:51:56AM +0100, Christian Kastner wrote: > I've personally seen some upstream use 'python' in shebang with the > intention of meaning 'works with either python2 or python3', but in > debian it seems people have

Re: dh_python3 sets shebang to Python 2 -- is this a bug?

2020-01-20 Thread Andreas Henriksson
Hello Christian, On Mon, Jan 20, 2020 at 08:51:56AM +0100, Christian Kastner wrote: > I have an issue with a package build, and I'm not sure whether this is a > bug in dh-python, or whether I'm just misunderstanding something. > > > A package that had recently been converted from Python 2 to

dh_python3 sets shebang to Python 2 -- is this a bug?

2020-01-20 Thread Christian Kastner
I have an issue with a package build, and I'm not sure whether this is a bug in dh-python, or whether I'm just misunderstanding something. A package that had recently been converted from Python 2 to Python3 was still generating dependencies for Python 2, see #936924. Frederic-Emmanuel Picca