Buildroot:Python2Packages

From eLinux.org
Revision as of 07:03, 27 October 2019 by ITitou (talk | contribs)
Jump to: navigation, search

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 Buildroot developer days at ELCE2019)

Non Python packages

These packages integrate with Python2: either they contain scripts written in Python, or they install Python libraries as byproducts.

  • alsa-lib (install Python module with option BR2_PACKAGE_ALSA_LIB_PYTHON): To be tested
  • crudini: currently in v0.9, can be bumped to 0.9.3 which adds py3 support
  • dstat: currently in v0.7.3, can be bumped to v0.7.4 which adds py3 support DONE!
  • fail2ban: at a first glance, does not seem to support Python3 !
  • 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/

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)

  • waf buildsystem: The waf build system in itself is now compatible with Python3; but the wscript (build definition file) provided by some packages is still syntactically incompatible with Python3