Skip to content

package: bump to python 3.12, rust 1.79.0 (branch yem/python3.12)

Yann E. MORIN buildroot 1 version Applied

Status from this message: Applied to master, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 11 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/6package/sentry-cli: needs pkgconf and opensslpackage/sentry-cli/sentry-cli.mk+1 -11 reply
2/6utils/update-rust: add script to automatically update the rust versionpackage/rust-bin/rust-bin.hash package/rust/rust.hash package/rustc/Config.in.host +1 more+158 -385 replies
3/6package/rust: update to 1.79.0package/rust-bin/rust-bin.hash package/rust-bin/rust-bin.mk package/rust/rust.hash +3 more+68 -880 replies
4/6package/python-web2py: fix build with python 3.12package/python-web2py/0001-fix-regexen-and-classname.patch package/python-web2py/Config.in+301 -10 replies
5/6package/python-pydantic-core: bump for fixes with python 3.12package/python-pydantic-core/python-pydantic-core.hash package/python-pydantic-core/python-pydantic-core.mk+4 -54 replies
6/6package/python3: bump python to 3.12.4.checkpackageignore package/python3/0001-Make-the-build-of-pyc-files-conditional.patch package/python3/0002-Disable-buggy_getaddrinfo-configure-test-when-cross-.patch +31 more+446 -10570 replies

Reviews trailers per patch

None of the 6 patches has a Reviewed-by or Acked-by.

PatchJames Hilliard
1/6
2/6T-b
3/6
4/6
5/6
6/6

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [Buildroot] [PATCH 0/6] package: bump to python 3.12, rust 1.79.0 (branch yem/python3.12)

Hello All!

This series is a follow-up to the previous efforts by Adam, then by Vincent, at bumping python to version 3.12.

Bumping to python 3.12 requires bumping pydantic-core, so it builds again against python 3.12. However, it now has a more stringent requirement on the rust version: when previously it was satisfied with rust 1.74.1 as we packaged, it now requires at least 1.75.0.

So we also need to bump rust. Instead of just updating to 1.75.0, just udpate to the latest version, 1.76.0, released just a days ago (the actual version bump was done the very day it was released upstream, yeah!).

Updating rust is a pain, because we need to update a lot of hashes, so introduce a new helper script that does the job. It is inspired by a previous proposal by James, but completely rewriten to be much simpler (following the review on the previous patch).

This series has been tested in two ways:

- by emabling all the python modules, except for scipy which is known broken and will be addressed in another series, and all rust packages, and doing a build from scratch once with rust-bin, once with rust-src; note that host-bindgen and host-sentry-cli have no in-tree users, so their builds were manually trigerred as well;

- running all the runtime tests involving python or rust packages, again except for scipy.

Cargo 1.79.0 vendors packages the same 1.74.1 did, so we did not have to change the hashes of any of the cargo-vendored packages.

Regards,
Yann E. MORIN.

----------------------------------------------------------------
Vincent Fazio (1):
package/python3: bump python to 3.12.4

Yann E. MORIN (5):
package/sentry-cli: needs pkgconf and openssl utils/update-rust: add script to automatically update the rust version package/rust: update to 1.79.0
package/python-web2py: fix build with python 3.12 package/python-pydantic-core: bump for fixes with python 3.12

 .checkpackageignore                                |  33 +--
 .../python-pydantic-core/python-pydantic-core.hash |   2 +-
 .../python-pydantic-core/python-pydantic-core.mk   |   7 +-
 .../0001-fix-regexen-and-classname.patch           | 294 +++++++++++++++++++++
 package/python-web2py/Config.in                    |   8 +-
 ...1-Make-the-build-of-pyc-files-conditional.patch |  32 +--
 ...gy_getaddrinfo-configure-test-when-cross-.patch |   8 +-
 .../0003-Add-an-option-to-disable-pydoc.patch      |  84 ++++++
 ...ructure-to-disable-the-build-of-certain-e.patch | 108 --------
 ...=> 0004-Add-an-option-to-disable-lib2to3.patch} |  93 +++----
 ...n-t-look-in-usr-lib-termcap-for-libraries.patch |  31 ---
 ...ch => 0005-Add-an-option-to-disable-IDLE.patch} |  63 ++---
 .../python3/0005-Don-t-add-multiarch-paths.patch   |  37 ---
 .../0006-Abort-on-failed-module-build.patch        |  30 ---
 ...e.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch |  44 +++
 ...Add-option-to-disable-the-sqlite3-module.patch} |  35 ++-
 package/python3/0007-Serial-ioctl-workaround.patch |  33 ---
 .../0008-Add-an-option-to-disable-pydoc.patch      | 102 -------
 ...08-Add-an-option-to-disable-the-tk-module.patch |  81 ++++++
 ...d-an-option-to-disable-the-curses-module.patch} |  39 ++-
 ...h => 0010-Add-an-option-to-disable-expat.patch} |  59 +++--
 ...11-Add-an-option-to-disable-the-tk-module.patch |  77 ------
 ...-fixup-CC-print-multiarch-output-for-mus.patch} |  10 +-
 ...x-cross-compiles-when-host-and-target-us.patch} |  28 +-
 .../0014-Add-an-option-to-disable-CJK-codecs.patch |  30 ---
 .../0015-Add-an-option-to-disable-NIS.patch        |  33 ---
 ...0016-Add-an-option-to-disable-unicodedata.patch |  30 ---
 .../0018-Add-an-option-to-disable-decimal.patch    |  54 ----
 ...-option-to-disable-the-ossaudiodev-module.patch |  30 ---
 ...-Add-an-option-to-disable-openssl-support.patch |  30 ---
 ...-an-option-to-disable-the-readline-module.patch |  30 ---
 ...ions-to-disable-zlib-bzip2-and-xz-modules.patch |  42 ---
 ...0023-Add-an-option-to-disable-uuid-module.patch |  33 ---
 ...n-option-to-disable-the-berkeleydb-module.patch |  30 ---
 ...Clibc-ng-doesn-t-set-errno-when-encryptio.patch |  42 ---
 package/python3/python3.hash                       |   6 +-
 package/python3/python3.mk                         |  79 +++---
 package/rust-bin/rust-bin.hash                     | 177 +++++--------
 package/rust-bin/rust-bin.mk                       |   2 +-
 package/rust/rust.hash                             |   8 +-
 package/rust/rust.mk                               |   2 +-
 package/rustc/Config.in.host                       |  12 +-
 package/sentry-cli/sentry-cli.mk                   |   2 +-
 utils/genrandconfig                                |   7 +
 utils/update-rust                                  | 143 ++++++++++
 45 files changed, 974 insertions(+), 1186 deletions(-)
 create mode 100644 package/python-web2py/0001-fix-regexen-and-classname.patch
 create mode 100644 package/python3/0003-Add-an-option-to-disable-pydoc.patch
 delete mode 100644 package/python3/0003-Add-infrastructure-to-disable-the-build-of-certain-e.patch
 rename package/python3/{0009-Add-an-option-to-disable-lib2to3.patch => 0004-Add-an-option-to-disable-lib2to3.patch} (55%)
 delete mode 100644 package/python3/0004-Don-t-look-in-usr-lib-termcap-for-libraries.patch
 rename package/python3/{0017-Add-an-option-to-disable-IDLE.patch => 0005-Add-an-option-to-disable-IDLE.patch} (51%)
 delete mode 100644 package/python3/0005-Don-t-add-multiarch-paths.patch
 delete mode 100644 package/python3/0006-Abort-on-failed-module-build.patch
 create mode 100644 package/python3/0006-configure.ac-move-PY_STDLIB_MOD_SET_NA-further-up.patch
 rename package/python3/{0010-Add-option-to-disable-the-sqlite3-module.patch => 0007-Add-option-to-disable-the-sqlite3-module.patch} (60%)
 delete mode 100644 package/python3/0007-Serial-ioctl-workaround.patch
 delete mode 100644 package/python3/0008-Add-an-option-to-disable-pydoc.patch
 create mode 100644 package/python3/0008-Add-an-option-to-disable-the-tk-module.patch
 rename package/python3/{0012-Add-an-option-to-disable-the-curses-module.patch => 0009-Add-an-option-to-disable-the-curses-module.patch} (58%)
 rename package/python3/{0013-Add-an-option-to-disable-expat.patch => 0010-Add-an-option-to-disable-expat.patch} (63%)
 delete mode 100644 package/python3/0011-Add-an-option-to-disable-the-tk-module.patch
 rename package/python3/{0024-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch => 0011-configure.ac-fixup-CC-print-multiarch-output-for-mus.patch} (87%)
 rename package/python3/{0027-gh-115382-Fix-cross-compiles-when-host-and-target-us.patch => 0012-gh-115382-Fix-cross-compiles-when-host-and-target-us.patch} (91%)
 delete mode 100644 package/python3/0014-Add-an-option-to-disable-CJK-codecs.patch
 delete mode 100644 package/python3/0015-Add-an-option-to-disable-NIS.patch
 delete mode 100644 package/python3/0016-Add-an-option-to-disable-unicodedata.patch
 delete mode 100644 package/python3/0018-Add-an-option-to-disable-decimal.patch
 delete mode 100644 package/python3/0019-Add-an-option-to-disable-the-ossaudiodev-module.patch
 delete mode 100644 package/python3/0020-Add-an-option-to-disable-openssl-support.patch
 delete mode 100644 package/python3/0021-Add-an-option-to-disable-the-readline-module.patch
 delete mode 100644 package/python3/0022-Add-options-to-disable-zlib-bzip2-and-xz-modules.patch
 delete mode 100644 package/python3/0023-Add-an-option-to-disable-uuid-module.patch
 delete mode 100644 package/python3/0025-Add-an-option-to-disable-the-berkeleydb-module.patch
 delete mode 100644 package/python3/0026-lib-crypt-uClibc-ng-doesn-t-set-errno-when-encryptio.patch
 create mode 100755 utils/update-rust

--
.-----------------.--------------------.------------------.--------------------.

|  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