Skip to content

Conversation

@Jkhall81
Copy link

@Jkhall81 Jkhall81 commented Dec 29, 2025

Add SQLAlchemy dependency to Exasol provider

closes: #59902

Summary

This PR makes sqlalchemy an optional dependency for the Exasol provider to support the upcoming Task SDK isolation in Airflow 3.0.

@boring-cyborg
Copy link

boring-cyborg bot commented Dec 29, 2025

Congratulations on your first Pull Request and welcome to the Apache Airflow community! If you have any issues or are unsure about any anything please check our Contributors' Guide (https://github.com/apache/airflow/blob/main/contributing-docs/README.rst)
Here are some useful points:

  • Pay attention to the quality of your code (ruff, mypy and type annotations). Our prek-hooks will help you with that.
  • In case of a new feature add useful documentation (in docstrings or in docs/ directory). Adding a new operator? Check this short guide Consider adding an example DAG that shows how users should use it.
  • Consider using Breeze environment for testing locally, it's a heavy docker but it ships with a working Airflow and a lot of integrations.
  • Be patient and persistent. It might take some time to get a review or get the final approval from Committers.
  • Please follow ASF Code of Conduct for all communication including (but not limited to) comments on Pull Requests, Mailing list and Slack.
  • Be sure to read the Airflow Coding style.
  • Always keep your Pull Requests rebased, otherwise your build might fail due to changes not related to your commits.
    Apache Airflow is a community-driven project and together we are making it better 🚀.
    In case of doubts contact the developers at:
    Mailing List: dev@airflow.apache.org
    Slack: https://s.apache.org/airflow-slack

@Jkhall81 Jkhall81 force-pushed the add-sqlalchemy-dep-exasol-59902 branch from 5315fe3 to b2a36d9 Compare December 30, 2025 01:46
Copy link
Collaborator

@sunank200 sunank200 left a comment

Choose a reason for hiding this comment

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

We should mark SQLAlchemy as optional dependency in Exasol pyproject as well

:return: the extracted sqlalchemy.engine.URL object.
"""
if URL is None:
raise AirflowOptionalProviderFeatureException(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Suggested change
raise AirflowOptionalProviderFeatureException(
raise AirflowOptionalProviderFeatureException(
"sqlalchemy is required for SQL filter clause generation. "
"Install it with: pip install 'apache-airflow-providers-exasol[sqlalchemy]'"
)

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.

Add proper dependencies for sqlalchemy - exasol

2 participants