After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 786082 - totem 3.25.90 doesn't recognize python3
totem 3.25.90 doesn't recognize python3
Status: RESOLVED FIXED
Product: totem
Classification: Core
Component: general
3.25.x
Other Linux
: Normal normal
: ---
Assigned To: General Totem maintainer(s)
General Totem maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2017-08-10 04:49 UTC by Jeremy Bicha
Modified: 2017-08-10 09:19 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Use idiomatic way of detecting Python3 (966 bytes, patch)
2017-08-10 09:05 UTC, Bastien Nocera
none Details | Review
build: Check for alternative pylint names first (998 bytes, patch)
2017-08-10 09:05 UTC, Bastien Nocera
committed Details | Review
build: Use idiomatic way of detecting Python3 (1.33 KB, patch)
2017-08-10 09:13 UTC, Bastien Nocera
committed Details | Review

Description Jeremy Bicha 2017-08-10 04:49:02 UTC
totem 3.25.90

The meson build checks for python and pylint but not python3 and pylint3.
Comment 1 Bastien Nocera 2017-08-10 09:05:01 UTC
Created attachment 357326 [details] [review]
build: Use idiomatic way of detecting Python3

And up the required Python version. We haven't supported running against
Python2 since 2013, so try to detect a Python3 newer than "3.0".
Comment 2 Bastien Nocera 2017-08-10 09:05:07 UTC
Created attachment 357327 [details] [review]
build: Check for alternative pylint names first

So that weirdly named Python3-enabled pylint are detected first,
before we fallback to "pylint".
Comment 3 Bastien Nocera 2017-08-10 09:13:41 UTC
Created attachment 357328 [details] [review]
build: Use idiomatic way of detecting Python3

And up the required Python version. We haven't supported running against
Python2 since 2013, so try to detect a Python3 newer than "3.0".

This also fixes running "python --version" (call had incorrect syntax)
and gather the version number (version appears on stdout not stderr).
Comment 4 Bastien Nocera 2017-08-10 09:19:06 UTC
Attachment 357327 [details] pushed as d125aff - build: Check for alternative pylint names first
Attachment 357328 [details] pushed as 18697d3 - build: Use idiomatic way of detecting Python3