[PR #834] [CLOSED] fix: use [tool.uv.sources] for local path dependencies #928

Closed
opened 2026-02-16 09:17:39 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/langchain-ai/deepagents/pull/834
Author: @hhscc-lz
Created: 1/17/2026
Status: Closed

Base: masterHead: hhscc-lz/fix-deepagents-path


📝 Commits (4)

  • 5de5fdd Translate agent prompts to Chinese (#1)
  • cb70131 Localize text-to-sql example and use local deps (#2)
  • 874928a Add langgraph config for text-to-sql agent (#3)
  • 2da4615 fix: use [tool.uv.sources] for local path dependencies

📊 Changes

14 files changed (+759 additions, -687 deletions)

View changed files

📝 .gitignore (+1 -0)
📝 examples/text-to-sql-agent/AGENTS.md (+37 -37)
📝 examples/text-to-sql-agent/README.md (+140 -126)
📝 examples/text-to-sql-agent/agent.py (+7 -70)
examples/text-to-sql-agent/langgraph.json (+7 -0)
📝 examples/text-to-sql-agent/pyproject.toml (+6 -2)
📝 examples/text-to-sql-agent/skills/query-writing/SKILL.md (+37 -37)
📝 examples/text-to-sql-agent/skills/schema-exploration/SKILL.md (+114 -114)
📝 examples/text-to-sql-agent/uv.lock (+126 -17)
📝 libs/deepagents/deepagents/graph.py (+1 -1)
📝 libs/deepagents/deepagents/middleware/filesystem.py (+126 -126)
📝 libs/deepagents/deepagents/middleware/memory.py (+55 -55)
📝 libs/deepagents/deepagents/middleware/skills.py (+25 -25)
📝 libs/deepagents/deepagents/middleware/subagents.py (+77 -77)

📄 Description

Summary

Fixed uv sync error by using [tool.uv.sources] for local path dependencies.

uv doesn't support file: relative paths in the dependencies list. The fix moves deepagents and langchain local paths to the [tool.uv.sources] section, which is the proper way to specify local dependencies with uv.

This resolves: "relative path without a working directory" error.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/langchain-ai/deepagents/pull/834 **Author:** [@hhscc-lz](https://github.com/hhscc-lz) **Created:** 1/17/2026 **Status:** ❌ Closed **Base:** `master` ← **Head:** `hhscc-lz/fix-deepagents-path` --- ### 📝 Commits (4) - [`5de5fdd`](https://github.com/langchain-ai/deepagents/commit/5de5fdd5a6780c5f5e69d5a91c50351cbfa41585) Translate agent prompts to Chinese (#1) - [`cb70131`](https://github.com/langchain-ai/deepagents/commit/cb701318cbf0f9882da3bdf1097018b92e229efb) Localize text-to-sql example and use local deps (#2) - [`874928a`](https://github.com/langchain-ai/deepagents/commit/874928afac4fe42058f3b4593a62690cd5ff162c) Add langgraph config for text-to-sql agent (#3) - [`2da4615`](https://github.com/langchain-ai/deepagents/commit/2da46158797a519c56b34fbfa0cc3284586173c9) fix: use [tool.uv.sources] for local path dependencies ### 📊 Changes **14 files changed** (+759 additions, -687 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+1 -0) 📝 `examples/text-to-sql-agent/AGENTS.md` (+37 -37) 📝 `examples/text-to-sql-agent/README.md` (+140 -126) 📝 `examples/text-to-sql-agent/agent.py` (+7 -70) ➕ `examples/text-to-sql-agent/langgraph.json` (+7 -0) 📝 `examples/text-to-sql-agent/pyproject.toml` (+6 -2) 📝 `examples/text-to-sql-agent/skills/query-writing/SKILL.md` (+37 -37) 📝 `examples/text-to-sql-agent/skills/schema-exploration/SKILL.md` (+114 -114) 📝 `examples/text-to-sql-agent/uv.lock` (+126 -17) 📝 `libs/deepagents/deepagents/graph.py` (+1 -1) 📝 `libs/deepagents/deepagents/middleware/filesystem.py` (+126 -126) 📝 `libs/deepagents/deepagents/middleware/memory.py` (+55 -55) 📝 `libs/deepagents/deepagents/middleware/skills.py` (+25 -25) 📝 `libs/deepagents/deepagents/middleware/subagents.py` (+77 -77) </details> ### 📄 Description ## Summary Fixed `uv sync` error by using `[tool.uv.sources]` for local path dependencies. uv doesn't support `file:` relative paths in the dependencies list. The fix moves deepagents and langchain local paths to the `[tool.uv.sources]` section, which is the proper way to specify local dependencies with uv. This resolves: "relative path without a working directory" error. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-16 09:17:39 -05:00
yindo closed this issue 2026-02-16 09:17:39 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/deepagents#928