ibm-watson-data-lab / ibmos2spark

Facilitates Data I/O between Spark and IBM Object Storage services.
10 stars 8 forks source link

Python3 Support #11

Closed bassel-zeidan closed 7 years ago

bassel-zeidan commented 7 years ago

Background

Currently, the lib can't be imported in python3. The user will get an exception that complains that the file osconfig is not found. The reason behind it is that python3 requires the . for relative paths for this case.

Link: https://stackoverflow.com/questions/12172791/changes-in-import-statement-python3

The PR: https://github.com/ibm-cds-labs/ibmos2spark/pull/10 solves this.

Regression tests have been implemented and passed successfully for the new code. @gadamc i have invited you to a project on DSX with the name Testing_ibmos2spark_New which contains the tests.

bassel-zeidan commented 7 years ago

PR merged. Closing this item