Skip to content

Migrate setup.py to pyproject.toml#15556

Draft
sakgoyal wants to merge 1 commit intoNVIDIA-NeMo:mainfrom
sakgoyal:main
Draft

Migrate setup.py to pyproject.toml#15556
sakgoyal wants to merge 1 commit intoNVIDIA-NeMo:mainfrom
sakgoyal:main

Conversation

@sakgoyal
Copy link
Copy Markdown

@sakgoyal sakgoyal commented Mar 27, 2026

Important

The Update branch button must only be pressed in very rare occassions.
An outdated branch is never blocking the merge of a PR.
Please reach out to the automation team before pressing that button.

What does this PR do ?

  • Migrate configuration from setup.py file to pyproject.toml.
  • Ruff natively supports black and isort. so most of that configuration can be combined and simplified.
  • Move dependencies into the toml file

Changelog

  • Migrate setup.py to pyproject.toml

Before your PR is "Ready for review"

Pre checks:

  • Make sure you read and followed Contributor guidelines
  • Did you write any new necessary tests?
  • Did you add or update any necessary documentation?
  • Does the PR affect components that are optional to install? (Ex: Numba, Pynini, Apex etc)
    • Reviewer: Does the PR have correct import guards for all optional libraries?

PR Type:

  • New Feature
  • Bugfix
  • Documentation

Who can review?

Contributor guidelines

@sakgoyal sakgoyal marked this pull request as draft March 27, 2026 00:43
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.

1 participant