Xpra: Ticket #2258: Helper scripts use python2 shebang

I am building xpra 2.5 with python3 suport, yet some helper scripts are installed with python2 shebang:

cups/backend/xpraforwarder:
#!/usr/bin/env python
auth_dialog
#! /usr/bin/python2
xpra/xdg-open
#! /usr/bin/python2


Sun, 07 Apr 2019 02:45:17 GMT - Antoine Martin: status, description changed; resolution set

The build file does not do this, our packages do not do this either.

If you are going to be packaging xpra with python3 support, please make sure not to break the installation path from our repositories.


Fri, 19 Apr 2019 06:03:07 GMT - أحمد المحمودي:

In Debian, xpra will be built with Python3 support, as it seems that is complete (or almost). So my question would be: are those 3 scripts (xpraforwarder, auth_dialog, and xdg-open) needed for Python3 only support or are there Python3 equivalents that are already existsomewhere else in xpra code ?


Fri, 19 Apr 2019 06:08:09 GMT - Antoine Martin:

Those 3 scripts are definitely needed and they are already compatible with python3.


Sat, 23 Jan 2021 05:46:24 GMT - migration script:

this ticket has been moved to: https://github.com/Xpra-org/xpra/issues/2258