-
Notifications
You must be signed in to change notification settings - Fork 21
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
Flowmachine has incompatible sqlalchemy version #6052
Comments
Part of the problem here is #6006 - sqlalchemy is still constrained correctly in flowmachine/setup.py, so the sqlalchemy version installed in the integration tests env is compatible with flowmachine. Interestingly though, in this instance the This doesn't explain why the containerised integration tests are passing (i.e. the end-to-end query tests) - presumably none of them are testing any of the code that doesn't work with sqlalchemy 2.0, but I'm surprised by this. |
Ah, no, my mistake - I thought the end-to-end integration tests ran flowmachine in a container, but they don't. So I don't think we actually test the flowmachine docker image at all... |
Related to #6006 here? |
The flowmachine unit tests should pick up this issue, but they don't because in CI we install the deps via I think there are a number of underlying issues that should be fixed here:
|
The first of these points should be sufficient to resolve the immediate issue here. The second already has its own issue, and I'll open a new issue for the other two. |
New issue for integration test changes: #6053 |
Flowmachine is incompatible with sqlalchemy >= 2.0, due to the direct use of strings in
transaction.execute()
(and quite possibly other reasons as well):We added a sqlalchemy version constraint (174b42e) to work around this, but dependabot immediately bumped the version (4f0f779), and it appears our tests didn't catch this incompatibility. Hence the latest release of the flowmachine docker image (1.18.3) has an incompatible sqlalchemy version and is therefore broken.
The text was updated successfully, but these errors were encountered: