From fc7fa74debb20adec31d967cb73eccc1cba65db7 Mon Sep 17 00:00:00 2001 From: Michael Brooks Date: Mon, 19 Oct 2026 11:26:16 -0600 Subject: [PATCH] chore: replace requirements.txt with pyproject.toml dependencies --- .github/workflows/ruff.yml | 2 +- README.md | 2 +- pyproject.toml | 21 +++++++++++++++++++++ requirements.txt | 7 ------- 4 files changed, 23 insertions(+), 9 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 0aefe00..b253e96 100644 --- a/README.md +++ b/README.md @@ -90,7 +90,7 @@ python3 -m venv .venv source .venv/bin/activate # Install the dependencies -pip install -r requirements.txt +pip install -e ".[dev]" # Start your local server python3 app.py diff --git a/pyproject.toml b/pyproject.toml index 6dca91c..050ba59 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,24 @@ +[project] +name = "bolt-python-ai-chatbot" +version = "0.0.0" +requires-python = ">=3.10" +dependencies = [ + "slack-bolt==1.30.0", + "slack-cli-hooks==0.3.0", + "openai==3.26.1", + "anthropic==1.13.0", + "google-genai==2.30.1", +] + +[project.optional-dependencies] +dev = [ + "pytest==9.1.1", + "ruff==0.16.10", +] + +[tool.setuptools.packages.find] +include = ["ai*", "listeners*", "state_store*"] + [tool.ruff] [tool.ruff.lint] [tool.ruff.format] diff --git a/requirements.txt b/requirements.txt deleted file mode 100644 index 5826b9b..0000000 --- a/requirements.txt +++ /dev/null @@ -1,7 +0,0 @@ -slack-bolt==1.30.0 -pytest==9.1.1 -ruff==0.16.10 -slack-cli-hooks==0.3.0 -openai==3.26.1 -anthropic==1.13.0 -google-genai==2.30.1