microsoft / microsoft/mssql-python

Add pyproject.toml for modern Python packaging

Open
#257 0 comments 0 reactions 1 assignee View on GitHub

@bewithgaurav is already working on this.

Since Sep 24, 2025.

area: packaging-platform enhancement
Dominant language
Python
Stars
472
Forks
60
Avg merge
2d 11h
Merged PRs (30d)
36

Description

Describe the enhancement

The mssql-python project currently uses setup.py for packaging configuration. Modern Python packaging standards recommend using pyproject.toml as the primary configuration file for build systems, dependencies, and project metadata. This change would improve maintainability, standardize the build process, and align with current Python packaging best practices.

Benefits of migrating to pyproject.toml
  1. Modern Standard: pyproject.toml is the current standard defined by PEP 518, PEP 621, and PEP 660
  2. Declarative Configuration: Cleaner, more readable configuration format
  3. Tool Integration: Better support for development tools (black, flake8, pytest, mypy, etc.)
  4. Build System Isolation: Proper build dependency specification
  5. IDE Support: Enhanced IDE integration and tooling support
Proposed changes

Referenced from #242 on versioning discussion

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.