Skip to content

Conversation

@potiuk
Copy link
Member

@potiuk potiuk commented Sep 10, 2024

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.

@potiuk potiuk changed the title Make SAML a required dependncy of Amazon provider Make SAML a required dependency of Amazon provider Sep 10, 2024
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.
@potiuk potiuk force-pushed the move-saml-to-amazon-provider-dependency branch from eaabbec to e8670ed Compare September 10, 2024 15:24
@potiuk potiuk merged commit 841b066 into apache:main Sep 10, 2024
@potiuk potiuk deleted the move-saml-to-amazon-provider-dependency branch September 10, 2024 16:31
- 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
Copy link
Contributor

@eladkal eladkal Sep 10, 2024

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?

Copy link
Member Author

@potiuk potiuk Sep 10, 2024

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 :)

Copy link
Member Author

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 :)

potiuk added a commit to potiuk/airflow that referenced this pull request Sep 10, 2024
Follow up after apache#42137 -> saml was added mistakenly to papermill,
not amazon :(
potiuk added a commit that referenced this pull request Sep 11, 2024
…#42148)

Follow up after #42137 -> saml was added mistakenly to papermill,
not amazon :(
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
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.
joaopamaral pushed a commit to joaopamaral/airflow that referenced this pull request Oct 21, 2024
…apache#42148)

Follow up after apache#42137 -> saml was added mistakenly to papermill,
not amazon :(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants