Botocore: Six is imported directly instead of from botocore.compat

Created on 12 Dec 2016  路  3Comments  路  Source: boto/botocore

six is directly imported, instead of using botocore.compat or botocore.vendored, in both
botocore/configloader.py and tests/unit/test_utils.py.

This manifests if you install botocore into a fresh virtualenv, then try to import botocore.session or botocore.configloader. It will die with an ImportError: No module named six.moves.

I'm happy to make a PR to fix this if it would help.

enhancement

Most helpful comment

Thanks for catching that. A PR for this would be great.

All 3 comments

Thanks for catching that. A PR for this would be great.

Hi folks,
Is it fixed or not? https://github.com/boto/botocore/issues/1179

Working on a PR now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jsha picture jsha  路  3Comments

kjschiroo picture kjschiroo  路  4Comments

stephanebruckert picture stephanebruckert  路  3Comments

ThisGuyCodes picture ThisGuyCodes  路  5Comments

mjonescase picture mjonescase  路  3Comments