-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
Make SAML a required dependency of Amazon provider #42137
Make SAML a required dependency of Amazon provider #42137
Conversation
Amazon provider with auth manager requires SAML onelogin import and it starts to be more and more problematic to skip the related tests for compatibility. It seems appropriate to move saml to be a required dependency of Amazon provider in this case. Since saml is only used by Amazon provider, we can also safely remove optional extra for it.
eaabbec
to
e8670ed
Compare
@@ -57,6 +57,7 @@ dependencies: | |||
- ipykernel | |||
- pandas>=2.1.2,<2.2;python_version>="3.9" | |||
- pandas>=1.5.3,<2.2;python_version<"3.9" | |||
- python3-saml>=1.16.0 |
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.
In the description you mentioned its being used inly by Amazon provider. If so why do we need it in papermill?
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.
Only in Amazon not Papermill - that was typed to fast when I was in a hurry for Airflow Summit :)
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.
what a mistake. Thanks for noticing it :)
Follow up after apache#42137 -> saml was added mistakenly to papermill, not amazon :(
Amazon provider with auth manager requires SAML onelogin import and it starts to be more and more problematic to skip the related tests for compatibility. It seems appropriate to move saml to be a required dependency of Amazon provider in this case. Since saml is only used by Amazon provider, we can also safely remove optional extra for it.
…apache#42148) Follow up after apache#42137 -> saml was added mistakenly to papermill, not amazon :(
Amazon provider with auth manager requires SAML onelogin import and it starts to be more and more problematic to skip the related tests for compatibility.
It seems appropriate to move saml to be a required dependency of Amazon provider in this case.
Since saml is only used by Amazon provider, we can also safely remove optional extra for it.
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rst
or{issue_number}.significant.rst
, in newsfragments.