You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This project uses the Python distutils module in setup.py.
In Python 3.10 and 3.11, distutils has been formally marked as deprecated. Code that imports distutils will no longer work from Python 3.12.
As such, it's very likely Debian (I'm the current maintainer for pius) won't be able to build this package when the 3.12 transition happens (sometime in late 2023 probably?).
It would probably be a good idea to migrate away from setup.py to a PEP517-compatible build system, using pyproject.toml. Here's the relevant documentation if you want to go with setuptools (there are a lot of other good options, I'm myself partial to flit...)
Hello,
This project uses the Python distutils module in
setup.py
.In Python 3.10 and 3.11, distutils has been formally marked as deprecated. Code that imports distutils will no longer work from Python 3.12.
As such, it's very likely Debian (I'm the current maintainer for
pius
) won't be able to build this package when the 3.12 transition happens (sometime in late 2023 probably?).It would probably be a good idea to migrate away from
setup.py
to a PEP517-compatible build system, usingpyproject.toml
. Here's the relevant documentation if you want to go withsetuptools
(there are a lot of other good options, I'm myself partial to flit...)You can see an example of a migration to
pyproject.toml
with setuptools that I did here: jaseg/python-mpv#241The text was updated successfully, but these errors were encountered: