build(deps): bump blueprint_parser_creator deps (python-dotenv, loguru, regex, langchain-community, pytest) - #540
Open
amirfz wants to merge 1 commit into
Open
build(deps): bump blueprint_parser_creator deps (python-dotenv, loguru, regex, langchain-community, pytest)#540amirfz wants to merge 1 commit into
amirfz wants to merge 1 commit into
Conversation
This was referenced Aug 1, 2026
amirfz
force-pushed
the
deps/blueprint-parser-creator-bumps
branch
from
August 1, 2026 09:33
0c5cefe to
c233e0a
Compare
Folds five low-risk Dependabot bumps (python-dotenv, loguru, regex, langchain-community, pytest) into one branch since they all touch the same requirements.txt. Running the demo's own test suite for real (not just checking CI, which doesn't run these tests at all) surfaced a real, pre-existing break: langchain_community.chat_models.ChatOpenAI no longer exists on current langchain-community — it was already gone before this bump, since the >= pins here always resolve to latest. Both main.py and blueprint_utils.py import ChatOpenAI from langchain_openai instead (the actively maintained package), which is now added explicitly to requirements.txt since the code imports it directly. Two remaining test failures (test_imports needs CLOUDCONVERT_API_KEY set; test_environment_variables checks tests/.env-sample instead of the real ../.env-sample) are pre-existing and unrelated to any of these bumps — left alone as out of scope here. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
amirfz
force-pushed
the
deps/blueprint-parser-creator-bumps
branch
from
August 1, 2026 15:07
c233e0a to
5a485d2
Compare
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
Supersedes #521, #522, #524, #527, #529 — folded into one branch since they're all independent single-line bumps to the same
requirements.txt.Real bug found and fixed
This demo has its own test suite, but CI never runs it — the earlier PRs only had CI's "does it install" check to go on. Running the tests for real (with the bumped versions actually installed, not mocked) surfaced a genuine break:
langchain_community.chat_models.ChatOpenAIno longer exists on currentlangchain-community. This isn't new from this bump — the>=pins here always resolve to latest, so it was already broken before today. Fixed bothmain.pyandblueprint_utils.pyto importChatOpenAIfromlangchain_openai(the actively maintained package) instead, and addedlangchain-openaiexplicitly torequirements.txtsince the code imports it directly.Two pre-existing test failures are unrelated to any of this and left alone (out of scope):
test_importsrequiresCLOUDCONVERT_API_KEYto be set in the environment, andtest_environment_variablescheckstests/.env-sampleinstead of the real.env-sampleat the demo root.Test plan
pip install -r requirements.txtwith all 5 bumped versions resolvedpytest tests/— 11 passed, 2 pre-existing failures (unrelated, documented above)ChatOpenAIimport break reproduces even without the version bump (latent, not introduced by this PR)Co-Authored-By: Claude Sonnet 5 noreply@anthropic.com