[PR #271] Add pyproject.toml for PEP 518 build system compliance #333

Open
opened 2026-10-26 21:16:23 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/deepseek-ai/DeepGEMM/pull/271
Author: @yurekami
Created: 12/31/2025
Status: 🔄 Open

Base: main ← Head: feature/add-pyproject-toml


📝 Commits (1)

  • 9192e27 Add pyproject.toml for PEP 518 build system compliance

📊 Changes

1 file changed (+51 additions, -0 deletions)

View changed files

➕ pyproject.toml (+51 -0)

📄 Description

Summary

This PR adds a pyproject.toml file to address #207 (Missing build requirements documentation).

Changes:

  • Added pyproject.toml specifying build-system requirements per PEP 518
  • Build dependencies: setuptools>=61.0, wheel, torch>=2.0.0, packaging
  • Project metadata including description, authors, Python version requirements, and classifiers
  • Dynamic version reading from deep_gemm.__version__
  • Package data configuration for include files

Benefits

  1. PEP 518 Compliance: Modern packaging tools (pip, build, poetry) expect pyproject.toml for build isolation
  2. Build Reproducibility: Explicit build requirements ensure consistent builds across environments
  3. Better Discovery: Enhanced metadata improves package discoverability on PyPI
  4. Future-proof: setup.py is being phased out in favor of declarative pyproject.toml

Test Plan

  • Verify pip install . works correctly with build isolation
  • Verify python -m build produces correct wheel
  • Verify existing setup.py functionality remains intact

Fixes #207

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/deepseek-ai/DeepGEMM/pull/271 **Author:** [@yurekami](https://github.com/yurekami) **Created:** 12/31/2025 **Status:** 🔄 Open **Base:** `main` ← **Head:** `feature/add-pyproject-toml` --- ### 📝 Commits (1) - [`9192e27`](https://github.com/deepseek-ai/DeepGEMM/commit/9192e27adeb9e4826efdc7e340c05d0174d837e0) Add pyproject.toml for PEP 518 build system compliance ### 📊 Changes **1 file changed** (+51 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `pyproject.toml` (+51 -0) </details> ### 📄 Description ## Summary This PR adds a `pyproject.toml` file to address #207 (Missing build requirements documentation). **Changes:** - Added `pyproject.toml` specifying build-system requirements per PEP 518 - Build dependencies: `setuptools>=61.0`, `wheel`, `torch>=2.0.0`, `packaging` - Project metadata including description, authors, Python version requirements, and classifiers - Dynamic version reading from `deep_gemm.__version__` - Package data configuration for include files ## Benefits 1. **PEP 518 Compliance**: Modern packaging tools (pip, build, poetry) expect `pyproject.toml` for build isolation 2. **Build Reproducibility**: Explicit build requirements ensure consistent builds across environments 3. **Better Discovery**: Enhanced metadata improves package discoverability on PyPI 4. **Future-proof**: `setup.py` is being phased out in favor of declarative `pyproject.toml` ## Test Plan - [ ] Verify `pip install .` works correctly with build isolation - [ ] Verify `python -m build` produces correct wheel - [ ] Verify existing `setup.py` functionality remains intact Fixes #207 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
deepseek-ai/DeepGEMM#333
No description provided.