Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,24 @@
[project]
name = "bolt-python-ai-agent-template"
version = "0.1.0"
requires-python = ">=3.9"
dependencies = [
"slack-sdk==3.40.0",
"slack-bolt==1.27.0",
"slack-cli-hooks<1.0.0",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔭 question: I'm alright keeping this as a required dependency, but would we want to move this to optional? I'm also still a believer in pinned version FWIW-

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, let's move it to optional in the future

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

optional and pinned >> 👀

"openai==2.12.0",
"python-dotenv==1.2.1",
]

[project.optional-dependencies]
dev = [
"pytest==8.4.2",
"ruff==0.14.7",
]

[tool.setuptools.packages.find]
include = ["agent*", "listeners*"]
Comment on lines +19 to +20
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👁️‍🗨️ praise: This might be difficult to maintain onward but perhaps we revisit sample structure later?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I wonder if we should start to store everything in src/?


[tool.ruff]
[tool.ruff.lint]
[tool.ruff.format]
Expand Down
1 change: 1 addition & 0 deletions requirements.txt
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🪓 question: Should we prefer pyproject.toml overall? IIRC requirements.txt isn't recommended going forward but no blocker here!

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yea, I think so. In future iterations, let's start only including pyproject.toml.

Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
slack-sdk==3.40.0
slack-bolt==1.27.0
slack-cli-hooks<1.0.0

# If you use a different LLM vendor, replace this dependency
openai==2.12.0
Expand Down