Repository navigation
chore: replace requirements.txt with pyproject.toml dependencies - #69
Merged
Merged
Conversation
2 tasks done
WilliamBergamin
left a comment
Contributor
There was a problem hiding this comment.
This looks good 💯
I think we might be able to remove the requirements.txt
Remove requirements.txt so pyproject.toml is the single source of dependencies, per review. Sync the pinned versions with the ones requirements.txt had, install with `pip install -e ".[dev]"` in CI and the README, and limit setuptools package discovery to `listeners` so the editable install works with the flat layout. Set requires-python to the oldest version CI tests and the version to 0.0.0, matching bolt-python-starter-template#71.
mwbrooks
commented
Oct 19, 2026
| [project] | ||
| name = "bolt-python-custom-step-template" | ||
| version = "0.0.0" | ||
| requires-python = ">=3.10" |
Member
Author
There was a problem hiding this comment.
note: We may want to bump this once we decide what min version we want to support. For now it'll match our Workflow tests.
Member
Author
@WilliamBergamin I agree - |
mwbrooks
enabled auto-merge (squash)
October 19, 2026 15:12
Co-Authored-By: Claude <svc-devxp-claude@slack-corp.com>
This was referenced Oct 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of change
Summary
This pull request makes
pyproject.tomlthe single source of dependencies by adding a[project]section with adependenciesarray and removingrequirements.txt.Without a
[project]section,pip install -e .returns an error. The Slack CLI runs that same command when it finds apyproject.toml, so this also covers projects created withslack create.requirements.txtintodependenciesand adevextra forpytestandrufflisteners, so the editable install works with the flat project layoutpip install -e ".[dev]"in CI and the READMERequirements