Bug#926187: dh-python: dh_python3 replaces shebang with /usr/bin/python2 not /usr/bin/python3

2019-04-01 Thread Piotr Ozarowski
> I see.   So you mean upstream would need to use
>   #!/usr/bin/env python3
> to get it handled as /usr/bin/python3

yes

(I know some upstreams think /usr/bin/python is Python 3.X…)



Bug#926187: dh-python: dh_python3 replaces shebang with /usr/bin/python2 not /usr/bin/python3

2019-04-01 Thread Drew Parsons

On 2019-04-02 03:23, Piotr Ożarowski wrote:

To clarify, I meant that dh_python3 replaces the shebangs with
/usr/bin/python2 (not /usr/bin/python) instead of /usr/bin/python3.


not a bug, it's a feature :)

If upstream claims it's for Python 2.X then that's what it is.
If it's not, use --shebang /usr/bin/python3


I see.   So you mean upstream would need to use
  #!/usr/bin/env python3
to get it handled as /usr/bin/python3



Bug#926187: dh-python: dh_python3 replaces shebang with /usr/bin/python2 not /usr/bin/python3

2019-04-01 Thread Drew Parsons
Package: dh-python
Version: 3.20190308
Followup-For: Bug #926187
Control: retitle -1 dh-python: dh_python3 replaces shebang with 
/usr/bin/python2 not /usr/bin/python3



Bug#926187: dh-python: dh_python3 replaces shebang with /usr/bin/python2 not /usr/bin/python3

2019-04-01 Thread Piotr Ożarowski
> To clarify, I meant that dh_python3 replaces the shebangs with
> /usr/bin/python2 (not /usr/bin/python) instead of /usr/bin/python3.

not a bug, it's a feature :)

If upstream claims it's for Python 2.X then that's what it is.
If it's not, use --shebang /usr/bin/python3


signature.asc
Description: PGP signature


Bug#926187: dh-python: dh_python3 replaces shebang with /usr/bin/python2 not /usr/bin/python3

2019-04-01 Thread Drew Parsons
Package: dh-python
Version: 3.20190308
Followup-For: Bug #926187

To clarify, I meant that dh_python3 replaces the shebangs with
/usr/bin/python2 (not /usr/bin/python) instead of /usr/bin/python3.