Skip to content

Modernize code infrastructure #1166

@impervius

Description

@impervius

The current code contains deprecated stuff (like python setup.py install, pythonbrew), and other non-deprecated but just "old", non optimal stuff (like unittest, Makefile).

The code could benefit from modernization:

  1. Migrate setup.py to pyproject.toml
  2. Use uv for python version management (and not pythonbrew which is not maintained)
  3. Use uv for building and publishing.
  4. Migrate from unittest to pytest
  5. Remove the update_revision.pl script (unneeded perl dependency, assumes versions cannot exceed 9 for some reason, etc.)
  6. Stop using flake8, black, isort, pylint in favor of (already used) ruff
  7. Consider deprecating the Makefile

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions