-
Notifications
You must be signed in to change notification settings - Fork 0
[SD-7864] (config) Move to pyproject.toml, remove setup.py, setup.cfg and tox.ini #1
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
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
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.
Pull Request Overview
This PR migrates configuration from legacy files (setup.py, setup.cfg, tox.ini) into pyproject.toml and updates development environment dependencies and CI/CD configurations accordingly.
- Removed tox.ini, setup.py, and setup.cfg in favor of a centralized pyproject.toml configuration.
- Updated the tox configuration and developer dependencies (requirements-dev.txt) with newer package versions.
- Adjusted CI configurations in .travis.yml and the GitHub Actions tox runner workflow to use the new configuration file.
Reviewed Changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tox.ini | Removed legacy tox configuration. |
| setup.py | Removed legacy setup script. |
| setup.cfg | Removed legacy configuration settings. |
| requirements-dev.txt | Updated tox and flake8 versions, added flake8-pyproject dependency. |
| pyproject.toml | Introduced as the new central configuration for the project. |
| .travis.yml | Updated install command to reference requirements-dev.txt. |
| .github/workflows/tox_runner.yml | Revised caching key to use new configuration files. |
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.
Pull Request Overview
This PR migrates project configuration from legacy files (setup.py, setup.cfg, tox.ini) to a centralized pyproject.toml while updating some version information and dependency specifications. Key changes include:
- Removal of tox.ini, setup.py, and setup.cfg.
- Introduction of a new pyproject.toml containing build-system, project metadata, and tool-specific configurations.
- Updates to CI configurations (.travis.yml and GitHub workflows) as well as dependency updates in requirements-dev.txt.
Reviewed Changes
Copilot reviewed 9 out of 9 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| tox.ini | Removed legacy tox configuration |
| taskflow/init.py | Updated project version from 0.2.0 to 0.3.0 |
| setup.py | Removed legacy package setup script |
| setup.cfg | Removed legacy package configuration |
| requirements-dev.txt | Updated dependency versions and added new linter dependency |
| pyproject.toml | Introduced new configuration for build-system, project metadata, and tox |
| README.md | Updated installation and development instructions |
| .travis.yml | Adjusted dependencies installation to use requirements-dev.txt |
| .github/workflows/tox_runner.yml | Updated caching keys and dependency installation commands for tox |
SD-7864