python version check fails on python 3.3

Bug #1463686 reported by Patrick
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Medium
Germar

Bug Description

In configure script, python version check is done as follows:
if [ $(python${PYVERSION} --version | grep -c "^Python 3") -ne 1 ]; then
    printf "Warning: Wrong Python version.\n"
    printf "Please make sure Python 3.x is used by adding '--python' or '--python3'.\n"
    exit 1
fi

In python 3.3, version is displayed on stderr, only version 3.4+ use stdout see https://hg.python.org/cpython/rev/e6384b8b2325

In Gentoo ebuild, the exit 1 makes the installation fail.

Revision history for this message
Germar (germar) wrote :

Thanks for reporting

Changed in backintime:
status: New → Fix Committed
milestone: none → 1.1.6
assignee: nobody → Germar (germar)
importance: Undecided → Medium
Germar (germar)
Changed in backintime:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.