Skip to content
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

Python3 test discovery fix #2

Merged
merged 12 commits into from
Jul 28, 2014
Merged

Python3 test discovery fix #2

merged 12 commits into from
Jul 28, 2014

Conversation

kevin1024
Copy link

Fix the test discovery for python setup.py test and fix a couple python3 syntax errors. There is still quite a bit of work to do to finish the python3 port however.

hartsock and others added 8 commits July 24, 2014 13:52
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
@kevin1024
Copy link
Author

out of time on this, there's quite a bit of work to get this module running on python3 but at least the tests run on travis now :)

https://travis-ci.org/hartsock/pyvmomi/builds/30877900

@hartsock
Copy link
Owner

Thanks. I think I clobbered some of this.

I'll back things up and retry merging.

@hartsock hartsock merged commit 842fe5b into hartsock:python3 Jul 28, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants