Skip to content

Conversation

@dabla
Copy link
Contributor

@dabla dabla commented Mar 26, 2025

Changed min version for common sql to 1.23.0 in apache-airflow-providers-postgres to fix ModuleNotFoundError: No module named 'airflow.providers.common.sql.dialects'
closes: #48381


^ 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.

@eladkal
Copy link
Contributor

eladkal commented Mar 26, 2025

I think we need to do this for all sql providers that import dialects?

@dabla
Copy link
Contributor Author

dabla commented Mar 26, 2025

I think we need to do this for all sql providers that import dialects?

Only mssql and postgres depend on it, mssql is already correct

@eladkal
Copy link
Contributor

eladkal commented Mar 26, 2025

You'll need to run pre-commit to fix the error. It generates additional file that you need to commit

@eladkal
Copy link
Contributor

eladkal commented Mar 26, 2025

You need to run the pre commits locally again :)

@dabla
Copy link
Contributor Author

dabla commented Mar 27, 2025

You need to run the pre commits locally again :)

Will redo it tonight ;-)

@potiuk
Copy link
Member

potiuk commented Mar 31, 2025

Looks good. Thanks @dabla. The last failure was 143 (memory) I rea-run it.

@potiuk potiuk merged commit 9114529 into apache:main Mar 31, 2025
149 checks passed
shubham-pyc pushed a commit to shubham-pyc/airflow that referenced this pull request Apr 2, 2025
…ers-postgres (apache#48416)

* refactor: Changed min version for common sql to 1.23.0 in apache-airflow-providers-postgres

* refactor: Updated provider dependencies

* refactor: Updated apache-airflow-providers-common-sql min version

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
nailo2c pushed a commit to nailo2c/airflow that referenced this pull request Apr 4, 2025
…ers-postgres (apache#48416)

* refactor: Changed min version for common sql to 1.23.0 in apache-airflow-providers-postgres

* refactor: Updated provider dependencies

* refactor: Updated apache-airflow-providers-common-sql min version

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
simonprydden pushed a commit to simonprydden/airflow that referenced this pull request Apr 8, 2025
…ers-postgres (apache#48416)

* refactor: Changed min version for common sql to 1.23.0 in apache-airflow-providers-postgres

* refactor: Updated provider dependencies

* refactor: Updated apache-airflow-providers-common-sql min version

---------

Co-authored-by: David Blain <david.blain@infrabel.be>
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.

incorrect requierement for apache-airflow-providers-postgres

4 participants