-
Notifications
You must be signed in to change notification settings - Fork 768
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
python 3.x compatibility #55
Comments
@embodyhumility I dont think so. I am not super familiar with python 3 but it seems like there were some changes with how you do imports that would keep this from being compatible. I have a branch where I have tried building and testing on python 3 with travis-ci and it fails. See: https://travis-ci.org/michaelrice/pyvmomi/builds/27107734 |
We'll need to manage not only a few light syntax changes but also a few library changes. I will want to find some way to regression test the whole lib before we merge this to the master so I've created a python3 branch to do ONLY python3 compatibility work. Right after we merge that I'll want to rebase and merge the pep8 support work. BTW: I'm taking this task myself. |
So far this change has forced me to pull in a number of other patch streams. There's also a huge issue with the dynamic class generators in python 3. This may spiral out into a very big job. |
Small changes related to python 3 compatability. partial vmware#55
A common problem with using pyVmomi is that the packages pyVmomi.vim and pyVmomi.vmodl do not actually exist. In python3 we aren't allowed to have faux packages anymore. partial: vmware#55
more advanced module changes to support python3 including library migration. partial vmware#55
Use absolute import from the __future__ module to prepare the library for use in python 3 partial: vmware#55
Moves Iso8601 to using the print_function. NOTE(should not use print at all here) partial: vmware#55
Fixes for Python 3 with 2to3 partial vmware#55
Changes exception statements to match python 3 style partial: vmware#55
A minimal change set to deal with unicode modules and methods between python2 and python3. A deeper reworking of the unicode components is very likely called for, however, this change should get the library working on python3. partial: vmware#55
remove all old style string formatting from Soapadapter.py and move to .format() syntax for python 3 compatibility partial vmware#55
Travis CI configuration tweaks for python3 support partial: vmware#55
Code change to unit tests for python3. partial: vmware#55
Using the six library we make version neutral API calls to dictionary methods and to unicode methods. partial: vmware#55
Using the six library we make version neutral API calls to dictionary methods and to unicode methods. partial: vmware#55
Special thanks to @kevin1024 for a few pointers on python 3 support. |
Changes merged. The |
Fixes for Python 3 with 2to3 partial vmware#55
Changes exception statements to match python 3 style partial: vmware#55
A minimal change set to deal with unicode modules and methods between python2 and python3. A deeper reworking of the unicode components is very likely called for, however, this change should get the library working on python3. partial: vmware#55
remove all old style string formatting from Soapadapter.py and move to .format() syntax for python 3 compatibility partial vmware#55
Travis CI configuration tweaks for python3 support partial: vmware#55
Code change to unit tests for python3. partial: vmware#55
Changes KeyError signatures to use `format` instead of `%` partial: vmware#55
Is anyone using python 3 with this successfully?
The text was updated successfully, but these errors were encountered: