mirror of
https://github.com/deepseek-ai/DeepGEMM.git
synced 2026-11-05 00:47:26 +00:00
[PR #245] [CLOSED] build: add pyproject.toml for PEP 518 compliance and automatic versioning #309
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deepseek-ai/DeepGEMM#309
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/245
Author: @yurekami
Created: 12/25/2025
Status: ❌ Closed
Base:
main← Head:feat/add-pyproject-toml📝 Commits (1)
8bea3dfbuild: add setuptools-scm for automatic version management📊 Changes
4 files changed (+116 additions, -4 deletions)
View changed files
📝
.gitignore(+4 -1)📝
deep_gemm/__init__.py(+10 -1)➕
pyproject.toml(+60 -0)📝
setup.py(+42 -2)📄 Description
Summary
This PR adds a comprehensive
pyproject.tomlthat addresses two issues:Issue #207 - Missing build requirements for PEP 518
pipandpython -m buildcan now automatically install build dependenciesIssue #228 - Version mismatch for post-releases
setuptools-scmfor automatic version detection from git tagsv2.1.1.post3→2.1.1.post3)__version__maintenance in__init__.pyChanges
Build requirements:
setuptools>=61.0: modern build backendsetuptools-scm>=8.0: automatic versioning from git tagswheel: for bdist_wheel commandtorch>=2.1.0: CUDA extension buildingpackaging: version parsing utilitiessetuptools-scm configuration:
deep_gemm/_version.pyfor runtime access0.0.0when not in a git repo (e.g., source tarball)Project metadata:
Test plan
python -m buildworks without pre-installed dependencies🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.