mbox series

[bug#69048,00/32] Add python-pydantic v2 and required rust and python packages

Message ID cover.1707650096.git.h.goebel@crazy-compilers.com
Headers show
Series Add python-pydantic v2 and required rust and python packages | expand

Message

Hartmut Goebel Feb. 11, 2024, 11:27 a.m. UTC
This patchset add python-pydantic v2, which has a core implemented in rust.
Thus the patchset includes also the required rust packages and rust package
updates. And of course it also includes some required Python packages and
Python package updates.

Please not pydantic v2 has API changes as compared to version 1.x, which is
why this patchset keeps python-pydantic-1.

Packages are linted already.

Hartmut Goebel (32):
  gnu: rust-either-1: Update to 1.10.0.
  gnu: rust-ahash-0.8: Update to 0.8.7.
  gnu: rust-hashbrown-0.14: Update to 0.14.3.
  gnu: rust-heck-0.4: Update to 0.4.1.
  gnu: rust-lexical-core-0.8: Update to 0.8.5.
  gnu: rust-lexical-parse-float-0.8: Update to 0.8.5.
  gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6.
  gnu: rust-lexical-util-0.8: Update to 0.8.5.
  gnu: rust-lexical-write-float-0.8: Update to 0.8.5.
  gnu: rust-lexical-write-integer-0.8: Update to 0.8.5.
  gnu: rust-python3-dll-a-0.2: Update to 0.2.9.
  gnu: Add rust-codspeed-2.
  gnu: Add rust-codspeed-bencher-compat-2.
  gnu: Add rust-elain-0.3.
  gnu: Add rust-idna-0.5.
  gnu: Add rust-iso8601-0.3.
  gnu: Add rust-jiter-0.0.6.
  gnu: Add rust-strum-0.25.
  gnu: Add rust-strum-macros-0.25.
  gnu: Add rust-speedate-0.13.
  gnu: Add rust-zerocopy-derive-0.7.
  gnu: Add rust-zerocopy-0.7.
  gnu: Add rust-pyo3-build-config-0.20.
  gnu: Add rust-pyo3-ffi-0.20.
  gnu: Add rust-pyo3-macros-backend-0.20.
  gnu: Add rust-pyo3-macros-0.20.
  gnu: Add rust-pyo3-0.20.
  gnu: Add python-annotated-types.
  gnu: Add python-pydantic-core.
  gnu: Add python-pydantic-2.
  gnu: python-typing-extensions: Update to 4.9.0.
  gnu: python-email-validator: Update to 2.1.0.post1.

 gnu/packages/crates-io.scm    | 523 ++++++++++++++++++++++++++++------
 gnu/packages/python-build.scm |   4 +-
 gnu/packages/python-xyz.scm   | 160 ++++++++++-
 3 files changed, 587 insertions(+), 100 deletions(-)


base-commit: a4464bd0975c811f18af98f69032b29bddda5b81

Comments

Efraim Flashner Feb. 11, 2024, 2:38 p.m. UTC | #1
Most of these were already applied on the rust-team branch.  Currently
python-pydantic-core is at 2.14.6 and python-pydantic-2 is at 2.5.3, two
versions that I found went together.  I didn't apply the update to
python-email-validator but only because I didn't want to check if it
broke other packages further on.

On Sun, Feb 11, 2024 at 12:27:26PM +0100, Hartmut Goebel wrote:
> This patchset add python-pydantic v2, which has a core implemented in rust.
> Thus the patchset includes also the required rust packages and rust package
> updates. And of course it also includes some required Python packages and
> Python package updates.
> 
> Please not pydantic v2 has API changes as compared to version 1.x, which is
> why this patchset keeps python-pydantic-1.
> 
> Packages are linted already.
> 
> Hartmut Goebel (32):
>   gnu: rust-either-1: Update to 1.10.0.
>   gnu: rust-ahash-0.8: Update to 0.8.7.
>   gnu: rust-hashbrown-0.14: Update to 0.14.3.
>   gnu: rust-heck-0.4: Update to 0.4.1.
>   gnu: rust-lexical-core-0.8: Update to 0.8.5.
>   gnu: rust-lexical-parse-float-0.8: Update to 0.8.5.
>   gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6.
>   gnu: rust-lexical-util-0.8: Update to 0.8.5.
>   gnu: rust-lexical-write-float-0.8: Update to 0.8.5.
>   gnu: rust-lexical-write-integer-0.8: Update to 0.8.5.
>   gnu: rust-python3-dll-a-0.2: Update to 0.2.9.
>   gnu: Add rust-codspeed-2.
>   gnu: Add rust-codspeed-bencher-compat-2.
>   gnu: Add rust-elain-0.3.
>   gnu: Add rust-idna-0.5.
>   gnu: Add rust-iso8601-0.3.
>   gnu: Add rust-jiter-0.0.6.
>   gnu: Add rust-strum-0.25.
>   gnu: Add rust-strum-macros-0.25.
>   gnu: Add rust-speedate-0.13.
>   gnu: Add rust-zerocopy-derive-0.7.
>   gnu: Add rust-zerocopy-0.7.
>   gnu: Add rust-pyo3-build-config-0.20.
>   gnu: Add rust-pyo3-ffi-0.20.
>   gnu: Add rust-pyo3-macros-backend-0.20.
>   gnu: Add rust-pyo3-macros-0.20.
>   gnu: Add rust-pyo3-0.20.
>   gnu: Add python-annotated-types.
>   gnu: Add python-pydantic-core.
>   gnu: Add python-pydantic-2.
>   gnu: python-typing-extensions: Update to 4.9.0.
>   gnu: python-email-validator: Update to 2.1.0.post1.
> 
>  gnu/packages/crates-io.scm    | 523 ++++++++++++++++++++++++++++------
>  gnu/packages/python-build.scm |   4 +-
>  gnu/packages/python-xyz.scm   | 160 ++++++++++-
>  3 files changed, 587 insertions(+), 100 deletions(-)
> 
> 
> base-commit: a4464bd0975c811f18af98f69032b29bddda5b81
> -- 
> 2.41.0
> 
> 
> 
>