Skip to content

chore: update pyproject.toml with [project] section - #71

Open
mwbrooks wants to merge 3 commits into
mainfrom
mwbrooks-pyproject-project-section
Open

chore: update pyproject.toml with [project] section#71
mwbrooks wants to merge 3 commits into
mainfrom
mwbrooks-pyproject-project-section

Conversation

@mwbrooks

@mwbrooksmwbrooks commented Feb 20, 2026

Copy link
Copy Markdown
Member

Type of change

  • New feature
  • Bug fix
  • Documentation

Summary

This pull request update pyproject.toml with a [project] section and dependencies array.

This is important for developers running pip install -e .. Without a project section and dependencies array, an error is returned.

Requirements

  • I have ensured the changes I am contributing align with existing patterns and have tested and linted my code
  • I've read and agree to the Code of Conduct

@mwbrooksmwbrooks self-assigned this Feb 20, 2026
@mwbrooks
mwbrooks requested a review from a team as a code ownerFebruary 20, 2026 23:09
@mwbrooksmwbrooks added the bug Something isn't working label Feb 20, 2026
Comment threadpyproject.toml
[project]
name = "bolt-python-starter-template"
version = "0.1.0"
requires-python = ">=3.11"

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

note: I went with 3.11 because it's the min version our Workflow tests.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We should probably use the latest version of python here and in the workflow tests

@mwbrooksmwbrooks changed the title fix: update pyproject.toml with project sectionchore: update pyproject.toml with project sectionFeb 21, 2026
@mwbrooksmwbrooks changed the title chore: update pyproject.toml with project sectionchore: update pyproject.toml with [project] sectionFeb 21, 2026
@mwbrooksmwbrooks added enhancement New feature or request and removed bug Something isn't working labels Feb 21, 2026

@zimegzimeg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@mwbrooks LGTM and thanks for bringing this project to latest standards oncemore 🚀 ✨

I'm leaving a comment about requirements.txt that might be related to this changeset but shouldn't block changes otherwise! Thanks for finding these update 📠

Comment threadpyproject.toml
Comment on lines +9 to +13
[project.optional-dependencies]
dev = [
"pytest==9.0.2",
"ruff==0.9.4",
]

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

🪓 question: Can we remove requirements.txt alongside these additions?

IIRC the pyproject.toml is recommended as standard for dependencies?

It’s important to be clear that pip determines package dependencies using the project metadata (typically in pyproject.toml or setup.py), not by discovering requirements.txt files embedded in projects.

🔗 https://pip.pypa.io/en/latest/user_guide/#requirements-files

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@WilliamBergaminWilliamBergamin left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for working on this 💯

Similar comments as @zimeg non blocking though!

Comment threadpyproject.toml
@@ -1,3 +1,17 @@
[project]
name = "bolt-python-starter-template"
version = "0.1.0"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why not 0.0.0?

Comment threadpyproject.toml
Comment on lines +9 to +13
[project.optional-dependencies]
dev = [
"pytest==9.0.2",
"ruff==0.9.4",
]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancementNew feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@mwbrooks@zimeg@WilliamBergamin