package/python3: bump to version 3.10
cover package/python3: bump to version 3.10
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
- Then I complain about python-setuptools and split add support for both setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
- 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/[email protected]/
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 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%)Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 2/20 package/kmod: bump to version 29
--- package/kmod/kmod.hash | 2 +- package/kmod/kmod.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/kmod/kmod.hash +1 -1
@@ -1,5 +1,5 @@ # From https://www.kernel.org/pub/linux/utils/kernel/kmod/sha256sums.asc -sha256 3969fc0f13daa98084256337081c442f8749310089e48aa695c9b4dfe1b3a26c kmod-28.tar.xz +sha256 0b80eea7aa184ac6fd20cafa2a1fdf290ffecc70869a797079e2cc5c6225a52a kmod-29.tar.xz # Locally calculated sha256 6095e9ffa777dd22839f7801aa845b31c9ed07f3d6bf8a26dc5d2dec8ccc0ef3 libkmod/COPYING
package/kmod/kmod.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -KMOD_VERSION = 28 +KMOD_VERSION = 29 KMOD_SOURCE = kmod-$(KMOD_VERSION).tar.xz KMOD_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/kernel/kmod KMOD_INSTALL_STAGING = YES
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 1/20 package/dbus-python: bump to version 1.2.18
In reply to Adam Duskett--- package/dbus-python/dbus-python.hash | 2 +- package/dbus-python/dbus-python.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/dbus-python/dbus-python.hash +1 -1
@@ -1,5 +1,5 @@ # Locally calculated after checking pgp signature -sha256 11238f1d86c995d8aed2e22f04a1e3779f0d70e587caffeab4857f3c662ed5a4 dbus-python-1.2.16.tar.gz +sha256 92bdd1e68b45596c833307a5ff4b217ee6929a1502f5341bae28fd120acf7260 dbus-python-1.2.18.tar.gz # Locally calculated sha256 1e4562245383fdb5203b1769789e5b28bba21af4923aea7e8b2614f7f93623c0 COPYING
package/dbus-python/dbus-python.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -DBUS_PYTHON_VERSION = 1.2.16 +DBUS_PYTHON_VERSION = 1.2.18 DBUS_PYTHON_SITE = http://dbus.freedesktop.org/releases/dbus-python DBUS_PYTHON_INSTALL_STAGING = YES DBUS_PYTHON_LICENSE = MIT (dbus-python), AFL-2.1 or GPL-2.0+ (dbus-gmain)
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 4/20 package/python-git: bump to version 3.1.24
In reply to Adam Duskett--- package/python-git/python-git.hash | 2 +- package/python-git/python-git.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-)
package/python-git/python-git.hash +1 -1
@@ -1,3 +1,3 @@ # locally computed hashes -sha256 78baf9fc223536e38a6e0d9241536fedaecf79bc000b3a05962257d83571fc5d python-git-3.1.20.tar.gz +sha256 8282d0d1169a3a98546979bfae1524608670fadc4ca7636517aadd428e0cfbeb python-git-3.1.24.tar.gz sha256 fd657ffc2cef63d25c78cab7808d414dd03a282e63893491fd11c32f98be67fb LICENSE
package/python-git/python-git.mk +1 -1
@@ -4,7 +4,7 @@ # ################################################################################ -PYTHON_GIT_VERSION = 3.1.20 +PYTHON_GIT_VERSION = 3.1.24 PYTHON_GIT_SITE = $(call github,gitpython-developers,GitPython,$(PYTHON_GIT_VERSION)) PYTHON_GIT_LICENSE = BSD-3-Clause PYTHON_GIT_LICENSE_FILES = LICENSE
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 5/20 package/python-gobject: bump to version 3.42.0
In reply to Adam DuskettAlso change -Dpycairo=false to -Dpycairo=disabled as the option type has changed to a feature.
--- package/python-gobject/python-gobject.hash | 4 ++-- package/python-gobject/python-gobject.mk | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-gobject/python-gobject.hash +2 -2
@@ -1,3 +1,3 @@ -# from http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.36/pygobject-3.36.1.sha256sum -sha256 d1bf42802d1cec113b5adaa0e7bf7f3745b44521dc2163588d276d5cd61d718f pygobject-3.36.1.tar.xz +# from http://ftp.gnome.org/pub/GNOME/sources/pygobject/3.42/pygobject-3.42.0.sha256sum +sha256 9b12616e32cfc792f9dc841d9c472a41a35b85ba67d3a6eb427e307a6fe4367b pygobject-3.42.0.tar.xz sha256 32434afcc8666ba060e111d715bfdb6c2d5dd8a35fa4d3ab8ad67d8f850d2f2b COPYING
package/python-gobject/python-gobject.mk +3 -3
@@ -4,8 +4,8 @@ # ################################################################################ -PYTHON_GOBJECT_VERSION_MAJOR = 3.36 -PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).1 +PYTHON_GOBJECT_VERSION_MAJOR = 3.42 +PYTHON_GOBJECT_VERSION = $(PYTHON_GOBJECT_VERSION_MAJOR).0 PYTHON_GOBJECT_SOURCE = pygobject-$(PYTHON_GOBJECT_VERSION).tar.xz PYTHON_GOBJECT_SITE = https://ftp.gnome.org/pub/gnome/sources/pygobject/$(PYTHON_GOBJECT_VERSION_MAJOR) PYTHON_GOBJECT_LICENSE = LGPL-2.1+
@@ -18,7 +18,7 @@ PYTHON_GOBJECT_DEPENDENCIES = \ python3 PYTHON_GOBJECT_CONF_OPTS += \ - -Dpycairo=false \ + -Dpycairo=disabled \ -Dtests=false # A sysconfigdata_name must be manually specified or the resulting .so
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 3/20 package/python-crossbar: bump to version 21.3.1
In reply to Adam Duskett--- .../python-crossbar/0002-Remove-idna-requirement.patch | 10 +++++----- package/python-crossbar/python-crossbar.hash | 4 ++-- package/python-crossbar/python-crossbar.mk | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-)
package/python-crossbar/0002-Remove-idna-requirement.patch +5 -5
@@ -16,14 +16,14 @@ diff --git a/requirements-min.txt b/requirements-min.txt index 92fb0f8f..13cdac87 100644 --- a/requirements-min.txt +++ b/requirements-min.txt -@@ -6,7 +6,6 @@ click>=6.7 +@@ -8,7 +8,6 @@ click>=6.7 constantly>=15.1.0 - cryptography>=1.9 - h2>=3.0,<4.0 + cryptography>=2.6.1 + h2>=3.2.0 -idna<2.6,>=2.5 + importlib-resources>=4.1.1 incremental>=17.5.0 - jinja2>=2.9.6 - lmdb>=0.92 + jinja2>=2.10.1 -- 2.17.1
package/python-crossbar/python-crossbar.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/crossbar/json -md5 f1756c5a7eac95aa0ff3e307cdd960df crossbar-20.4.2.tar.gz -sha256 67a14864850b562c2b5586eca37f39b2eff3d650ba955bace894e6b5d0633dbb crossbar-20.4.2.tar.gz +md5 df576100bcf6e423cdc1e2e96b602140 crossbar-21.3.1.tar.gz +sha256 ac71959f0c57ab08d43f7830b85c6312e000b25543a179cd751ac357944dd7ef crossbar-21.3.1.tar.gz # Locally computed sha256 57c8ff33c9c0cfc3ef00e650a1cc910d7ee479a8bc509f6c9209a7c2a11399d6 crossbar/LICENSE
package/python-crossbar/python-crossbar.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_CROSSBAR_VERSION = 20.4.2 +PYTHON_CROSSBAR_VERSION = 21.3.1 PYTHON_CROSSBAR_SOURCE = crossbar-$(PYTHON_CROSSBAR_VERSION).tar.gz -PYTHON_CROSSBAR_SITE = https://files.pythonhosted.org/packages/3f/a2/d8aff4b366b565669236e6bbb09d9f1bbe9162eb542822e89210141dd738 +PYTHON_CROSSBAR_SITE = https://files.pythonhosted.org/packages/17/37/aafc4ec30068fd7ebb97f1a00d4ddf8de482dfa4c1d2a1fc6bb814d91400 PYTHON_CROSSBAR_LICENSE = AGPL-3.0 PYTHON_CROSSBAR_LICENSE_FILES = crossbar/LICENSE PYTHON_CROSSBAR_SETUP_TYPE = setuptools
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 6/20 package/python-ipython: bump to version 7.28.0
In reply to Adam Duskett--- package/python-ipython/python-ipython.hash | 4 ++-- package/python-ipython/python-ipython.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-ipython/python-ipython.hash +2 -2
@@ -1,6 +1,6 @@ # md5, sha256 from https://pypi.org/pypi/ipython/json -md5 68542bca2ebf39af7d9d0557e7fb5708 ipython-7.9.0.tar.gz -sha256 dfd303b270b7b5232b3d08bd30ec6fd685d8a58cabd54055e3d69d8f029f7280 ipython-7.9.0.tar.gz +md5 f733048322cd34ce392ec5404813540b ipython-7.28.0.tar.gz +sha256 2097be5c814d1b974aea57673176a924c4c8c9583890e7a5f082f547b9975b11 ipython-7.28.0.tar.gz # Locally computed sha256 checksums sha256 341afcbd729887b7046fe7b98fc4f4edff3aed8d38f06eefd9b30670f043df17 COPYING.rst sha256 e0e390748ed440ab893ca1f135a88a920aaf5409dbb90a5b427c75c5e51268fb LICENSE
package/python-ipython/python-ipython.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_IPYTHON_VERSION = 7.9.0 +PYTHON_IPYTHON_VERSION = 7.28.0 PYTHON_IPYTHON_SOURCE = ipython-$(PYTHON_IPYTHON_VERSION).tar.gz -PYTHON_IPYTHON_SITE = https://files.pythonhosted.org/packages/c0/e5/ba19ae58e9bdd80832332873cb4e11a90cf2049df052c1aadeabc2cdadeb +PYTHON_IPYTHON_SITE = https://files.pythonhosted.org/packages/e2/c8/7046d0409a90e31263d5bbaa708347d522ac584a1140c01a951d9deb1792 PYTHON_IPYTHON_LICENSE = BSD-3-Clause PYTHON_IPYTHON_LICENSE_FILES = COPYING.rst LICENSE PYTHON_IPYTHON_CPE_ID_VENDOR = ipython
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 7/20 package/python-libusb1: bump to version 2.0.1
In reply to Adam Duskett--- package/python-libusb1/python-libusb1.hash | 4 ++-- package/python-libusb1/python-libusb1.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-libusb1/python-libusb1.hash +2 -2
@@ -1,4 +1,4 @@ # md5 from https://pypi.python.org/pypi/libusb1/json, sha256 locally computed -md5 cb4073182fef4cee6ab9c6666b48d1a1 libusb1-1.7.1.tar.gz -sha256 adf64a4f3f5c94643a1286f8153bcf4bc787c348b38934aacd7fe17fbeebc571 libusb1-1.7.1.tar.gz +md5 b087646fb0c8c4cf7e8123af72f885b9 libusb1-2.0.1.tar.gz +sha256 d3ba82ecf7ab6a48d21dac6697e26504670cc3522b8e5941bd28fb56cf3f6c46 libusb1-2.0.1.tar.gz sha256 dc626520dcd53a22f727af3ee42c770e56c97a64fe3adb063799d8ab032fe551 COPYING.LESSER
package/python-libusb1/python-libusb1.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_LIBUSB1_VERSION = 1.7.1 +PYTHON_LIBUSB1_VERSION = 2.0.1 PYTHON_LIBUSB1_SOURCE = libusb1-$(PYTHON_LIBUSB1_VERSION).tar.gz -PYTHON_LIBUSB1_SITE = https://files.pythonhosted.org/packages/80/bb/4ee9d760dd29499d877ee384f1d2bc6bb9923defd4c69843aef5e729972d +PYTHON_LIBUSB1_SITE = https://files.pythonhosted.org/packages/a9/97/e8afa2af12b6de608ec86c8c4ad57f1248d98946d1b5e1aa0bff926755e9 PYTHON_LIBUSB1_SETUP_TYPE = setuptools PYTHON_LIBUSB1_LICENSE = LGPL-2.1+ PYTHON_LIBUSB1_LICENSE_FILES = COPYING.LESSER
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 8/20 package/python-lmdb: bump to version 1.2.1
In reply to Adam Duskett--- package/python-lmdb/python-lmdb.hash | 4 ++-- package/python-lmdb/python-lmdb.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-lmdb/python-lmdb.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/lmdb/json -md5 507049767b995c3c6a93b3bd97567c71 lmdb-0.99.tar.gz -sha256 f9eb844aaaacc8a4bc175e1c1f8a8fb538c330e378fd9eb40e8708d4dca7dc89 lmdb-0.99.tar.gz +md5 b8f4a2cd1748e8a5f5e352d1cb3d4350 lmdb-1.2.1.tar.gz +sha256 5f76a90ebd08922acca11948779b5055f7a262687178e9e94f4e804b9f8465bc lmdb-1.2.1.tar.gz # Locally computed sha256 checksums sha256 310fe25c858a9515fc8c8d7d1f24a67c9496f84a91e0a0e41ea9975b1371e569 LICENSE
package/python-lmdb/python-lmdb.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_LMDB_VERSION = 0.99 +PYTHON_LMDB_VERSION = 1.2.1 PYTHON_LMDB_SOURCE = lmdb-$(PYTHON_LMDB_VERSION).tar.gz -PYTHON_LMDB_SITE = https://files.pythonhosted.org/packages/3b/66/aa6f3a3e338a3ca263575ce6f722c2fdcd21039a03b55c722e0ae0b216db +PYTHON_LMDB_SITE = https://files.pythonhosted.org/packages/2f/df/3aea5279753cb8ab0c96dec43106e24f388d4179d5224f6d3e652016c095 PYTHON_LMDB_LICENSE = OLDAP-2.8 PYTHON_LMDB_LICENSE_FILES = LICENSE PYTHON_LMDB_SETUP_TYPE = setuptools
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 9/20 package/python-dataclasses: new package
In reply to Adam Duskettpython-pydantic 1.8.2 depends on this package.
--- package/Config.in | 1 + package/python-dataclasses/Config.in | 6 ++++++ package/python-dataclasses/python-dataclasses.hash | 5 +++++ package/python-dataclasses/python-dataclasses.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) 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
package/Config.in +1 -0
@@ -969,6 +969,7 @@ menu "External python modules" source "package/python-daemon/Config.in" source "package/python-daemonize/Config.in" source "package/python-daphne/Config.in" + source "package/python-dataclasses/Config.in" source "package/python-dataproperty/Config.in" source "package/python-dateutil/Config.in" source "package/python-dbus-next/Config.in"
package/python-dataclasses/Config.in new file +6 -0
@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_DATACLASSES + bool "python-dataclasses" + help + A backport of the dataclasses module for Python 3.6. + + https://github.com/ericvsmith/dataclasses
package/python-dataclasses/python-dataclasses.hash new file +5 -0
@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dataclasses/json +md5 c9a52e322ada1406bfde9ebe3cdbbcca dataclasses-0.8.tar.gz +sha256 8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97 dataclasses-0.8.tar.gz +# Locally computed sha256 checksums +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE.txt
package/python-dataclasses/python-dataclasses.mk new file +14 -0
@@ -0,0 +1,14 @@ +################################################################################ +# +# python-dataclasses +# +################################################################################ + +PYTHON_DATACLASSES_VERSION = 0.8 +PYTHON_DATACLASSES_SOURCE = dataclasses-$(PYTHON_DATACLASSES_VERSION).tar.gz +PYTHON_DATACLASSES_SITE = https://files.pythonhosted.org/packages/1f/12/7919c5d8b9c497f9180db15ea8ead6499812ea8264a6ae18766d93c59fe5 +PYTHON_DATACLASSES_SETUP_TYPE = setuptools +PYTHON_DATACLASSES_LICENSE = Apache-2.0 +PYTHON_DATACLASSES_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package))
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 10/20 package/python-pydantic: bump to version 1.8.2
In reply to Adam DuskettAdd python-dataclasses and python-typing-extensions as runtime dependencies
--- package/python-pydantic/Config.in | 2 ++ package/python-pydantic/python-pydantic.hash | 6 +++--- package/python-pydantic/python-pydantic.mk | 4 ++-- 3 files changed, 7 insertions(+), 5 deletions(-)
package/python-pydantic/Config.in +2 -0
@@ -1,6 +1,8 @@ config BR2_PACKAGE_PYTHON_PYDANTIC bool "python-pydantic" depends on BR2_PACKAGE_PYTHON3 + select BR2_PACKAGE_PYTHON_DATACLASSES # runtime + select BR2_PACKAGE_PYTHON_TYPING_EXTENSIONS # runtime help Data validation and settings management using python 3.6 type hinting.
package/python-pydantic/python-pydantic.hash +3 -3
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/pydantic/json -md5 ce0c1824d1797bc7d67953428c4fe965 pydantic-1.3.tar.gz -sha256 2eab7d548b0e530bf65bee7855ad8164c2f6a889975d5e9c4eefd1e7c98245dc pydantic-1.3.tar.gz +md5 7845d2f3c8fe8602f73f53ec5b6dfa29 pydantic-1.8.2.tar.gz +sha256 26464e57ccaafe72b7ad156fdaa4e9b9ef051f69e175dbbb463283000c05ab7b pydantic-1.8.2.tar.gz # Locally computed sha256 checksums -sha256 66badbfe56618ec52ddcbfda62450e43752d16fe1e7cae78d346c7ed10a35306 LICENSE +sha256 9e3946690ac88b6b73e8f001a0586af13568be8852fd514e4393f39761764387 LICENSE
package/python-pydantic/python-pydantic.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_PYDANTIC_VERSION = 1.3 +PYTHON_PYDANTIC_VERSION = 1.8.2 PYTHON_PYDANTIC_SOURCE = pydantic-$(PYTHON_PYDANTIC_VERSION).tar.gz -PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/3e/69/b22c0eb3157115e1e3d111f574a6a41552539f1e53b064121ef4e9ac1368 +PYTHON_PYDANTIC_SITE = https://files.pythonhosted.org/packages/b9/d2/12a808613937a6b98cd50d6467352f01322dc0d8ca9fb5b94441625d6684 PYTHON_PYDANTIC_SETUP_TYPE = setuptools PYTHON_PYDANTIC_LICENSE = MIT PYTHON_PYDANTIC_LICENSE_FILES = LICENSE
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 11/20 package/python-txtorcon: bump to version 21.1.0
In reply to Adam Duskett--- package/python-txtorcon/python-txtorcon.hash | 4 ++-- package/python-txtorcon/python-txtorcon.mk | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-)
package/python-txtorcon/python-txtorcon.hash +2 -2
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/txtorcon/json -md5 fb323f9874298a8145dbe8d43c387932 txtorcon-19.1.0.tar.gz -sha256 25d8e52c3eac45bb90ff958ca7cdd7674fb3284e3a50826a58ab7b9578b15ea5 txtorcon-19.1.0.tar.gz +md5 dbb53821a3ce3e921e09c5de4f722fdb txtorcon-21.1.0.tar.gz +sha256 aebf0b9ec6c69a029f6b61fd534e785692e28fdcd2fd003ce3cc132b9393b7d6 txtorcon-21.1.0.tar.gz # Locally computed sha256 checksums sha256 3ada1c32ef38c23d96d7f4e8f4a226c527f51e0202883c7543b06f9cc5228a2b LICENSE
package/python-txtorcon/python-txtorcon.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_TXTORCON_VERSION = 19.1.0 +PYTHON_TXTORCON_VERSION = 21.1.0 PYTHON_TXTORCON_SOURCE = txtorcon-$(PYTHON_TXTORCON_VERSION).tar.gz -PYTHON_TXTORCON_SITE = https://files.pythonhosted.org/packages/8c/26/d5b2fba4ffbcb23957ff2cee4d7d0a2d667372b9eb04807058bd561c8e8f +PYTHON_TXTORCON_SITE = https://files.pythonhosted.org/packages/eb/43/2426009377cef519c53bdc8969590cb100e9fd745846859963c881c6d176 PYTHON_TXTORCON_SETUP_TYPE = setuptools PYTHON_TXTORCON_LICENSE = MIT PYTHON_TXTORCON_LICENSE_FILES = LICENSE
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 12/20 package/python-watchdog: bump to version 2.1.6
In reply to Adam Duskett--- package/python-watchdog/python-watchdog.hash | 11 +++++------ package/python-watchdog/python-watchdog.mk | 4 ++-- 2 files changed, 7 insertions(+), 8 deletions(-)
package/python-watchdog/python-watchdog.hash +5 -6
@@ -1,7 +1,6 @@ -# md5, sha256 from https://pypi.python.org/pypi/watchdog/json -md5 7cdc103f607e72fc32c206301a72d1b2 watchdog-0.9.0.tar.gz -sha256 965f658d0732de3188211932aeb0bb457587f04f63ab4c1e33eab878e9de961d watchdog-0.9.0.tar.gz - -# Hash for license files -sha256 14e636faf5889138a1bb7a8498ccbb0266aee31d2dc475201a10448e56ed3d96 COPYING +# md5, sha256 from https://pypi.org/pypi/watchdog/json +md5 6aac660b0f3358c63658806a0579b832 watchdog-2.1.6.tar.gz +sha256 a36e75df6c767cbf46f61a91c70b3ba71811dfa0aca4a324d9407a06a8b7a2e7 watchdog-2.1.6.tar.gz +# Locally computed sha256 checksums +sha256 02c8760f988a76e92a9d6cb525456a86f7b0fd1953870dd491de5955cb974d41 COPYING sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30 LICENSE
package/python-watchdog/python-watchdog.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_WATCHDOG_VERSION = 0.9.0 +PYTHON_WATCHDOG_VERSION = 2.1.6 PYTHON_WATCHDOG_SOURCE = watchdog-$(PYTHON_WATCHDOG_VERSION).tar.gz -PYTHON_WATCHDOG_SITE = https://pypi.python.org/packages/bb/e3/5a55d48a29300160779f0a0d2776d17c1b762a2039b36de528b093b87d5b +PYTHON_WATCHDOG_SITE = https://files.pythonhosted.org/packages/e8/a8/fc4edd7d768361b00ea850e5310211d157df6b5a1db6148dd434e787d898 PYTHON_WATCHDOG_SETUP_TYPE = setuptools PYTHON_WATCHDOG_LICENSE = Apache-2.0 PYTHON_WATCHDOG_LICENSE_FILES = LICENSE COPYING
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 13/20 package/util-linux: bump to version 2.37.2
In reply to Adam Duskett--- package/util-linux/util-linux.hash | 4 ++-- package/util-linux/util-linux.mk | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-)
package/util-linux/util-linux.hash +2 -2
@@ -1,5 +1,5 @@ -# From https://www.kernel.org/pub/linux/utils/util-linux/v2.36/sha256sums.asc -sha256 f7516ba9d8689343594356f0e5e1a5f0da34adfbc89023437735872bb5024c5f util-linux-2.36.2.tar.xz +# From https://www.kernel.org/pub/linux/utils/util-linux/v2.37/sha256sums.asc +sha256 6a0764c1aae7fb607ef8a6dd2c0f6c47d5e5fd27aa08820abaad9ec14e28e9d9 util-linux-2.37.2.tar.xz # License files, locally calculated sha256 869660b5269f4f40a8a679da7f403ea3a6e71d46087aab5e14871b09bcb55955 README.licensing sha256 9b718a9460fed5952466421235bc79eb49d4e9eacc920d7a9dd6285ab8fd6c6d Documentation/licenses/COPYING.BSD-3-Clause
package/util-linux/util-linux.mk +1 -1
@@ -7,7 +7,7 @@ # When making changes to this file, please check if # util-linux-libs/util-linux-libs.mk needs to be updated accordingly as well. -UTIL_LINUX_VERSION_MAJOR = 2.36 +UTIL_LINUX_VERSION_MAJOR = 2.37 UTIL_LINUX_VERSION = $(UTIL_LINUX_VERSION_MAJOR).2 UTIL_LINUX_SOURCE = util-linux-$(UTIL_LINUX_VERSION).tar.xz UTIL_LINUX_SITE = $(BR2_KERNEL_MIRROR)/linux/utils/util-linux/v$(UTIL_LINUX_VERSION_MAJOR)
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 14/20 package/python-certifi: add host variant
In reply to Adam Duskettmatplotlib 3.4.3 depends on host-python-certifi
--- package/python-certifi/python-certifi.mk | 1 + 1 file changed, 1 insertion(+)
package/python-certifi/python-certifi.mk +1 -0
@@ -12,3 +12,4 @@ PYTHON_CERTIFI_LICENSE = ISC (Python code), MPL-2.0 (cacert.pem) PYTHON_CERTIFI_LICENSE_FILES = LICENSE $(eval $(python-package)) +$(eval $(host-python-package))
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 15/20 package/python-matplotlib: bump to version 3.4.3
In reply to Adam Duskett- Remove upstreamed patches
- Add BR2_PACKAGE_PYTHON_CERTIFI and BR2_PACKAGE_QHULL as dependencies
- Add a new file: setup.cfg. This file is needed to force matplotlib to use the system-provided freetype and qhull, and to disable lto. The setup.cfg file is copied to the source directory before configuring.
LTO must be disabled or else compile errors such as:
"Relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZSt3hexRSt8ios_base' which may bind externally can not be used when making a shared object; recompile with -fPIC"
--- .../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 ++ 6 files changed, 23 insertions(+), 204 deletions(-) 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
package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From b0232c3cf1051749dd1e2bd0ec7c5c0a3a008d2f Mon Sep 17 00:00:00 2001 -From: Jugurtha BELKALEM <[email protected]> -Date: Thu, 9 May 2019 15:06:36 +0200 -Subject: [PATCH] Fix invalid inclusion headers - -By default, matplotlib includes headers from host -machine which breaks the build process. - -Signed-off-by: Jugurtha BELKALEM <[email protected]> ---- - python-matplotlib-3.0.3/setupext.py | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/setupext.py b/setupext.py -index fc82d5d..eb978d2 100644 ---- a/setupext.py -+++ b/setupext.py -@@ -267,7 +267,7 @@ def get_base_dirs(): - 'gnu0': ['/usr'], - 'aix5': ['/usr/local'], - } -- return basedir_map.get(sys.platform, ['/usr/local', '/usr']) -+ return basedir_map.get(sys.platform, []) - - - def get_include_dirs(): --- -2.7.4 -
package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch deleted +0 -170
170 lines not on this page · raw message
package/python-matplotlib/Config.in +2 -0
@@ -6,6 +6,7 @@ config BR2_PACKAGE_PYTHON_MATPLOTLIB depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_MUSL # python-numpy select BR2_PACKAGE_FREETYPE # runtime select BR2_PACKAGE_LIBPNG # runtime + select BR2_PACKAGE_PYTHON_CERTIFI select BR2_PACKAGE_PYTHON_CYCLER select BR2_PACKAGE_PYTHON_SETUPTOOLS # runtime select BR2_PACKAGE_PYTHON_DATEUTIL # runtime
@@ -13,6 +14,7 @@ config BR2_PACKAGE_PYTHON_MATPLOTLIB select BR2_PACKAGE_PYTHON_NUMPY # runtime select BR2_PACKAGE_PYTHON_PYPARSING # runtime select BR2_PACKAGE_PYTHON3_ZLIB # runtime + select BR2_PACKAGE_QHULL select BR2_PACKAGE_ZLIB # runtime help Matplotlib strives to produce publication quality 2D
package/python-matplotlib/python-matplotlib.hash +1 -1
@@ -1,4 +1,4 @@ # sha256 from https://pypi.org/project/matplotlib/#files -sha256 e1d33589e32f482d0a7d1957bf473d43341115d40d33f578dad44432e47df7b7 matplotlib-3.0.3.tar.gz +sha256 fc4f526dfdb31c9bd6b8ca06bf9fab663ca12f3ec9cdf4496fb44bc680140318 matplotlib-3.4.3.tar.gz # Locally computed sha256 checksums sha256 5a1a81ea301728c8bba2933da832c0cd62229daf20893a024ab3d53244468dbc LICENSE/LICENSE
package/python-matplotlib/python-matplotlib.mk +10 -4
@@ -4,17 +4,23 @@ # ################################################################################ -PYTHON_MATPLOTLIB_VERSION = 3.0.3 +PYTHON_MATPLOTLIB_VERSION = 3.4.3 PYTHON_MATPLOTLIB_SOURCE = matplotlib-$(PYTHON_MATPLOTLIB_VERSION).tar.gz -PYTHON_MATPLOTLIB_SITE = https://files.pythonhosted.org/packages/26/04/8b381d5b166508cc258632b225adbafec49bbe69aa9a4fa1f1b461428313 +PYTHON_MATPLOTLIB_SITE = https://files.pythonhosted.org/packages/21/37/197e68df384ff694f78d687a49ad39f96c67b8d75718bc61503e1676b617 PYTHON_MATPLOTLIB_LICENSE = Python-2.0 PYTHON_MATPLOTLIB_LICENSE_FILES = LICENSE/LICENSE -PYTHON_MATPLOTLIB_DEPENDENCIES = host-pkgconf freetype host-python-numpy \ - libpng python-cycler +PYTHON_MATPLOTLIB_DEPENDENCIES = \ + host-pkgconf freetype host-python-numpy \ + libpng python-cycler host-python-certifi qhull PYTHON_MATPLOTLIB_SETUP_TYPE = setuptools ifeq ($(BR2_PACKAGE_PYTHON_MATPLOTLIB_QT),y) PYTHON_MATPLOTLIB_DEPENDENCIES += python-pyqt5 endif +define PYTHON_MATPLOTLIB_COPY_SETUP_CFG + cp $(PYTHON_MATPLOTLIB_PKGDIR)/setup.cfg $(@D)/setup.cfg +endef +PYTHON_MATPLOTLIB_PRE_CONFIGURE_HOOKS += PYTHON_MATPLOTLIB_COPY_SETUP_CFG + $(eval $(python-package))
package/python-matplotlib/setup.cfg new file +10 -0
@@ -0,0 +1,10 @@ +[libs] +# Disable LTO to prevent the following error: +# Relocation R_AARCH64_ADR_PREL_PG_HI21 against symbol `_ZSt3hexRSt8ios_base' +# which may bind externally can not be used when making a shared object; +# recompile with -fPIC +enable_lto = False + +# Freetype and qhull are provided by Buildroot +system_freetype = True +system_qhull = True
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 16/20 package/python-numpy: bump to version 1.21.2
In reply to Adam DuskettUpdate license file information as well.
--- package/python-numpy/python-numpy.hash | 11 +++++------ package/python-numpy/python-numpy.mk | 16 +++++++++------- 2 files changed, 14 insertions(+), 13 deletions(-)
package/python-numpy/python-numpy.hash +5 -6
@@ -1,9 +1,8 @@ -# Copied from https://github.com/numpy/numpy/releases/tag/v1.18.1 -sha256 da204ce460aa4247e595b7c7189d2fb2ed5f796bc03197055de01dac61d0125e numpy-1.18.2.tar.gz +# Copied from https://github.com/numpy/numpy/releases/tag/v1.21.2 +sha256 76af194fbc117934ec5bbe2ff15177adbd05aeed23f18ee209ed88edcd777e05 numpy-1.21.2.tar.gz # License files, locally calculated -sha256 ad81d0c21843ba6ce6fe5fa3eaacb61120be70cd798c52f63df3f4c12a843f0c LICENSE.txt -sha256 d3045980e80a6b39f98586c24bc7f39a7625b4b9f08ce72e367d12814743d047 numpy/core/src/multiarray/dragon4.c -sha256 426a5a484480f57a295db48c2c04f47bb3274752dd82a7fd6541dfa2cb90f641 doc/sphinxext/LICENSE.txt -sha256 154a8706fa0fdeff1073bf6239c4ecf51f562ab107066eef839dade1a45c824c doc/scipy-sphinx-theme/LICENSE.txt +sha256 bc1b0af15cdc9415ea26c5f1df352c226ac86425ec0fb9ab38d111018bf1c6f2 LICENSE.txt +sha256 2be6947e0432ecf7950ee8fe38681316749dd06d1de17c9ec4de6d2f55adb3a1 numpy/core/src/multiarray/dragon4.c +sha256 fbc539f47d0cf83bc61378080fb873d5c14630126cacbfe754035c3926daa5ec numpy/core/include/numpy/libdivide/LICENSE.txt sha256 a14cc25e10d40a3aa705b7de2fb764a6535d8ee9b2db4e1724900585457dfd55 numpy/linalg/lapack_lite/LICENSE.txt sha256 badf51c7e3e7de9c7630bd069780f5c197b846ef7660b342a1e58d5553592d8e tools/npy_tempita/license.txt
package/python-numpy/python-numpy.mk +9 -7
@@ -4,15 +4,17 @@ # ################################################################################ -PYTHON_NUMPY_VERSION = 1.18.2 +PYTHON_NUMPY_VERSION = 1.21.2 PYTHON_NUMPY_SOURCE = numpy-$(PYTHON_NUMPY_VERSION).tar.gz PYTHON_NUMPY_SITE = https://github.com/numpy/numpy/releases/download/v$(PYTHON_NUMPY_VERSION) -PYTHON_NUMPY_LICENSE = BSD-3-Clause, BSD-2-Clause, PSF, Apache-2.0, MIT, Zlib -PYTHON_NUMPY_LICENSE_FILES = LICENSE.txt doc/sphinxext/LICENSE.txt \ - doc/scipy-sphinx-theme/LICENSE.txt \ - numpy/linalg/lapack_lite/LICENSE.txt \ - tools/npy_tempita/license.txt \ - numpy/core/src/multiarray/dragon4.c +PYTHON_NUMPY_LICENSE = BSD-3-Clause, MIT, Zlib +PYTHON_NUMPY_LICENSE_FILES = \ + LICENSE.txt \ + numpy/core/src/multiarray/dragon4.c \ + numpy/core/include/numpy/libdivide/LICENSE.txt \ + numpy/linalg/lapack_lite/LICENSE.txt \ + tools/npy_tempita/license.txt + PYTHON_NUMPY_SETUP_TYPE = setuptools PYTHON_NUMPY_DEPENDENCIES = host-python-cython HOST_PYTHON_NUMPY_DEPENDENCIES = host-python-cython
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 17/20 package/python-django-enumfields: bump to version 2.1.1
In reply to Adam Duskett--- .../python-django-enumfields/python-django-enumfields.hash | 6 +++--- .../python-django-enumfields/python-django-enumfields.mk | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-)
package/python-django-enumfields/python-django-enumfields.hash +3 -3
@@ -1,5 +1,5 @@ # md5, sha256 from https://pypi.org/pypi/django-enumfields/json -md5 c9725a2c31ca2949d111815742335279 django-enumfields-1.0.0.tar.gz -sha256 5b0e2dd5973337717ca6bd5a7d9e167e6ae01203c160d4761b88837c4678f219 django-enumfields-1.0.0.tar.gz +md5 e06bcaecd583ee40e30d556bfcbf0d66 django-enumfields-2.1.1.tar.gz +sha256 f64841732a9c343f5071220e0abcf5f51c9472c06e3c33d7c6a7ec27b6087561 django-enumfields-2.1.1.tar.gz # Locally computed sha256 checksums -sha256 5548de8c163dc57bd0a4f5772f1509f2c04f1390251c98ebf060c9d52a223f57 LICENSE +sha256 75b9c8c2514f22d66070ffc975c4d3132de01e0cc7b3a9662731bcb46cd2a042 LICENSE
package/python-django-enumfields/python-django-enumfields.mk +2 -2
@@ -4,9 +4,9 @@ # ################################################################################ -PYTHON_DJANGO_ENUMFIELDS_VERSION = 1.0.0 +PYTHON_DJANGO_ENUMFIELDS_VERSION = 2.1.1 PYTHON_DJANGO_ENUMFIELDS_SOURCE = django-enumfields-$(PYTHON_DJANGO_ENUMFIELDS_VERSION).tar.gz -PYTHON_DJANGO_ENUMFIELDS_SITE = https://files.pythonhosted.org/packages/b7/56/3f4e8d8ef6d5577a1b75b3cfae6dff819afd030e3a519a326ec7a7a0b74f +PYTHON_DJANGO_ENUMFIELDS_SITE = https://files.pythonhosted.org/packages/24/a8/aaf2b5ddb697c9bcab53c32cfebe11e536502e07c30646b4756e7214b685 PYTHON_DJANGO_ENUMFIELDS_SETUP_TYPE = setuptools PYTHON_DJANGO_ENUMFIELDS_LICENSE = MIT PYTHON_DJANGO_ENUMFIELDS_LICENSE_FILES = LICENSE
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 18/20 package/python-pyalsa: add 0001-fix-pytuple-set-item-usage-no-return-value.patch
In reply to Adam DuskettThis patch is a backport of commit 5ea2f8709b4d091700750661231f8a3ddce0fc7c and fixes compatibility with python 3.10.
--- ...tuple-set-item-usage-no-return-value.patch | 48 +++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 package/python-pyalsa/0001-fix-pytuple-set-item-usage-no-return-value.patch
package/python-pyalsa/0001-fix-pytuple-set-item-usage-no-return-value.patch new file +48 -0
@@ -0,0 +1,48 @@ +From 5ea2f8709b4d091700750661231f8a3ddce0fc7c Mon Sep 17 00:00:00 2001 +From: Jaroslav Kysela <[email protected]> +Date: Thu, 10 Dec 2020 16:00:50 +0100 +Subject: [PATCH] Fix PyTuple_SET_ITEM() usage - no return value + +As noted in bpo-30459 (link bellow) the PyTuple_SET_ITEM() macro +has not a return value. Let's make code compatible with python 3.10. + +Link: https://bugs.python.org/issue30459 +BugLink: https://github.com/alsa-project/alsa-python/issues/2 +From upstream-commit: 5ea2f8709b4d091700750661231f8a3ddce0fc7c +Signed-off-by: Jaroslav Kysela <[email protected]> +Signed-off-by: Adam Duskett <[email protected]> +--- + pyalsa/alsahcontrol.c | 4 ++-- + pyalsa/alsamixer.c | 4 ++-- + 2 files changed, 4 insertions(+), 4 deletions(-) + +diff --git a/pyalsa/alsahcontrol.c b/pyalsa/alsahcontrol.c +index ebee1b7..7c9321f 100644 +--- a/pyalsa/alsahcontrol.c ++++ b/pyalsa/alsahcontrol.c +@@ -1543,8 +1543,8 @@ static int element_callback(snd_hctl_elem_t *elem, unsigned int mask) + + t = PyTuple_New(2); + if (t) { +- if (PyTuple_SET_ITEM(t, 0, (PyObject *)pyhelem)) +- Py_INCREF(pyhelem); ++ PyTuple_SET_ITEM(t, 0, (PyObject *)pyhelem); ++ Py_INCREF(pyhelem); + PyTuple_SET_ITEM(t, 1, PyInt_FromLong(mask)); + r = PyObject_CallObject(o, t); + Py_DECREF(t); +diff --git a/pyalsa/alsamixer.c b/pyalsa/alsamixer.c +index 39d7387..91fe198 100644 +--- a/pyalsa/alsamixer.c ++++ b/pyalsa/alsamixer.c +@@ -1348,8 +1348,8 @@ static int element_callback(snd_mixer_elem_t *elem, unsigned int mask) + + t = PyTuple_New(2); + if (t) { +- if (PyTuple_SET_ITEM(t, 0, (PyObject *)pyelem)) +- Py_INCREF(pyelem); ++ PyTuple_SET_ITEM(t, 0, (PyObject *)pyelem); ++ Py_INCREF(pyelem); + PyTuple_SET_ITEM(t, 1, PyInt_FromLong(mask)); + r = PyObject_CallObject(o, t); + Py_DECREF(t);
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 19/20 package/python-setuptools: bump to version 58.2.0 and split python2 version
In reply to Adam DuskettPython setuptools 44.0 is not compatible with python 3.10. Unfortunately, python-setuptools 58.2.0 is not compatible with python2. As Buildroot is not ready to end supporting python2, the python-setuptools package must accommodate both the old version for python2 and the new version for python3.10.
Changes include:
- Add two new directories: package/python-setuptools/44.0.0 and package/python-setuptools/58.2.0
- Add the appropriate patch and hash files to each directory.
- Modify python-setuptools.mk to support both setuptools 44.0 and 58.2.0 (setuptools 58.2.0 does not have a .zip on pypi anymore, only a tar.gz)
- Point the symlinks in package/python3-setuptools to the files in package/python-setuptools/58.2.0/
---
.../{ => 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 +++-
.../0001-add-executable.patch | 2 +-
.../python3-setuptools.hash | 2 +-
.../python3-setuptools/python3-setuptools.mk | 14 ++--
8 files changed, 93 insertions(+), 14 deletions(-)
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.hashpackage/python-setuptools/44.0.0/0001-add-executable.patch renamed from package/python-setuptools/0001-add-executable.patch +0 -0
package/python-setuptools/44.0.0/python-setuptools.hash renamed from package/python-setuptools/python-setuptools.hash +0 -0
package/python-setuptools/58.2.0/0001-add-executable.patch new file +72 -0
72 lines not on this page · raw message
package/python-setuptools/58.2.0/python-setuptools.hash new file +4 -0
@@ -0,0 +1,4 @@ +# From https://pypi.org/pypi/setuptools/json +md5 32b6cdce670ce462086d246bea181e9d setuptools-44.0.0.zip +sha256 2c55bdb85d5bb460bd2e3b12052b677879cffcf46c0c688f2e5bf51d36001145 setuptools-58.2.0.tar.gz +sha256 db3f0246b1f9278f15845b99fec478b8b506eb76487993722f8c6e254285faf8 LICENSE
package/python-setuptools/python-setuptools.mk +11 -2
@@ -4,16 +4,22 @@ # ################################################################################ -# Please keep in sync with -# package/python3-setuptools/python3-setuptools.mk +ifeq ($(BR2_PACKAGE_PYTHON),y) PYTHON_SETUPTOOLS_VERSION = 44.0.0 PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON_SETUPTOOLS_VERSION).zip PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485 +else # Python3 +PYTHON_SETUPTOOLS_VERSION = 58.2.0 +PYTHON_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).tar.gz +PYTHON_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/1e/5c/3d7b3d91a86d71faf5038c5d259ed36b5d05b7804648e2c43251d574a6e6 +endif PYTHON_SETUPTOOLS_LICENSE = MIT PYTHON_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON_SETUPTOOLS_CPE_ID_VENDOR = python PYTHON_SETUPTOOLS_CPE_ID_PRODUCT = setuptools PYTHON_SETUPTOOLS_SETUP_TYPE = setuptools + +ifeq ($(BR2_PACKAGE_PYTHON),y) HOST_PYTHON_SETUPTOOLS_NEEDS_HOST_PYTHON = python2 define PYTHON_SETUPTOOLS_EXTRACT_CMDS
@@ -27,6 +33,9 @@ define HOST_PYTHON_SETUPTOOLS_EXTRACT_CMDS mv $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION)/* $(@D) $(RM) -r $(@D)/setuptools-$(PYTHON_SETUPTOOLS_VERSION) endef +else +HOST_PYTHON_SETUPTOOLS_NEEDS_HOST_PYTHON = python3 +endif $(eval $(python-package)) $(eval $(host-python-package))
package/python3-setuptools/0001-add-executable.patch +1 -1
@@ -1 +1 @@ -../python-setuptools/0001-add-executable.patch +../python-setuptools/58.2.0/0001-add-executable.patch
package/python3-setuptools/python3-setuptools.hash +1 -1
@@ -1 +1 @@ -../python-setuptools/python-setuptools.hash +../python-setuptools/58.2.0/python-setuptools.hash
package/python3-setuptools/python3-setuptools.mk +4 -10
@@ -6,21 +6,15 @@ # Please keep in sync with # package/python-setuptools/python-setuptools.mk -PYTHON3_SETUPTOOLS_VERSION = 44.0.0 -PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).zip -PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/b0/f3/44da7482ac6da3f36f68e253cb04de37365b3dba9036a3c70773b778b485 +PYTHON3_SETUPTOOLS_VERSION = 58.2.0 +PYTHON3_SETUPTOOLS_SOURCE = setuptools-$(PYTHON3_SETUPTOOLS_VERSION).tar.gz +PYTHON3_SETUPTOOLS_SITE = https://files.pythonhosted.org/packages/1e/5c/3d7b3d91a86d71faf5038c5d259ed36b5d05b7804648e2c43251d574a6e6 PYTHON3_SETUPTOOLS_LICENSE = MIT PYTHON3_SETUPTOOLS_LICENSE_FILES = LICENSE PYTHON3_SETUPTOOLS_CPE_ID_VENDOR = python PYTHON3_SETUPTOOLS_CPE_ID_PRODUCT = setuptools PYTHON3_SETUPTOOLS_SETUP_TYPE = setuptools -HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools HOST_PYTHON3_SETUPTOOLS_NEEDS_HOST_PYTHON = python3 - -define HOST_PYTHON3_SETUPTOOLS_EXTRACT_CMDS - $(UNZIP) -d $(@D) $(HOST_PYTHON3_SETUPTOOLS_DL_DIR)/$(PYTHON3_SETUPTOOLS_SOURCE) - mv $(@D)/setuptools-$(PYTHON3_SETUPTOOLS_VERSION)/* $(@D) - $(RM) -r $(@D)/setuptools-$(PYTHON3_SETUPTOOLS_VERSION) -endef +HOST_PYTHON3_SETUPTOOLS_DL_SUBDIR = python-setuptools $(eval $(host-python-package))
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
PATCH 20/20 package/python3: bump to version 3.10
In reply to Adam Duskett- Remove 0013-Add-an-option-to-disable-installation-of-test-module.patch as it is now upstreamed.
- Refactor and rename all other patches as necessary.
---
...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 +-
35 files changed, 270 insertions(+), 373 deletions(-)
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%)package/python3/0001-Make-the-build-of-pyc-files-conditional.patch +3 -3
@@ -18,7 +18,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in index 77f91e72b1..0c809f3d8a 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1550,6 +1550,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c +@@ -1601,6 +1601,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c $(INSTALL_DATA) $(srcdir)/Modules/xxmodule.c \ $(DESTDIR)$(LIBDEST)/distutils/tests ; \ fi
@@ -26,7 +26,7 @@ index 77f91e72b1..0c809f3d8a 100644 -PYTHONPATH=$(DESTDIR)$(LIBDEST) $(RUNSHARED) \ $(PYTHON_FOR_BUILD) -Wi $(DESTDIR)$(LIBDEST)/compileall.py \ -j0 -d $(LIBDEST) -f \ -@@ -1577,6 +1578,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c +@@ -1628,6 +1629,7 @@ libinstall: build_all $(srcdir)/Modules/xxmodule.c $(PYTHON_FOR_BUILD) -Wi -OO $(DESTDIR)$(LIBDEST)/compileall.py \ -j0 -d $(LIBDEST)/site-packages -f \ -x badsyntax $(DESTDIR)$(LIBDEST)/site-packages
@@ -38,7 +38,7 @@ diff --git a/configure.ac b/configure.ac index d60f05251a..1ee5a09588 100644 --- a/configure.ac +++ b/configure.ac -@@ -1121,6 +1121,12 @@ fi +@@ -1108,6 +1108,12 @@ fi AC_MSG_CHECKING(LDLIBRARY)
package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch +1 -1
@@ -13,7 +13,7 @@ diff --git a/configure.ac b/configure.ac index 1ee5a09588..c2445edc88 100644 --- a/configure.ac +++ b/configure.ac -@@ -4210,7 +4210,7 @@ fi +@@ -4208,7 +4208,7 @@ fi AC_MSG_RESULT($ac_cv_buggy_getaddrinfo)
package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch +8 -8
@@ -47,7 +47,7 @@ diff --git a/Makefile.pre.in b/Makefile.pre.in index 0c809f3d8a..7c3dde8dd4 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -216,6 +216,8 @@ FILEMODE= 644 +@@ -219,6 +219,8 @@ FILEMODE= 644 # configure script arguments CONFIG_ARGS= @CONFIG_ARGS@
@@ -56,7 +56,7 @@ index 0c809f3d8a..7c3dde8dd4 100644 # Subdirectories with code SRCDIRS= @SRCDIRS@ -@@ -632,6 +634,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o +@@ -629,6 +631,7 @@ sharedmods: $(BUILDPYTHON) pybuilddir.txt Modules/_math.o esac; \ echo "$(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \
@@ -64,7 +64,7 @@ index 0c809f3d8a..7c3dde8dd4 100644 $(PYTHON_FOR_BUILD) $(srcdir)/setup.py $$quiet build"; \ $(RUNSHARED) CC='$(CC)' LDSHARED='$(BLDSHARED)' OPT='$(OPT)' \ _TCLTK_INCLUDES='$(TCLTK_INCLUDES)' _TCLTK_LIBS='$(TCLTK_LIBS)' \ -@@ -1696,7 +1699,8 @@ libainstall: @DEF_MAKE_RULE@ python-config +@@ -1749,7 +1752,8 @@ libainstall: @DEF_MAKE_RULE@ python-config # Install the dynamically loadable modules # This goes into $(exec_prefix) sharedinstall: sharedmods
@@ -78,7 +78,7 @@ diff --git a/configure.ac b/configure.ac index c2445edc88..73d66167de 100644 --- a/configure.ac +++ b/configure.ac -@@ -3081,6 +3081,8 @@ LIBS="$withval $LIBS" +@@ -3069,6 +3069,8 @@ LIBS="$withval $LIBS" PKG_PROG_PKG_CONFIG
@@ -91,8 +91,8 @@ diff --git a/setup.py b/setup.py index 770866bca7..b6c829b3a5 100644 --- a/setup.py +++ b/setup.py -@@ -44,7 +44,10 @@ from distutils.spawn import find_executable - TEST_EXTENSIONS = True +@@ -58,7 +58,10 @@ with warnings.catch_warnings(): + TEST_EXTENSIONS = (sysconfig.get_config_var('TEST_MODULES') == 'yes') # This global variable is used to hold the list of modules to be disabled. -DISABLED_MODULE_LIST = []
@@ -101,8 +101,8 @@ index 770866bca7..b6c829b3a5 100644 +except KeyError: + DISABLED_MODULE_LIST = list() - - def get_platform(): + # --list-module-names option used by Tools/scripts/generate_module_names.py + LIST_MODULE_NAMES = False -- 2.25.1
package/python3/0004-Adjust-library-header-paths-for-cross-compilation.patch +27 -25
72 lines not on this page · raw message
package/python3/0005-Don-t-look-in-usr-lib-termcap-for-libraries.patch +2 -2
@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <[email protected]> 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/setup.py b/setup.py -index b6c829b3a5..ec3ba60607 100644 +index 66d372a..e632b6f 100644 --- a/setup.py +++ b/setup.py -@@ -1041,12 +1041,9 @@ class PyBuildExt(build_ext): +@@ -1133,12 +1133,9 @@ class PyBuildExt(build_ext): pass # Issue 7384: Already linked against curses or tinfo. elif curses_library: readline_libs.append(curses_library)
package/python3/0006-Don-t-add-multiarch-paths.patch +1 -1
@@ -20,7 +20,7 @@ diff --git a/setup.py b/setup.py index ec3ba60607..e27620035c 100644 --- a/setup.py +++ b/setup.py -@@ -734,10 +734,10 @@ class PyBuildExt(build_ext): +@@ -816,10 +816,10 @@ class PyBuildExt(build_ext): if not CROSS_COMPILING: add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib') add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
package/python3/0007-Abort-on-failed-module-build.patch +1 -1
@@ -17,7 +17,7 @@ diff --git a/setup.py b/setup.py index e27620035c..d3f0e663f2 100644 --- a/setup.py +++ b/setup.py -@@ -524,6 +524,7 @@ class PyBuildExt(build_ext): +@@ -556,6 +556,7 @@ class PyBuildExt(build_ext): print("Failed to build these modules:") print_three_column(failed) print()
package/python3/0011-Override-system-locale-and-set-to-default-when-addin.patch +1 -1
@@ -25,7 +25,7 @@ diff --git a/setup.py b/setup.py index d3f0e663f2..926c16f58f 100644 --- a/setup.py +++ b/setup.py -@@ -680,7 +680,7 @@ class PyBuildExt(build_ext): +@@ -759,7 +759,7 @@ class PyBuildExt(build_ext): tmpfile = os.path.join(self.build_temp, 'ccpaths') if not os.path.exists(self.build_temp): os.makedirs(self.build_temp)
package/python3/0012-Add-importlib-fix-for-PEP-3147-issue.patch +3 -3
@@ -28,7 +28,7 @@ diff --git a/Lib/importlib/_bootstrap_external.py b/Lib/importlib/_bootstrap_ext index 25a3f8c0e0..2cb9a9aa52 100644 --- a/Lib/importlib/_bootstrap_external.py +++ b/Lib/importlib/_bootstrap_external.py -@@ -373,8 +373,6 @@ def cache_from_source(path, debug_override=None, *, optimization=None): +@@ -392,8 +392,6 @@ def cache_from_source(path, debug_override=None, *, optimization=None): a True value is the same as setting 'optimization' to the empty string while a False value is equivalent to setting 'optimization' to '1'.
@@ -37,7 +37,7 @@ index 25a3f8c0e0..2cb9a9aa52 100644 """ if debug_override is not None: _warnings.warn('the debug_override parameter is deprecated; use ' -@@ -386,10 +384,7 @@ def cache_from_source(path, debug_override=None, *, optimization=None): +@@ -405,10 +403,7 @@ def cache_from_source(path, debug_override=None, *, optimization=None): path = _os.fspath(path) head, tail = _path_split(path) base, sep, rest = tail.rpartition('.')
@@ -49,7 +49,7 @@ index 25a3f8c0e0..2cb9a9aa52 100644 if optimization is None: if sys.flags.optimize == 0: optimization = '' -@@ -426,46 +421,17 @@ def cache_from_source(path, debug_override=None, *, optimization=None): +@@ -445,46 +440,17 @@ def cache_from_source(path, debug_override=None, *, optimization=None): head.lstrip(path_separators), filename, )
package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch deleted +0 -117
117 lines not on this page · raw message
package/python3/0013-Add-an-option-to-disable-pydoc.patch renamed from package/python3/0014-Add-an-option-to-disable-pydoc.patch +25 -24
99 lines not on this page · raw message
package/python3/0014-Add-an-option-to-disable-lib2to3.patch renamed from package/python3/0015-Add-an-option-to-disable-lib2to3.patch +43 -40
135 lines not on this page · raw message
package/python3/0015-Add-option-to-disable-the-sqlite3-module.patch renamed from package/python3/0016-Add-option-to-disable-the-sqlite3-module.patch +24 -22
75 lines not on this page · raw message
package/python3/0016-Add-an-option-to-disable-the-tk-module.patch renamed from package/python3/0017-Add-an-option-to-disable-the-tk-module.patch +31 -30
88 lines not on this page · raw message
package/python3/0017-Add-an-option-to-disable-the-curses-module.patch renamed from package/python3/0018-Add-an-option-to-disable-the-curses-module.patch +19 -18
@@ -7,39 +7,40 @@ Signed-off-by: Thomas Petazzoni <[email protected]> Signed-off-by: Samuel Martin <[email protected]> [ Andrey Smirnov: ported to Python 3.6 ] Signed-off-by: Andrey Smirnov <[email protected]> +[ Adam Duskett: ported to Python 3.10.0 ] +Signed-off-by: Adam Duskett <[email protected]> --- - Makefile.pre.in | 5 ++++- + Makefile.pre.in | 4 +++- configure.ac | 9 +++++++++ - 2 files changed, 13 insertions(+), 1 deletion(-) + 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile.pre.in b/Makefile.pre.in -index dc84384680..2a82f3308f 100644 +index c968113..f89f155 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in -@@ -1426,7 +1426,6 @@ LIBSUBDIRS= site-packages \ - multiprocessing multiprocessing/dummy \ - unittest \ - venv venv/scripts venv/scripts/common venv/scripts/posix \ +@@ -1433,7 +1433,6 @@ LIBSUBDIRS= asyncio \ + concurrent concurrent/futures \ + csv \ + ctypes ctypes/macholib \ - curses \ - zoneinfo - - TESTSUBDIRS= test \ -@@ -1507,6 +1506,10 @@ TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \ + dbm \ + distutils distutils/command \ + email email/mime \ +@@ -1547,6 +1546,9 @@ TESTSUBDIRS += tkinter/test tkinter/test/test_tkinter \ tkinter/test/test_ttk endif +ifeq (@CURSES@,yes) +LIBSUBDIRS += curses +endif -+ - ifeq (@LIB2TO3@,yes) - LIBSUBDIRS += lib2to3 lib2to3/fixes lib2to3/pgen2 - TESTSUBDIRS += lib2to3/tests \ + + TEST_MODULES=@TEST_MODULES@ + libinstall: build_all $(srcdir)/Modules/xxmodule.c diff --git a/configure.ac b/configure.ac -index 4c72dae960..acd98381a3 100644 +index dc76dff..4f1cda5 100644 --- a/configure.ac +++ b/configure.ac -@@ -3376,6 +3376,15 @@ if test "$TK" = "no"; then +@@ -3369,6 +3369,15 @@ if test "$TK" = "no"; then DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _tkinter" fi
@@ -56,5 +57,5 @@ index 4c72dae960..acd98381a3 100644 AC_ARG_ENABLE(pydoc, -- -2.25.1 +2.30.2
package/python3/0018-Add-an-option-to-disable-expat.patch renamed from package/python3/0019-Add-an-option-to-disable-expat.patch +22 -21
77 lines not on this page · raw message
package/python3/0019-Add-an-option-to-disable-CJK-codecs.patch renamed from package/python3/0020-Add-an-option-to-disable-CJK-codecs.patch +1 -1
@@ -12,7 +12,7 @@ diff --git a/configure.ac b/configure.ac index 9ef0ecd42f..18e6fd70a0 100644 --- a/configure.ac +++ b/configure.ac -@@ -3375,6 +3375,12 @@ if test "$SQLITE3" = "no" ; then +@@ -3368,6 +3368,12 @@ if test "$SQLITE3" = "no" ; then DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _sqlite3" fi
package/python3/0020-Add-an-option-to-disable-NIS.patch renamed from package/python3/0021-Add-an-option-to-disable-NIS.patch +1 -1
@@ -15,7 +15,7 @@ diff --git a/configure.ac b/configure.ac index 18e6fd70a0..46d2a8131e 100644 --- a/configure.ac +++ b/configure.ac -@@ -3381,6 +3381,12 @@ AC_ARG_ENABLE(codecs-cjk, +@@ -3374,6 +3374,12 @@ AC_ARG_ENABLE(codecs-cjk, DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _codecs_kr _codecs_jp _codecs_cn _codecs_tw _codecs_hk _codecs_iso2022" fi])
package/python3/0021-Add-an-option-to-disable-unicodedata.patch renamed from package/python3/0022-Add-an-option-to-disable-unicodedata.patch +1 -1
@@ -12,7 +12,7 @@ diff --git a/configure.ac b/configure.ac index 46d2a8131e..5844e3b73f 100644 --- a/configure.ac +++ b/configure.ac -@@ -3387,6 +3387,12 @@ AC_ARG_ENABLE(nis, +@@ -3380,6 +3380,12 @@ AC_ARG_ENABLE(nis, DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} nis" fi])
package/python3/0022-Add-an-option-to-disable-IDLE.patch renamed from package/python3/0023-Add-an-option-to-disable-IDLE.patch +27 -24
96 lines not on this page · raw message
package/python3/0023-Add-an-option-to-disable-decimal.patch renamed from package/python3/0024-Add-an-option-to-disable-decimal.patch +3 -3
@@ -22,7 +22,7 @@ diff --git a/configure.ac b/configure.ac index 7bd4623ccd..e513ef6a20 100644 --- a/configure.ac +++ b/configure.ac -@@ -3135,13 +3135,20 @@ fi +@@ -3123,13 +3123,20 @@ fi AC_SUBST(LIBFFI_INCLUDEDIR) # Check for use of the system libmpdec library
@@ -52,14 +52,14 @@ diff --git a/setup.py b/setup.py index c4ee989ba3..3d0c74bb7f 100644 --- a/setup.py +++ b/setup.py -@@ -2195,7 +2195,7 @@ class PyBuildExt(build_ext): +@@ -2308,7 +2308,7 @@ class PyBuildExt(build_ext): # Stefan Krah's _decimal module extra_compile_args = [] undef_macros = [] - if '--with-system-libmpdec' in sysconfig.get_config_var("CONFIG_ARGS"): + if '--with-libmpdec=system' in sysconfig.get_config_var("CONFIG_ARGS"): include_dirs = [] - libraries = [':libmpdec.so.2'] + libraries = ['mpdec'] sources = ['_decimal/_decimal.c'] -- 2.25.1
package/python3/0024-Add-an-option-to-disable-the-ossaudiodev-module.patch renamed from package/python3/0025-Add-an-option-to-disable-the-ossaudiodev-module.patch +1 -1
@@ -12,7 +12,7 @@ diff --git a/configure.ac b/configure.ac index e513ef6a20..c07505e89e 100644 --- a/configure.ac +++ b/configure.ac -@@ -3165,6 +3165,12 @@ fi +@@ -3153,6 +3153,12 @@ fi AC_MSG_RESULT($with_decimal_contextvar)
package/python3/0025-Add-an-option-to-disable-openssl-support.patch renamed from package/python3/0026-Add-an-option-to-disable-openssl-support.patch +3 -3
@@ -9,10 +9,10 @@ Signed-off-by: Nicolas Cavallari <[email protected]> 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac -index c07505e89e..612e32faf5 100644 +index 08c148c..a81a24c 100644 --- a/configure.ac +++ b/configure.ac -@@ -3406,6 +3406,12 @@ AC_ARG_ENABLE(unicodedata, +@@ -3399,6 +3399,12 @@ AC_ARG_ENABLE(unicodedata, DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} unicodedata" fi])
@@ -26,5 +26,5 @@ index c07505e89e..612e32faf5 100644 AC_ARG_ENABLE(tk, AS_HELP_STRING([--disable-tk], [disable tk]), -- -2.25.1 +2.30.2
package/python3/0026-Add-an-option-to-disable-the-readline-module.patch renamed from package/python3/0027-Add-an-option-to-disable-the-readline-module.patch +3 -3
@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <[email protected]> 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac -index 612e32faf5..2a6aaeff60 100644 +index a81a24c..41a21ff 100644 --- a/configure.ac +++ b/configure.ac -@@ -3412,6 +3412,12 @@ AC_ARG_ENABLE(openssl, +@@ -3405,6 +3405,12 @@ AC_ARG_ENABLE(openssl, DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} ssl _ssl _hashlib" fi])
@@ -26,5 +26,5 @@ index 612e32faf5..2a6aaeff60 100644 AC_ARG_ENABLE(tk, AS_HELP_STRING([--disable-tk], [disable tk]), -- -2.25.1 +2.30.2
package/python3/0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch renamed from package/python3/0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch +3 -3
@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <[email protected]> 1 file changed, 18 insertions(+) diff --git a/configure.ac b/configure.ac -index 2a6aaeff60..21479bbd7d 100644 +index 41a21ff..fa81bc7 100644 --- a/configure.ac +++ b/configure.ac -@@ -3418,6 +3418,24 @@ AC_ARG_ENABLE(readline, +@@ -3411,6 +3411,24 @@ AC_ARG_ENABLE(readline, DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} readline" fi])
@@ -38,5 +38,5 @@ index 2a6aaeff60..21479bbd7d 100644 AC_ARG_ENABLE(tk, AS_HELP_STRING([--disable-tk], [disable tk]), -- -2.25.1 +2.30.2
package/python3/0028-python-config.sh-don-t-reassign-prefix.patch renamed from package/python3/0029-python-config.sh-don-t-reassign-prefix.patch +2 -2
@@ -27,7 +27,7 @@ Signed-off-by: Matthew Weber <[email protected]> 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Misc/python-config.sh.in b/Misc/python-config.sh.in -index a1bc3cd5f7..164d2d3603 100644 +index a1bc3cd..164d2d3 100644 --- a/Misc/python-config.sh.in +++ b/Misc/python-config.sh.in @@ -31,7 +31,7 @@ prefix_real=$(installed_prefix "$0")
@@ -49,5 +49,5 @@ index a1bc3cd5f7..164d2d3603 100644 SO="@EXT_SUFFIX@" PYTHONFRAMEWORK="@PYTHONFRAMEWORK@" -- -2.25.1 +2.30.2
package/python3/0029-Fix-cross-compiling-the-uuid-module.patch renamed from package/python3/0030-Fix-cross-compiling-the-uuid-module.patch +1 -1
@@ -23,7 +23,7 @@ diff --git a/setup.py b/setup.py index 3d0c74bb7f..c7be85f352 100644 --- a/setup.py +++ b/setup.py -@@ -1764,7 +1764,8 @@ class PyBuildExt(build_ext): +@@ -1850,7 +1850,8 @@ class PyBuildExt(build_ext): def detect_uuid(self): # Build the _uuid module if possible
package/python3/0030-Add-an-option-to-disable-uuid-module.patch renamed from package/python3/0031-Add-an-option-to-disable-uuid-module.patch +3 -3
@@ -9,10 +9,10 @@ Signed-off-by: Thomas Petazzoni <[email protected]> 1 file changed, 9 insertions(+) diff --git a/configure.ac b/configure.ac -index 21479bbd7d..615c16aced 100644 +index fa81bc7..4e733f6 100644 --- a/configure.ac +++ b/configure.ac -@@ -3454,6 +3454,15 @@ if test "$CURSES" = "no"; then +@@ -3447,6 +3447,15 @@ if test "$CURSES" = "no"; then DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _curses _curses_panel" fi
@@ -29,5 +29,5 @@ index 21479bbd7d..615c16aced 100644 AC_ARG_ENABLE(pydoc, -- -2.25.1 +2.30.2
package/python3/0031-fix-building-on-older-distributions.patch renamed from package/python3/0032-fix-building-on-older-distributions.patch +0 -0
package/python3/0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch renamed from package/python3/0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch +1 -1
@@ -32,7 +32,7 @@ diff --git a/configure.ac b/configure.ac index 615c16aced..241298e6cf 100644 --- a/configure.ac +++ b/configure.ac -@@ -727,7 +727,9 @@ then +@@ -717,7 +717,9 @@ then fi
package/python3/0033-Add-an-option-to-disable-the-berkeleydb-module.patch renamed from package/python3/0034-Add-an-option-to-disable-the-berkeleydb-module.patch +3 -3
@@ -9,10 +9,10 @@ Signed-off-by: Bernd Kuhls <[email protected]> 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac -index 72c1d86e82..8c3912d237 100644 +index 4e733f6..1e52f30 100644 --- a/configure.ac +++ b/configure.ac -@@ -3465,6 +3465,12 @@ if test "$UUID" = "no"; then +@@ -3458,6 +3458,12 @@ if test "$UUID" = "no"; then DISABLED_EXTENSIONS="${DISABLED_EXTENSIONS} _uuid" fi
@@ -26,5 +26,5 @@ index 72c1d86e82..8c3912d237 100644 AC_ARG_ENABLE(pydoc, -- -2.25.0 +2.30.2
package/python3/0034-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch renamed from package/python3/0035-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch +0 -0
package/python3/0035-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch renamed from package/python3/0036-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch +0 -0
package/python3/python3.hash +4 -4
@@ -1,5 +1,5 @@ -# From https://www.python.org/downloads/release/python-397/ -md5 fddb060b483bc01850a3f412eea1d954 Python-3.9.7.tar.xz +# From https://www.python.org/downloads/release/python-310/ +md5 3e7035d272680f80e3ce4e8eb492d580 Python-3.10.0.tar.xz # Locally computed -sha256 f8145616e68c00041d1a6399b76387390388f8359581abc24432bb969b5e3c57 Python-3.9.7.tar.xz -sha256 599826df92bfdcd2702eac691072498bb096c55af04ee984cf90f70ed77b5a70 LICENSE +sha256 5a99f8e7a6a11a7b98b4e75e0d1303d3832cada5534068f69c7b6222a7b1b002 Python-3.10.0.tar.xz +sha256 d0285b61e1a8e420c7deb95836738a5d4a0d26463138b17601f5971212684c4b LICENSE
package/python3/python3.mk +2 -2
@@ -4,8 +4,8 @@ # ################################################################################ -PYTHON3_VERSION_MAJOR = 3.9 -PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).7 +PYTHON3_VERSION_MAJOR = 3.10 +PYTHON3_VERSION = $(PYTHON3_VERSION_MAJOR).0 PYTHON3_SOURCE = Python-$(PYTHON3_VERSION).tar.xz PYTHON3_SITE = https://python.org/ftp/python/$(PYTHON3_VERSION) PYTHON3_LICENSE = Python-2.0, others
Signature · 6 lines
2.30.2 _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Re: [Buildroot] [PATCH 09/20] package/python-dataclasses: new package
In reply to Adam DuskettHello,
Quoted 2 lines · On Sat, Oct 9, 2021, 23:55 Adam Duskett <[email protected]> wrote:
python-pydantic 1.8.2 depends on this package.
pydantic adds this dependency only when then python version is lower than 3.7 (https://github.com/samuelcolvin/pydantic/blob/master/setup.py#L133),
so we don't really need it.
Quoted 75 lines
--- package/Config.in | 1 + package/python-dataclasses/Config.in | 6 ++++++ package/python-dataclasses/python-dataclasses.hash | 5 +++++ package/python-dataclasses/python-dataclasses.mk | 14 ++++++++++++++ 4 files changed, 26 insertions(+) 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.mkpackage/Config.in +1
-0@@ -969,6 +969,7 @@ menu "External python modules" source "package/python-daemon/Config.in" source "package/python-daemonize/Config.in" source "package/python-daphne/Config.in" + source "package/python-dataclasses/Config.in" source "package/python-dataproperty/Config.in" source "package/python-dateutil/Config.in" source "package/python-dbus-next/Config.in"package/python-dataclasses/Config.in new file +6
-0@@ -0,0 +1,6 @@ +config BR2_PACKAGE_PYTHON_DATACLASSES + bool "python-dataclasses" + help + A backport of the dataclasses module for Python 3.6. + + https://github.com/ericvsmith/dataclassespackage/python-dataclasses/python-dataclasses.hash new file +3
-0@@ -0,0 +1,5 @@ +# md5, sha256 from https://pypi.org/pypi/dataclasses/json +md5 c9a52e322ada1406bfde9ebe3cdbbcca dataclasses-0.8.tar.gz +sha256 8479067f342acf957dc82ec415d355ab5edb7e7646b90dc6e2fd1d96ad084c97dataclasses-0.8.tar.gz
package/python-dataclasses/python-dataclasses.hash new file +2
-0+# Locally computed sha256 checksums +sha256 cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30LICENSE.txt
package/python-dataclasses/python-dataclasses.mk new file +8
-0@@ -0,0 +1,14 @@ +################################################################################ +# +# python-dataclasses +# +################################################################################ + +PYTHON_DATACLASSES_VERSION = 0.8 +PYTHON_DATACLASSES_SOURCE =dataclasses-$(PYTHON_DATACLASSES_VERSION).tar.gz
+PYTHON_DATACLASSES_SITE =
https://files.pythonhosted.org/packages/1f/12/7919c5d8b9c497f9180db15ea8ead6499812ea8264a6ae18766d93c59fe5package/python-dataclasses/python-dataclasses.mk new file +5
-1+PYTHON_DATACLASSES_SETUP_TYPE = setuptools +PYTHON_DATACLASSES_LICENSE = Apache-2.0 +PYTHON_DATACLASSES_LICENSE_FILES = LICENSE.txt + +$(eval $(python-package)) --
Quoted 2 lines
2.30.2
Regards,
Asaf.
Quoted 2 lines
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hello Adam,
Quoted 10 lines · On Sat, 9 Oct 2021 13:55:03 -0700 Adam Duskett <[email protected]> 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
- Then I complain about python-setuptools and split add support for both setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
- Finally I update python3 to 3.10
Quoted 5 lines
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/[email protected]/In addition, I also selected *EVERY* python module to ensure all of them at least build against python3.10, and everything passes.
Thanks a lot for this effort! Should we have a configuration, or a test case that builds all Python modules, to facilitate this kind of testing in the future ?
Also, should we drop Python 2.x entirely before merging this, to avoid the complexity on the setuptools package? Or do we consider the complexity to be reasonable, and therefore we handle the Python 2.x removal later?
Best regards,
Thomas
Signature · 7 lines
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training https://bootlin.com _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 22 lines · Thomas Petazzoni
Hello Adam,
Quoted 10 lines · On Sat, 9 Oct 2021 13:55:03 -0700 Adam Duskett <[email protected]> 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
- Then I complain about python-setuptools and split add support for both setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
- Finally I update python3 to 3.10Quoted 5 lines
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/[email protected]/In addition, I also selected *EVERY* python module to ensure all of them at least build against python3.10, and everything passes.
Quoted 8 lines
Thanks a lot for this effort! Should we have a configuration, or a test case that builds all Python modules, to facilitate this kind of testing in the future ?
Also, should we drop Python 2.x entirely before merging this, to avoid the complexity on the setuptools package? Or do we consider the complexity to be reasonable, and therefore we handle the Python 2.x removal later?
I think it's fine splitting setuptools for now, I had written a patch doing something
similar a while back and I think it worked without major issues.
Quoted 12 lines
Best regards,
Thomas
--
Thomas Petazzoni, co-owner and CEO, Bootlin Embedded Linux and Kernel engineering and training
https://bootlin.com
_______________________________________________
buildroot mailing list [email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Thomas, All,
On 2021-10-10 15:55 +0200, Thomas Petazzoni spake thusly:
Quoted 18 lines
Quoted 10 lines · On Sat, 9 Oct 2021 13:55:03 -0700 Adam Duskett <[email protected]> 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
- Then I complain about python-setuptools and split add support for both setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
- Finally I update python3 to 3.10Quoted 5 lines
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/[email protected]/In addition, I also selected *EVERY* python module to ensure all of them at least build against python3.10, and everything passes.
Quoted 8 lines
Thanks a lot for this effort! Should we have a configuration, or a test case that builds all Python modules, to facilitate this kind of testing in the future ?
Also, should we drop Python 2.x entirely before merging this, to avoid the complexity on the setuptools package? Or do we consider the complexity to be reasonable, and therefore we handle the Python 2.x removal later?
I've done a (quick) inventory of all the things we have that still require python2; no package requires python2, but for some optional parts:
avahi -> auto support
cracklib -> auto support
jailhouse -> opt scripts
libdnet -> opt module
libpwquality -> auto support
nfs-utils -> auto script
nmap -> opt script
owfs -> auto support
pcm-tools -> opt script'opt': explicit with Config.in option 'auto': implicit with .mk conditions 'module': builds one+ python module 'script': installs one+ python script 'support': generic python support (ie. bindings?)
I am totally fine with dropping python2, if we accept the loss of the features above, an d I think the loss is acceptable.
Note: I haven't had a look at the python-packages. For those that are python2-only, and that have a python3-compatible version, we bump to that version, otherwise we drop the package.
Regards,
Yann E. MORIN.
Signature · 10 lines
.-----------------.--------------------.------------------.--------------------. | Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. | '------------------------------^-------^------------------^--------------------' _______________________________________________ buildroot mailing list [email protected] https://lists.buildroot.org/mailman/listinfo/buildroot
Hello
________________________________
Da: Yann E. MORIN <[email protected]>
Inviato: domenica, ottobre 10, 2021 12:30
A: Thomas Petazzoni
Cc: Adam Duskett; Jugurtha BELKALEM; Samuel Martin; Philippe Proulx; Asaf Kahlon; Oli Vogt; Julien Olivain; [email protected]; Mauro Condarelli; Matt Weber
Oggetto: Re: [Buildroot] [PATCH 00/20] package/python3: bump to version 3.10
Thomas, All,
On 2021-10-10 15:55 +0200, Thomas Petazzoni spake thusly:
Quoted 12 lines
Quoted 10 lines · On Sat, 9 Oct 2021 13:55:03 -0700 Adam Duskett <[email protected]> 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
- Then I complain about python-setuptools and split add support for both setuptools 48 (compatible with python2) and 58 (compatible with python3.10)
- Finally I update python3 to 3.10
Quoted 7 lines
Quoted 5 lines
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/[email protected]/In addition, I also selected *EVERY* python module to ensure all of them at least build against python3.10, and everything passes.
Thanks a lot for this effort!
You’re very welcome!
Quoted 3 lines
Should we have a configuration, or a test
case that builds all Python modules, to facilitate this kind of testing in the future ?
It would save my thumb some pain from having to select all the modules! :D
Quoted 5 lines
Also, should we drop Python 2.x entirely before merging this, to avoid the complexity on the setuptools package? Or do we consider the complexity to be reasonable, and therefore we handle the Python 2.x removal later?
I am fine with dropping Python 2 support all together. The only major package left that requires Python 2 for building is nodejs and that has a pending patch anyways.
Quoted 1 line
I've done a (quick) inventory of all the things we have > that still
require python2; no package requires python2, but for some optional parts:
avahi -> auto support
cracklib -> auto support
jailhouse -> opt scripts
libdnet -> opt module
libpwquality -> auto support
nfs-utils -> auto script
nmap -> opt script
owfs -> auto support
pcm-tools -> opt script'opt': explicit with Config.in option 'auto': implicit with .mk conditions 'module': builds one+ python module 'script': installs one+ python script 'support': generic python support (ie. bindings?)
I am totally fine with dropping python2, if we accept the loss of the features above, an d I think the loss is acceptable.
Note: I haven't had a look at the python-packages. For those that are python2-only, and that have a python3-compatible version, we bump to that version, otherwise we drop the package.
Regards,
Quoted 1 line
Yann E. MORIN.
Agreed, there isn’t a lot left. I was working on the larger packages first (node, Polkit) before I sent a patch removing python2 altogether.
Adam
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: | | +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ | | +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no | | http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Quoted 6 lines · Adam Duskett
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?
Quoted 2 lines
- 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?
Quoted 11 lines
- 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/[email protected]/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.
Quoted 9 lines
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
Quoted 128 lines
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.10package/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 100644package/python-dataclasses/python-dataclasses.mk
delete mode 100644package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch
delete mode 100644package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch
create mode 100644 package/python-matplotlib/setup.cfg
create mode 100644package/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 100644package/python-setuptools/58.2.0/0001-add-executable.patch
create mode 100644 package/python-setuptools/58.2.0/python-setuptools.hash
delete mode 100644package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch
renamepackage/python3/{0014-Add-an-option-to-disable-pydoc.patch=> 0013-Add-an-option-to-disable-pydoc.patch} (74%)
renamepackage/python3/{0015-Add-an-option-to-disable-lib2to3.patch=> 0014-Add-an-option-to-disable-lib2to3.patch} (67%)
renamepackage/python3/{0016-Add-option-to-disable-the-sqlite3-module.patch=> 0015-Add-option-to-disable-the-sqlite3-module.patch} (63%) renamepackage/python3/{0017-Add-an-option-to-disable-the-tk-module.patch=> 0016-Add-an-option-to-disable-the-tk-module.patch} (52%) renamepackage/python3/{0018-Add-an-option-to-disable-the-curses-module.patch=> 0017-Add-an-option-to-disable-the-curses-module.patch} (64%) renamepackage/python3/{0019-Add-an-option-to-disable-expat.patch=> 0018-Add-an-option-to-disable-expat.patch} (76%)
renamepackage/python3/{0020-Add-an-option-to-disable-CJK-codecs.patch=> 0019-Add-an-option-to-disable-CJK-codecs.patch} (94%) renamepackage/python3/{0021-Add-an-option-to-disable-NIS.patch=> 0020-Add-an-option-to-disable-NIS.patch} (95%)
renamepackage/python3/{0022-Add-an-option-to-disable-unicodedata.patch=> 0021-Add-an-option-to-disable-unicodedata.patch} (95%) renamepackage/python3/{0023-Add-an-option-to-disable-IDLE.patch=> 0022-Add-an-option-to-disable-IDLE.patch} (69%)
renamepackage/python3/{0024-Add-an-option-to-disable-decimal.patch=> 0023-Add-an-option-to-disable-decimal.patch} (95%)
renamepackage/python3/{0025-Add-an-option-to-disable-the-ossaudiodev-module.patch=> 0024-Add-an-option-to-disable-the-ossaudiodev-module.patch} (97%) renamepackage/python3/{0026-Add-an-option-to-disable-openssl-support.patch=> 0025-Add-an-option-to-disable-openssl-support.patch} (89%) renamepackage/python3/{0027-Add-an-option-to-disable-the-readline-module.patch=> 0026-Add-an-option-to-disable-the-readline-module.patch} (90%) renamepackage/python3/{0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch=> 0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (92%)
Quoted 9 lines
rename
package/python3/{0029-python-config.sh-don-t-reassign-prefix.patch=> 0028-python-config.sh-don-t-reassign-prefix.patch} (97%) renamepackage/python3/{0030-Fix-cross-compiling-the-uuid-module.patch=> 0029-Fix-cross-compiling-the-uuid-module.patch} (96%)
renamepackage/python3/{0031-Add-an-option-to-disable-uuid-module.patch=> 0030-Add-an-option-to-disable-uuid-module.patch} (88%) renamepackage/python3/{0032-fix-building-on-older-distributions.patch=> 0031-fix-building-on-older-distributions.patch} (100%)
renamepackage/python3/{0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch=> 0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (98%) renamepackage/python3/{0034-Add-an-option-to-disable-the-berkeleydb-module.patch=> 0033-Add-an-option-to-disable-the-berkeleydb-module.patch} (88%) renamepackage/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%) renamepackage/python3/{0036-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch=> 0035-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch} (100%)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
Hey Arnout!
Quoted 4 lines · Arnout Vandecappelle
On 09/10/2021 22:55, Adam Duskett wrote:
Quoted 8 lines
Quoted 6 lines
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/[email protected]/
Quoted 7 lines
Quoted 3 lines
- 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.
Quoted 21 lines
Quoted 11 lines
- 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/[email protected]/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.
Quoted 9 lines
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
Quoted 142 lines
First 7 applied to master, thanks.
Regards,
ArnoutQuoted 137 lines
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.10package/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 100644package/python-dataclasses/python-dataclasses.mk
delete mode 100644package/python-matplotlib/0001-Fix-invalid-inclusion-headers.patch
delete mode 100644package/python-matplotlib/0002-Merge-pull-request-11983-from-anntzer-builddepchecks.patch
create mode 100644 package/python-matplotlib/setup.cfg
create mode 100644package/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 100644package/python-setuptools/58.2.0/0001-add-executable.patch
create mode 100644 package/python-setuptools/58.2.0/python-setuptools.hash
delete mode 100644package/python3/0013-Add-an-option-to-disable-installation-of-test-module.patch
renamepackage/python3/{0014-Add-an-option-to-disable-pydoc.patch=> 0013-Add-an-option-to-disable-pydoc.patch} (74%)
renamepackage/python3/{0015-Add-an-option-to-disable-lib2to3.patch=> 0014-Add-an-option-to-disable-lib2to3.patch} (67%)
renamepackage/python3/{0016-Add-option-to-disable-the-sqlite3-module.patch=> 0015-Add-option-to-disable-the-sqlite3-module.patch} (63%) renamepackage/python3/{0017-Add-an-option-to-disable-the-tk-module.patch=> 0016-Add-an-option-to-disable-the-tk-module.patch} (52%) renamepackage/python3/{0018-Add-an-option-to-disable-the-curses-module.patch=> 0017-Add-an-option-to-disable-the-curses-module.patch} (64%) renamepackage/python3/{0019-Add-an-option-to-disable-expat.patch=> 0018-Add-an-option-to-disable-expat.patch} (76%)
renamepackage/python3/{0020-Add-an-option-to-disable-CJK-codecs.patch=> 0019-Add-an-option-to-disable-CJK-codecs.patch} (94%)
renamepackage/python3/{0021-Add-an-option-to-disable-NIS.patch=> 0020-Add-an-option-to-disable-NIS.patch} (95%)
renamepackage/python3/{0022-Add-an-option-to-disable-unicodedata.patch=> 0021-Add-an-option-to-disable-unicodedata.patch} (95%) renamepackage/python3/{0023-Add-an-option-to-disable-IDLE.patch=> 0022-Add-an-option-to-disable-IDLE.patch} (69%)
renamepackage/python3/{0024-Add-an-option-to-disable-decimal.patch=> 0023-Add-an-option-to-disable-decimal.patch} (95%)
renamepackage/python3/{0025-Add-an-option-to-disable-the-ossaudiodev-module.patch=> 0024-Add-an-option-to-disable-the-ossaudiodev-module.patch} (97%) renamepackage/python3/{0026-Add-an-option-to-disable-openssl-support.patch=> 0025-Add-an-option-to-disable-openssl-support.patch} (89%) renamepackage/python3/{0027-Add-an-option-to-disable-the-readline-module.patch=> 0026-Add-an-option-to-disable-the-readline-module.patch} (90%) renamepackage/python3/{0028-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch=> 0027-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch} (92%) renamepackage/python3/{0029-python-config.sh-don-t-reassign-prefix.patch=> 0028-python-config.sh-don-t-reassign-prefix.patch} (97%) renamepackage/python3/{0030-Fix-cross-compiling-the-uuid-module.patch=> 0029-Fix-cross-compiling-the-uuid-module.patch} (96%)
renamepackage/python3/{0031-Add-an-option-to-disable-uuid-module.patch=> 0030-Add-an-option-to-disable-uuid-module.patch} (88%) renamepackage/python3/{0032-fix-building-on-older-distributions.patch=> 0031-fix-building-on-older-distributions.patch} (100%)
renamepackage/python3/{0033-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch=> 0032-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (98%) renamepackage/python3/{0034-Add-an-option-to-disable-the-berkeleydb-module.patch=> 0033-Add-an-option-to-disable-the-berkeleydb-module.patch} (88%) renamepackage/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%) renamepackage/python3/{0036-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch=> 0035-Fix-dictionary-iteration-error-in-_ExecutorManagerTh.patch} (100%)
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot