Skip to content

feat(#94): add Python package manager support - #360

Merged
admarble merged 3 commits into
mainfrom
feature/94-feat-add-support-for-more-technology-stacks
Mar 13, 2026
Merged

admarble merged 3 commits into
mainfrom
feature/94-feat-add-support-for-more-technology-stacks

Conversation

@admarble

Copy link
Copy Markdown
Contributor

Summary

  • Extend PackageManager type to include pip, poetry, and uv
  • Add PM_CONFIG entries with correct commands for each Python package manager
  • Add Python lockfile detection with priority: uv.lock → poetry.lock → pip fallback
  • Add comprehensive unit tests for Python PM detection and command configurations

Changes

File Change
src/lib/stacks.ts Added Python PM types, configs, and detection logic
src/lib/stacks.test.ts Added 17 new tests for Python PM detection

Test Plan

  • All 111 stacks tests pass (includes 17 new Python PM tests)
  • Full test suite passes (1522 tests)
  • TypeScript build passes
  • Changed files have no lint issues

AC Coverage

AC Description Status
AC-1 Stack detection for Python, Go, Rust ✅ Already implemented
AC-2 PM_CONFIG supports new PMs ✅ Implemented (pip, poetry, uv)
AC-3 Test/build/lint commands per stack ✅ Already implemented
AC-4 Skill templates adapted per stack ✅ Uses {{PM_RUN}} token
AC-5 sequant init works for new stacks ✅ Python PM detection integrated
AC-6 Documentation updated ✅ Already implemented

Closes #94

🤖 Generated with Claude Code

Extend stack support to detect and configure Python package managers:
- Add pip, poetry, uv to PackageManager type
- Add PM_CONFIG entries with correct commands for each Python PM
- Add Python lockfile detection (uv.lock → poetry.lock → pip fallback)
- Add comprehensive unit tests for Python PM detection and commands

This satisfies AC-2 (PM_CONFIG supports new package managers) and
enables proper Python project initialization with correct commands.

Closes #94

Entire-Checkpoint: 8716d340558c
Added poetry run, uv run, and python -m to the PM_RUN defaults note
in test skill templates.
Added poetry run, uv run, and python -m to the PM_RUN defaults note
in all three test skill template directories.
@admarble
admarble merged commit 58176a1 into main Mar 13, 2026
4 of 9 checks passed
@admarble
admarble deleted the feature/94-feat-add-support-for-more-technology-stacks branch March 13, 2026 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat: Add support for more technology stacks

1 participant