bugCERTI - Bugs: bug #44618, cmake stuff does not detect...

 
 

bug #44618: cmake stuff does not detect properly the python version for python 3.4

Submitted by:  None
Submitted on:  Tue 24 Mar 2015 12:05:17 PM UTC  
 
Category: PyHLASeverity: 3 - Normal
Item Group: Compilation errorStatus: Fixed
Privacy: PublicAssigned to: Eric NOULARD <erk>
Open/Closed: OpenRelease: P-1.1.1
Reproducibility: NoneFixed Release: NextRelease

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Thu 02 Apr 2015 12:49:04 PM UTC, comment #1:

commit fb910ebaa7aa8daef30438497d7b45ea97184aa3
Author: Eric NOULARD <eric.noulard@gmail.com>
Date: Thu Apr 2 14:48:10 2015 +0200

Merge bug fix 44618
cmake stuff does not detect properly the python version for python 3.

Eric NOULARD <erk>
Project AdministratorIn charge of this item.
Tue 24 Mar 2015 12:05:17 PM UTC, original submission:

Python has decided since 3.4 that the output of python -V will be on stdout, while before on stderr. It basically breaks the version detection used by py-hla cmake for python 3.4.

Instead of using custom logic to detect python version, I suggest to use directly the string PYTHON_VERSION_STRING computed by cmake in PythonInterp.

You can find the proposed change in attachement

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #33443:  fix_py_version_detection.patch added by None (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by erk (Posted a comment)
  •  

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 02 Apr 2015 12:49:04 PM UTCerkStatusNone=>Fixed
      Assigned toNone=>erk
    Tue 24 Mar 2015 12:05:17 PM UTCNoneAttached File-=>Added fix_py_version_detection.patch, #33443

    Back to the top


    Powered by Savane 3.1-cleanup1