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 #960: S3 Feed Export throws boto error #5833
Conversation
This works fine with If I am on the right path, I would really appreciate it if someone could point me in the right direction with the tests here: will I be fine just trying to do the same thing as the existing tests? |
Fixed my typo in a call to botocore |
According to this issue, |
I will have a look, though it might take me some days 😓 |
Codecov Report
@@ Coverage Diff @@
## master #5833 +/- ##
==========================================
- Coverage 88.84% 88.82% -0.03%
==========================================
Files 162 162
Lines 11055 11068 +13
Branches 1800 1802 +2
==========================================
+ Hits 9822 9831 +9
- Misses 954 957 +3
- Partials 279 280 +1
|
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.
The change look good, I’ll try running the tests locally and see if I can figure out how to address the issues you mention.
Got you, I will address your comments and wait for any thoughts you might have on tests |
…test environments
… extra-deps-pinned and remote extras from pinned
Adapt tests for a switch to boto3 with botocore support for backward compatibility
@jazzthief I see the If you can look into it while you work on my earlier feedback, that would be great. But I can take a look myself as well if you prefer. |
I'll have a look. One question, though: I see |
I think it may be worth it switching to a variable, I just did not want to make it as part of my changes, and instead focus on the test part. |
@Gallaecio I addressed your comments. Regarding |
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.
Seems to me like this is ready for review. Great job!
Thanks for your help! Do you think we should create an issue on reworking boto3 tests? |
Could you elaborate? As far as I am concerned, test-wise we are covered here. While something in line with Stub would be great, I think mocking on our side just to make sure that we are mapping parameters correctly to what boto3 expects is a good approach, and not that different from stubbing. |
That's what I meant. Got you, great then. |
Thanks! |
Fixes #960, closes #5735 by switching from
botocore
toboto3
upload method, which supports multipart upload.