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

Chore/895 bump dependencies server #897

Merged
merged 4 commits into from
Apr 15, 2024

Conversation

chriswilty
Copy link
Member

@chriswilty chriswilty commented Apr 15, 2024

Description

All backend dependencies upgraded to latest, all vulnerabilities resolved:

image

Resolves #895

Notes

  • langchain upgrade included a few deprecations of functions we were using
  • Mocking in our langchain tests needed to be addressed, as the upgraded types were causing compilation errors. Mocking of RetrievalQAChain in particular causes problems, because we are mocking both a static factory method on the class, and methods on an object instance of the class. However, I see that RetrievalQAChain is no longer the recommended way to achieve this call chain: instead we are guided to use the LangChain Expression Language to construct our chains. We will tackle that change in a separate issue, so here I address only the current mock setup.

Checklist

Have you done the following?

  • Linked the relevant Issue
  • Added tests
  • Ensured the workflow steps are passing

@chriswilty chriswilty self-assigned this Apr 15, 2024
@chriswilty chriswilty merged commit 8012030 into dev Apr 15, 2024
4 checks passed
@chriswilty chriswilty deleted the chore/895-bump-dependencies-server branch April 15, 2024 10:38
chriswilty added a commit that referenced this pull request Apr 15, 2024
* Chore: #895 bump dependencies UI (#896)
* Chore: #895 bump dependencies server (#897)
chriswilty added a commit that referenced this pull request Apr 15, 2024
* Chore: #895 bump dependencies UI (#896)
* Chore: #895 bump dependencies server (#897)
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.

Tackle package vulnerabilities, upgrade deps
1 participant