Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Conversation

@dawagner
Copy link
Contributor

@dawagner dawagner commented Mar 4, 2016

The xml-generator scripts were using deprecated Python 2 constructs and were
unable to run with Python 3.x. This is an issue on Windows because CMake seems
to use the highest version available even when there is a version closer to
what was requested. If both 2.7 and 3.x are installed on the system,

find_package(PythonInterp 2.7 EXACT REQUIRED)

may fail and

find_package(PythonInterp 2.7 REQUIRED)

may find 3.x.

This is a known issue for some time now:

https://public.kitware.com/Bug/view.php?id=15661


@@            master   #358   diff @@
=====================================
Files          211    211
Stmts         7184   7184
Branches         0      0
Methods          0      0
=====================================
Hit           5769   5769
Partial          0      0
Missed        1415   1415

Review entire Coverage Diff as of e380905

Powered by Codecov. Updated on successful CI builds.

  

The xml-generator scripts were using deprecated Python 2 constructs and were
unable to run with Python 3.x. This is an issue on Windows because CMake seems
to use the highest version available even when there is a version closer to
what was requested. If both 2.7 and 3.x are installed on the system,

    find_package(PythonInterp 2.7 EXACT REQUIRED)

may fail and

    find_package(PythonInterp 2.7 REQUIRED)

may find 3.x.

This is a known issue for some time now:

    https://public.kitware.com/Bug/view.php?id=15661

Signed-off-by: David Wagner <david.wagner@intel.com>
@codecov-io
Copy link

Current coverage is 80.30%

Merging #358 into master will not affect coverage as of e380905

@@            master   #358   diff @@
=====================================
  Files          211    211       
  Stmts         7184   7184       
  Branches         0      0       
  Methods          0      0       
=====================================
  Hit           5769   5769       
  Partial          0      0       
  Missed        1415   1415       

Review entire Coverage Diff as of e380905

Powered by Codecov. Updated on successful CI builds.

@tcahuzax
Copy link
Contributor

tcahuzax commented Mar 4, 2016

👍

@dawagner
Copy link
Contributor Author

dawagner commented Mar 4, 2016

@krocard Please review.

@krocard
Copy link
Contributor

krocard commented Mar 8, 2016

👍

krocard added a commit that referenced this pull request Mar 8, 2016
xml-generator: be compatible with both python2.7 and 3.x
@krocard krocard merged commit c3ff042 into intel:master Mar 8, 2016
@dawagner dawagner deleted the xml-generator-python3-compatible branch March 29, 2016 15:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants