Skip to content

Move sqlalchemy.ext.declarative imports to orm#29862

Merged
uranusjr merged 1 commit into
apache:mainfrom
astronomer:move-sqlalchemy-import
Mar 2, 2023
Merged

Move sqlalchemy.ext.declarative imports to orm#29862
uranusjr merged 1 commit into
apache:mainfrom
astronomer:move-sqlalchemy-import

Conversation

@uranusjr
Copy link
Copy Markdown
Member

@uranusjr uranusjr commented Mar 2, 2023

These imports are being moved to sqlalchemy.orm, and are also available there in 1.4 (which we use), so let's move them to ease the eventual migration to 2.0.

See https://docs.sqlalchemy.org/en/20/changelog/migration_20.html

@boring-cyborg boring-cyborg Bot added area:API Airflow's REST/HTTP API area:webserver Webserver related Issues labels Mar 2, 2023
Copy link
Copy Markdown
Contributor

@auvipy auvipy left a comment

Choose a reason for hiding this comment

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

looks good

These imports are being moved to sqlalchemy.orm, and are also available
there in 1.4 (which we use), so let's move them to ease the eventual
migration to 2.0.
@uranusjr uranusjr force-pushed the move-sqlalchemy-import branch from 613992f to 7c76179 Compare March 2, 2023 08:07
@uranusjr uranusjr merged commit c4f8e22 into apache:main Mar 2, 2023
@uranusjr uranusjr deleted the move-sqlalchemy-import branch March 2, 2023 09:22
@pierrejeambrun pierrejeambrun added this to the Airflow 2.5.3 milestone Mar 22, 2023
@pierrejeambrun pierrejeambrun added the changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..) label Mar 22, 2023
pierrejeambrun pushed a commit that referenced this pull request Mar 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:API Airflow's REST/HTTP API area:webserver Webserver related Issues changelog:skip Changes that should be skipped from the changelog (CI, tests, etc..)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants