-
Notifications
You must be signed in to change notification settings - Fork 7
Migrate to pyproject #951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Migrate to pyproject #951
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…utils` dependency
Test new release workflow
Generate release notes
dmytrotkk
requested changes
Dec 29, 2025
Collaborator
dmytrotkk
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pytest.ini can be moved to pyproject.toml
dmytrotkk
approved these changes
Dec 29, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request modernizes and streamlines the build, packaging, and testing processes for the project, with a major migration from
setup.pyto PEP 517/518 standards usingpyproject.toml, upgrades to Python 3.13, and improvements in Docker and CI workflows. It also includes various codebase cleanups and minor fixes.Build and Packaging Modernization:
setup.pyto a modern PEP 517/518 compliant build system usingpyproject.toml, centralizing dependencies, metadata, and configuration. Removed obsoletesetup.py,pytest.ini, andruff.tomlfiles. [1]], [2]], [3]], [4]])pyproject.tomlinstead ofsetup.py. ([scripts/set_versions_ga.shL10-R10])node_cli/cli/__init__.pyto useimportlib.metadata.version. ([node_cli/cli/init.pyL1-R3])Python and Dependency Upgrades:
uvpackage manager for faster and more reproducible dependency installation in both Docker and CI. [1]], [2]])CI/CD Workflow Improvements:
softprops/action-gh-releasefor release creation and asset uploads.uv. [1]], [2]], [3]], [4]])Dockerfile and Build Process Enhancements:
Dockerfileto use a multi-stage build with Python 3.13, install dependencies viauv, streamline layer usage, and clean up unnecessary packages. ([DockerfileL1-R32])main.specto use dynamic paths for PyInstaller, improving portability. ([main.specL3-R12])Codebase Cleanups and Minor Fixes:
node_cli/main.pyfor better error handling and extensibility. [1]], [2]], [3]], [4]])global_config.pyfor permission and OS errors. ([node_cli/utils/global_config.pyL55-R59])str_to_boolinhelper.pyto remove deprecateddistutilsusage and improve type safety. [1]], [2]])These changes collectively modernize the project infrastructure, improve reliability and reproducibility, and lay the groundwork for future development.
References:
[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] [15] [16] [17] [18] [19] [20]