Skip to content

Add setuptools build-system to pyproject.toml#57

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/add-setuptools-to-build-system
Draft

Add setuptools build-system to pyproject.toml#57
Copilot wants to merge 2 commits intomainfrom
copilot/add-setuptools-to-build-system

Conversation

Copy link

Copilot AI commented Mar 2, 2026

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 on lines +1 to +3
[build-system]
requires = ["setuptools >= 78.1.1"]
build-backend = "setuptools.build_meta"
Copy link
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

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.

2 participants