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 dependencies #1930

Merged
merged 4 commits into from Feb 28, 2024
Merged

Update dependencies #1930

merged 4 commits into from Feb 28, 2024

Conversation

evansd
Copy link
Contributor

@evansd evansd commented Feb 27, 2024

This updates the production dependencies (which Dependabot fails to do for us, see #964) and, for good measure, updates the dev dependencies as well.

We also remove a SQLAlchemy workaround which is no longer required and participate in some faff in order to avoid a SQLAlchemy warning triggered by upgrading Trino.

Dependabot still isn't doing this for us (see #964).
Dependabot _does_ do this for us, but we may as well do this while we're
hear and save fiddling around with a bunch of individual PRs.
This was added in #1885 and can be removed now that the upstream patch
has been released.
This doesn't benefit us at all (it's designed to avoid the compilation
overhead when executing the same SQL over and over) and it leads to
warnings when we execute clause elements whose caching behaviour has not
be explicitly defined.

We're getting a warning here now because we've just updated to Trino
v0.328.0 which includes this PR:
 * trinodb/trino-python-client#429

This defines a compiler for the `Lag` clause which (because it is not
restricted to a specific dialect) ends up being used by SQLite and
triggering the warning.
Copy link

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 58b8561
Status: ✅  Deploy successful!
Preview URL: https://bf4bcda2.databuilder.pages.dev
Branch Preview URL: https://evansd-update-deps.databuilder.pages.dev

View logs

Copy link
Contributor

@rebkwok rebkwok left a comment

Choose a reason for hiding this comment

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

LGTM; the warning with the updated trino version reminds me that we still have the outstanding question of trino versions on EMIS, but that's for another time :)

@evansd evansd merged commit 27fa496 into main Feb 28, 2024
8 checks passed
@evansd evansd deleted the evansd/update-deps branch February 28, 2024 11:08
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

2 participants