FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

fix: set build-backend in pyproject.toml by Jah-yee · Pull Request #1455 · libgit2/pygit2 · GitHub

Repository navigation

fix: set build-backend in pyproject.toml - #1455

Merged
jdavid merged 1 commit into
libgit2:masterfrom
Jah-yee:master
Mar 19, 2026
Merged

jdavid merged 1 commit into
libgit2:masterfrom
Jah-yee:master

Conversation

Jah-yee commented Mar 19, 2026

Copy link
Copy Markdown

Summary

Remove wheel from build requirements and add proper build-backend = "setuptools.build_meta" per PEP 517.

Problem

Issue #1452 points out that the current pyproject.toml is missing the build-backend setting. Without it, pip uses legacy build behavior which causes issues.

Fix

  • Remove wheel from [build-system].requires (it's no longer needed as it's now part of setuptools)
  • Add build-backend = "setuptools.build_meta" to enable proper PEP 517 build isolation

Testing

This is a configuration-only change. The fix follows PEP 517 and setuptools documentation.

Closes #1452

Remove wheel from build requirements and add proper
build-backend per PEP 517. This fixes the issue where
pip install would not use build isolation properly.

Fixes #1452
jdavid merged commit 6b027da into libgit2:master Mar 19, 2026
14 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

[packaging][good first issue] Set build backend in pyproject.toml

2 participants


Back | FazBrowse Home | New Git URL