unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#69048] [PATCH 00/32] Add python-pydantic v2 and required rust and python packages
@ 2024-02-11 11:27 Hartmut Goebel
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
  2024-02-11 14:38 ` bug#69048: [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Efraim Flashner
  0 siblings, 2 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:27 UTC (permalink / raw)
  To: 69048

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





^ permalink raw reply	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 02/32] gnu: rust-ahash-0.8: Update to 0.8.7.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3 Hartmut Goebel
                     ` (29 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-ahash-0.8): Update to 0.8.7.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fc6234838d..438c4b934a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -2613,14 +2613,14 @@ (define-public rust-afl-0.8
 (define-public rust-ahash-0.8
   (package
     (name "rust-ahash")
-    (version "0.8.3")
+    (version "0.8.7")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "ahash" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0bzcsxdl2wd6j2p4214qh9sqkqn69gi7f9lk1xi8yj063r6zd69c"))))
+                "008xw6gigwnf0q01ic4ar2y4dqfnzn3kyys6vd4cvfa3imjakhvp"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 02/32] gnu: rust-ahash-0.8: Update to 0.8.7 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 04/32] gnu: rust-heck-0.4: Update to 0.4.1 Hartmut Goebel
                     ` (28 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-hashbrown-0.14): Update to 0.14.3.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 438c4b934a..9bce6a0cc1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -34296,14 +34296,14 @@ (define-public rust-hash32-derive-0.1
 (define-public rust-hashbrown-0.14
   (package
     (name "rust-hashbrown")
-    (version "0.14.0")
+    (version "0.14.3")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "hashbrown" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0yj3nf0w30pf30w503kgaw4sbjnh62l5cbmc7dd0mnczzywh2qic"))
+                "012nywlg0lj9kwanh69my5x67vjlfmzfi9a0rq4qvis2j8fil3r9"))
               (modules '((guix build utils)))
               (snippet
                '(begin
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 04/32] gnu: rust-heck-0.4: Update to 0.4.1.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 02/32] gnu: rust-ahash-0.8: Update to 0.8.7 Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 05/32] gnu: rust-lexical-core-0.8: Update to 0.8.5 Hartmut Goebel
                     ` (27 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-heck-0.4): Update to 0.4.1.
---
 gnu/packages/crates-io.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9bce6a0cc1..63e4dbe407 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -5,7 +5,7 @@
 ;;; Copyright © 2019 Giacomo Leidi <goodoldpaul@autistici.org>
 ;;; Copyright © 2019–2021 Tobias Geerinckx-Rice <me@tobias.gr>
 ;;; Copyright © 2019, 2020 John Soo <jsoo1@asu.edu>
-;;; Copyright © 2019, 2020 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2019, 2020, 2024 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
 ;;; Copyright © 2020 Leo Famulari <leo@famulari.name>
 ;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
@@ -34944,14 +34944,14 @@ (define-public rust-heapsize-plugin-0.1
 (define-public rust-heck-0.4
   (package
     (name "rust-heck")
-    (version "0.4.0")
+    (version "0.4.1")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "heck" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1ygphsnfwl2xpa211vbqkz1db6ri1kvkg8p8sqybi37wclg7fh15"))))
+        (base32 "1a7mqsnycv5z4z5vnv1k34548jzmc0ajic7c1j8jsaspnhw5ql4m"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build?
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 05/32] gnu: rust-lexical-core-0.8: Update to 0.8.5.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (2 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 04/32] gnu: rust-heck-0.4: Update to 0.4.1 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 06/32] gnu: rust-lexical-parse-float-0.8: " Hartmut Goebel
                     ` (26 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-lexical-core-0.8): Update to 0.8.5.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 63e4dbe407..01c926fe56 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40525,14 +40525,14 @@ (define-public rust-lewton-0.10
 (define-public rust-lexical-core-0.8
   (package
     (name "rust-lexical-core")
-    (version "0.8.2")
+    (version "0.8.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lexical-core" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1152ll9xa7v4jz2mjvz0048gy32yg39mzgjaps89h0any7c2cfba"))))
+        (base32 "0ihf0x3vrk25fq3bv9q35m0xax0wmvwkh0j0pjm2yk4ddvh5vpic"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 06/32] gnu: rust-lexical-parse-float-0.8: Update to 0.8.5.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (3 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 05/32] gnu: rust-lexical-core-0.8: Update to 0.8.5 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 07/32] gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6 Hartmut Goebel
                     ` (25 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-lexical-parse-float-0.8): Update to 0.8.5.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 01c926fe56..02b4134a41 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40579,14 +40579,14 @@ (define-public rust-lexical-core-0.7
 (define-public rust-lexical-parse-float-0.8
   (package
     (name "rust-lexical-parse-float")
-    (version "0.8.2")
+    (version "0.8.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lexical-parse-float" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "03mzjx8k2jzv2vbl1xb589p9zfs5i2m23vcmm6fjsxps0k86dl5l"))))
+        (base32 "0py0gp8hlzcrlvjqmqlpl2v1as65iiqxq2xsabxvhc01pmg3lfv8"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 07/32] gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (4 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 06/32] gnu: rust-lexical-parse-float-0.8: " Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5 Hartmut Goebel
                     ` (24 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-lexical-parse-integer-0.8): Update to 0.8.6.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 02b4134a41..4f5963aa4d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40603,14 +40603,14 @@ (define-public rust-lexical-parse-float-0.8
 (define-public rust-lexical-parse-integer-0.8
   (package
     (name "rust-lexical-parse-integer")
-    (version "0.8.0")
+    (version "0.8.6")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lexical-parse-integer" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1b2kxprq3636x3j1qy68202q7yzsmq5c7h9w7m7zrh4cvanjpjgj"))))
+        (base32 "1sayji3mpvb2xsjq56qcq3whfz8px9a6fxk5v7v15hyhbr4982bd"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (5 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 07/32] gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 09/32] gnu: rust-lexical-write-float-0.8: " Hartmut Goebel
                     ` (23 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-lexical-util-0.8): Update to 0.8.5.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 4f5963aa4d..a72a07be8f 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40626,14 +40626,14 @@ (define-public rust-lexical-parse-integer-0.8
 (define-public rust-lexical-util-0.8
   (package
     (name "rust-lexical-util")
-    (version "0.8.1")
+    (version "0.8.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lexical-util" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "14g224mm2li0q6jnnqh92dzx3zjyflji3i8dz4xf6vp1mb66kxkg"))))
+        (base32 "1z73qkv7yxhsbc4aiginn1dqmsj8jarkrdlyxc88g2gz2vzvjmaj"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 09/32] gnu: rust-lexical-write-float-0.8: Update to 0.8.5.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (6 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: " Hartmut Goebel
                     ` (22 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-lexical-write-float-0.8): Update to 0.8.5.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a72a07be8f..18f8dbf5cd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40647,14 +40647,14 @@ (define-public rust-lexical-util-0.8
 (define-public rust-lexical-write-float-0.8
   (package
     (name "rust-lexical-write-float")
-    (version "0.8.2")
+    (version "0.8.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lexical-write-float" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0xn5dpdmld2nvj7jvz3xrvjjbrnsh4jhymjimax7labvija8clcb"))))
+        (base32 "0qk825l0csvnksh9sywb51996cjc2bylq6rxjaiha7sqqjhvmjmc"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: Update to 0.8.5.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (7 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 09/32] gnu: rust-lexical-write-float-0.8: " Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 11/32] gnu: rust-python3-dll-a-0.2: Update to 0.2.9 Hartmut Goebel
                     ` (21 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-lexical-write-integer-0.8): Update to 0.8.5.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 18f8dbf5cd..7658ce7906 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -40671,14 +40671,14 @@ (define-public rust-lexical-write-float-0.8
 (define-public rust-lexical-write-integer-0.8
   (package
     (name "rust-lexical-write-integer")
-    (version "0.8.0")
+    (version "0.8.5")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "lexical-write-integer" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1vsn3zg2hyqnyapwmzb2aw0w5f53ad6s6n46xyazsh0f5r4mdsgc"))))
+        (base32 "0ii4hmvqrg6pd4j9y1pkhkp0nw2wpivjzmljh6v6ca22yk8z7dp1"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 11/32] gnu: rust-python3-dll-a-0.2: Update to 0.2.9.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (8 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: " Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2 Hartmut Goebel
                     ` (20 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-python3-dll-a-0.2): Update to 0.2.9.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7658ce7906..0481804d1c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59279,14 +59279,14 @@ (define-public rust-python-pkginfo-0.5
 (define-public rust-python3-dll-a-0.2
   (package
     (name "rust-python3-dll-a")
-    (version "0.2.6")
+    (version "0.2.9")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "python3-dll-a" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1a676r8xlbkijdagywwz838rbdnc9h28lgmx1ccvyqj9h9rbs5d9"))))
+                "0grlz344xq435qgs5mic0yz1p643qh3h1m11lw4zms1b87a7rw6m"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f                      ;Windows-like targets only
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (9 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 11/32] gnu: rust-python3-dll-a-0.2: Update to 0.2.9 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2 Hartmut Goebel
                     ` (19 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-codspeed-2): New variable.
---
 gnu/packages/crates-io.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0481804d1c..314bd7b2f9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14353,6 +14353,28 @@ (define-public rust-codespan-reporting-0.9
         ("rust-structopt" ,rust-structopt-0.3)
         ("rust-unindent" ,rust-unindent-0.1))))))
 
+(define-public rust-codspeed-2
+  (package
+    (name "rust-codspeed")
+    (version "2.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "codspeed" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16s95jrih19llp4m8rgmymvan0misfcnzc8gb57ynm35rd6spd0f"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-colored" ,rust-colored-2)
+                       ("rust-libc" ,rust-libc-0.2)
+                       ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://codspeed.io")
+    (synopsis "Core instrumentation library for CodSpeed")
+    (description "Core instrumentation library for @code{CodSpeed}")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-coitrees-0.2
   (package
     (name "rust-coitrees")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (10 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3 Hartmut Goebel
                     ` (18 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-codspeed-bencher-compat-2): New variable.
---
 gnu/packages/crates-io.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 314bd7b2f9..c8c2803f0b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -14375,6 +14375,27 @@ (define-public rust-codspeed-2
     (description "Core instrumentation library for @code{CodSpeed}")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-codspeed-bencher-compat-2
+  (package
+    (name "rust-codspeed-bencher-compat")
+    (version "2.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "codspeed-bencher-compat" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "17nmj0yzyyv6450yshs1f2qa0n7d9wwzkcc5ixjkiy63dww2ivpy"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-bencher" ,rust-bencher-0.1)
+                       ("rust-codspeed" ,rust-codspeed-2))))
+    (home-page "https://codspeed.io")
+    (synopsis "Bencher compatibility layer for CodSpeed")
+    (description "Bencher compatibility layer for @code{CodSpeed}")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-coitrees-0.2
   (package
     (name "rust-coitrees")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (11 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5 Hartmut Goebel
                     ` (17 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-elain-0.3): New variable.
---
 gnu/packages/crates-io.scm | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c8c2803f0b..8335a96333 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23827,6 +23827,24 @@ (define-public rust-either-1
 @code{Right} is a general purpose sum type with two cases.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-elain-0.3
+  (package
+    (name "rust-elain")
+    (version "0.3.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "elain" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0wgpyy0m48vdnrip0f4x1h8w4bp2lxgy8pqk78qwhrbxmr7hj8im"))))
+    (build-system cargo-build-system)
+    (home-page "https://github.com/jswrenn/elain")
+    (synopsis "Set a type's minimum alignment with const generics")
+    (description "Set the minimum alignments of types using const generics,
+rather than @code{#[repr(align(N))]}.")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-elf-0.0.10
   (package
     (name "rust-elf")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (12 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 16/32] gnu: Add rust-iso8601-0.3 Hartmut Goebel
                     ` (16 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-idna-0.5): New variable.
  (rust-idna-0.4): Inherit from rust-idna-0.5.
  (rust-idna-0.3): Remove [arguments], since same as inherited ones.
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++-------------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 8335a96333..ee824b9698 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36963,17 +36963,17 @@ (define-public rust-ident-case-1
      "Utility for applying case rules to Rust identifiers.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-idna-0.4
+(define-public rust-idna-0.5
   (package
     (name "rust-idna")
-    (version "0.4.0")
+    (version "0.5.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "idna" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0z4i1dhqk83bbv230pp1c31dqdlnscvqxvc85n40ihgvgfqdc83x"))))
+                "1xhjrcjqq0l5bpzvdgylvpkgk94panxgsirzhjnnqfdgc4a9nkb3"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -36990,6 +36990,19 @@ (define-public rust-idna-0.4
      "IDNA (Internationalizing Domain Names in Applications) and Punycode.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-idna-0.4
+  (package
+    (inherit rust-idna-0.5)
+    (name "rust-idna")
+    (version "0.4.0")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "idna" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0z4i1dhqk83bbv230pp1c31dqdlnscvqxvc85n40ihgvgfqdc83x"))))))
+
 (define-public rust-idna-0.3
   (package
     (inherit rust-idna-0.4)
@@ -37001,16 +37014,7 @@ (define-public rust-idna-0.3
        (uri (crate-uri "idna" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1rh9f9jls0jy3g8rh2bfpjhvvhh4q80348jc4jr2s844133xykg1"))))
-    (arguments
-     `(#:cargo-inputs
-       (("rust-unicode-bidi" ,rust-unicode-bidi-0.3)
-        ("rust-unicode-normalization" ,rust-unicode-normalization-0.1))
-       #:cargo-development-inputs
-       (("rust-assert-matches" ,rust-assert-matches-1)
-        ("rust-bencher" ,rust-bencher-0.1)
-        ("rust-serde-json" ,rust-serde-json-1)
-        ("rust-tester" ,rust-tester-0.9))))))
+        (base32 "1rh9f9jls0jy3g8rh2bfpjhvvhh4q80348jc4jr2s844133xykg1"))))))
 
 (define-public rust-idna-0.2
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 16/32] gnu: Add rust-iso8601-0.3.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (13 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6 Hartmut Goebel
                     ` (15 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-iso8601-0.4): New variable.
  (rust-iso8601-0.3): Inherit from rust-iso8601-0.4.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index ee824b9698..a7bbba7b18 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -38809,10 +38809,10 @@ (define-public rust-is-terminal-0.4
 stream runs in a TTY.")
     (license license:expat)))
 
-(define-public rust-iso8601-0.3
+(define-public rust-iso8601-0.4
   (package
     (name "rust-iso8601")
-    (version "0.3.0")
+    (version "0.4.2")
     (source
       (origin
         (method url-fetch)
@@ -38821,15 +38821,32 @@ (define-public rust-iso8601-0.3
          (string-append name "-" version ".tar.gz"))
         (sha256
          (base32
-          "0vvn6f9gv2295ik77nvaz99wzbwz1bmasrd787sz6d9mlwa6ks23"))))
+          "15nfg6d4qlniw4gk7039s5y07lzgr1dp9snsw63lsxarnyz4zfg5"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-nom" ,rust-nom-4))))
+     `(#:cargo-inputs (("rust-nom" ,rust-nom-7))))
     (home-page "https://github.com/badboy/iso8601")
     (synopsis "Parsing ISO8601 dates using nom")
     (description "Parsing ISO8601 dates using nom.")
     (license license:expat)))
 
+(define-public rust-iso8601-0.3
+  (package
+    (inherit rust-iso8601-0.4)
+    (name "rust-iso8601")
+    (version "0.3.0")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (crate-uri "iso8601" version))
+        (file-name
+         (string-append name "-" version ".tar.gz"))
+        (sha256
+         (base32
+          "0vvn6f9gv2295ik77nvaz99wzbwz1bmasrd787sz6d9mlwa6ks23"))))
+    (arguments
+     `(#:cargo-inputs (("rust-nom" ,rust-nom-4))))))
+
 (define-public rust-isolang-2
   (package
     (name "rust-isolang")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (14 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 16/32] gnu: Add rust-iso8601-0.3 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25 Hartmut Goebel
                     ` (14 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-jiter-0.0.6): New variable.
---
 gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a7bbba7b18..f4d282b1e5 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -39555,6 +39555,39 @@ (define-public rust-jetscii-0.3
         (base32 "1sq6d6c9vi44gkr566w2f1d4n6mmrjx8gjdwgnhkgcsg051j391j"))))
     (arguments `(#:skip-build? #t))))
 
+(define-public rust-jiter-0.0.6
+  (package
+    (name "rust-jiter")
+    (version "0.0.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "jiter" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1xr7cajq6r0szl6aga047asrd6cqrvw168yh0sz854znk5m0dnw7"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-ahash" ,rust-ahash-0.8)
+        ("rust-hashbrown" ,rust-hashbrown-0.14)
+        ("rust-lexical-core" ,rust-lexical-core-0.8)
+        ("rust-num-bigint" ,rust-num-bigint-0.4)
+        ("rust-num-traits" ,rust-num-traits-0.2)
+        ("rust-pyo3" ,rust-pyo3-0.20)
+        ("rust-smallvec" ,rust-smallvec-1))
+       #:cargo-development-inputs
+       (("rust-bencher" ,rust-bencher-0.1)
+        ("rust-codspeed-bencher-compat" ,rust-codspeed-bencher-compat-2)
+        ("rust-paste" ,rust-paste-1)
+        ("rust-pyo3" ,rust-pyo3-0.20)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1))))
+    (home-page "https://github.com/pydantic/jiter/")
+    (synopsis "Iterable JSON parser")
+    (description "Iterable JSON parser")
+    (license license:expat)))
+
 (define-public rust-jni-0.21
   (package
     (name "rust-jni")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (15 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 19/32] gnu: Add rust-strum-macros-0.25 Hartmut Goebel
                     ` (13 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-strum-0.25): New variable.
  (rust-strum-0.24): Inherit from rust-strum-0.25.
---
 gnu/packages/crates-io.scm | 30 +++++++++++++++++++++++++-----
 1 file changed, 25 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f4d282b1e5..c2a852bea9 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74757,25 +74757,25 @@ (define-public rust-structopt-derive-0.2
      "Parse command line argument by defining a struct, derive crate.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-strum-0.24
+(define-public rust-strum-0.25
   (package
     (name "rust-strum")
-    (version "0.24.1")
+    (version "0.25.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strum" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6"))))
+        (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399"))))
     (build-system cargo-build-system)
     (arguments
      `(#:tests? #f          ; Doc tests fail.
        #:cargo-inputs
        (("rust-phf" ,rust-phf-0.10)
-        ("rust-strum-macros" ,rust-strum-macros-0.24))
+        ("rust-strum-macros" ,rust-strum-macros-0.25))
        #:cargo-development-inputs
-       (("rust-strum-macros" ,rust-strum-macros-0.24))))
+       (("rust-strum-macros" ,rust-strum-macros-0.25))))
     (home-page "https://github.com/Peternator7/strum")
     (synopsis "Set of traits for working with enums and strings")
     (description
@@ -74783,6 +74783,26 @@ (define-public rust-strum-0.24
 easier in Rust.")
     (license license:expat)))
 
+(define-public rust-strum-0.24
+  (package
+    (inherit rust-strum-0.25)
+    (name "rust-strum")
+    (version "0.24.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6"))))
+    (arguments
+     `(#:tests? #f          ; Doc tests fail.
+       #:cargo-inputs
+       (("rust-phf" ,rust-phf-0.10)
+        ("rust-strum-macros" ,rust-strum-macros-0.24))
+       #:cargo-development-inputs
+       (("rust-strum-macros" ,rust-strum-macros-0.24))))))
+
 (define-public rust-strum-0.21
   (package
     (inherit rust-strum-0.24)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 19/32] gnu: Add rust-strum-macros-0.25.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (16 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 20/32] gnu: Add rust-speedate-0.13 Hartmut Goebel
                     ` (12 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-strum-macros-0.25): New variable.
  (rust-strum-macros-0.24): Inherit from rust-strum-macros-0.25.
---
 gnu/packages/crates-io.scm | 32 +++++++++++++++++++++++++++-----
 1 file changed, 27 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index c2a852bea9..3f26aef89d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -74871,17 +74871,17 @@ (define-public rust-strum-0.18
      `(#:cargo-inputs
        (("rust-strum-macros" ,rust-strum-macros-0.18))))))
 
-(define-public rust-strum-macros-0.24
+(define-public rust-strum-macros-0.25
   (package
     (name "rust-strum-macros")
-    (version "0.24.3")
+    (version "0.25.3")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "strum_macros" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0naxz2y38kwq5wgirmia64vvf6qhwy8j367rw966n62gsbh5nf0y"))))
+        (base32 "184y62g474zqb2f7n16x3ghvlyjbh50viw32p9w9l5lwmjlizp13"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -74889,15 +74889,37 @@ (define-public rust-strum-macros-0.24
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
         ("rust-rustversion" ,rust-rustversion-1)
-        ("rust-syn" ,rust-syn-1))
+        ("rust-syn" ,rust-syn-2))
        #:cargo-development-inputs
-       (("rust-strum" ,rust-strum-0.24))))
+       (("rust-strum" ,rust-strum-0.25))))
     (home-page "https://github.com/Peternator7/strum")
     (synopsis "Set of macros for working with enums and strings")
     (description
      "This crate provides helpful macros for working with enums and strings.")
     (license license:expat)))
 
+(define-public rust-strum-macros-0.24
+  (package
+    (inherit rust-strum-macros-0.25)
+    (name "rust-strum-macros")
+    (version "0.24.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum_macros" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0naxz2y38kwq5wgirmia64vvf6qhwy8j367rw966n62gsbh5nf0y"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-heck" ,rust-heck-0.4)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-syn" ,rust-syn-1))
+       #:cargo-development-inputs
+       (("rust-strum" ,rust-strum-0.24))))))
+
 (define-public rust-strum-macros-0.21
   (package
     (inherit rust-strum-macros-0.24)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 20/32] gnu: Add rust-speedate-0.13.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (17 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 19/32] gnu: Add rust-strum-macros-0.25 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7 Hartmut Goebel
                     ` (11 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-speedate-0.13): New variable.
---
 gnu/packages/crates-io.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3f26aef89d..26678f8bfd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -72867,6 +72867,30 @@ (define-public rust-speculate-0.1
      "An RSpec inspired minimal testing framework for Rust.")
     (license license:expat)))
 
+(define-public rust-speedate-0.13
+  (package
+    (name "rust-speedate")
+    (version "0.13.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "speedate" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "16xi4d98ab3ag7rkba2fv37kk3d0fgg0l287hq4vz36i1z2pcbr4"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-strum" ,rust-strum-0.25)
+                       ("rust-strum-macros" ,rust-strum-macros-0.25))
+       #:cargo-development-inputs (("rust-chrono" ,rust-chrono-0.4)
+                                   ("rust-iso8601" ,rust-iso8601-0.4)
+                                   ("rust-paste" ,rust-paste-1))))
+    (home-page "https://github.com/pydantic/speedate/")
+    (synopsis "Fast and simple datetime, date, time and duration parsing")
+    (description "@code{speedate} is a lax RFC 3339 date and time parser, in
+other words, it parses common ISO 8601 formats.")
+    (license license:expat)))
+
 (define-public rust-speedy-0.8
   (package
     (name "rust-speedy")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (18 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 20/32] gnu: Add rust-speedate-0.13 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7 Hartmut Goebel
                     ` (10 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-zerocopy-derive-0.7): New variable.
  (rust-zerocopy-derive-0.3): Inherit from rust-zerocopy-derive-0.7.
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++--------
 1 file changed, 30 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 26678f8bfd..3100aae670 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -91401,8 +91401,37 @@ (define-public rust-zerocopy-0.3
         ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.2))))
     (license license:bsd-3)))
 
+(define-public rust-zerocopy-derive-0.7
+  (package
+    (name "rust-zerocopy-derive")
+    (version "0.7.32")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zerocopy-derive" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "19nj11md42aijyqnfx8pa647fjzhz537xyc624rajwwfrn6b3qcw"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-2))
+       #:cargo-development-inputs
+       (("rust-static-assertions" ,rust-static-assertions-1)
+        ("rust-trybuild" ,rust-trybuild-1))))
+    (home-page "https://github.com/google/zerocopy")
+    (synopsis "Custom derive for traits from the zerocopy Rust crate")
+    (description
+     "This package provides custom derive for traits from the zerocopy Rust
+crate.")
+    (license license:bsd-2)))
+
 (define-public rust-zerocopy-derive-0.3
   (package
+    (inherit rust-zerocopy-derive-0.7)
     (name "rust-zerocopy-derive")
     (version "0.3.2")
     (source (origin
@@ -91412,19 +91441,12 @@ (define-public rust-zerocopy-derive-0.3
               (sha256
                (base32
                 "18qr7dqlj89v1xl1g58l2xd6jidv0sbccscgl131gpppba0yc1b5"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-syn" ,rust-syn-1)
-        ("rust-synstructure" ,rust-synstructure-0.12))))
-    (home-page "https://github.com/google/zerocopy")
-    (synopsis "Custom derive for traits from the zerocopy Rust crate")
-    (description
-     "This package provides custom derive for traits from the zerocopy Rust
-crate.")
-    (license license:bsd-2)))
+        ("rust-synstructure" ,rust-synstructure-0.12))))))
 
 (define-public rust-zerocopy-derive-0.2
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (19 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20 Hartmut Goebel
                     ` (9 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-zerocopy-0.7): New variable.
  (rust-zerocopy-0.6): Inherit from rust-zerocopy-0.7.
---
 gnu/packages/crates-io.scm | 39 ++++++++++++++++++++++++++++++++------
 1 file changed, 33 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3100aae670..051195ff7a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -91360,8 +91360,40 @@ (define-public rust-zbus-polkit-1
     (description "@code{PolicyKit} binding.")
     (license license:expat)))
 
+(define-public rust-zerocopy-0.7
+  (package
+    (name "rust-zerocopy")
+    (version "0.7.32")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "zerocopy" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1ghnfxw69kx5d1aqfd5fsfrra9dgpz17yqx84nd4ryjk3sbd7m3l"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-byteorder" ,rust-byteorder-1)
+        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7))
+       #:cargo-development-inputs
+       (("rust-assert-matches" ,rust-assert-matches-1)
+        ("rust-elain" ,rust-elain-0.3)
+        ("rust-itertools" ,rust-itertools-0.11)
+        ("rust-rand" ,rust-rand-0.8)
+        ("rust-rustversion" ,rust-rustversion-1)
+        ("rust-static-assertions" ,rust-static-assertions-1)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.7))))
+    (home-page "https://github.com/google/zerocopy")
+    (synopsis "Utilities for zero-copy parsing and serialization")
+    (description "Utilities for zero-copy parsing and serialization")
+    (license license:bsd-2)))
+
 (define-public rust-zerocopy-0.6
   (package
+    (inherit rust-zerocopy-0.7)
     (name "rust-zerocopy")
     (version "0.6.1")
     (source (origin
@@ -91371,16 +91403,11 @@ (define-public rust-zerocopy-0.6
               (sha256
                (base32
                 "0dpj4nd9v56wy93ahjkp95znjzj91waqvidqch8gxwdwq661hbrk"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-byteorder" ,rust-byteorder-1)
-        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))))
-    (home-page "https://github.com/google/zerocopy")
-    (synopsis "Utilities for zero-copy parsing and serialization")
-    (description "Utilities for zero-copy parsing and serialization")
-    (license license:bsd-2)))
+        ("rust-zerocopy-derive" ,rust-zerocopy-derive-0.3))))))
 
 (define-public rust-zerocopy-0.3
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (20 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 24/32] gnu: Add rust-pyo3-ffi-0.20 Hartmut Goebel
                     ` (8 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-pyo3-build-config-0.20): New variable.
  (rust-pyo3-build-config-0.19): Inherit from rust-pyo3-build-config-0.20.
---
 gnu/packages/crates-io.scm | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 051195ff7a..bc881d1d3c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58734,17 +58734,17 @@ (define-public rust-pure-rust-locales-0.5
        (("rust-itertools" ,rust-itertools-0.8)
         ("rust-nom" ,rust-nom-5))))))
 
-(define-public rust-pyo3-build-config-0.19
+(define-public rust-pyo3-build-config-0.20
   (package
     (name "rust-pyo3-build-config")
-    (version "0.19.2")
+    (version "0.20.2")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "pyo3-build-config" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "19bb7aqyvr4kmh8b2lnrmcv9251j8yxw7l7xyr77m3s3pk876v07"))))
+                "1gk3a4y8jc2z1j3hb9xjg1gfvcd7s6ph1wwkcbr039p5iw6nyhh7"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
@@ -58759,6 +58759,19 @@ (define-public rust-pyo3-build-config-0.19
 ecosystem.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-build-config-0.19
+  (package
+    (inherit rust-pyo3-build-config-0.20)
+    (name "rust-pyo3-build-config")
+    (version "0.19.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-build-config" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "19bb7aqyvr4kmh8b2lnrmcv9251j8yxw7l7xyr77m3s3pk876v07"))))))
+
 (define-public rust-pyo3-build-config-0.18
   (package
     (inherit rust-pyo3-build-config-0.19)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 24/32] gnu: Add rust-pyo3-ffi-0.20.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (21 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20 Hartmut Goebel
                     ` (7 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-pyo3-ffi-0.20): New variable.
  (rust-pyo3-ffi-0.19): Inherit from rust-pyo3-ffi-0.20.
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++----
 1 file changed, 21 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index bc881d1d3c..5d3bbea948 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58831,22 +58831,22 @@ (define-public rust-pyo3-build-config-0.15
      `(#:cargo-inputs
        (("rust-once-cell" ,rust-once-cell-1))))))
 
-(define-public rust-pyo3-ffi-0.19
+(define-public rust-pyo3-ffi-0.20
   (package
     (name "rust-pyo3-ffi")
-    (version "0.19.2")
+    (version "0.20.2")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "pyo3-ffi" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1nc4696k03ydyiy1f69l3ywknavjzxzag2mscrh2bgkywx1fwg75"))))
+                "1wbcv9cd0bandh3j5qfd5r66n045b8hs9wd4pi36nxhpgv0xxdyv"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-libc" ,rust-libc-0.2)
-        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19))))
+        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20))))
     (native-inputs (list python))
     (home-page "https://github.com/pyo3/pyo3")
     (synopsis "Python API bindings for the PyO3 ecosystem")
@@ -58854,6 +58854,23 @@ (define-public rust-pyo3-ffi-0.19
      "This crate provides Rust FFI declarations for Python 3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-ffi-0.19
+  (package
+    (inherit rust-pyo3-ffi-0.20)
+    (name "rust-pyo3-ffi")
+    (version "0.19.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-ffi" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1nc4696k03ydyiy1f69l3ywknavjzxzag2mscrh2bgkywx1fwg75"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-libc" ,rust-libc-0.2)
+        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.19))))))
+
 (define-public rust-pyo3-ffi-0.18
   (package
     (inherit rust-pyo3-ffi-0.19)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (22 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 24/32] gnu: Add rust-pyo3-ffi-0.20 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20 Hartmut Goebel
                     ` (6 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-pyo3-macros-backend-0.20): New variable.
  (rust-pyo3-macros-backend-0.19): Inherit from rust-pyo3-macros-backend-0.20.
---
 gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++-----
 1 file changed, 24 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 5d3bbea948..fe66ac8381 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58933,29 +58933,48 @@ (define-public rust-pyo3-log-0.8
 extension to python.")
     (license (list license:asl2.0 license:expat))))
 
-(define-public rust-pyo3-macros-backend-0.19
+(define-public rust-pyo3-macros-backend-0.20
   (package
     (name "rust-pyo3-macros-backend")
-    (version "0.19.2")
+    (version "0.20.2")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "pyo3-macros-backend" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0dlm4pg29hjmlqx15gcy9cmnabvc8ycy60hcvjg8hm62flhw2zcl"))))
+                "07w8x1wxm1ksx72jb0w1p2ssmg9zh95dsv4xmxyq4iqqhpa11j8g"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
-       (("rust-proc-macro2" ,rust-proc-macro2-1)
+       (("rust-heck" ,rust-heck-0.4)
+        ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
+        ("rust-syn" ,rust-syn-2))))
     (home-page "https://github.com/pyo3/pyo3")
     (synopsis "Code generation for PyO3")
     (description
      "This package provides code generation backends for PyO3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-macros-backend-0.19
+  (package
+    (inherit rust-pyo3-macros-backend-0.20)
+    (name "rust-pyo3-macros-backend")
+    (version "0.19.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros-backend" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0dlm4pg29hjmlqx15gcy9cmnabvc8ycy60hcvjg8hm62flhw2zcl"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-pyo3-macros-backend-0.18
   (package
     (inherit rust-pyo3-macros-backend-0.19)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (23 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20 Hartmut Goebel
                     ` (5 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-pyo3-macros-0.20): New variable.
  (rust-pyo3-macros-0.19): Inherit from rust-pyo3-macros-0.20.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++----
 1 file changed, 23 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe66ac8381..fe22a6603a 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59033,22 +59033,22 @@ (define-public rust-pyo3-macros-backend-0.15
         ("rust-syn" ,rust-syn-1))))
     (native-inputs (list python))))
 
-(define-public rust-pyo3-macros-0.19
+(define-public rust-pyo3-macros-0.20
   (package
     (name "rust-pyo3-macros")
-    (version "0.19.2")
+    (version "0.20.2")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "pyo3-macros" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "1lggr5pnpmdj0cznlhw7ykm1qka3wlymwzfxqql6a4vyb6clrsyz"))))
+                "1lsfyx1shdyi7zybs3maakh2h3zsij3l5wap35qval0dwjs3ixq5"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs
        (("rust-proc-macro2" ,rust-proc-macro2-1)
-        ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.19)
+        ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.20)
         ("rust-quote" ,rust-quote-1)
         ("rust-syn" ,rust-syn-1))))
     (home-page "https://github.com/pyo3/pyo3")
@@ -59057,6 +59057,25 @@ (define-public rust-pyo3-macros-0.19
      "This package provides compiler macros for use with PyO3.")
     (license license:asl2.0)))
 
+(define-public rust-pyo3-macros-0.19
+  (package
+    (inherit rust-pyo3-macros-0.20)
+    (name "rust-pyo3-macros")
+    (version "0.19.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3-macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1lggr5pnpmdj0cznlhw7ykm1qka3wlymwzfxqql6a4vyb6clrsyz"))))
+    (arguments
+     `(#:cargo-inputs
+       (("rust-proc-macro2" ,rust-proc-macro2-1)
+        ("rust-pyo3-macros-backend" ,rust-pyo3-macros-backend-0.19)
+        ("rust-quote" ,rust-quote-1)
+        ("rust-syn" ,rust-syn-1))))))
+
 (define-public rust-pyo3-macros-0.18
   (package
     (inherit rust-pyo3-macros-0.19)
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (24 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types Hartmut Goebel
                     ` (4 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-pyo3-0.20): New variable.
  (rust-pyo3-0.19): Inherit from rust-pyo3-0.20.
---
 gnu/packages/crates-io.scm | 65 ++++++++++++++++++++++++++++++++------
 1 file changed, 56 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index fe22a6603a..3701b3f310 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59152,8 +59152,63 @@ (define-public rust-pyo3-macros-0.15
         ("rust-syn" ,rust-syn-1))))
     (native-inputs (list python))))
 
+(define-public rust-pyo3-0.20
+  (package
+    (name "rust-pyo3")
+    (version "0.20.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "pyo3" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "1q3g7ppg2qskigbgqg3w9280klkil5is9hhyps1ykl2hb1xdr2cs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs
+       (("rust-anyhow" ,rust-anyhow-1)
+        ("rust-cfg-if" ,rust-cfg-if-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-either" ,rust-either-1)
+        ("rust-eyre" ,rust-eyre-0.6)
+        ("rust-hashbrown" ,rust-hashbrown-0.14)
+        ("rust-indexmap" ,rust-indexmap-2)
+        ("rust-indoc" ,rust-indoc-2)
+        ("rust-inventory" ,rust-inventory-0.3)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-memoffset" ,rust-memoffset-0.9)
+        ("rust-num-bigint" ,rust-num-bigint-0.4)
+        ("rust-num-complex" ,rust-num-complex-0.4)
+        ("rust-parking-lot" ,rust-parking-lot-0.12)
+        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)
+        ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20)
+        ("rust-pyo3-macros" ,rust-pyo3-macros-0.20)
+        ("rust-rust-decimal" ,rust-rust-decimal-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-either" ,rust-either-1)
+        ("rust-unindent" ,rust-unindent-0.2))
+       #:cargo-development-inputs
+       (("rust-assert-approx-eq" ,rust-assert-approx-eq-1)
+        ("rust-chrono" ,rust-chrono-0.4)
+        ("rust-proptest" ,rust-proptest-1)
+        ("rust-rayon" ,rust-rayon-1)
+        ("rust-send-wrapper" ,rust-send-wrapper-0.6)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-trybuild" ,rust-trybuild-1)
+        ("rust-widestring" ,rust-widestring-0.5))))
+    (inputs (list python))
+    (home-page "https://github.com/pyo3/pyo3")
+    (synopsis "Rust bindings for the Python interpreter")
+    (description
+     "This package provides Rust bindings for Python, including tools for
+creating native Python extension modules.  Running and interacting with
+Python code from a Rust binary is also supported.")
+    (license license:asl2.0)))
+
 (define-public rust-pyo3-0.19
   (package
+    (inherit rust-pyo3-0.20)
     (name "rust-pyo3")
     (version "0.19.2")
     (source (origin
@@ -59196,15 +59251,7 @@ (define-public rust-pyo3-0.19
         ("rust-serde" ,rust-serde-1)
         ("rust-serde-json" ,rust-serde-json-1)
         ("rust-trybuild" ,rust-trybuild-1)
-        ("rust-widestring" ,rust-widestring-0.5))))
-    (inputs (list python))
-    (home-page "https://github.com/pyo3/pyo3")
-    (synopsis "Rust bindings for the Python interpreter")
-    (description
-     "This package provides Rust bindings for Python, including tools for
-creating native Python extension modules.  Running and interacting with
-Python code from a Rust binary is also supported.")
-    (license license:asl2.0)))
+        ("rust-widestring" ,rust-widestring-0.5))))))
 
 (define-public rust-pyo3-0.18
   (package
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (25 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core Hartmut Goebel
                     ` (3 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/python-xyz.scm (python-annotated-types): New variable.
---
 gnu/packages/python-xyz.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c68b17b0ab..b4b69e0f3f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19,7 +19,7 @@
 ;;; Copyright © 2015, 2016 Chris Marusich <cmmarusich@gmail.com>
 ;;; Copyright © 2016 Danny Milosavljevic <dannym+a@scratchpost.org>
 ;;; Copyright © 2016 Lukas Gradl <lgradl@openmailbox.org>
-;;; Copyright © 2016, 2018, 2019, 2021 Hartmut Goebel <h.goebel@crazy-compilers.com>
+;;; Copyright © 2016, 2018, 2019, 2021, 2024 Hartmut Goebel <h.goebel@crazy-compilers.com>
 ;;; Copyright © 2016 Daniel Pimentel <d4n1@d4n1.org>
 ;;; Copyright © 2016 Sou Bunnbu <iyzsong@gmail.com>
 ;;; Copyright © 2016, 2017 Troy Sankey <sankeytms@gmail.com>
@@ -27881,6 +27881,29 @@ (define-public python-toolshed
 functions that aim to reduce boilerplate when working with data.")
     (license license:bsd-2)))
 
+(define-public python-annotated-types
+  (package
+    (name "python-annotated-types")
+    (version "0.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "annotated_types" version))
+       (sha256
+        (base32 "0paaz0i4xqk335ji5w887i2bhgm2krnzr6by4sfgsgz50zl3jcsn"))))
+    (build-system pyproject-build-system)
+    (native-inputs
+     (list python-hatchling python-pytest))
+    (propagated-inputs (list python-typing-extensions))
+    (home-page "https://github.com/annotated-types/annotated-types")
+    (synopsis "Reusable constraint types to use with typing.Annotated")
+    (description "This package provides metadata objects which can be used to
+represent common constraints such as upper and lower bounds on scalar values
+and collection sizes, a Predicate marker for runtime checks, and descriptions
+of how we intend these metadata to be interpreted.  In some cases, we also
+note alternative representations which do not require this package.")
+    (license license:expat)))
+
 (define-public python-annoy
   (package
     (name "python-annoy")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0.
  2024-02-11 11:27 [bug#69048] [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Hartmut Goebel
@ 2024-02-11 11:43 ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 02/32] gnu: rust-ahash-0.8: Update to 0.8.7 Hartmut Goebel
                     ` (30 more replies)
  2024-02-11 14:38 ` bug#69048: [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Efraim Flashner
  1 sibling, 31 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/crates-io.scm (rust-either-1): Update to 1.10.0.
---
 gnu/packages/crates-io.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 43d9e3cd60..fc6234838d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23762,7 +23762,7 @@ (define-public rust-ego-tree-0.6
 (define-public rust-either-1
   (package
     (name "rust-either")
-    (version "1.8.0")
+    (version "1.10.0")
     (source
      (origin
        (method url-fetch)
@@ -23771,7 +23771,7 @@ (define-public rust-either-1
         (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "15z70yaivlkpx27vzv99ibf8d2x5jp24yn69y0xi20w86v4c3rch"))))
+         "0jiyq2mc1aa5b8whwl1bhm11i06xxcbk9ck7macxxggzjk07l58i"))))
     (build-system cargo-build-system)
     (arguments
      `(#:cargo-inputs (("rust-serde" ,rust-serde-1))

base-commit: a4464bd0975c811f18af98f69032b29bddda5b81
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (26 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2 Hartmut Goebel
                     ` (2 subsequent siblings)
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/python-xyz.scm (python-pydantic-core): New variable.
---
 gnu/packages/python-xyz.scm | 84 +++++++++++++++++++++++++++++++++++++
 1 file changed, 84 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b4b69e0f3f..4749c3f204 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7340,6 +7340,90 @@ (define-public python-pydantic
 errors when data is invalid.")
     (license license:expat)))
 
+(define-public python-pydantic-core
+  (package
+    (name "python-pydantic-core")
+    (version "2.16.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pydantic_core" version))
+       (sha256
+        (base32 "01hs4ynmqp2wlfvbygg4bzz3f7g5da4xw40z74ccr3cb1n2h798b"))))
+    (build-system cargo-build-system)
+    (arguments
+     (list
+      #:imported-modules `(,@%cargo-build-system-modules
+                           ,@%pyproject-build-system-modules)
+      #:modules '((guix build cargo-build-system)
+                  ((guix build pyproject-build-system) #:prefix py:)
+                  (guix build utils))
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-before 'patch-cargo-checksums 'relax-requirements
+            ;; pydantic-core updates to the newest available version quite
+            ;; often, including e.g. serde, which Guix does not (yet) update
+            ;; that often to avoid "rust world rebuild".
+           (lambda _
+             (substitute* "Cargo.toml"
+               (("^(serde.* = \\{ *version = \")[^\"]+(\")" _ pre post)
+                (string-append pre "1.0.0" post))
+               (("^(enum_dispatch = \")[^\"]+(\")" _ pre post)
+                (string-append pre "0.3.0" post))
+               (("^(smallvec = \")[^\"]+(\")" _ pre post)
+                (string-append pre "1.11.0" post))
+               (("^(ahash = \")[^\"]+(\")" _ pre post)
+                (string-append pre "0.8.0" post))
+               (("^(url = \")[^\"]+(\")" _ pre post)
+                (string-append pre "2.4.0" post))
+               (("^(base64 = \")[^\"]+(\")" _ pre post)
+                (string-append pre "0.21.0" post))
+               (("^(num-bigint = \")[^\"]+(\")" _ pre post)
+                (string-append pre "0.4.0" post))
+               (("^(uuid = \")[^\"]+(\")" _ pre post)
+                (string-append pre "1.3.0" post)))))
+          (add-before 'patch-cargo-checksums 'fix-crate-private
+           (lambda _
+             (substitute* "src/serializers/fields.rs"
+               (("pub fn (main_to_python|main_serde_serialize|add_computed_fields)"
+                 _ name )
+                (string-append "pub(crate) fn " name)))))
+          (add-after 'prepare-python-module 'build-python-module
+            (assoc-ref py:%standard-phases 'build))
+          (add-after 'build-python-module 'install-python-module
+            (assoc-ref py:%standard-phases 'install)))
+      #:cargo-inputs
+      `(("rust-ahash" ,rust-ahash-0.8)
+        ("rust-base64" ,rust-base64-0.21)
+        ("rust-enum-dispatch" ,rust-enum-dispatch-0.3)
+        ("rust-idna" ,rust-idna-0.5)
+        ("rust-jiter" ,rust-jiter-0.0.6)
+        ("rust-num-bigint" ,rust-num-bigint-0.4)
+        ("rust-pyo3" ,rust-pyo3-0.20)
+        ("rust-python3-dll-a", rust-python3-dll-a-0.2)
+        ("rust-regex" ,rust-regex-1)
+        ("rust-serde" ,rust-serde-1)
+        ("rust-serde-json" ,rust-serde-json-1)
+        ("rust-smallvec" ,rust-smallvec-1)
+        ("rust-speedate" ,rust-speedate-0.13)
+        ("rust-strum" ,rust-strum-0.25)
+        ("rust-strum-macros" ,rust-strum-macros-0.25)
+        ("rust-url" ,rust-url-2)
+        ("rust-uuid" ,rust-uuid-1)
+        ("rust-zerocopy" ,rust-zerocopy-0.7)
+        ("rust-lexical-parse-float" ,rust-lexical-parse-float-0.8))
+      #:install-source? #false))
+    (inputs
+     (list maturin))
+    (native-inputs
+     (list python-hatchling python-pytest python-wrapper))
+    (propagated-inputs (list python-typing-extensions))
+    (home-page "https://github.com/pydantic/pydantic-core")
+    (synopsis "Core functionality for pydantic")
+    (description "This package provides the core functionality for pydantic
+validation and serialization.")
+    (license license:expat)))
+
 (define-public python-pydantic-cli
   (package
     (name "python-pydantic-cli")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (27 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 31/32] gnu: python-typing-extensions: Update to 4.9.0 Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1 Hartmut Goebel
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/python-xyz.scm (python-pydantic-2): New variable.
---
 gnu/packages/python-xyz.scm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4749c3f204..47aaa84e76 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7424,6 +7424,39 @@ (define-public python-pydantic-core
 validation and serialization.")
     (license license:expat)))
 
+(define-public python-pydantic-2
+  (package
+    (inherit python-pydantic)
+    (name "python-pydantic")
+    (version "2.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pydantic" version))
+       (sha256
+        (base32 "1a8zbm510czjnfa6xn56w80q121pk7qpywrjdlzcd3a8la1c3mag"))))
+    (build-system pyproject-build-system)
+    (arguments
+     ;; This test requires pytest-examples, which in turn requires
+     ;; python-ruff, which is difficult to package because it is
+     ;; written in Rust (TODO: Enable when Ruff is in Guix!).
+     (list #:test-flags #~'("--ignore" "tests/test_docs.py")))
+    (native-inputs
+     (list python-hatchling
+           python-hatch-fancy-pypi-readme
+           python-cloudpickle
+           python-dirty-equals
+           python-email-validator
+           python-faker
+           python-pytest
+           python-pytest-benchmark
+           python-pytest-mock))
+    (propagated-inputs
+     (list python-annotated-types
+           python-pydantic-core
+           python-typing-extensions))
+    (license license:expat)))
+
 (define-public python-pydantic-cli
   (package
     (name "python-pydantic-cli")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 31/32] gnu: python-typing-extensions: Update to 4.9.0.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (28 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  2024-02-11 11:43   ` [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1 Hartmut Goebel
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/python-build.scm (python-typing-extensions): Update to 4.9.0.
---
 gnu/packages/python-build.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-build.scm b/gnu/packages/python-build.scm
index bb1df3e9aa..2ea457cdba 100644
--- a/gnu/packages/python-build.scm
+++ b/gnu/packages/python-build.scm
@@ -216,13 +216,13 @@ (define-public python-trove-classifiers
 (define-public python-typing-extensions
   (package
     (name "python-typing-extensions")
-    (version "4.5.0")
+    (version "4.9.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "typing_extensions" version))
               (sha256
                (base32
-                "1jx7ki3sji60v7h2805b2phq9ynsvshj5xiygdh9kmirj6kz9daw"))))
+                "10spkx7xjbxwcsgkqv483c5kn53s042wkrmfr1mdf9vzqf48yir3"))))
     (build-system pyproject-build-system)
     ;; Disable the test suite to keep the dependencies to a minimum.  Also,
     ;; the test suite requires Python's test module, not available in Guix.
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1.
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
                     ` (29 preceding siblings ...)
  2024-02-11 11:43   ` [bug#69048] [PATCH 31/32] gnu: python-typing-extensions: Update to 4.9.0 Hartmut Goebel
@ 2024-02-11 11:43   ` Hartmut Goebel
  30 siblings, 0 replies; 34+ messages in thread
From: Hartmut Goebel @ 2024-02-11 11:43 UTC (permalink / raw)
  To: 69048

* gnu/packages/python-xyz.scm (python-email-validator): Update to 2.1.0.post1.
[arguments]{phases}<use-dnspython>: Remove phase. <check>: Use a custom phase.
[native-inputs]: Add python-pytest.
---
 gnu/packages/python-xyz.scm | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 47aaa84e76..85adf2a190 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20859,22 +20859,24 @@ (define-public python-py3dns
 (define-public python-email-validator
   (package
     (name "python-email-validator")
-    (version "1.0.2")
+    (version "2.1.0.post1")
     (source
      (origin (method url-fetch)
              (uri (pypi-uri "email_validator" version))
              (sha256
               (base32
-               "1ja9149l9ck5n45a72h3is7v476hjny5ybxbcamx1nw6iplsm7k6"))))
+               "0i0s1s9blpap0p1l46m7nns79apkn4hr7laq8a93n1szylfbvc54"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     '(#:tests? #f  ;; require /etc/resolve.conf and working DNS
+       #:phases
        (modify-phases %standard-phases
-         (add-before 'build 'use-dnspython
-           (lambda _
-             (substitute* "setup.py"
-               (("dnspython3") "dnspython"))
-             #t)))))
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "python" "-m" "pytest" "-v")))))))
+    (native-inputs
+     (list python-pytest))
     (propagated-inputs
      (list python-dnspython python-idna))
     (home-page "https://github.com/JoshData/python-email-validator")
-- 
2.41.0





^ permalink raw reply related	[flat|nested] 34+ messages in thread

* bug#69048: [PATCH 00/32] Add python-pydantic v2 and required rust and python packages
  2024-02-11 11:27 [bug#69048] [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Hartmut Goebel
  2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
@ 2024-02-11 14:38 ` Efraim Flashner
  1 sibling, 0 replies; 34+ messages in thread
From: Efraim Flashner @ 2024-02-11 14:38 UTC (permalink / raw)
  To: Hartmut Goebel; +Cc: 69048-done

[-- Attachment #1: Type: text/plain, Size: 2724 bytes --]

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
> 
> 
> 
> 

-- 
Efraim Flashner   <efraim@flashner.co.il>   רנשלפ םירפא
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

^ permalink raw reply	[flat|nested] 34+ messages in thread

end of thread, other threads:[~2024-02-11 14:38 UTC | newest]

Thread overview: 34+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-11 11:27 [bug#69048] [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Hartmut Goebel
2024-02-11 11:43 ` [bug#69048] [PATCH 01/32] gnu: rust-either-1: Update to 1.10.0 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 02/32] gnu: rust-ahash-0.8: Update to 0.8.7 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 03/32] gnu: rust-hashbrown-0.14: Update to 0.14.3 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 04/32] gnu: rust-heck-0.4: Update to 0.4.1 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 05/32] gnu: rust-lexical-core-0.8: Update to 0.8.5 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 06/32] gnu: rust-lexical-parse-float-0.8: " Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 07/32] gnu: rust-lexical-parse-integer-0.8: Update to 0.8.6 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 08/32] gnu: rust-lexical-util-0.8: Update to 0.8.5 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 09/32] gnu: rust-lexical-write-float-0.8: " Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 10/32] gnu: rust-lexical-write-integer-0.8: " Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 11/32] gnu: rust-python3-dll-a-0.2: Update to 0.2.9 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 12/32] gnu: Add rust-codspeed-2 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 13/32] gnu: Add rust-codspeed-bencher-compat-2 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 14/32] gnu: Add rust-elain-0.3 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 15/32] gnu: Add rust-idna-0.5 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 16/32] gnu: Add rust-iso8601-0.3 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 17/32] gnu: Add rust-jiter-0.0.6 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 18/32] gnu: Add rust-strum-0.25 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 19/32] gnu: Add rust-strum-macros-0.25 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 20/32] gnu: Add rust-speedate-0.13 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 21/32] gnu: Add rust-zerocopy-derive-0.7 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 22/32] gnu: Add rust-zerocopy-0.7 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 23/32] gnu: Add rust-pyo3-build-config-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 24/32] gnu: Add rust-pyo3-ffi-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 25/32] gnu: Add rust-pyo3-macros-backend-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 26/32] gnu: Add rust-pyo3-macros-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 27/32] gnu: Add rust-pyo3-0.20 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 28/32] gnu: Add python-annotated-types Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 29/32] gnu: Add python-pydantic-core Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 30/32] gnu: Add python-pydantic-2 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 31/32] gnu: python-typing-extensions: Update to 4.9.0 Hartmut Goebel
2024-02-11 11:43   ` [bug#69048] [PATCH 32/32] gnu: python-email-validator: Update to 2.1.0.post1 Hartmut Goebel
2024-02-11 14:38 ` bug#69048: [PATCH 00/32] Add python-pydantic v2 and required rust and python packages Efraim Flashner

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).