Skip to content

Add setuptools build-system to pyproject.toml - #57

Closed
zimeg with Copilot wants to merge 3 commits into
mainfrom
copilot/add-setuptools-to-build-system
Closed

zimeg with Copilot wants to merge 3 commits into
mainfrom
copilot/add-setuptools-to-build-system

Conversation

Copilot AI commented Mar 2, 2026 •

Copy link
Copy Markdown

pyproject.toml lacked a [build-system] table, leaving packaging tools without an explicit build backend.

Changes

  • pyproject.toml: Added [build-system] section declaring setuptools as the build backend
[build-system]
requires = ["setuptools >= 78.1.1"]
build-backend = "setuptools.build_meta"

Note: Minimum pinned to 78.1.1 (not 77.0.3 as suggested) to avoid a path-traversal/arbitrary-file-write vulnerability present in setuptools < 78.1.1.


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

Co-authored-by: zimeg <18134219+zimeg@users.noreply.github.com>
Copilot AI changed the title [WIP] Add setuptools to the build system Add setuptools build-system to pyproject.toml Mar 2, 2026
Copilot finished work on behalf of zimeg March 2, 2026 20:43
Comment thread pyproject.toml
Comment on lines +1 to +3
[build-system]
requires = ["setuptools >= 78.1.1"]
build-backend = "setuptools.build_meta"

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.

@srtaalej Might this fix issues with create for you?

$ slack create --template slack-samples/bolt-python-assistant-template --branch copilot/add-setuptools-to-build-system

@mwbrooks

Copy link
Copy Markdown
Member

note: pip falls back to setuptools when [build-system] is missing and our other Python templates follow the same pattern. For now, I feel we should close this until we plan to rollout [build-system] to all sample apps.

@mwbrooks mwbrooks closed this Oct 20, 2026
@zimeg
zimeg deleted the copilot/add-setuptools-to-build-system branch October 20, 2026 17:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants