Difference between revisions of "Buildroot:Python2Packages"
(alsa-lib works fine iwth python3) |
m (tvheadend) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 11: | Line 11: | ||
* gdb: seems to be compatible with both Python 2 and 3, but not sure since which version | * gdb: seems to be compatible with both Python 2 and 3, but not sure since which version | ||
* <s> gnuradio: currently in v3.7.13.5, can be bumped to v3.8+ which supports Python 3. Work can resume from these patches: http://patchwork.ozlabs.org/patch/1158469/ and http://patchwork.ozlabs.org/patch/1158470/ New series under review: https://patchwork.ozlabs.org/project/buildroot/list/?series=153798 (+ 1 patch that got lost alone: https://patchwork.ozlabs.org/patch/1224753/)</s> DONE! | * <s> gnuradio: currently in v3.7.13.5, can be bumped to v3.8+ which supports Python 3. Work can resume from these patches: http://patchwork.ozlabs.org/patch/1158469/ and http://patchwork.ozlabs.org/patch/1158470/ New series under review: https://patchwork.ozlabs.org/project/buildroot/list/?series=153798 (+ 1 patch that got lost alone: https://patchwork.ozlabs.org/patch/1224753/)</s> DONE! | ||
− | * jailhouse: | + | * <s>jailhouse</s>: DONE! |
* <s> Kodi: Upstream announces an ongoing effort to move to Python3 in the upcoming v19: https://kodi.wiki/view/Migration_to_Python_3. Only Python2 for now ! </s> DONE! | * <s> Kodi: Upstream announces an ongoing effort to move to Python3 in the upcoming v19: https://kodi.wiki/view/Migration_to_Python_3. Only Python2 for now ! </s> DONE! | ||
− | * libdnet: | + | * <s>libdnet</s>: Updated to 1.14 which supports python3 |
* <s>nmap</s>: Ndiff has been replaced with with pyndiff | * <s>nmap</s>: Ndiff has been replaced with with pyndiff | ||
* <s>pcm-tools</s> | * <s>pcm-tools</s> | ||
Line 42: | Line 42: | ||
* <u>gst1-validate</u> | * <u>gst1-validate</u> | ||
* <u>host-gtest</u> | * <u>host-gtest</u> | ||
− | * libimxvpuapi | + | * <u>libimxvpuapi</u> |
* <u>libsigrock</u> | * <u>libsigrock</u> | ||
− | * libxcb | + | * <u>libxcb</u> |
* <u>midori</u> | * <u>midori</u> | ||
* <u>nodejs</u> | * <u>nodejs</u> | ||
* <u>ogre</u> | * <u>ogre</u> | ||
* <u>host-omniorb</u> | * <u>host-omniorb</u> | ||
− | * qpid-proton | + | * <u>qpid-proton</u> |
* qt5webengine | * qt5webengine | ||
− | * qt5webkit | + | * <u>qt5webkit</u> |
* <u>rust</u> | * <u>rust</u> | ||
* <u>sdbusplus</u> | * <u>sdbusplus</u> | ||
* <u>spidermonkey</u>: Removed! Spidermonkey was only used for Polkit which now used duktape as the backend. | * <u>spidermonkey</u>: Removed! Spidermonkey was only used for Polkit which now used duktape as the backend. | ||
− | * tvheadend | + | * <u>tvheadend</u> |
* <u>webkitgtk</u> | * <u>webkitgtk</u> | ||
* <u>wpewebkit</u> | * <u>wpewebkit</u> | ||
− | * xcb-proto, host-xcb-proto | + | * <u>xcb-proto, host-xcb-proto</u> |
* zynq-boot-bin | * zynq-boot-bin | ||
Latest revision as of 16:40, 4 January 2022
In an effort to follow the Python2 deprecation on the 1st of January 2020, here is a listing of current Buildroot packages that depend on Python2 (as of master during the [developer days at FOSDEM 2020])
Non Python packages
These packages integrate with Python2: either they contain scripts written in Python, or they install Python libraries as byproducts.
alsa-libcrudini:currently in v0.9, can be bumped to 0.9.3 which adds py3 support. Patch series pending: https://patchwork.ozlabs.org/project/buildroot/list/?series=156917DONE !dstat: currently in v0.7.3, can be bumped to v0.7.4 which adds py3 supportDONE!fail2ban: at a first glance, does not seem to support Python3 !Support was added in commit 2d666026385573286371a0f5d9f4b5e0d80f723b- gdb: seems to be compatible with both Python 2 and 3, but not sure since which version
gnuradio: currently in v3.7.13.5, can be bumped to v3.8+ which supports Python 3. Work can resume from these patches: http://patchwork.ozlabs.org/patch/1158469/ and http://patchwork.ozlabs.org/patch/1158470/ New series under review: https://patchwork.ozlabs.org/project/buildroot/list/?series=153798 (+ 1 patch that got lost alone: https://patchwork.ozlabs.org/patch/1224753/)DONE!jailhouse: DONE!Kodi: Upstream announces an ongoing effort to move to Python3 in the upcoming v19: https://kodi.wiki/view/Migration_to_Python_3. Only Python2 for now !DONE!libdnet: Updated to 1.14 which supports python3nmap: Ndiff has been replaced with with pyndiffpcm-toolssupervisor: currently in v3.1.4, support for Python3 was added in v4.0.0 (https://github.com/Supervisor/supervisor/blob/master/CHANGES.rst#400-2019-04-05)DONE!gstreamer1/gst1-validate: Patch for Python3 sent http://patchwork.ozlabs.org/patch/1185306/DONE!
Python packages
(TBD) These packages are Python libraries that can then be imported by Python scripts
Python in the build system
These packages use Python in their build process, hence requiring host-python (or host-python3). We aim at removing dependencies on host-python(2) where possible, and therefore remove conditionals such as illustrated below. This should instead unconditionnally depend on host-python3 now:
ifeq ($(BR2_PACKAGE_PYTHON) FOO_DEPENDENCIES += host-python else FOO_DEPENDENCIES += host-python3 endif
At the moment, the following packages reference host-python(2). In the following list, the packages that are underlined have been migrated and tested with only host-python3 by Titouan[1]. This will be posted soon in a series to the mailing list.
- ca-certificates
- canfestival: Removed
- host-dbus-python
- host-gdb
- gnuradio
- gst1-validate
- host-gtest
- libimxvpuapi
- libsigrock
- libxcb
- midori
- nodejs
- ogre
- host-omniorb
- qpid-proton
- qt5webengine
- qt5webkit
- rust
- sdbusplus
- spidermonkey: Removed! Spidermonkey was only used for Polkit which now used duktape as the backend.
- tvheadend
- webkitgtk
- wpewebkit
- xcb-proto, host-xcb-proto
- zynq-boot-bin
waf
The waf-package infrastructure has been fully migrated to host-python3
Scons
All packages using SCons (no dedicated infrastructure) have been migrated to host-python3