mbox

[meta-python,0/7] python3-pydantic: fix RDEPENDS and add ptest

Message ID cover.1701991044.git.ticotimo@gmail.com
State Accepted
Headers show

Pull-request

https://git.openembedded.org/meta-openembedded-contrib timo/pydantic_refactor

Message

Tim Orling Dec. 7, 2023, 11:23 p.m. UTC
The python3-pydantic upgrade to 2.x snuck in a runtime dependency on
python3-pydantic-core for which we were not yet ready: it dependended on
the 'maturin' PEP-517 backend.

Depending on https://patchwork.yoctoproject.org/project/oe-core/patch/cover.1701989368.git.tim.orling@konsulko.com/
series, we now have the support for 'maturin'.

This series adds:
* some missing RDEPENDS
* python3-pydantic-core including ptest support
* python3-pydantic ptest support so we will be better prepared

The following changes since commit 284590b4a4277719df77df800eb9d1c22691ee8e:

  vte9: Drop recipe (2023-12-04 12:30:43 -0800)

are available in the Git repository at:

  https://git.openembedded.org/meta-openembedded-contrib timo/pydantic_refactor
  https://git.openembedded.org/meta-openembedded-contrib/log/?h=timo/pydantic_refactor

Tim Orling (7):
  python3-pydantic-core: add v2.14.5
  python3-annotated-types: add v0.6.0
  python3-pydantic: fix RDEPENDS
  python3-dirty-equals: add v0.7.1
  python3-pydantic-core: enable ptest
  python3-cloudpickle: add v3.0.0
  python3-pydantic: enable ptest

 .../ptest-packagelists-meta-python.inc        |   2 +
 .../python/python3-annotated-types_0.6.0.bb   |  14 ++
 .../python/python3-cloudpickle_3.0.0.bb       |  18 ++
 .../python/python3-dirty-equals_0.7.1.bb      |  21 +++
 .../python/python3-pydantic-core-crates.inc   | 166 ++++++++++++++++++
 .../python/python3-pydantic-core/run-ptest    |   3 +
 .../python/python3-pydantic-core_2.14.5.bb    |  40 +++++
 .../python/python3-pydantic/run-ptest         |   3 +
 .../python/python3-pydantic_2.5.2.bb          |  32 +++-
 9 files changed, 298 insertions(+), 1 deletion(-)
 create mode 100644 meta-python/recipes-devtools/python/python3-annotated-types_0.6.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-cloudpickle_3.0.0.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-dirty-equals_0.7.1.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core-crates.inc
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core/run-ptest
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic-core_2.14.5.bb
 create mode 100644 meta-python/recipes-devtools/python/python3-pydantic/run-ptest

Comments

Khem Raj Dec. 27, 2023, 8:21 a.m. UTC | #1
On Thu, 07 Dec 2023 15:23:50 -0800, Tim Orling wrote:
> The python3-pydantic upgrade to 2.x snuck in a runtime dependency on
> python3-pydantic-core for which we were not yet ready: it dependended on
> the 'maturin' PEP-517 backend.
> 
> Depending on https://patchwork.yoctoproject.org/project/oe-core/patch/cover.1701989368.git.tim.orling@konsulko.com/
> series, we now have the support for 'maturin'.
> 
> [...]

Applied, thanks!

[1/7] python3-pydantic-core: add v2.14.5
      commit: e67a62b44c6ec6fa0d1f39076f58faf95b4cd0a3
[2/7] python3-annotated-types: add v0.6.0
      commit: 0b1b5efeb521fde8cd684605d21adba9db2e1bc9
[3/7] python3-pydantic: fix RDEPENDS
      commit: 537a9e24c6d5e2a5a0b177bb572b8a3ce95a485e
[4/7] python3-dirty-equals: add v0.7.1
      commit: e592a8ce9a3e4cc7ad9e2e0da67e5afa9a38186a
[5/7] python3-pydantic-core: enable ptest
      commit: 446124784bfdaf3d3c955e760f7354ebaba5f1ef
[6/7] python3-cloudpickle: add v3.0.0
      commit: b48af247b81411e61c780d48cf13aceda275d6e7
[7/7] python3-pydantic: enable ptest
      commit: 1872badd7350240a792a242efbe232f7c6cbc22a

Best regards,