Closed sebastic closed 1 year ago
Thanks.
We probably should be moving fully to pyproject.toml
. Something for the next version, unless it is a blocker for Debian packaging.
It took a while to get setuptools >= 61 into Debian, but we have 65.6.3 in bookworm now.
With the upcoming freeze in preparation for the bookworm stable release there should be no problem for future releases to be backported to it.
setup.py
still uses the deprecated distutils (forLooseVersion
) which will be removed in Python 3.12.From What’s New In Python 3.10:
packaging.version
seems like a good alternative for the version comparison.Because
setup_requires
is deprecated, PEP 517 (pyproject.toml
) is used for the build time dependencies.