Deprecate distutils

From Openembedded.org
Revision as of 10:55, 14 January 2022 by RossBurton (talk | contribs)
Jump to navigation Jump to search

Deprecating distutils*.bbclass

In Python 3.10 `distutils` has been deprecated and is to be removed in Python 3.12. In preparation for this, the `distutils*` classes have been deprecated and nearly all usage in oe-core has been removed.

We still have a few recipes under the meta-openembedded umbrella that inherit one of the `distutils` classes (the lowest common denominator is `distutils-common-base`)

To get a list, you can run the following command:

$ bitbake-layers show-recipes -i distutils-common-base -r

This is a call to arms, please help by picking one of the following.

List of recipes inheriting distutils*

Recipe Layer Version Latest Upstream Assignee Status
cxxtest meta-oe v4.4 v cxxtest.com RossBurton In progress (can use setuptools)
gammu meta-oe v1.32.0 v1.42.0 wammu.eu Moto-timo In progress review
iotop meta-oe v0.6 v guichaz.free.fr RossBurton Replace with iotop-c?
lirc meta-oe v0.10.1 v lirc.org Oleksandr Kravchuk In progress review
python3-dbussy meta-python v1.3 v github.com Unassigned Not started (bug)
python3-greenlet meta-python v1.1.2 v greenlet.readthedocs.io Ross Burton In progress
python3-hexdump meta-python v3.3 v pypi.org Unassigned Not started
python3-pycrypto meta-python v2.6.1 v2.6.1 pycrypto.org Unassigned setup.py requires distutils
python3-pyparted meta-python v3.11.7 v github.com Unassigned Not started
python3-smbus meta-python v4.3 v kernel.org Unassigned Not started
pyxdg meta-oe v0.26 v freedesktop.org RossBurton In progress (uses setuptools)
sanlock meta-oe v3.8.4 v pagure.io Unassigned Not started. Upstream bug