[py3porters-devel] PEP 394 in debian? (/usr/bin/python could be python3)

Scott Kitterman debian at kitterman.com
Sun Feb 18 14:15:46 UTC 2018


On February 18, 2018 4:38:01 AM UTC, Daniel Kahn Gillmor <dkg at fifthhorseman.net> wrote:
>Hey folks--
>
>a lot of work has been done to make debian python3 friendly.  thanks
>for
>that!
>
>I'm wondering whether there are any plans to encourage conversion of
>/usr/bin/python to point to python3?
>
>PEP 394 recommends that any shebang line that says /usr/bin/python
>should work with both python2 and python3:
>
>    https://www.python.org/dev/peps/pep-0394/#recommendation
>
>I've opened a bug against a python2-only package for it to ship with an
>explicitly "python2" shebang line:
>
>    https://bugs.debian.org/890282
>
>Should we be doing this kind of request more widely across the archive?
>are there debbugs usertags to track these suggestions?  Has anyone
>tried
>to force /usr/bin/python to point to python3 on debian?

Switching /usr/bin/python to point at python3 won't happen before python2 is removed from the archive.  I wouldn't worry about it.

Scott K



More information about the py3porters-devel mailing list