From 7075bf07e857f7e16daf72a0960d9c36db6367d9 Mon Sep 17 00:00:00 2001 From: Michael Brooks Date: Mon, 19 Oct 2026 11:05:19 -0600 Subject: [PATCH] chore: remove requirements.txt in favour of pyproject.toml pyproject.toml already declares every dependency. Removing requirements.txt leaves one source of dependencies, matching bolt-python-starter-template#71. CI and the README now install with `pip install -e ".[dev]"`, and the LLM vendor note moves into pyproject.toml. --- .github/workflows/ruff.yml | 2 +- README.md | 2 +- pyproject.toml | 1 + requirements.txt | 11 ----------- 4 files changed, 3 insertions(+), 13 deletions(-) delete mode 100644 requirements.txt diff --git a/.github/workflows/ruff.yml b/.github/workflows/ruff.yml index 828a1f6..86bfda5 100644 --- a/.github/workflows/ruff.yml +++ b/.github/workflows/ruff.yml @@ -22,7 +22,7 @@ jobs: - name: Install dependencies run: | pip install -U pip - pip install -r requirements.txt + pip install -e ".[dev]" - name: Lint and check formatting with ruff run: | ruff check . diff --git a/README.md b/README.md index 46026fb..20d4fef 100644 --- a/README.md +++ b/README.md @@ -99,7 +99,7 @@ source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead sh #### Install dependencies ```sh -pip install -r requirements.txt +pip install -e ".[dev]" ``` diff --git a/pyproject.toml b/pyproject.toml index 90244b5..6915bd6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,6 +6,7 @@ dependencies = [ "slack-sdk==3.45.0", "slack-bolt==1.30.0", "slack-cli-hooks<1.0.0", + # If you use a different LLM vendor, replace this dependency "openai==3.29.0", "python-dotenv==1.2.4", ] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 60dce27..0000000 --- a/requirements.txt +++ /dev/null @@ -1,11 +0,0 @@ -slack-sdk==3.45.0 -slack-bolt==1.30.0 -slack-cli-hooks<1.0.0 - -# If you use a different LLM vendor, replace this dependency -openai==3.29.0 - -pytest==9.1.1 -ruff==0.17.0 -python-dotenv==1.2.4 -slack-cli-hooks<1.0.0