Skip to content

Comments

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

Open
mwbrooks wants to merge 1 commit intomainfrom
mwbrooks-pyproject-project-section
Open

chore: update pyproject.toml with [project] section#71
mwbrooks wants to merge 1 commit intomainfrom
mwbrooks-pyproject-project-section

Conversation

@mwbrooks
Copy link
Member

@mwbrooks mwbrooks commented Feb 20, 2026

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

@mwbrooks mwbrooks self-assigned this Feb 20, 2026
@mwbrooks mwbrooks requested a review from a team as a code owner February 20, 2026 23:09
@mwbrooks mwbrooks added the bug Something isn't working label Feb 20, 2026
[project]
name = "bolt-python-starter-template"
version = "0.1.0"
requires-python = ">=3.11"
Copy link
Member Author

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.

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

@zimeg zimeg left a comment

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 on lines +9 to +13
[project.optional-dependencies]
dev = [
"pytest==9.0.2",
"ruff==0.9.4",
]
Copy link
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
Contributor

Choose a reason for hiding this comment

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

Copy link
Contributor

@WilliamBergamin WilliamBergamin left a comment

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!

@@ -1,3 +1,17 @@
[project]
name = "bolt-python-starter-template"
version = "0.1.0"
Copy link
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 on lines +9 to +13
[project.optional-dependencies]
dev = [
"pytest==9.0.2",
"ruff==0.9.4",
]
Copy link
Contributor

Choose a reason for hiding this comment

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

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

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants