Skip to content

Commit e15d8d6

Browse files
MementoRCclaude
andcommitted
fix: align pixi environments with AG CI flow patterns
- Added python dependency to base pixi dependencies - Added pypi-dependencies for proper editable install - Added pythonpath to pytest config for src/ discovery - Removed PYTHONPATH workaround from CI workflow - Configuration now aligns with AG_pyproject_tiered_template This should resolve the remaining pip/install-editable conflicts and make CI environments work consistently. Iteration: 3/5 Issue: CI environment and dependency resolution References: .claude/commands/references/AG_pyproject_* 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent 619cd42 commit e15d8d6

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
- name: Run tests
4141
shell: bash
4242
run: |
43-
PYTHONPATH=src pixi run -e quality pytest tests/ --cov=src/uckn --cov-report=xml -v
43+
pixi run -e quality pytest tests/ --cov=src/uckn --cov-report=xml -v
4444
4545
- name: Upload coverage to Codecov
4646
if: matrix.os == 'ubuntu-latest' && matrix.python-version == '3.11'

pyproject.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ platforms = ["linux-64"] # Development environment stays lean
5252

5353
[tool.pixi.dependencies]
5454
# Core dependencies for linux-64 CI environment
55+
python = ">=3.10"
5556
alembic = "*"
5657
click = "*"
5758
fastapi = "*"
@@ -66,6 +67,9 @@ sqlalchemy = "*"
6667
toml = "*"
6768
uvicorn = "*"
6869

70+
[tool.pixi.pypi-dependencies]
71+
uckn-framework = { path = ".", editable = true }
72+
6973
# ML/Heavy packages - test if they work with single platform:
7074
# chromadb = "*" # May still cause issues
7175
# numpy = "*"
@@ -287,6 +291,7 @@ testpaths = ["tests"]
287291
python_files = ["test_*.py", "*_test.py"]
288292
python_classes = ["Test*"]
289293
python_functions = ["test_*"]
294+
pythonpath = ["src"]
290295
addopts = [
291296
"--strict-markers",
292297
"--strict-config",

0 commit comments

Comments
 (0)