Skip to content

Commit 911c4c6

Browse files
authored
chore: replace requirements.txt with pyproject.toml dependencies (#337)
1 parent 565b2f5 commit 911c4c6

17 files changed

Lines changed: 112 additions & 42 deletions

File tree

‎.github/MAINTAINERS_GUIDE.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ $ cd bolt-python-examples
2626
$ cd block-kit # Navigate to an example to change
2727
$ python -m venv .venv
2828
$ source .venv/bin/activate
29-
(.venv) $ pip install -r requirements.txt
29+
(.venv) $ pip install -e ".[dev]"
3030
(.venv) $ pip install /path/to/python-slack-sdk/dist/slack_sdk-*-py2.py3-none-any.whl --force-reinstall
3131
```
3232

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
- name: Install dependencies
3737
run: |
3838
pip install -U pip
39-
pip install -r requirements.txt
39+
pip install -e ".[dev]"
4040
- name: Lint and check formatting
4141
run: |
4242
ruff check .
@@ -67,7 +67,7 @@ jobs:
6767
- name: Install dependencies
6868
run: |
6969
pip install -U pip
70-
pip install -r requirements.txt
70+
pip install -e ".[dev]"
7171
- name: Type check
7272
run: |
7373
mypy .
@@ -96,7 +96,7 @@ jobs:
9696
- name: Install dependencies
9797
run: |
9898
pip install -U pip
99-
pip install -r requirements.txt
99+
pip install -e ".[dev]"
100100
- name: Run all tests
101101
run: |
102102
pytest -v

‎ai/slackbot-mcp-client/no-auth/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ __pycache__
22
.venv
33
.env*
44
!.env.example
5+
*.egg-info
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[project]
2+
name = "bolt-python-examples-mcp-client-no-auth"
3+
version = "0.0.0"
4+
requires-python = ">=3.10"
5+
dependencies = [
6+
"httpx2==2.16.0",
7+
"mcp==2.3.0",
8+
"slack_bolt==1.30.0",
9+
"slack_cli_hooks==0.3.0",
10+
"slack_sdk==3.45.0",
11+
"starlette==1.9.0",
12+
"uvicorn==0.54.0",
13+
]
14+
15+
[project.optional-dependencies]
16+
dev = [
17+
"mypy==2.4.0",
18+
"pytest==9.1.1",
19+
"ruff==0.17.1",
20+
]
21+
22+
[tool.setuptools.packages.find]
23+
include = ["src*"]

‎ai/slackbot-mcp-client/no-auth/requirements.txt‎

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

‎ai/slackbot-mcp-client/rich-responses/mcp-apps/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ __pycache__
22
.venv
33
.env*
44
!.env.example
5+
*.egg-info
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[project]
2+
name = "bolt-python-examples-mcp-client-mcp-apps"
3+
version = "0.0.0"
4+
requires-python = ">=3.10"
5+
dependencies = [
6+
"httpx2==2.16.0",
7+
"mcp==2.3.0",
8+
"slack_bolt==1.30.0",
9+
"slack_cli_hooks==0.3.0",
10+
"slack_sdk==3.45.0",
11+
"starlette==1.9.0",
12+
"uvicorn==0.54.0",
13+
]
14+
15+
[project.optional-dependencies]
16+
dev = [
17+
"mypy==2.4.0",
18+
"pytest==9.1.1",
19+
"ruff==0.17.1",
20+
]
21+
22+
[tool.setuptools.packages.find]
23+
include = ["src*"]

‎ai/slackbot-mcp-client/rich-responses/mcp-apps/requirements.txt‎

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

‎ai/slackbot-mcp-client/slack-identity/.gitignore‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ installations/
44
states/
55
.env*
66
!.env.example
7+
*.egg-info
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
[project]
2+
name = "bolt-python-examples-mcp-client-slack-identity"
3+
version = "0.0.0"
4+
requires-python = ">=3.10"
5+
dependencies = [
6+
"httpx2==2.16.0",
7+
"mcp==2.3.0",
8+
"slack_bolt==1.30.0",
9+
"slack_cli_hooks==0.3.0",
10+
"slack_sdk==3.45.0",
11+
"starlette==1.9.0",
12+
"uvicorn==0.54.0",
13+
]
14+
15+
[project.optional-dependencies]
16+
dev = [
17+
"mypy==2.4.0",
18+
"pytest==9.1.1",
19+
"ruff==0.17.1",
20+
]
21+
22+
[tool.setuptools.packages.find]
23+
include = ["src*"]

0 commit comments

Comments
 (0)