GNOME Bugzilla – Bug 760678
fails to build with an unreleased python version
Last modified: 2016-12-29 18:45:59 UTC
Created attachment 319109 [details] [review] patch having a version like "3.5.1+" lets the doxygen build fail.
Created attachment 342369 [details] [review] patch for python version handling It also fails with 3.6.0rc1: cd /builddir/build/BUILD/doxygen-1.8.12/x86_64-redhat-linux-gnu/doc && /usr/bin/python3.6 translator.py Traceback (most recent call last):
+ Trace 237010
major, minor, patch = (int(e) for e in platform.python_version_tuple())
So need something more generic. Perhaps this is better.
I think it is even better to use sys.version_info[0] for the major number and sys.version_info[1] for the minor number. I'll correct the script accordingly.
This bug was previously marked ASSIGNED, which means it should be fixed in doxygen version 1.8.13. Please verify if this is indeed the case. Reopen the bug if you think it is not fixed and please include any additional information that you think can be relevant (preferably in the form of a self-contained example).