Skip to content

Commit c3ec1cf

Browse files
authored
chore: remove requirements.txt in favour of pyproject.toml (#156)
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.
1 parent 304ae6c commit c3ec1cf

4 files changed

Lines changed: 3 additions & 13 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
- name: Install dependencies
2020
run: |
2121
pip install -U pip
22-
pip install -r requirements.txt
22+
pip install -e ".[dev]"
2323
- name: Lint and check formatting
2424
run: |
2525
ruff check .

‎README.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ source .venv/bin/activate # for Windows OS, .\.venv\Scripts\Activate instead sh
9999
#### Install dependencies
100100

101101
```sh
102-
pip install -r requirements.txt
102+
pip install -e ".[dev]"
103103
```
104104

105105
</details>

‎pyproject.toml‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ dependencies = [
66
"slack-sdk==3.45.0",
77
"slack-bolt==1.30.0",
88
"slack-cli-hooks<1.0.0",
9+
# If you use a different LLM vendor, replace this dependency
910
"openai==3.29.0",
1011
"python-dotenv==1.2.4",
1112
]

‎requirements.txt‎

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)