Skip to content
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

Require SQLAlchemy 1.4 #22114

Merged
merged 1 commit into from
Mar 9, 2022
Merged

Require SQLAlchemy 1.4 #22114

merged 1 commit into from
Mar 9, 2022

Conversation

ashb
Copy link
Member

@ashb ashb commented Mar 9, 2022

Some of the exceptions have moved between 1.3 and 1.4 (sqlalchemy.orm.exc import MultipleResultsFound becomes from sqlalchemy.exc import MultipleResultsFound)

Since we only ever test with the "latest" version we should update the requirement to be tighter to ease upgrades. If we don't do this, we'll have to expand our unit tests to check against SQLA 1.3 and 1.4.

(Without this the UI/API will fail to start)


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

Some of the exceptions have moved between 1.3 and 1.4
(`sqlalchemy.orm.exc import MultipleResultsFound` becomes `from
sqlalchemy.exc import MultipleResultsFound`)

Since we only ever test with the "latest" version we should update the
requirement to be tighter to ease upgrades.

(Without this the UI/API will fail to start)
@ashb ashb requested review from potiuk and jedcunningham and removed request for potiuk March 9, 2022 11:35
@potiuk
Copy link
Member

potiuk commented Mar 9, 2022

Very much so. That also reminded me that I had to take a look at what broke > 1.4.9

@github-actions github-actions bot added the full tests needed We need to run full set of tests for this PR to merge label Mar 9, 2022
@github-actions
Copy link

github-actions bot commented Mar 9, 2022

The PR most likely needs to run full matrix of tests because it modifies parts of the core of Airflow. However, committers might decide to merge it quickly and take the risk. If they don't merge it quickly - please rebase it to the latest main at your convenience, or amend the last commit of the PR, and push it with --force-with-lease.

@ashb ashb merged commit f6c41ad into apache:main Mar 9, 2022
@ashb ashb deleted the need-sqla14 branch March 9, 2022 12:51
@ephraimbuddy ephraimbuddy added the type:misc/internal Changelog: Misc changes that should appear in change log label Apr 8, 2022
itayB added a commit to itayB/airflow that referenced this pull request Jun 24, 2022
following to this change: apache#22114
potiuk pushed a commit that referenced this pull request Jun 24, 2022
itayB added a commit to itayB/airflow that referenced this pull request Jun 30, 2022
following to this change: apache#22114
ephraimbuddy pushed a commit that referenced this pull request Jun 30, 2022
following to this change: #22114

(cherry picked from commit 2113d72)
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Oct 4, 2022
following to this change: apache/airflow#22114

(cherry picked from commit 2113d72466fc89215c5874eab4124fce06a6d751)

GitOrigin-RevId: c711b76fe9e7a8c69d6c60194732b343b7b58b92
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Dec 7, 2022
following to this change: apache/airflow#22114

(cherry picked from commit 2113d72466fc89215c5874eab4124fce06a6d751)

GitOrigin-RevId: c711b76fe9e7a8c69d6c60194732b343b7b58b92
leahecole pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Jan 30, 2023
following to this change: apache/airflow#22114

GitOrigin-RevId: 2113d72466fc89215c5874eab4124fce06a6d751
kosteev pushed a commit to kosteev/composer-airflow-test-copybara that referenced this pull request Sep 12, 2024
following to this change: apache/airflow#22114

(cherry picked from commit 2113d72466fc89215c5874eab4124fce06a6d751)

GitOrigin-RevId: c711b76fe9e7a8c69d6c60194732b343b7b58b92
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Sep 18, 2024
following to this change: apache/airflow#22114

GitOrigin-RevId: 2113d72466fc89215c5874eab4124fce06a6d751
kosteev pushed a commit to GoogleCloudPlatform/composer-airflow that referenced this pull request Nov 7, 2024
following to this change: apache/airflow#22114

GitOrigin-RevId: 2113d72466fc89215c5874eab4124fce06a6d751
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
full tests needed We need to run full set of tests for this PR to merge type:misc/internal Changelog: Misc changes that should appear in change log
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants