Skip to content

Commit 7a1cdba

Browse files
committed
Fix pyproject.toml for dependency-only setup
- Remove [build-system] section - we're not building a package - This is just for dependency management with uv/pip - Add uv.lock for reproducible dependency versions - Fixes 'Unable to determine which files to ship' error with uv sync
1 parent 13a9cf2 commit 7a1cdba

File tree

2 files changed

+88
-9
lines changed

2 files changed

+88
-9
lines changed

pyproject.toml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# pyproject.toml - Dependency management for CodeGraph test scripts
2+
# This is NOT a package - just dependency declarations for uv/pip
3+
#
4+
# Usage:
5+
# uv sync # Install dependencies with uv
6+
# uv run python3 test_agentic_tools.py
7+
#
8+
# Or traditional pip:
9+
# pip install -r requirements-test.txt
10+
111
[project]
212
name = "codegraph-tests"
313
version = "1.0.0"
@@ -11,12 +21,3 @@ dependencies = [
1121
dev = [
1222
"ruff>=0.1.0", # Linting and formatting
1323
]
14-
15-
[tool.uv]
16-
dev-dependencies = [
17-
"ruff>=0.1.0",
18-
]
19-
20-
[build-system]
21-
requires = ["hatchling"]
22-
build-backend = "hatchling.build"

uv.lock

Lines changed: 78 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)