[Buildroot] [PATCH 00/20] package/python3: bump to version 3.10

Adam Duskett aduskett at gmail.com
Thu Oct 14 22:44:43 UTC 2021


Hey Arnout!

On Thu, Oct 14, 2021 at 2:38 PM Arnout Vandecappelle <arnout at mind.be> wrote:
>
>
>
> On 09/10/2021 22:55, Adam Duskett wrote:
> > In the following patch series python3 (eventually) gets bumped to version 3.10
> >
> > - The first parts involve updating packages that are not compatible with 3.10.
> >    Either by updating versions or adding patches.
> >
> > - Then I fix a typo in python-pathvalidate
>
> I didn't see that one. Is it 576440a1d8138f5b1bd4985e6244d001ef553cc4?
Eh, I forgot to remove that line from my cover letter. There's already
a pending patch for that typo.
https://patchwork.ozlabs.org/project/buildroot/patch/20211013204146.1882135-1-fontaine.fabrice@gmail.com/

>
> > - Then I complain about python-setuptools and split add support for both
> >    setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
>
>   Do you think it's worth ditching python2 before merging this series? Or do we
> just merge as is and ditch python2 later?
>
Just merge it as-is, I am actively working on finishing up removing
all the python2 cruft.

> > - Finally I update python3 to 3.10
> >
> > This patch series has been tested against every python2 and python3 unit-test
> > available in buildroot, including against https://patchwork.ozlabs.org/project/buildroot/patch/20211006203823.2740442-1-yann.morin.1998@free.fr/
> >
> > In addition, I also selected *EVERY* python module to ensure all of them at
> > least build against python3.10, and everything passes.
> >
> > Finally, I ran a test-pkg -a on python3.10 to ensure that this didn't break any
> > other platforms.
> >
> > Adam Duskett (20):
> >    package/dbus-python: bump to version 1.2.18
> >    package/kmod: bump to version 29
> >    package/python-crossbar: bump to version 21.3.1
> >    package/python-git: bump to version 3.1.24
> >    package/python-gobject: bump to version 3.42.0
> >    package/python-ipython: bump to version 7.28.0
> >    package/python-libusb1: bump to version 2.0.1
> >    package/python-lmdb: bump to version 1.2.1
>
>   First 7 applied to master, thanks.
>
>   Regards,
>   Arnout
>
> >    package/python-dataclasses: new package
> >    package/python-pydantic: bump to version 1.8.2
> >    package/python-txtorcon: bump to version 21.1.0
> >    package/python-watchdog: bump to version 2.1.6
> >    package/util-linux: bump to version 2.37.2
> >    package/python-certifi: add host variant
> >    package/python-matplotlib: bump to version 3.4.3
> >    package/python-numpy: bump to version 1.21.2
> >    package/python-django-enumfields: bump to version 2.1.1
> >    package/python-pyalsa: add
> >      0001-fix-pytuple-set-item-usage-no-return-value.patch
> >    package/python-setuptools: bump to version 58.2.0 and split python2
> >      version
> >    package/python3: bump to version 3.10
> >
> >   package/Config.in                             |   1 +
> >   package/dbus-python/dbus-python.hash          |   2 +-
> >   package/dbus-python/dbus-python.mk            |   2 +-
> >   package/kmod/kmod.hash                        |   2 +-
> >   package/kmod/kmod.mk                          |   2 +-
> >   package/python-certifi/python-certifi.mk      |   1 +
> >   .../0002-Remove-idna-requirement.patch        |  10 +-
> >   package/python-crossbar/python-crossbar.hash  |   4 +-
> >   package/python-crossbar/python-crossbar.mk    |   4 +-
> >   package/python-dataclasses/Config.in          |   6 +
> >   .../python-dataclasses.hash                   |   5 +
> >   .../python-dataclasses/python-dataclasses.mk  |  14 ++
> >   .../python-django-enumfields.hash             |   6 +-
> >   .../python-django-enumfields.mk               |   4 +-
> >   package/python-git/python-git.hash            |   2 +-
> >   package/python-git/python-git.mk              |   2 +-
> >   package/python-gobject/python-gobject.hash    |   4 +-
> >   package/python-gobject/python-gobject.mk      |   6 +-
> >   package/python-ipython/python-ipython.hash    |   4 +-
> >   package/python-ipython/python-ipython.mk      |   4 +-
> >   package/python-libusb1/python-libusb1.hash    |   4 +-
> >   package/python-libusb1/python-libusb1.mk      |   4 +-
> >   package/python-lmdb/python-lmdb.hash          |   4 +-
> >   package/python-lmdb/python-lmdb.mk            |   4 +-
> >   .../0001-Fix-invalid-inclusion-headers.patch  |  29 ---
> >   ...st-11983-from-anntzer-builddepchecks.patch | 170 ------------------
> >   package/python-matplotlib/Config.in           |   2 +
> >   .../python-matplotlib/python-matplotlib.hash  |   2 +-
> >   .../python-matplotlib/python-matplotlib.mk    |  14 +-
> >   package/python-matplotlib/setup.cfg           |  10 ++
> >   package/python-numpy/python-numpy.hash        |  11 +-
> >   package/python-numpy/python-numpy.mk          |  16 +-
> >   ...tuple-set-item-usage-no-return-value.patch |  48 +++++
> >   package/python-pydantic/Config.in             |   2 +
> >   package/python-pydantic/python-pydantic.hash  |   6 +-
> >   package/python-pydantic/python-pydantic.mk    |   4 +-
> >   .../{ => 44.0.0}/0001-add-executable.patch    |   0
> >   .../{ => 44.0.0}/python-setuptools.hash       |   0
> >   .../58.2.0/0001-add-executable.patch          |  72 ++++++++
> >   .../58.2.0/python-setuptools.hash             |   4 +
> >   .../python-setuptools/python-setuptools.mk    |  13 +-
> >   package/python-txtorcon/python-txtorcon.hash  |   4 +-
> >   package/python-txtorcon/python-txtorcon.mk    |   4 +-
> >   package/python-watchdog/python-watchdog.hash  |  11 +-
> >   package/python-watchdog/python-watchdog.mk    |   4 +-
> >   .../0001-add-executable.patch                 |   2 +-
> >   .../python3-setuptools.hash                   |   2 +-
> >   .../python3-setuptools/python3-setuptools.mk  |  14 +-
> >   ...e-the-build-of-pyc-files-conditional.patch |   6 +-
> >   ...taddrinfo-configure-test-when-cross-.patch |   2 +-
> >   ...re-to-disable-the-build-of-certain-e.patch |  16 +-
> >   ...y-header-paths-for-cross-compilation.patch |  52 +++---
> >   ...ook-in-usr-lib-termcap-for-libraries.patch |   4 +-
> >   .../0006-Don-t-add-multiarch-paths.patch      |   2 +-
> >   .../0007-Abort-on-failed-module-build.patch   |   2 +-
> >   ...locale-and-set-to-default-when-addin.patch |   2 +-
> >   ...Add-importlib-fix-for-PEP-3147-issue.patch |   6 +-
> >   ...-disable-installation-of-test-module.patch | 117 ------------
> >   ...0013-Add-an-option-to-disable-pydoc.patch} |  49 ++---
> >   ...14-Add-an-option-to-disable-lib2to3.patch} |  83 ++++-----
> >   ...ption-to-disable-the-sqlite3-module.patch} |  46 ++---
> >   ...-an-option-to-disable-the-tk-module.patch} |  61 +++----
> >   ...option-to-disable-the-curses-module.patch} |  37 ++--
> >   ...0018-Add-an-option-to-disable-expat.patch} |  43 ++---
> >   ...Add-an-option-to-disable-CJK-codecs.patch} |   2 +-
> >   ...> 0020-Add-an-option-to-disable-NIS.patch} |   2 +-
> >   ...dd-an-option-to-disable-unicodedata.patch} |   2 +-
> >   ... 0022-Add-an-option-to-disable-IDLE.patch} |  51 +++---
> >   ...23-Add-an-option-to-disable-decimal.patch} |   6 +-
> >   ...n-to-disable-the-ossaudiodev-module.patch} |   2 +-
> >   ...n-option-to-disable-openssl-support.patch} |   6 +-
> >   ...tion-to-disable-the-readline-module.patch} |   6 +-
> >   ...o-disable-zlib-bzip2-and-xz-modules.patch} |   6 +-
> >   ...hon-config.sh-don-t-reassign-prefix.patch} |   4 +-
> >   ...Fix-cross-compiling-the-uuid-module.patch} |   2 +-
> >   ...dd-an-option-to-disable-uuid-module.patch} |   6 +-
> >   ...fix-building-on-older-distributions.patch} |   0
> >   ...p-CC-print-multiarch-output-for-mus.patch} |   2 +-
> >   ...on-to-disable-the-berkeleydb-module.patch} |   6 +-
> >   ...ng-doesn-t-set-errno-when-encryptio.patch} |   0
> >   ...eration-error-in-_ExecutorManagerTh.patch} |   0
> >   package/python3/python3.hash                  |   8 +-
> >   package/python3/python3.mk                    |   4 +-
> >   package/util-linux/util-linux.hash            |   4 +-
> >   package/util-linux/util-linux.mk              |   2 +-
> >   85 files changed, 533 insertions(+), 661 deletions(-)
> >   create mode 100644 package/python-dataclasses/Config.in
> >   create mode 100644 package/python-dataclasses/python-dataclasses.hash
> >   create mode 100644 package/python-dataclasses/python-dataclasses.mk
> >   delete mode 100644 package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch
> >   delete mode 100644 package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch
> >   create mode 100644 package/python-matplotlib/setup.cfg
> >   create mode 100644 package/python-pyalsa/0001-fix-pytuple-set-item-usage-no-return-value.patch
> >   rename package/python-setuptools/{ => 44.0.0}/0001-add-executable.patch (100%)
> >   rename package/python-setuptools/{ => 44.0.0}/python-setuptools.hash (100%)
> >   create mode 100644 package/python-setuptools/58.2.0/0001-add-executable.patch
> >   create mode 100644 package/python-setuptools/58.2.0/python-setuptools.hash
> >   delete mode 100644 package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch
> >   rename package/python3/{0014-Add-an-option-to-disable-pydoc.patch => 0013-Add-an-option-to-disable-pydoc.patch} (74%)
> >   rename package/python3/{0015-Add-an-option-to-disable-lib2to3.patch => 0014-Add-an-option-to-disable-lib2to3.patch} (67%)
> >   rename package/python3/{0016-Add-option-to-disable-the-sqlite3-module.patch => 0015-Add-option-to-disable-the-sqlite3-module.patch} (63%)
> >   rename package/python3/{0017-Add-an-option-to-disable-the-tk-module.patch => 0016-Add-an-option-to-disable-the-tk-module.patch} (52%)
> >   rename package/python3/{0018-Add-an-option-to-disable-the-curses-module.patch => 0017-Add-an-option-to-disable-the-curses-module.patch} (64%)
> >   rename package/python3/{0019-Add-an-option-to-disable-expat.patch => 0018-Add-an-option-to-disable-expat.patch} (76%)
> >   rename package/python3/{0020-Add-an-option-to-disable-CJK-codecs.patch => 0019-Add-an-option-to-disable-CJK-codecs.patch} (94%)
> >   rename package/python3/{0021-Add-an-option-to-disable-NIS.patch => 0020-Add-an-option-to-disable-NIS.patch} (95%)
> >   rename package/python3/{0022-Add-an-option-to-disable-unicodedata.patch => 0021-Add-an-option-to-disable-unicodedata.patch} (95%)
> >   rename package/python3/{0023-Add-an-option-to-disable-IDLE.patch => 0022-Add-an-option-to-disable-IDLE.patch} (69%)
> >   rename package/python3/{0024-Add-an-option-to-disable-decimal.patch => 0023-Add-an-option-to-disable-decimal.patch} (95%)
> >   rename package/python3/{0025-Add-an-option-to-disable-the-ossaudiodev-module.patch => 0024-Add-an-option-to-disable-the-ossaudiodev-module.patch} (97%)
> >   rename package/python3/{0026-Add-an-option-to-disable-openssl-support.patch => 0025-Add-an-option-to-disable-openssl-support.patch} (89%)
> >   rename package/python3/{0027-Add-an-option-to-disable-the-readline-module.patch => 0026-Add-an-option-to-disable-the-readline-module.patch} (90%)
> >   rename package/python3/{0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch => 0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (92%)
> >   rename package/python3/{0029-python-config.sh-don-t-reassign-prefix.patch => 0028-python-config.sh-don-t-reassign-prefix.patch} (97%)
> >   rename package/python3/{0030-Fix-cross-compiling-the-uuid-module.patch => 0029-Fix-cross-compiling-the-uuid-module.patch} (96%)
> >   rename package/python3/{0031-Add-an-option-to-disable-uuid-module.patch => 0030-Add-an-option-to-disable-uuid-module.patch} (88%)
> >   rename package/python3/{0032-fix-building-on-older-distributions.patch => 0031-fix-building-on-older-distributions.patch} (100%)
> >   rename package/python3/{0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (98%)
> >   rename package/python3/{0034-Add-an-option-to-disable-the-berkeleydb-module.patch => 0033-Add-an-option-to-disable-the-berkeleydb-module.patch} (88%)
> >   rename package/python3/{0035-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch => 0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch} (100%)
> >   rename package/python3/{0036-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch => 0035-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch} (100%)
> >


More information about the buildroot mailing list