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

chore: remove deprecated functions in SQLAlchemy #25911

Merged

Conversation

gnought
Copy link
Contributor

@gnought gnought commented Nov 8, 2023

SUMMARY

SQLAlchemy 1.4 deprecates sqlalchemy.databases packages in favour of sqlalchemy.dialects

https://github.com/sqlalchemy/sqlalchemy/blob/9bafbd339e66177b14de71904a2c0e426ea0c711/lib/sqlalchemy/databases/__init__.py#L35-L38

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

@gnought gnought requested a review from a team as a code owner November 8, 2023 11:44
@rusackas
Copy link
Member

rusackas commented Nov 8, 2023

This is fantastic, thanks for the support in this area!

@@ -167,21 +165,20 @@ def get_available_engine_specs() -> dict[type[BaseEngineSpec], set[str]]:
driver = driver.decode()
drivers[backend].add(driver)

dbs_denylist = app.config["DBS_AVAILABLE_DENYLIST"]
Copy link
Member

Choose a reason for hiding this comment

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

Thanks for moving this outside of the loop.

@john-bodley john-bodley merged commit b0da5ce into apache:master Nov 8, 2023
30 checks passed
@gnought gnought deleted the chore/remove_sqlalchemy_deprecated_func branch November 26, 2023 02:23
josedev-union pushed a commit to Ortege-xyz/studio that referenced this pull request Jan 22, 2024
cccs-rc pushed a commit to CybercentreCanada/superset that referenced this pull request Mar 6, 2024
@mistercrunch mistercrunch added 🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels 🚢 3.1.0 labels Mar 8, 2024
sfirke pushed a commit to sfirke/superset that referenced this pull request Mar 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🏷️ bot A label used by `supersetbot` to keep track of which PR where auto-tagged with release labels size/M 🚢 3.1.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants