FS#57453 - [blueberry] 1.1.20-1 Python version deviates from upstream

Attached to Project: Community Packages
Opened by Andrew Rabert (Draje) - Saturday, 10 February 2018, 02:56 GMT
Last edited by Balló György (City-busz) - Saturday, 10 February 2018, 08:41 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Balló György (City-busz)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
blueberry upstream explicitly specifies that Python 3 be used to run blueberry. This package is overriding it with Python 2 for an unknown reason.

Additional info:
* version: 1.1.20-1

Upstream links:
https://github.com/linuxmint/blueberry/blob/master/usr/bin/blueberry#L1
https://github.com/linuxmint/blueberry/blob/master/usr/bin/blueberry-tray#L1

Notes:
I removed the change to python2 and changed all dependencies to python3. Everything seems to work fine.

I expect one of the following to be the solution to this issue:
- the package is modified to follow upstream and use Python 3 instead of Python 2.
- a comment indicating the need to change blueberry to Python 2 is added to the PKGBUILD at the sed line
This task depends upon

Closed by  Balló György (City-busz)
Saturday, 10 February 2018, 08:41 GMT
Reason for closing:  Upstream
Comment by Balló György (City-busz) - Saturday, 10 February 2018, 08:40 GMT
When I packaged this version, I tested it with Python 3, but it doesn't work. E.g. try to modify the shebang lines from python2 to python3 in /usr/lib/blueberry/*.py, and you'll see that it doesn't work.

Please ask upstream to use python shebang lines consistently: https://github.com/linuxmint/blueberry/issues

Loading...