New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fails to build with an unreleased python version (Origin: bugzilla #760678) #5930

Closed
doxygen opened this Issue Jul 2, 2018 · 0 comments

Comments

Projects
None yet
1 participant
@doxygen
Owner

doxygen commented Jul 2, 2018

status RESOLVED severity normal in component documentation for ---
Reported in version 1.8.11 on platform Other
Assigned to: Dimitri van Heesch

Original attachment names and IDs:

On 2016-01-15 14:21:14 +0000, Matthias Klose wrote:

Created attachment 319109
patch

having a version like "3.5.1+" lets the doxygen build fail.

On 2016-12-22 05:59:38 +0000, Orion Poplawski wrote:

Created attachment 342369
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):
File "translator.py", line 1993, in
major, minor, patch = (int(e) for e in platform.python_version_tuple())
File "translator.py", line 1993, in
major, minor, patch = (int(e) for e in platform.python_version_tuple())
ValueError: invalid literal for int() with base 10: '0rc1'

So need something more generic. Perhaps this is better.

On 2016-12-24 15:19:37 +0000, Dimitri van Heesch wrote:

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.

On 2016-12-29 18:45:59 +0000, Dimitri van Heesch wrote:

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).

@doxygen doxygen closed this Jul 2, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment