Description
===========
We need to replace the old setup.py with pyproject.toml to modernize the codebase. This also involves changes in bumpversion.cfg and .github/workflows/python-publish.yml. To be done after ticket to drop support for p310. Take care that the version number will be correct in pyproject.toml at the time of execution of this ticket.
We can also move the mypy.ini and pylintrc configurations into pyproject.toml (or pylintrc optionally into separate file named pylintrc.toml) and remove those files.
pylint has an automated way to produce .toml-compatible configuration with pylint --generate-toml-config.
Description =========== We need to replace the old
setup.py
withpyproject.toml
to modernize the codebase. This also involves changes inbumpversion.cfg
and.github/workflows/python-publish.yml
. To be done after ticket to drop support for p310. Take care that the version number will be correct inpyproject.toml
at the time of execution of this ticket.We can also move the
mypy.ini
andpylintrc
configurations intopyproject.toml
(orpylintrc
optionally into separate file namedpylintrc.toml
) and remove those files.pylint
has an automated way to produce .toml-compatible configuration withpylint --generate-toml-config
.bumpversion.cfg
:pyproject.toml
:Affected components
qmi
Files to be created
pyproject.toml
Files to be removed
setup.py
Files to be modified
bumpversion.cfg
Documentation to be updated
CHANGELOG.md