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

Change region_name to None if empty string #95

Merged
merged 1 commit into from
Sep 3, 2016

Conversation

gifflen
Copy link
Contributor

@gifflen gifflen commented Jun 30, 2016

Botocore checks for None as opposed to empty string when trying to generate a default endpoint . In skew's current form with the way versions are pinned it will not generate endpoints properly for global services when an empty string is passed in recent versions of boto3/botocore.

Current tests fail but since no recent merges have been made its not apparent. This small change should get tests passing and global service endpoints generating properly again.

Resolves #96

Botocore checks for None as opposed to empty string and will not generate endpoints properly for global services when an empty string is passed.
@garnaat
Copy link
Contributor

garnaat commented Jul 2, 2016

This looks good. Just wondering if we want to pin the boto3 version in this same PR or not.

@gifflen
Copy link
Contributor Author

gifflen commented Jul 5, 2016

I would be fine with adding pinning to a specific version if you would look into getting requires.io or equivalent setup. It is a very straight forward setup and handles auto opening prs as your upstreams change versions. This way as upstreams changes you can automates tests around them (which would have caught the issue in this case) and allow you to be more proactive and ensure you are using recent versions.

@avram avram merged commit 252bc8a into scopely-devops:develop Sep 3, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants