Skip to content

Conversation

@uranusjr
Copy link
Member

I mishandled #19725.

cc @dimon222 @eladkal

@eladkal
Copy link
Contributor

eladkal commented Nov 23, 2021

@uranusjr
Copy link
Member Author

Thanks, fixed.

@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Nov 23, 2021
@github-actions
Copy link

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@dimon222
Copy link
Contributor

dimon222 commented Nov 23, 2021

I guess then tests also have to be reverted since those are expecting region_name to be passed now?
We a bit overthought this change. If there's so much opportunity for refactoring its worth a separate PR altogether for that kind of work in general.

@uranusjr
Copy link
Member Author

uranusjr commented Nov 23, 2021

No, the tests were only failing because they checked for resource_type and client_type arguments that you removed. The additions to the public API do not affect tests (because they are optional).

@uranusjr
Copy link
Member Author

Hmm, what are these AttributeError: 'S3' object has no attribute 'Object' errors about?

@uranusjr
Copy link
Member Author

An error occurred (404) when calling the HeadObject operation: Not Found

So calling _get_credentials(region_name=None) does not work after all?

@eladkal
Copy link
Contributor

eladkal commented Nov 23, 2021

An error occurred (404) when calling the HeadObject operation: Not Found

So calling _get_credentials(region_name=None) does not work after all?

Mmm woot :/
Not on my laptop so cant take a look :(

I think we should revert #19725 first as it breaks main branch (static checks) and figure it out after...

@dimon222
Copy link
Contributor

dimon222 commented Nov 23, 2021

@uranusjr
Copy link
Member Author

Giving this one last shot. If it does not work, revert is available in #19791.

@uranusjr
Copy link
Member Author

We’re do this again from scratch.

@uranusjr
Copy link
Member Author

New PR in #19815

@uranusjr uranusjr deleted the fix-amazon-provider-tests branch November 25, 2021 06:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:providers okay to merge It's ok to merge this PR as it does not require more tests provider:amazon AWS/Amazon - related issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants