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

Update sqlalchemy-utils to fix create_database issues #1858

Merged
merged 1 commit into from Sep 8, 2021

Conversation

rickyrombo
Copy link
Contributor

Description

sqlalchemy-utils recently updated with a number of fixes to support SQL Alchemy 1.4: kvesteri/sqlalchemy-utils#506

Notably we do not use SQL Alchemy 1.4, but some of the fixes here look promising for a bug we've been experiencing in CI (CREATE DATABASE cannot run inside a transaction block), namely the changes to the create_database to remove the AUTOCOMMIT as that was discussed in a thread to be a potential cause. The solution in that thread was to include the AUTOCOMMIT in the engine creation which required a fork of sqlalchemy-utils or rolling our own create_database, but we want to see if this update fixes it first.

Tests

Ran all existing tests.

How will this change be monitored?

@rickyrombo rickyrombo merged commit 02e9e33 into master Sep 8, 2021
@rickyrombo rickyrombo deleted the mjp-update-sqlalchemy-utils branch September 8, 2021 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants