Skip to content

Commit fc71b14

Browse files
milliondreamsclaude
andcommitted
feat(python): add uni-db as path dependency with poetry-plugin-mono-repo-deps
- Add uni-db as path dependency in [tool.poetry.dependencies] for development - Add uni-db>=0.1.0 in [project].dependencies for pip/PyPI installs - Enable poetry-plugin-mono-repo-deps to convert path deps when building - Remove outdated comment about manual uni-db installation Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 86be764 commit fc71b14

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

.github/workflows/deploy-docs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
pip install ../../target/wheels/*.whl
5353
5454
# Install uni-pydantic (pydantic notebooks need it)
55+
# uni-db requirement is satisfied by wheel installed above
5556
- name: Install uni-pydantic
5657
run: |
5758
pip install ./bindings/python/uni-pydantic

bindings/python/uni-pydantic/pyproject.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ classifiers = [
2626
]
2727
dependencies = [
2828
"pydantic>=2.0.0,<3.0.0",
29+
"uni-db>=0.1.0",
2930
]
3031

3132
[project.optional-dependencies]
@@ -35,9 +36,6 @@ dev = [
3536
"pytest>=7.0.0",
3637
]
3738

38-
# Note: uni-db must be installed separately from the parent bindings/python directory
39-
# using: cd bindings/python && poetry run maturin develop
40-
4139
[project.urls]
4240
Homepage = "https://www.rustic.ai"
4341
Documentation = "https://rustic-ai.github.io/uni"
@@ -55,6 +53,10 @@ packages = [{ include = "uni_pydantic", from = "src" }]
5553
[tool.poetry.dependencies]
5654
python = ">=3.10,<4.0"
5755
pydantic = ">=2.0.0,<3.0.0"
56+
uni-db = { path = "../", develop = true }
57+
58+
[tool.poetry-monorepo.deps]
59+
enabled = true
5860

5961
[tool.poetry.group.dev.dependencies]
6062
ruff = ">=0.1.0"

0 commit comments

Comments
 (0)