mitodl / edx2bigquery

Tool to convert & load data from edX platform into BigQuery
GNU General Public License v2.0
29 stars 29 forks source link

Depreciated import from path.py #63

Closed kunanit closed 7 years ago

kunanit commented 7 years ago

The path.path class has been depreciated, in favor of path.Path in the path.py dependency:

Backcompatability to support use of path was removed a couple months ago: https://github.com/jaraco/path.py/commit/a781071bf0fc9ff477b2d141baec343a7b3ab0e9#diff-96761beea6e302df8655f5ae9eebe67d

This affects places in edx2bigquery where from path import path is used. For new edx2bigquery installations using a recent version of path.py, this causes an ImportError: cannot import name path when any edx2bigquery commands are attempted.

Possible solutions might be to pin the path.py version to pre-v10.0 in the setup file, or to update the import statements.