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
Fix/avoid sagify module import clash #106
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, one question about the boto3
dependency @pm3310
'.gitkeep' | ||
] | ||
}, | ||
install_requires=[ | ||
'boto3==1.9.220', | ||
'boto3', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any specific reason for removing the pinned version of boto3
in particular?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @ilazakis , users have to use awscli that depends on boto3. Each end user has a different version of awscli and by specifying a specific boto3 version may cause conflict.
@@ -1,59 +1,59 @@ | |||
from collections import namedtuple |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@pm3310 Missed this when reviewing. Did these tests need to be disabled? Can we re-enable them? Also, looks like the 0.20.0 merge failed on Python3.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ilazakis good catch man! My bad :-( I'll create a new PR for this one
Why?
sagify init
automatically creates a module calledsagify
. However, we have specific methods from sagify library such asfrom sagify.api.hyperparameter_tuning import log_metric
. Python interpreter gets confused if it tries to loadfrom sagify.api.hyperparameter_tuning import log_metric
. It think it should search under the automatically created modulesagify
, then, it cannot find and raises an error. This PR fixes this issue.