Bug 976422 - General Python 3.x, API etc.
General Python 3.x, API etc.
Status: CLOSED CURRENTRELEASE
Product: Virtualization Tools
Classification: Community
Component: libvirt (Show other bugs)
unspecified
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Libvirt Maintainers
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-06-20 10:25 EDT by Jonas Heinrich
Modified: 2016-04-09 19:17 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-04-09 19:17:27 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jonas Heinrich 2013-06-20 10:25:02 EDT
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 19:17:27 EDT
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.