mbox

[meta-python,0/3] Upgrade python3-orjson and enable ptest

Message ID cover.1769715106.git.tim.orling@konsulko.com
State New
Headers show

Pull-request

https://git.openembedded.org/meta-openembedded-contrib timo/python3-orjson-3.11.6

Message

Tim Orling Jan. 30, 2026, 1:07 a.m. UTC
From: Tim Orling <tim.orling@konsulko.com>

This series upgrades python3-orjson to 3.11.6 and patches it to support
building on non-x86* architectures like riscv64 and arm64.

7 of the ptests are skipped because of missing python3-pendulum, but it does
not yet support python 3.14.x

Tested on qemux86-64, qemuriscv64 and qemuarm64.

The following changes since commit 7bbe4a4e200452b1fd6c09c7fcf36c4b229146f6:

  php: upgrade 8.5.1 -> 8.5.2 (2026-01-20 14:35:59 -0800)

are available in the Git repository at:

  https://git.openembedded.org/meta-openembedded-contrib timo/python3-orjson-3.11.6
  https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/python3-orjson-3.11.6

for you to fetch changes up to ecd3b46d0c63b03fc434ee3763292acab1463941:

  python3-orjson: use git fetcher; enable ptest (2026-01-29 11:26:47 -0800)

----------------------------------------------------------------

Tim Orling (3):
  python3-orjson: upgrade 3.10.17 -> 3.11.6
  python3-faker: add v40.1.2
  python3-orjson: use git fetcher; enable ptest

 .../ptest-packagelists-meta-python.inc        |    2 +
 .../python/python3-faker_40.1.2.bb            |   45 +
 .../python/python3-orjson-crates.inc          | 2243 ++++++++++++++++-
 ...rd-avx512-module-with-x86-target-cfg.patch |   37 +
 ...e-detection-macro-in-pystrref-object.patch |   34 +
 .../python/python3-orjson_3.10.17.bb          |   22 -
 .../python/python3-orjson_3.11.6.bb           |   45 +
 7 files changed, 2357 insertions(+), 71 deletions(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-faker_40.1.2.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch
 create mode 100644 meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch
 delete mode 100644 meta-python/recipes-devtools/python/python3-orjson_3.10.17.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-orjson_3.11.6.bb

Comments

Tim Orling Jan. 30, 2026, 2:57 p.m. UTC | #1
Please hold off on this series, (1) I forgot to include the updates
python3-orjson-crates.inc
and (2) python3-pendulum had a new release which should allow us to build
it with python 3.14
and improve ptest passing.

On Thu, Jan 29, 2026 at 5:07 PM Tim Orling via lists.openembedded.org
<tim.orling=konsulko.com@lists.openembedded.org> wrote:

> From: Tim Orling <tim.orling@konsulko.com>
>
> This series upgrades python3-orjson to 3.11.6 and patches it to support
> building on non-x86* architectures like riscv64 and arm64.
>
> 7 of the ptests are skipped because of missing python3-pendulum, but it
> does
> not yet support python 3.14.x
>
> Tested on qemux86-64, qemuriscv64 and qemuarm64.
>
> The following changes since commit
> 7bbe4a4e200452b1fd6c09c7fcf36c4b229146f6:
>
>   php: upgrade 8.5.1 -> 8.5.2 (2026-01-20 14:35:59 -0800)
>
> are available in the Git repository at:
>
>   https://git.openembedded.org/meta-openembedded-contrib
> timo/python3-orjson-3.11.6
>
> https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/python3-orjson-3.11.6
>
> for you to fetch changes up to ecd3b46d0c63b03fc434ee3763292acab1463941:
>
>   python3-orjson: use git fetcher; enable ptest (2026-01-29 11:26:47 -0800)
>
> ----------------------------------------------------------------
>
> Tim Orling (3):
>   python3-orjson: upgrade 3.10.17 -> 3.11.6
>   python3-faker: add v40.1.2
>   python3-orjson: use git fetcher; enable ptest
>
>  .../ptest-packagelists-meta-python.inc        |    2 +
>  .../python/python3-faker_40.1.2.bb            |   45 +
>  .../python/python3-orjson-crates.inc          | 2243 ++++++++++++++++-
>  ...rd-avx512-module-with-x86-target-cfg.patch |   37 +
>  ...e-detection-macro-in-pystrref-object.patch |   34 +
>  .../python/python3-orjson_3.10.17.bb          |   22 -
>  .../python/python3-orjson_3.11.6.bb           |   45 +
>  7 files changed, 2357 insertions(+), 71 deletions(-)
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-faker_40.1.2.bb
>  create mode 100644
> meta-python/recipes-devtools/python/python3-orjson/0001-Guard-avx512-module-with-x86-target-cfg.patch
>  create mode 100644
> meta-python/recipes-devtools/python/python3-orjson/0002-Guard-x86-feature-detection-macro-in-pystrref-object.patch
>  delete mode 100644 meta-python/recipes-devtools/python/
> python3-orjson_3.10.17.bb
>  create mode 100644 meta-python/recipes-devtools/python/
> python3-orjson_3.11.6.bb
>
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#123993):
> https://lists.openembedded.org/g/openembedded-devel/message/123993
> Mute This Topic: https://lists.openembedded.org/mt/117537804/924729
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> ticotimo@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>