microsoft / microsoft/mssql-python
Add pyproject.toml for modern Python packaging
Aperta
@bewithgaurav ci sta già lavorando.
Dal 24/9/2025.
area: packaging-platform
enhancement
- Lingua principale
- Python
- Stelle
- 473
- Fork
- 60
- Merge medio
- 2g 11h
- PR unite (30g)
- 36
Descrizione
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
- Modern Standard:
pyproject.tomlis the current standard defined by PEP 518, PEP 621, and PEP 660 - Declarative Configuration: Cleaner, more readable configuration format
- Tool Integration: Better support for development tools (black, flake8, pytest, mypy, etc.)
- Build System Isolation: Proper build dependency specification
- IDE Support: Enhanced IDE integration and tooling support
Proposed changes
- Create
pyproject.tomlwith project metadata - refer https://peps.python.org/pep-0621/
Referenced from #242 on versioning discussion
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Valutazione
Questa issue non è ancora stata valutata.