fix(deps): resolve CVEs across pip and npm dependencies with langchain 1.x migration#237
Merged
vipul-chauhan-intugle merged 1 commit intomainfrom Mar 30, 2026
Merged
Conversation
…n 1.x migration - pyproject.toml: tighten minimum version constraints for all vulnerable direct/transitive pip deps; add [tool.uv] override-dependencies to force requests>=2.33.0 past pysonar pin; relax streamlit from ==1.50.0 to >=1.51.0 - uv.lock: regenerated — notable bumps: langchain-core 0.3.80→1.2.23, langsmith 0.4.49→0.7.22, tornado 6.5.2→6.5.5, pyopenssl 25.3.0→26.0.0, streamlit 1.50.0→1.55.0, requests 2.32.5→2.33.0 - streamlit_app/requirements.txt: relax streamlit pin to >=1.51.0 - docsite/package.json: add npm overrides for node-forge ^1.4.0, serialize-javascript ^7.0.5, brace-expansion, path-to-regexp, picomatch - docsite/package-lock.json: regenerated — node-forge 1.3.2→1.4.0, serialize-javascript 7.0.4→7.0.5; zero npm vulnerabilities remaining - migrate 6 source files from removed langchain.output_parsers/langchain.schema to langchain_classic (langchain 1.x breaking change)
vipul-chauhan-intugle
approved these changes
Mar 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Resolves a batch of security vulnerabilities across Python (pip) and JavaScript (npm) dependencies, and performs the code migration required by the langchain 1.x breaking changes.
Key Changes
🐍 Python / pip (
pyproject.toml+uv.lock)Minimum version constraints tightened for all vulnerable direct and transitive dependencies to address reported CVEs.
[tool.uv] override-dependenciesadded to forcerequests>=2.33.0past the conflictingpysonardev-group pin.streamlitunpinned from the exact==1.50.0to>=1.51.0to allow patched releases.uv.lockregenerated — notable version bumps:langchain-corelangsmithtornadopyopensslstreamlitrequests📦 npm (
docsite/package.json+package-lock.json)overridesadded inpackage.jsonfor:node-forge: "^1.4.0"(1.3.2 → 1.4.0)serialize-javascript: "^7.0.5"(7.0.4 → 7.0.5)brace-expansion,path-to-regexp,picomatchpackage-lock.jsonregenerated — zero npm audit vulnerabilities remaining.🔧 Source Code — langchain 1.x Migration
langchain.output_parsersandlangchain.schemawere removed in langchain 1.x. Imports updated tolangchain_classicacross 6 files:src/intugle/core/llms/chat.pysrc/intugle/core/conceptual_search/agent/tools/web_tools.pysrc/intugle/core/pipeline/business_glossary/utils.pysrc/intugle/core/pipeline/business_glossary/prompts.pysrc/intugle/core/pipeline/datatype_identification/l2_model.pysrc/intugle/core/pipeline/link_prediction/agent.py📄 Streamlit App Requirements
src/intugle/streamlit_app/requirements.txt:streamlit==1.50.0→streamlit>=1.51.0Testing
uv lockanduv synccompleted cleanly with no resolver conflicts after the override was applied.npm installindocsite/produces zero audit warnings.