Bug 976422 - General Python 3.x, API etc.
Summary: General Python 3.x, API etc.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: libvirt
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-20 14:25 UTC by Jonas Heinrich
Modified: 2016-04-09 23:17 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-04-09 23:17:27 UTC
Embargoed:


Attachments (Terms of Use)

Description Jonas Heinrich 2013-06-20 14:25:02 UTC
Description of problem:
Python 3.x is not supported yet. ArchLinux users for example has to patch all Python files to specify Python2 environement.

How reproducible:
Just one example:
[root@playground docs]# make
  GEN      hvsupport.html.in
make  all-recursive
make[1]: Entering directory `/root/pkgbuilds/libvirt-git/src/libvirt/docs'
Making all in schemas
make[2]: Entering directory `/root/pkgbuilds/libvirt-git/src/libvirt/docs/schemas'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/pkgbuilds/libvirt-git/src/libvirt/docs/schemas'
make[2]: Entering directory `/root/pkgbuilds/libvirt-git/src/libvirt/docs'
  GEN      apibuild.py.stamp
  File "./apibuild.py", line 110
    print "=> define %s : %s" % (debugsym, (module, type, info,
                            ^
SyntaxError: invalid syntax
make[2]: *** [apibuild.py.stamp] Error 1
make[2]: Leaving directory `/root/pkgbuilds/libvirt-git/src/libvirt/docs'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/pkgbuilds/libvirt-git/src/libvirt/docs'
make: *** [all] Error 2


Steps to Reproduce:
1. Using the latest libvirt version (git/stable)
2. Try to build libvirt with Python3 environement

Comment 1 Cole Robinson 2016-04-09 23:17:27 UTC
Sorry this didn't receive a timely response, but my understanding is that libvirt-python has had python3 support for a while now


Note You need to log in before you can comment on or make changes to this bug.