Deprecate distutils: Difference between revisions

From Openembedded.org
Jump to navigation Jump to search
No edit summary
No edit summary
 
(16 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Deprecating distutils*.bbclass ==
== 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.
In Python 3.10 `distutils` [https://docs.python.org/3/whatsnew/3.10.html#distutils-deprecated 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`)
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`)
Line 27: Line 27:
|[http://cxxtest.com/ cxxtest.com]
|[http://cxxtest.com/ cxxtest.com]
|RossBurton
|RossBurton
|In progress (can use setuptools)
|In review
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/1203/ gammu]
|[https://layers.openembedded.org/layerindex/recipe/1203/ gammu]
Line 43: Line 43:
|[http://guichaz.free.fr/iotop/ guichaz.free.fr]
|[http://guichaz.free.fr/iotop/ guichaz.free.fr]
|RossBurton
|RossBurton
|Replace with iotop-c?
|In review
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/33169/ lirc]
|[https://layers.openembedded.org/layerindex/recipe/33169/ lirc]
Line 58: Line 58:
|v
|v
|[https://github.com/ldo/dbussy github.com]
|[https://github.com/ldo/dbussy github.com]
|Unassigned
|RossBurton
|Not started
|In review ([https://github.com/ldo/dbussy/issues/52 bug])
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/66996/ python3-greenlet]
|[https://layers.openembedded.org/layerindex/recipe/66996/ python3-greenlet]
Line 66: Line 66:
|v
|v
|[https://greenlet.readthedocs.io/en/latest/ greenlet.readthedocs.io]
|[https://greenlet.readthedocs.io/en/latest/ greenlet.readthedocs.io]
|Unassigned
|Ross Burton
|Not started
|In review
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/163902/ python3-hexdump]
|[https://layers.openembedded.org/layerindex/recipe/163902/ python3-hexdump]
Line 74: Line 74:
|v
|v
|[https://pypi.org/project/hexdump/ pypi.org]
|[https://pypi.org/project/hexdump/ pypi.org]
|Unassigned
|RossBurton
|Not started
|In review (remove)
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/75243/ python3-pycrypto]
|[https://layers.openembedded.org/layerindex/recipe/75243/ python3-pycrypto]
Line 82: Line 82:
|v2.6.1
|v2.6.1
|[http://www.pycrypto.org/ pycrypto.org]
|[http://www.pycrypto.org/ pycrypto.org]
|Unassigned
|RossBurton
|[https://github.com/pycrypto/pycrypto/blob/master/setup.py setup.py requires distutils]
|In review (Obsolete, remove)
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/66925/ python3-pyparted]
|[https://layers.openembedded.org/layerindex/recipe/66925/ python3-pyparted]
Line 90: Line 90:
|v
|v
|[https://github.com/rhinstaller/pyparted github.com]
|[https://github.com/rhinstaller/pyparted github.com]
|Unassigned
|RossBurton
|Not started
|In review ([https://github.com/dcantrell/pyparted/issues/84 bug])
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/60953/ python3-smbus]
|[https://layers.openembedded.org/layerindex/recipe/60953/ python3-smbus]
Line 98: Line 98:
|v
|v
|[https://www.kernel.org/pub/software/utils/i2c-tools/ kernel.org]
|[https://www.kernel.org/pub/software/utils/i2c-tools/ kernel.org]
|Unassigned
|RossBurton
|Not started
|In review
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/87014/ pyxdg]
|[https://layers.openembedded.org/layerindex/recipe/87014/ pyxdg]
Line 106: Line 106:
|v
|v
|[http://freedesktop.org/wiki/Software/pyxdg freedesktop.org]
|[http://freedesktop.org/wiki/Software/pyxdg freedesktop.org]
|Unassigned
|RossBurton
|Not started
|In review
|-
|-
|[https://layers.openembedded.org/layerindex/recipe/87524/ sanlock]
|[https://layers.openembedded.org/layerindex/recipe/87524/ sanlock]
Line 114: Line 114:
|v
|v
|[https://pagure.io/sanlock pagure.io]
|[https://pagure.io/sanlock pagure.io]
|Unassigned
|RossBurton
|Not started
|In review. [https://pagure.io/sanlock/issue/6 Upstream bug]
|}
|}

Latest revision as of 16:56, 14 January 2022

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 review
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 In review
lirc meta-oe v0.10.1 v lirc.org Oleksandr Kravchuk In progress review
python3-dbussy meta-python v1.3 v github.com RossBurton In review (bug)
python3-greenlet meta-python v1.1.2 v greenlet.readthedocs.io Ross Burton In review
python3-hexdump meta-python v3.3 v pypi.org RossBurton In review (remove)
python3-pycrypto meta-python v2.6.1 v2.6.1 pycrypto.org RossBurton In review (Obsolete, remove)
python3-pyparted meta-python v3.11.7 v github.com RossBurton In review (bug)
python3-smbus meta-python v4.3 v kernel.org RossBurton In review
pyxdg meta-oe v0.26 v freedesktop.org RossBurton In review
sanlock meta-oe v3.8.4 v pagure.io RossBurton In review. Upstream bug