-
Notifications
You must be signed in to change notification settings - Fork 16.3k
Move AWS auth dependencies to python3-saml extra #50449
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
Conversation
|
Hm.. I think this one will fail provider tests - selective checks did not trigger provider tests on this one (fix is coming to that one) but I have a feeling this one will fail if we run full tests. Let's see. |
|
Closed/reopened to trigger full tests |
|
Yep. That's what I thought. You will need to add Like this: And it should be added as an extra installed when Otherwise CI image wil not install this extra. We use |
|
Fix to selective check #50451 |
I named it |
|
Not sure if that's a good idea to add different name - it's better to keep it consistent, so maybe we should change both to be Also some docs need to be updated. |
|
Also compatibility tests will have problem in this case - we might need to add some special case for the compat tests to pass -- the extra is not defined in Airflow 3.0.0, so we cannot really install it via Or maybe just conditionally skipping the tests with |
We have
why? We still have |
why? We still have python3-saml as extra for amazon. What we add is aws-auth extra for apache-airflow. Becuase we have |
|
Restructuring PR here #50495 |
Sure - indeed we have other cases like that. |
ab6b616 to
d863e4b
Compare
|
@potiuk I am missing something here This is due to
but this import should be available when the |
@eladkal - Yes. The problem is that in the compatibility tests and amazon tests with lowest dependencies we do not use the extra when installing the provider. In those tests we are installing just Since this is now effectively an optional feature we can make the tests optional via - |
|
@potiuk CI is green |
The workaround of set xmlsec and lxml is relevant only for aws auth manager thus we need these as part of the python3-saml extra rather than as direct dependency of the provider