-
Notifications
You must be signed in to change notification settings - Fork 192
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: limit sqlalchemy<1.4.45 #5871
Conversation
sqla 1.4.45 introduced a breaking change resulting in two test failures FAILED tests/orm/test_querybuilder.py::TestRepresentations::test_as_sql_literal_quote - sqlalchemy.exc.CompileError: No literal value renderer is available for literal value "['Si']" with datatype JSONB FAILED tests/orm/test_querybuilder.py::test_analyze_query - sqlalchemy.exc.CompileError: No literal value renderer is available for literal value "['x', 1]" with datatype JSONB
c6d347b
to
3e18a39
Compare
Note: in the meanwhile sqlalchemy 1.4.46 is out with a couple of fixes, some of which look like they could be related, but the nightly aiida-core test install workflow still fails with sqlalchemy 1.4.46 |
@aiidateam/dependency-manager |
my local yapf did not pick up on this...
@sphuber I think this one is important to merge relatively soon + make a new release, since AiiDA installations created after december 11th 2022 are likely broken in the way the tests point out |
Follow-up PR #5873 is also ready to go after this one, which will fix the conda-based install |
Superseded by #5875 |
sqla 1.4.45 introduced a breaking change resulting in two test failures
FAILED tests/orm/test_querybuilder.py::TestRepresentations::test_as_sql_literal_quote - sqlalchemy.exc.CompileError: No literal value renderer is available for literal value "['Si']" with datatype JSONB
FAILED tests/orm/test_querybuilder.py::test_analyze_query - sqlalchemy.exc.CompileError: No literal value renderer is available for literal value "['x', 1]" with datatype JSONB