Skip to content

fix: install dev extras in projects renamed by the Slack CLI - #119

Merged
zimeg merged 1 commit into
mainfrom
fix-dev-extras
Dec 2, 2026
Merged

zimeg merged 1 commit into
mainfrom
fix-dev-extras

Conversation

@zimeg

@zimeg zimeg commented Dec 2, 2026 •

Copy link
Copy Markdown
Member

Summary

This pull request fixes pip install -e ".[dev]" in projects created with slack create.

  • Each dev extra pulled in the test extra by naming its own project, such as bolt-python-coding-agent-pydantic[test].
  • slack create renames the project in pyproject.toml, so the dev extra names a package that no longer exists and the install fails: dx-main[dev]==0.1.0 cannot be used ... your requirements are unsatisfiable.
  • The dev extras now list the test pins themselves, in all three subprojects, as slack-samples/bolt-python-starter-agent#318 did.

Testing

  • Run slack create my-agent -t slack-samples/bolt-python-coding-agent --subdir pydantic-ai -b fix-dev-extras, then pip install -e ".[dev]" in a fresh virtual environment, and confirm it installs pytest and ruff.
  • Repeat with --subdir claude-agent-sdk or openai-agents-sdk.

🤖 Generated with Claude Code

Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
@zimeg zimeg added the bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented label Dec 2, 2026
@zimeg zimeg self-assigned this Dec 2, 2026
@zimeg
zimeg marked this pull request as ready for review December 2, 2026 19:43
@zimeg
zimeg requested a review from a team as a code owner December 2, 2026 19:43

@mwbrooks mwbrooks left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Thanks @zimeg! Spelling out the test pins means pip install -e ".[dev]" works no matter what slack create names the project.

@zimeg

zimeg commented Dec 2, 2026

Copy link
Copy Markdown
Member Author

🌟 Thanks for the kind review @mwbrooks!

@zimeg
zimeg merged commit b2e963c into main Dec 2, 2026
8 checks passed
@zimeg
zimeg deleted the fix-dev-extras branch December 2, 2026 19:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug M-T: confirmed bug report. Issues are confirmed when the reproduction steps are documented

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants