-
Notifications
You must be signed in to change notification settings - Fork 88
💡 [REQUEST] - Migrate to a modern Python stack #459
Copy link
Copy link
Open
Labels
cidependenciesPull requests that update a dependency filePull requests that update a dependency filedocsdocumentationImprovements or additions to documentationImprovements or additions to documentationgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions coderefactortestsTesting improvements / bugsTesting improvements / bugs
Metadata
Metadata
Assignees
Labels
cidependenciesPull requests that update a dependency filePull requests that update a dependency filedocsdocumentationImprovements or additions to documentationImprovements or additions to documentationgithub_actionsPull requests that update GitHub Actions codePull requests that update GitHub Actions coderefactortestsTesting improvements / bugsTesting improvements / bugs
Summary
Following up on issues like #432 and #456 that involve dependency management and packaging, moving to a more modern Python stack would make things a lot simple and a lot easier.
Basic Example
For example, mature tools like Poetry and Hatch support lock files for reproducibility. They can also isolate different parts of a CI pipeline in dedicated virtual environments, allowing linting and testing to have different dependencies from the default installation. Finally, they are able to publish to PyPi without
twine.Ruff is a fast and reliable drop-in replacement for packages like
flake8,black,isortandpylint. And it is written in Rust! It does not replace type checkers likemypythough.Screenshots
No response
Drawbacks
A bit of work required to migrate. Hatch is able to migrate from
setuptoolswithhatch new --init.Unresolved questions
No response
Code of Conduct