From 4583ac9667c1d4c4198aaab860319cc712e69460 Mon Sep 17 00:00:00 2001 From: Eden Zimbelman Date: Thu, 29 Oct 2026 21:23:44 -0700 Subject: [PATCH] chore: remove the bolt vendoring commands and maintainers guide Co-Authored-By: Claude --- .claude/commands/unvendor-bolt.md | 35 ---------------------------- .claude/commands/vendor-bolt.md | 38 ------------------------------- .github/MAINTAINERS_GUIDE.md | 17 -------------- 3 files changed, 90 deletions(-) delete mode 100644 .claude/commands/unvendor-bolt.md delete mode 100644 .claude/commands/vendor-bolt.md delete mode 100644 .github/MAINTAINERS_GUIDE.md diff --git a/.claude/commands/unvendor-bolt.md b/.claude/commands/unvendor-bolt.md deleted file mode 100644 index 51210e1..0000000 --- a/.claude/commands/unvendor-bolt.md +++ /dev/null @@ -1,35 +0,0 @@ -Switch from the vendored bolt-python wheel to the latest published `slack-bolt` package on PyPI. - -## Steps - -1. Look up the latest published version of `slack-bolt`: - ``` - curl -s https://pypi.org/pypi/slack-bolt/json | python3 -c "import sys,json; print(json.load(sys.stdin)['info']['version'])" - ``` - -2. Delete the `vendor/` directory: - ``` - rm -rf vendor - ``` - -3. In all three `requirements.txt` files (`claude-agent-sdk/requirements.txt`, `openai-agents-sdk/requirements.txt`, `pydantic-ai/requirements.txt`), replace the `../vendor/slack_bolt-*.whl` line with `slack-bolt>=` using the version from step 1. - -4. In all three `pyproject.toml` files (`claude-agent-sdk/pyproject.toml`, `openai-agents-sdk/pyproject.toml`, `pydantic-ai/pyproject.toml`), replace the comment `# slack-bolt is installed from a vendored whl — see ../vendor/` with an actual dependency `"slack-bolt>="` using the version from step 1. - -5. For each implementation directory, if a `.venv` virtual environment exists, activate it and install the updated requirements: - ``` - if [ -f /.venv/bin/activate ]; then - source /.venv/bin/activate && pip install -r /requirements.txt - fi - ``` - -6. If `.github/dependabot.yml` has an `ignore` rule for `slack-bolt`, remove it so Dependabot can manage updates. - -7. Update `README.md` — replace the "Local Development" section that describes vendored bolt with: - ``` - ## Local Development - - This repo uses [`slack-bolt`](https://pypi.org/project/slack-bolt/) from PyPI. - ``` - -8. Report the version change to the user. Do NOT commit — let the user review first. diff --git a/.claude/commands/vendor-bolt.md b/.claude/commands/vendor-bolt.md deleted file mode 100644 index 2405b57..0000000 --- a/.claude/commands/vendor-bolt.md +++ /dev/null @@ -1,38 +0,0 @@ -Update the vendored bolt-python wheel to the latest commit on the `main` branch. - -## Steps - -1. If `.bolt-python-build/` exists, `cd` into it and run `git pull`. Otherwise, clone bolt-python: - ``` - git clone --depth 1 https://github.com/slackapi/bolt-python.git .bolt-python-build - ``` - -2. `cd .bolt-python-build` and get the HEAD commit SHA (short form, 7 chars): - ``` - SHA=$(git rev-parse --short HEAD) - ``` - -3. Read the current version from `slack_bolt/version.py` and patch it to append `+` as a PEP 440 local version identifier: - ``` - sed -i '' "s/__version__ = \"\(.*\)\"/__version__ = \"\1+$SHA\"/" slack_bolt/version.py - ``` - -4. Build the wheel: - ``` - python -m build --wheel - ``` - -5. Remove any old `.whl` files from `vendor/` and copy the new one in: - ``` - rm -f ../vendor/slack_bolt-*.whl - cp dist/slack_bolt-*.whl ../vendor/ - ``` - -6. Update the whl filename in all three `requirements.txt` files (`claude-agent-sdk/requirements.txt`, `openai-agents-sdk/requirements.txt`, `pydantic-ai/requirements.txt`). Replace the existing `../vendor/slack_bolt-*.whl` line with the new filename. - -7. Clean up the build directory: - ``` - cd .. && rm -rf .bolt-python-build - ``` - -8. Report the old version/SHA vs new version/SHA to the user. Do NOT commit — let the user review first. diff --git a/.github/MAINTAINERS_GUIDE.md b/.github/MAINTAINERS_GUIDE.md deleted file mode 100644 index 08b255c..0000000 --- a/.github/MAINTAINERS_GUIDE.md +++ /dev/null @@ -1,17 +0,0 @@ -# Maintainers Guide - -## Using Bolt Framework Development Builds - -This repo vendors a pre-release build of [`slack-bolt`](https://github.com/slackapi/bolt-python) from the `main` branch. The `.whl` wheel lives in `vendor/` and is referenced by each implementation's `requirements.txt`. - -Two [Claude Code slash commands](https://docs.anthropic.com/en/docs/claude-code/slash-commands) are available to manage this: - -### `/vendor-bolt` — Update the vendored wheel - -Clones bolt-python `main`, builds a wheel with a local version identifier (e.g. `1.2.3+abc1234`), replaces the wheel in `vendor/`, and updates all `requirements.txt` references. Use this to pull in the latest unreleased bolt-python changes. - -### `/unvendor-bolt` — Switch to the published PyPI package - -Removes the `vendor/` directory, replaces the wheel reference in all `requirements.txt` and `pyproject.toml` files with the latest `slack-bolt` version from PyPI, and re-enables Dependabot updates. Use this when the vendored changes have been released and the repo should track the public package. - -Both commands leave changes uncommitted for review.