Repository navigation
chore(deps): align API and Agent dependency locks - #46210
Open
BeautyyuYanli wants to merge 2 commits into
Open
BeautyyuYanli wants to merge 2 commits into
BeautyyuYanli wants to merge 2 commits into
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #46210 +/- ##
========================================
Coverage 90.34% 90.35%
========================================
Files 6309 6310 +1
Lines 394170 394284 +114
Branches 79216 79221 +5
========================================
+ Hits 356126 356246 +120
+ Misses 31930 31927 -3
+ Partials 6114 6111 -3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This branch has not been deployed
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.
This PR is made with gpt-6.1-sol (Codex), gemini-4-carbon (Google Antigravity) and gemini-4-neon (Google Antigravity), while I'm responsible for all the changes.
Important
Fixes #<issue number>.Summary
Fixes #44777.
Completes the alignment of dependency declarations and
uv.lockresolutions acrossapianddify-agent(including theserverextra) for the four dependencies tracked in #44777:api(onmain)dify-agent/serverextra (before -> after)pydantic-ai-slim2.53.02.53.0->2.53.0(==2.53.0on core &server)mainvia #45041Pillow13.0.013.0.0->13.0.0(>=13.0.0,<14onserver)mainvia #44871 & #44917pypdf6.21.46.21.4->6.21.4mainvia #44778, #45215 & #45259unstructured0.27.380.27.38->0.27.38mainvia #45356 (removed stalefilelockoverride)filelock4.3.14.2.1->4.3.1dify-agent/uv.locktoapi/uv.lock(4.3.1)Changes
dify-agent/uv.lock: Perform targeted upgrade (uv lock --directory dify-agent --upgrade-package filelock==4.3.1) after mergingmain(chore(deps): upgrade Graphon to 0.9.0 and adapt runtime contracts #45356 already removed the temporaryoverride-dependencies = ["filelock==4.2.1"]block indify-agent/pyproject.tomland bumpedapi/uv.locktofilelock==4.3.1), bringing both projects onto identicalfilelock==4.3.1,unstructured==0.27.38,pydantic-ai-slim==2.53.0,pillow==13.0.0, andpypdf==6.21.4locks with zero unrelated package drift.Verification
uv lock --check --directory apianduv lock --check --directory dify-agentpass cleanly; programmatic diff againstmainconfirmsfilelock(4.2.1 -> 4.3.1) indify-agent/uv.lockis the sole package change.3.13.13):uv sync --directory api --frozen --group devuv sync --directory dify-agent --frozen --extra server --devuv sync --directory dify-agent --frozen --no-devpydantic-ai-slim==2.53.0,pillow==13.0.0,pypdf==6.21.4,filelock==4.3.1,unstructured==0.27.38) acrossapianddify-agent[server], plus clean client-onlydify_agent.Clientimport withoutserverextras.dify-agentlocal suite (pytest tests/local -m 'not integration'with--extra server): 1579 passed, 4 skipped.apiunit tests (api/tests/unit_tests/core/rag/extractorandtest_package_resource_importer.py): 233 passed.FileLockcontention/release,huggingface_hubWeakFileLock, Pillow image encode/decode,pypdfwrite/read, andunstructuredMarkdown partitioning all succeeded.ruff checkandpyreflypassed indify-agent(0 errors).Screenshots
N/A (dependency lockfile alignment only).
Checklist
make lint && make type-check(backend) andvp staged(frontend) to appease the lint gods