From 8fe286784f0bcd1208972cff64ae8e1df967a776 Mon Sep 17 00:00:00 2001 From: Michael Brooks Date: Fri, 20 Feb 2026 15:07:46 -0800 Subject: [PATCH 1/2] feat: update pyproject.toml with project section --- pyproject.toml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/pyproject.toml b/pyproject.toml index b800495..65dd3d9 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,17 @@ +[project] +name = "bolt-python-starter-template" +version = "0.1.0" +requires-python = ">=3.11" +dependencies = [ + "slack-bolt==1.27.0", +] + +[project.optional-dependencies] +dev = [ + "pytest==9.0.2", + "ruff==0.9.4", +] + [tool.ruff] line-length = 125 exclude = [".venv", "venv"] From 3f638f7e9231a91ce31ff8ab5ec255b24a076c7f Mon Sep 17 00:00:00 2001 From: Michael Brooks Date: Mon, 19 Oct 2026 08:42:12 -0600 Subject: [PATCH 2/2] chore: replace requirements.txt with pyproject.toml dependencies 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 the version to 0.0.0 to match bolt-python-search-template. --- .github/workflows/ci.yml | 4 ++-- README.md | 2 +- pyproject.toml | 11 +++++++---- requirements.txt | 3 --- 4 files changed, 10 insertions(+), 10 deletions(-) delete mode 100644 requirements.txt diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e78f948..3457390 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: - name: Install dependencies run: | pip install -U pip - pip install -r requirements.txt + pip install -e ".[dev]" - name: Lint and check formatting run: | ruff check . @@ -44,7 +44,7 @@ jobs: - name: Install dependencies run: | pip install -U pip - pip install -r requirements.txt + pip install -e ".[dev]" - name: Run all tests run: | pytest . -v diff --git a/README.md b/README.md index c726123..95e4430 100644 --- a/README.md +++ b/README.md @@ -76,7 +76,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 65dd3d9..a334bb1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,17 +1,20 @@ [project] name = "bolt-python-starter-template" -version = "0.1.0" +version = "0.0.0" requires-python = ">=3.11" dependencies = [ - "slack-bolt==1.27.0", + "slack-bolt==1.30.0", ] [project.optional-dependencies] dev = [ - "pytest==9.0.2", - "ruff==0.9.4", + "pytest==9.1.1", + "ruff==0.16.9", ] +[tool.setuptools.packages.find] +include = ["listeners*"] + [tool.ruff] line-length = 125 exclude = [".venv", "venv"] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index addccd7..0000000 --- a/requirements.txt +++ /dev/null @@ -1,3 +0,0 @@ -pytest==9.1.1 -ruff==0.16.9 -slack-bolt==1.30.0