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

fix: adapt to exceptions raised by sqla>=1.4.45 #5875

Merged
merged 1 commit into from
Jan 27, 2023

Conversation

ltalirz
Copy link
Member

@ltalirz ltalirz commented Jan 27, 2023

Fixes #5857

sqlalchemy 1.4.45 started raising a different exception for missing literal values compared to 1.4.44 and below.

We now catch both exceptions for backwards compatibility.

sqlalchemy 1.4.45 started raising a different exception for missing
literal values compared to 1.4.44 and below.

We now catch both exceptions for backwards compatibility.
@ltalirz ltalirz linked an issue Jan 27, 2023 that may be closed by this pull request
@ltalirz
Copy link
Member Author

ltalirz commented Jan 27, 2023

@sphuber the urgency of a new release still applies (aiida installs with sqla>=1.4.45 will be broken for these types of queries - not sure how frequently they appear in practice)

@ltalirz ltalirz requested a review from sphuber January 27, 2023 01:56
Copy link
Contributor

@sphuber sphuber left a comment

Choose a reason for hiding this comment

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

Thanks @ltalirz

@sphuber sphuber merged commit c1d99df into aiidateam:main Jan 27, 2023
@sphuber sphuber deleted the fix/5871/sqlalchemy-exception branch January 27, 2023 09:52
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.

test-install workflow broken
2 participants