Skip to content

💡 [REQUEST] - Migrate to a modern Python stack #459

Open
@lvaylet

Description

@lvaylet

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, isort and pylint. And it is written in Rust! It does not replace type checkers like mypy though.

Screenshots

No response

Drawbacks

A bit of work required to migrate. Hatch is able to migrate from setuptools with hatch new --init.

Unresolved questions

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

Labels

cidependenciesPull requests that update a dependency filedocsdocumentationImprovements or additions to documentationgithub_actionsPull requests that update GitHub Actions coderefactortestsTesting improvements / bugs

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions