Skip to content

Conversation

@kesem0811
Copy link
Contributor

  • Remove direct sasl/saslwrapper imports
  • Use pyhive.hive.get_installed_sasl which handles pure-sasl compatibility
  • Maintain same SASL authentication logic for GSSAPI/Kerberos
  • Ensures compatibility with pure-sasl package while preserving functionality

^ 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 airflow-core/newsfragments.

- Remove direct sasl/saslwrapper imports
- Use pyhive.hive.get_installed_sasl which handles pure-sasl compatibility
- Maintain same SASL authentication logic for GSSAPI/Kerberos
- Ensures compatibility with pure-sasl package while preserving functionality
Copy link
Contributor

@romsharon98 romsharon98 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, only static checks need to be fixed

- Remove dags/simple_spark_xcom_test.py
- Remove dags/test_spark_kubernetes_xcom.py
- Keep only the Hive provider changes for pure-sasl compatibility
@kesem0811
Copy link
Contributor Author

The RAT license check is failing on files I didn’t modify (go-sdk/...). Do we need to add headers to these, or should they be excluded?
@romsharon98

@romsharon98
Copy link
Contributor

The RAT license check is failing on files I didn’t modify (go-sdk/...). Do we need to add headers to these, or should they be excluded?

@romsharon98

You need to fix this test

https://github.com/apache/airflow/actions/runs/18009293662/job/51238277816#step:6:1

- Reorganize imports according to ruff standards
- Fix import ordering and formatting
- Ensure code follows ruff linting rules
- Auto-fix 2 ruff errors found in the file
@kesem0811 kesem0811 force-pushed the feature/change-to-pure-sasl branch from d5ef258 to 5f1f682 Compare September 28, 2025 10:16
@eladkal eladkal requested a review from romsharon98 September 28, 2025 11:54
@romsharon98 romsharon98 merged commit d321705 into apache:main Sep 30, 2025
80 checks passed
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 1, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 2, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 3, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 4, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 5, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 7, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 8, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 9, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 10, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 11, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 12, 2025
dabla pushed a commit to dabla/airflow that referenced this pull request Oct 12, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 14, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 15, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 17, 2025
abdulrahman305 bot pushed a commit to abdulrahman305/airflow that referenced this pull request Oct 19, 2025
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