unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#73070] [PATCH 0/3] Fix python development environment
@ 2024-09-06 14:20 Nicolas Graves via Guix-patches via
  2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
                   ` (5 more replies)
  0 siblings, 6 replies; 16+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 14:20 UTC (permalink / raw)
  To: 73070; +Cc: ngraves

The python developping package twine was severely outdated and didn't
work with pypi at all. This update fixes it.

Nicolas Graves (3):
  gnu: python-readme-renderer: Update to 35.0.
  gnu: python-pkginfo: Update to 1.10.0.
  gnu: python-twine: Update to 5.1.1.

 gnu/packages/python-xyz.scm | 50 +++++++++++++++++--------------------
 1 file changed, 23 insertions(+), 27 deletions(-)

-- 
2.45.2





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

* [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0.
  2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
@ 2024-09-06 15:25 ` Nicolas Graves via Guix-patches via
  2024-09-06 15:25   ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
  2024-09-06 15:25   ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves via Guix-patches via
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
                   ` (4 subsequent siblings)
  5 siblings, 2 replies; 16+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 15:25 UTC (permalink / raw)
  To: 73070; +Cc: ngraves

* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.10.0.
  [native-inputs]: Add python-wheel.

Change-Id: I682773a5a5c36c9a2ffd9ce8e96048c08a7a174e
---
 gnu/packages/python-xyz.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f28054a489..c391f1d033 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25687,16 +25687,16 @@ (define-public python-tqdm
 (define-public python-pkginfo
   (package
     (name "python-pkginfo")
-    (version "1.9.6")
+    (version "1.10.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pkginfo" version))
        (sha256
-        (base32 "0inh57664sx2vlbd3913dsc9nz21ysb9vk591qpkg90qhxp8kmcg"))))
+        (base32 "15v2mycr7m4ld5wp1sl9flqjjv8zdgc5rkgfz1wxn44d74skixsx"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest))
+     (list python-pytest python-wheel))
     (home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk")
     (synopsis "Query metadatdata from sdists, bdists, and installed packages")
     (description
-- 
2.45.2





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

* [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1.
  2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
@ 2024-09-06 15:25   ` Nicolas Graves via Guix-patches via
  2024-09-06 15:25   ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 16+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 15:25 UTC (permalink / raw)
  To: 73070; +Cc: ngraves

* gnu/packages/python-xyz.scm (python-twine): Update to 5.1.1.
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Disable failing tests.
  [native-inputs]: Add python-pretend, python-pytest, python-pytest-socket.
  [propagated-inputs]: Remove python-tqdm, python-packaging. Add
  python-imporlib-metadata, python-keyring, python-rfc3986,
  python-rich and python-urllib3.

Change-Id: I55dbcd646dec60cfe8ec226aed0cf3f8c59e2eeb
---
 gnu/packages/python-xyz.scm | 24 ++++++++++++++++++------
 1 file changed, 18 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c391f1d033..4e2bc4fb02 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25710,21 +25710,33 @@ (define-public python-pkginfo
 (define-public python-twine
   (package
     (name "python-twine")
-    (version "1.15.0")
+    (version "5.1.1")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "twine" version))
         (sha256
-         (base32 "11rpd653zcgzkq3sgwkzs3mpxl3r5rij59745ni84ikv8smjmlm3"))))
-    (build-system python-build-system)
+         (base32 "1nr24gd5gm22b0jzb5qmw4swh8bshixmqm0kv4s38ay0758q584s"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags  ;; Disable failing tests.
+           #~(list "-k" (string-append
+                         "not test_pkginfo_returns_no_metadata"
+                         " and not test_fails_rst_no_content"))))
+    (native-inputs
+     (list python-pretend
+           python-pytest
+           python-pytest-socket))
     (propagated-inputs
-     (list python-tqdm
-           python-packaging
+     (list python-importlib-metadata
+           python-keyring
            python-pkginfo
            python-readme-renderer
            python-requests
-           python-requests-toolbelt))
+           python-requests-toolbelt
+           python-rfc3986
+           python-rich
+           python-urllib3))
     (home-page "https://github.com/pypa/twine")
     (synopsis "Collection of utilities for interacting with PyPI")
     (description
-- 
2.45.2





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

* [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0.
  2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
  2024-09-06 15:25   ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
@ 2024-09-06 15:25   ` Nicolas Graves via Guix-patches via
  1 sibling, 0 replies; 16+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-06 15:25 UTC (permalink / raw)
  To: 73070; +Cc: ngraves

* gnu/packages/statistics.scm (python-altair): Update to 5.3.0.
  [arguments]<#:test-flags>: Add failing tests, reorganize.

Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad
---
 gnu/packages/statistics.scm | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index af64cbd99d..bca7b763a1 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2023 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
 ;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2113,7 +2114,7 @@ (define-public python-vega-datasets
 (define-public python-altair
   (package
     (name "python-altair")
-    (version "5.0.1")
+    (version "5.3.0")
     (source (origin
               (method git-fetch)        ; no tests in PyPI
               (uri (git-reference
@@ -2122,15 +2123,27 @@ (define-public python-altair
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d"))))
+                "1lx3pkphi36pljns6jjxhyn9fbrana8f1y6gcg4yca48nvwlfssl"))))
     (build-system pyproject-build-system)
     (arguments
-     ;; First two open an external connection.
-     ;; Last introduces a circular dependency on altair-viewer.
-     (list #:test-flags #~(list "-k" (string-append
-                                      "not test_from_and_to_json_roundtrip"
-                                      " and not test_render_examples_to_chart"
-                                      " and not test_save_html"))))
+     (list #:test-flags
+           ;; XXX: This test file requires hard to package python-anywidgets.
+           #~(list "--ignore=tests/test_jupyter_chart.py"
+                   "-k" (string-join
+                         (list
+                          ;; these tests open an external connection.
+                          "not test_from_and_to_json_roundtrip"
+                          "test_render_examples_to_chart"
+                          ;; introduces a circular dependency on altair-viewer.
+                          "not test_save_html"
+                          ;; these tests require the vl-convert vega compiler
+                          "test_vegalite_compiler"
+                          "test_to_dict_with_format_vega"
+                          "test_to_json_with_format_vega"
+                          "test_to_url"
+                          "test_renderer_with_none_embed_options"
+                          "test_jupyter_renderer_mimetype")
+                         " and not "))))
     (propagated-inputs (list python-jinja2
                              python-jsonschema
                              python-numpy
-- 
2.45.2





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

* [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair
  2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
  2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
@ 2024-09-21 22:47 ` Steve George
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 1/4] gnu: python-pkginfo: Update to 1.10.0 Steve George
                     ` (4 more replies)
  2024-09-25 23:03 ` [bug#73070] [PATCH 0/3] Fix python development environment Sharlatan Hellseher
                   ` (3 subsequent siblings)
  5 siblings, 5 replies; 16+ messages in thread
From: Steve George @ 2024-09-21 22:47 UTC (permalink / raw)
  To: 73070; +Cc: lars, marius, me, sharlatanus, tanguy, jgart

Revision and review of original series sent by Nicolas Graves.

Review:
  * python-pkginfo
    * can't be updated beyond 1.10.0 due to python-twine constraint of <1.11.0
    * checked pypy hash
    * patch applies cleanly, linted and builds
  * python-readme-renderer
    * missing from Nicolas' original series
    * from python-team b1fbfe5b55b85e44d4f3e60c3ae6ec9bff71bf11
    * updated to 41.0
    * checked pypy hash
    * removed python-setuptools due to Lint warning
    * patch applies, linted, built
 * python-twine
   * checked pypy hash; built; linted
   * test installed
* python-altair
  * built; linted
  * test imported
* Re-roll to trigger QA

Nicolas Graves via Guix-patches via (3):
  gnu: python-pkginfo: Update to 1.10.0.
  gnu: python-twine: Update to 5.1.1.
  gnu: python-altair: Update to 5.3.0.

Ricardo Wurmus (1):
  gnu: python-readme-renderer: Update to 41.0.

 gnu/packages/python-xyz.scm | 83 +++++++++++++++++++++----------------
 gnu/packages/statistics.scm | 29 +++++++++----
 2 files changed, 68 insertions(+), 44 deletions(-)


base-commit: 9d75215a59629ab224154ef6b843043289291f81
-- 
2.46.0





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

* [bug#73070] [PATCH v2 1/4] gnu: python-pkginfo: Update to 1.10.0.
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
@ 2024-09-21 22:47   ` Steve George
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 2/4] gnu: python-readme-renderer: Update to 41.0 Steve George
                     ` (3 subsequent siblings)
  4 siblings, 0 replies; 16+ messages in thread
From: Steve George @ 2024-09-21 22:47 UTC (permalink / raw)
  To: 73070; +Cc: lars, marius, me, sharlatanus, tanguy, jgart

From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>

* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.10.0.
  [native-inputs]: Add python-wheel.

Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I682773a5a5c36c9a2ffd9ce8e96048c08a7a174e
---
 gnu/packages/python-xyz.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6975cca1f7..f79821e86d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25702,16 +25702,17 @@ (define-public python-tqdm
 (define-public python-pkginfo
   (package
     (name "python-pkginfo")
-    (version "1.9.6")
+    (version "1.10.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pkginfo" version))
        (sha256
-        (base32 "0inh57664sx2vlbd3913dsc9nz21ysb9vk591qpkg90qhxp8kmcg"))))
+        (base32
+          "15v2mycr7m4ld5wp1sl9flqjjv8zdgc5rkgfz1wxn44d74skixsx"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest))
+     (list python-pytest python-wheel))
     (home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk")
     (synopsis "Query metadatdata from sdists, bdists, and installed packages")
     (description
-- 
2.46.0





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

* [bug#73070] [PATCH v2 2/4] gnu: python-readme-renderer: Update to 41.0.
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 1/4] gnu: python-pkginfo: Update to 1.10.0 Steve George
@ 2024-09-21 22:47   ` Steve George
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 3/4] gnu: python-twine: Update to 5.1.1 Steve George
                     ` (2 subsequent siblings)
  4 siblings, 0 replies; 16+ messages in thread
From: Steve George @ 2024-09-21 22:47 UTC (permalink / raw)
  To: 73070; +Cc: lars, marius, me, sharlatanus, tanguy, jgart

From: Ricardo Wurmus <rekado@elephly.net>

* gnu/packages/python-xyz.scm (python-readme-renderer): Update to 41.0.
[build-system]: Use pyproject-build-system.
[arguments]: Delete 'loosen-cmarkgfm-dependency phase; replace custom 'check
phase with #:test-flags.
[native-inputs]: Add python-wheel; remove python-mock.

Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I47cef84089384d2cf760c166fed9147863d1a415
---
 gnu/packages/python-xyz.scm | 42 ++++++++++++++++++-------------------
 1 file changed, 20 insertions(+), 22 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f79821e86d..503d8f510f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -32015,38 +32015,36 @@ (define-public python-blessed
 (define-public python-readme-renderer
   (package
     (name "python-readme-renderer")
-    (version "34.0")
+    (version "41.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "readme_renderer" version))
         (sha256
          (base32
-          "1c75h9znffc2lh4j56yg23l5ifj5l8fbdq3kfigi8vbh45zx3d6z"))))
-    (build-system python-build-system)
+            "1xvkf2i075rdqkwdrcrw4xglziqd7qs5lb2rbxr5snizi7ji2jsg"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases (modify-phases %standard-phases
-                  (add-after 'unpack 'loosen-cmarkgfm-dependency
-                    (lambda _
-                      ;; Permit newer versions of cmarkgfm.
-                      (substitute* "setup.py"
-                        (("cmarkgfm>=0\\.5\\.0,<0\\.7\\.0")
-                         "cmarkgfm>=0.5.0"))))
-                  (replace 'check
-                    (lambda* (#:key tests? #:allow-other-keys)
-                      (when tests?
-                        ;; The GFM tests fail due to slight differences in the
-                        ;; generated vs expected HTML due to using a more
-                        ;; recent bleach version (see:
-                        ;; https://github.com/pypa/readme_renderer/issues/234).
-                        (invoke "pytest" "-vv" "-k" "not GFM")))))))
-    (propagated-inputs
-     (list python-bleach python-docutils python-pygments
-
+     (list
+      #:test-flags
+      '(list "-k"
+             (string-append
+              ;; These tests fail due to slight differences in the generated
+              ;; vs expected HTML, e.g. because of difference in whitespace or
+              ;; line breaks. (See also
+              ;; https://github.com/pypa/readme_renderer/issues/234).
+              "not test_md_fixtures[test_CommonMark_008.md]"
+              " and not test_rst_fixtures[test_rst_008.rst]"
+              " and not GFM"))))
+    (propagated-inputs
+     (list python-bleach
+           python-docutils
+           python-pygments
            ;; Optional dependencies.
            python-cmarkgfm))           ;required by postorius
     (native-inputs
-     (list python-mock python-pytest))
+     (list python-pytest
+           python-wheel))
     (home-page "https://github.com/pypa/readme_renderer")
     (synopsis "Render README files in Warehouse")
     (description
-- 
2.46.0





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

* [bug#73070] [PATCH v2 3/4] gnu: python-twine: Update to 5.1.1.
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 1/4] gnu: python-pkginfo: Update to 1.10.0 Steve George
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 2/4] gnu: python-readme-renderer: Update to 41.0 Steve George
@ 2024-09-21 22:47   ` Steve George
  2024-09-21 22:48   ` [bug#73070] [PATCH v2 4/4] gnu: python-altair: Update to 5.3.0 Steve George
  2024-09-25 14:16   ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Ludovic Courtès
  4 siblings, 0 replies; 16+ messages in thread
From: Steve George @ 2024-09-21 22:47 UTC (permalink / raw)
  To: 73070; +Cc: lars, marius, me, sharlatanus, tanguy, jgart

From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>

* gnu/packages/python-xyz.scm (python-twine): Update to 5.1.1.
  [build-system]: Move to pyproject-build-system.
  [arguments]<#:test-flags>: Disable failing tests.
  [native-inputs]: Add python-pretend, python-pytest, python-pytest-socket.
  [propagated-inputs]: Remove python-tqdm, python-packaging. Add
  python-imporlib-metadata, python-keyring, python-rfc3986,
  python-rich and python-urllib3.

Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I55dbcd646dec60cfe8ec226aed0cf3f8c59e2eeb
---
 gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 503d8f510f..7b3a193856 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25726,25 +25726,37 @@ (define-public python-pkginfo
 (define-public python-twine
   (package
     (name "python-twine")
-    (version "1.15.0")
+    (version "5.1.1")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "twine" version))
-        (sha256
-         (base32 "11rpd653zcgzkq3sgwkzs3mpxl3r5rij59745ni84ikv8smjmlm3"))))
-    (build-system python-build-system)
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "twine" version))
+       (sha256
+        (base32 "1nr24gd5gm22b0jzb5qmw4swh8bshixmqm0kv4s38ay0758q584s"))))
+    (build-system pyproject-build-system)
+    (arguments
+     (list #:test-flags  ;; Disable failing tests.
+           #~(list "-k" (string-append
+                         "not test_pkginfo_returns_no_metadata"
+                         " and not test_fails_rst_no_content"))))
+    (native-inputs
+     (list python-pretend
+           python-pytest
+           python-pytest-socket))
     (propagated-inputs
-     (list python-tqdm
-           python-packaging
+     (list python-importlib-metadata
+           python-keyring
            python-pkginfo
            python-readme-renderer
            python-requests
-           python-requests-toolbelt))
+           python-requests-toolbelt
+           python-rfc3986
+           python-rich
+           python-urllib3))
     (home-page "https://github.com/pypa/twine")
     (synopsis "Collection of utilities for interacting with PyPI")
     (description
-      "@code{twine} currently supports registering projects and uploading
+     "@code{twine} currently supports registering projects and uploading
 distributions.  It authenticates the user over HTTPS, allows them to pre-sign
 their files and supports any packaging format (including wheels).")
     (license license:asl2.0)))
-- 
2.46.0





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

* [bug#73070] [PATCH v2 4/4] gnu: python-altair: Update to 5.3.0.
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
                     ` (2 preceding siblings ...)
  2024-09-21 22:47   ` [bug#73070] [PATCH v2 3/4] gnu: python-twine: Update to 5.1.1 Steve George
@ 2024-09-21 22:48   ` Steve George
  2024-09-25 14:16   ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Ludovic Courtès
  4 siblings, 0 replies; 16+ messages in thread
From: Steve George @ 2024-09-21 22:48 UTC (permalink / raw)
  To: 73070; +Cc: lars, marius, me, sharlatanus, tanguy, jgart

From: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>

* gnu/packages/statistics.scm (python-altair): Update to 5.3.0.
  [arguments]<#:test-flags>: Add failing tests, reorganize.

Reviewed-by: Steve George <steve@futurile.net>
Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad
---
 gnu/packages/statistics.scm | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 103a857317..b8de5a1d93 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -21,6 +21,7 @@
 ;;; Copyright © 2023 Felix Gruber <felgru@posteo.net>
 ;;; Copyright © 2023 Troy Figiel <troy@troyfigiel.com>
 ;;; Copyright © 2024 Vinicius Monego <monego@posteo.net>
+;;; Copyright © 2024 Nicolas Graves <ngraves@ngraves.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2108,7 +2109,7 @@ (define-public python-vega-datasets
 (define-public python-altair
   (package
     (name "python-altair")
-    (version "5.0.1")
+    (version "5.3.0")
     (source (origin
               (method git-fetch)        ; no tests in PyPI
               (uri (git-reference
@@ -2117,15 +2118,27 @@ (define-public python-altair
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1r74v5n51br9pjhxdzrr62cdgnwkapci93aifnl8dqmfpizfpd7d"))))
+                "1lx3pkphi36pljns6jjxhyn9fbrana8f1y6gcg4yca48nvwlfssl"))))
     (build-system pyproject-build-system)
     (arguments
-     ;; First two open an external connection.
-     ;; Last introduces a circular dependency on altair-viewer.
-     (list #:test-flags #~(list "-k" (string-append
-                                      "not test_from_and_to_json_roundtrip"
-                                      " and not test_render_examples_to_chart"
-                                      " and not test_save_html"))))
+     (list #:test-flags
+           ;; XXX: This test file requires hard to package python-anywidgets.
+           #~(list "--ignore=tests/test_jupyter_chart.py"
+                   "-k" (string-join
+                         (list
+                          ;; these tests open an external connection.
+                          "not test_from_and_to_json_roundtrip"
+                          "test_render_examples_to_chart"
+                          ;; introduces a circular dependency on altair-viewer.
+                          "not test_save_html"
+                          ;; these tests require the vl-convert vega compiler
+                          "test_vegalite_compiler"
+                          "test_to_dict_with_format_vega"
+                          "test_to_json_with_format_vega"
+                          "test_to_url"
+                          "test_renderer_with_none_embed_options"
+                          "test_jupyter_renderer_mimetype")
+                         " and not "))))
     (propagated-inputs (list python-jinja2
                              python-jsonschema
                              python-numpy
-- 
2.46.0





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

* [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
                     ` (3 preceding siblings ...)
  2024-09-21 22:48   ` [bug#73070] [PATCH v2 4/4] gnu: python-altair: Update to 5.3.0 Steve George
@ 2024-09-25 14:16   ` Ludovic Courtès
  2024-09-25 17:07     ` jgart via Guix-patches via
  4 siblings, 1 reply; 16+ messages in thread
From: Ludovic Courtès @ 2024-09-25 14:16 UTC (permalink / raw)
  To: 73070, lars, marius, me, sharlatanus, tanguy, jgart; +Cc: Steve George

Hello,

Steve George <steve@futurile.net> skribis:

> Revision and review of original series sent by Nicolas Graves.

Dear Python team, could you take a look?

  https://issues.guix.gnu.org/73070

There are 100 dependents and it seems qa.guix hasn’t built them yet.

Ludo’.




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

* [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair
  2024-09-25 14:16   ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Ludovic Courtès
@ 2024-09-25 17:07     ` jgart via Guix-patches via
  0 siblings, 0 replies; 16+ messages in thread
From: jgart via Guix-patches via @ 2024-09-25 17:07 UTC (permalink / raw)
  To: Ludovic Courtès, 73070, lars, marius, me, sharlatanus,
	tanguy
  Cc: Steve George

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

> 
> There are 100 dependents and it seems qa.guix hasn’t built them yet.
> 
I can't build all this on my old thinkpad efficiently. Can someone else in the Python team take a look? Thanks in advance.

all the best,

Jorge

[-- Attachment #2: Type: text/html, Size: 450 bytes --]

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

* [bug#73070] [PATCH 0/3] Fix python development environment
  2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
  2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
  2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
@ 2024-09-25 23:03 ` Sharlatan Hellseher
  2024-09-26  6:57   ` Nicolas Graves via Guix-patches via
  2024-09-26  7:23 ` Sharlatan Hellseher
                   ` (2 subsequent siblings)
  5 siblings, 1 reply; 16+ messages in thread
From: Sharlatan Hellseher @ 2024-09-25 23:03 UTC (permalink / raw)
  To: 73070; +Cc: Nicolas Graves, Ludovic Courtès, jgart, Steve George

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


Hi!

After 4h of building the chain it's finally finished with majority
packages successfully finished

Please see the stats:

--8<---------------cut here---------------start------------->8---
> git log -4 --stat
commit 36206d8c9bff95f76d1a03aa7469d52c71001ead (HEAD -> local/20240925180015-issue-73070)
Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
Date:   Sat Sep 21 23:47:59 2024 +0100

    gnu: python-twine: Update to 5.1.1.

    * gnu/packages/python-xyz.scm (python-twine): Update to 5.1.1.
      [build-system]: Move to pyproject-build-system.
      [arguments]<#:test-flags>: Disable failing tests.
      [native-inputs]: Add python-pretend, python-pytest, python-pytest-socket.
      [propagated-inputs]: Remove python-tqdm, python-packaging. Add
      python-imporlib-metadata, python-keyring, python-rfc3986,
      python-rich and python-urllib3.

    Reviewed-by: Steve George <steve@futurile.net>
    Change-Id: I55dbcd646dec60cfe8ec226aed0cf3f8c59e2eeb
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

 gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++++-----------
 1 file changed, 23 insertions(+), 11 deletions(-)

commit 14c2654b2f9ea3adaa444d1a59be66724c974108
Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
Date:   Sat Sep 21 23:48:00 2024 +0100

    gnu: python-altair: Update to 5.3.0.

    * gnu/packages/statistics.scm (python-altair): Update to 5.3.0.
      [arguments]<#:test-flags>: Add failing tests, reorganize.

    Reviewed-by: Steve George <steve@futurile.net>
    Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

 gnu/packages/statistics.scm | 29 +++++++++++++++++++++--------
 1 file changed, 21 insertions(+), 8 deletions(-)

commit 135632965bd9367ab8a5501d0ea931b464632b92
Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
Date:   Sat Sep 21 23:47:57 2024 +0100

    gnu: python-pkginfo: Update to 1.10.0.

    * gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.10.0.
      [native-inputs]: Add python-wheel.

    Reviewed-by: Steve George <steve@futurile.net>
    Change-Id: I682773a5a5c36c9a2ffd9ce8e96048c08a7a174e
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

 gnu/packages/python-xyz.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

commit 57502eea74cfd2c4909b3c60ef48887c52fcf9b6
Author: Ricardo Wurmus <rekado@elephly.net>
Date:   Sat Sep 21 23:47:58 2024 +0100

    gnu: python-readme-renderer: Update to 41.0.

    * gnu/packages/python-xyz.scm (python-readme-renderer): Update to 41.0.
    [build-system]: Use pyproject-build-system.
    [arguments]: Delete 'loosen-cmarkgfm-dependency phase; replace custom 'check
    phase with #:test-flags.
    [native-inputs]: Add python-wheel; remove python-mock.

    Reviewed-by: Steve George <steve@futurile.net>
    Change-Id: I47cef84089384d2cf760c166fed9147863d1a415
    Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>

 gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++----------------------
 1 file changed, 20 insertions(+), 22 deletions(-)

> ./pre-inst-env guix describe
Git checkout:
  repository: /mnt/library/code/guix/
  branch: local/20240925180015-issue-73070
  commit: 36206d8c9bff95f76d1a03aa7469d52c71001ead

> ./pre-inst-env guix build python-twine python-altair python-pkginfo python-readme-renderer
/gnu/store/2n0jzdl5g8y7i03s0lg1fjx96lvl4k4f-python-readme-renderer-41.0
/gnu/store/39abidxcpyhmyhkg8mjyjs2imw6wfjf6-python-pkginfo-1.10.0
/gnu/store/9qawasb7d7ci97r8a26nb7wbbn5wi1vl-python-altair-5.3.0
/gnu/store/s9nn4bx7bvakv5vgnsd47w0zqk2j8jfc-python-twine-5.1.1

> ./pre-inst-env guix refresh --list-dependent python-twine python-altair
python-pkginfo python-readme-renderer Building the following 54 packages would
ensure 109 dependent packages are rebuilt: vembrane@0.13.2 aerich@0.7.2
python-gguf@0.6.0 python-nanopb@0.4.6.4 r-torch@0.13.0 python-pytorch-avx@2.4.0
python-cellbender@0.2.2 llama-cpp@0.0.0-3.a5735e4 python-hicexplorer@3.7.4
python-funsor@0.4.5 python-pytorch-geometric@2.4.0 python-deepxde@1.12.1
python-scikit-opt@0.6.6 python-pgmpy@0.1.24 python-fastapi-pagination@0.12.0
python-fastapi-pagination-minimal@0.12.0 python-pynixutil@0.5.0
openconnect-sso@0.8.0 python-hyperkitty@1.3.5 postorius@1.3.6
python-pyahocorasick@2.1.0 python-metacells@0.9.4 mdpo@0.3.6 python-kanon@0.6.6
python-botorch@0.11.3 emacs-flycheck-cpplint@1.0.2 giara@1.0.1
python-scrapy@2.11.1 dialect@2.1.1 offlate@0.6.1 synapse@1.29.0
python-arpeggio@2.0.0 openfoam-com@2212 openfoam-org@10.20230119
python-viresclient@0.12.0 python-metpy@1.6.3 python-sunkit-image@0.5.1
python-radiospectra@0.6.0 python-sbpy@0.4.0 python-jwst-reffiles@1.0.1
python-glue-astronomy@0.10.0 python-naima@0.10.0 python-pymc@5.11.0
python-pyvista@0.42.3 python-cplot@0.9.3 python-quadpy@0.16.10
python-pygmsh@7.1.17 qmk-firmware-ergodox-ez-dvorak@0.22.3
qmk-firmware-ergodox-ez-default@0.22.3
qmk-firmware-ergodox-ez-dvorak-emacs@0.22.3
qmk-firmware-ergodox-ez-dvorak-42-key@0.22.3
qmk-firmware-ergodox-ez-dvorak-emacs-software@0.22.3
qmk-firmware-ergodox-ez-hacker-dvorak@0.22.3 python-transient@0.12

/gnu/store/knpkxhvmb706v27bg56fgyg9x7kjgw9v-python-transient-0.12
/gnu/store/l99h61mbgkzyy579pbw307rfqny9ipzf-qmk-firmware-ergodox-ez-dvorak-emacs-software-0.22.3
/gnu/store/rywlsd4cyyyy7szri2y1yz058bh64jc4-qmk-firmware-ergodox-ez-dvorak-0.22.3
/gnu/store/vh94n4lj5ws72diqkzvw46lzcfv36sw0-qmk-firmware-ergodox-ez-default-0.22.3
/gnu/store/5a9943909dad6pkdz2q3g896cwnhvbpc-qmk-firmware-ergodox-ez-dvorak-42-key-0.22.3
/gnu/store/nxf07rqr5wn7cbrx5nkjrw3m4727p6ng-qmk-firmware-ergodox-ez-hacker-dvorak-0.22.3
/gnu/store/xdrgjk02n70ys9askpmxc14rv4ihr780-qmk-firmware-ergodox-ez-dvorak-emacs-0.22.3
/gnu/store/wcfv8f0r7whzxam956j906qsy1vj5b7i-python-arpeggio-2.0.0
/gnu/store/snnz027isnfybfrh4zdzm9sp7sg2jl0y-synapse-1.29.0
/gnu/store/s2waczpfbrfmjch5b9lbp8wrrhjmxmy4-python-pygmsh-7.1.17
/gnu/store/wjj6cw4mm46qgx13n5lzw0nwdv20a9a5-python-cplot-0.9.3
/gnu/store/c55awr572wvxsyhqw8q383ip3b8h0242-python-quadpy-0.16.10
/gnu/store/fl81sqrw0l2b4b3kxrsslpq84k03wz6m-python-pyvista-0.42.3
/gnu/store/18nn5vb5s8ajfs2dh79pk4w0fw32pdin-python-pymc-5.11.0
/gnu/store/r4md232f6q92jjmn2cgldhld8wkw0aik-python-naima-0.10.0
/gnu/store/y1arrvvz35ykspg6xyprxhw4fhgqizjz-python-glue-astronomy-0.10.0
/gnu/store/jk7bixi9ddr1n3qizgyj858zq01mjm1d-python-jwst-reffiles-1.0.1
/gnu/store/b6a37cb8d07igz1cmrqzx4235b3fi4y5-python-sbpy-0.4.0
/gnu/store/zshayn378k8knx60afx04g9p8chhpb88-python-radiospectra-0.6.0
/gnu/store/rr7ccckqzzqq4m533qadr44102s9rrba-python-sunkit-image-0.5.1
/gnu/store/sij3pl7phihavm4dpr4r37n4alw9w5fd-python-metpy-1.6.3
/gnu/store/j8ars2dbkpkc0y0m4vwksw0w4fdmnip9-python-viresclient-0.12.0
/gnu/store/chx0b5qalb41mj4ai01xyfw44ffkcsr8-openfoam-org-10.20230119-debug
/gnu/store/88dccpv5jaxgz8z1y48jv8y8rvywadp4-openfoam-org-10.20230119
/gnu/store/gggfk1dhll7l1c1fbn48ixx8fwl3gpr8-openfoam-com-2212-debug
/gnu/store/vq1v01l2f00dgg0dp420vr31lxc51gf3-openfoam-com-2212
/gnu/store/9x3xjd1j9x3r236r0hpm22lqxj8gj3zy-offlate-0.6.1
/gnu/store/6476xwb698m8vm8bls6rmd7krrpc7m8a-dialect-2.1.1
/gnu/store/925zxy0z2l3dlmkc4vv4klkdllpfyrqs-emacs-flycheck-cpplint-1.0.2
/gnu/store/fbj3cng0530l4awfym5014sj9yzcya36-python-botorch-0.11.3
/gnu/store/sdswzyf0fbprqzf5acgqavfv43c9fv4h-python-kanon-0.6.6
/gnu/store/3633789m0yj2a4fp4pzf0ksmf48fmrhf-mdpo-0.3.6
/gnu/store/qmclw8kx1ijirlyy91whvzdrw9v55bd5-python-metacells-0.9.4
/gnu/store/99bbvhym157nifsggpj1kfm1ra3lb0n5-python-pyahocorasick-2.1.0
/gnu/store/9947q5rwfghqxn7mvxzrbyprwq6wa64m-postorius-1.3.6
/gnu/store/k7yj3kimj7w9nhz8d7zdbarpsa2f35q2-openconnect-sso-0.8.0
/gnu/store/2dcn4nmlbsbajvnifvcnqnc7g067l026-python-pynixutil-0.5.0
/gnu/store/afah8nnxq23mg95dhafylj404il0a5b8-python-fastapi-pagination-0.12.0
/gnu/store/1kbd60wqs10l2hnag1z27pfgza07hlh8-python-fastapi-pagination-minimal-0.12.0
/gnu/store/bz9ys44yp9nbd2j39fhlp8d0xmsbxbbx-python-pytorch-avx-2.4.0
/gnu/store/h52zbzb40c1md44balr2zigddzqfdz58-python-pgmpy-0.1.24
/gnu/store/si12bwzr7jnv1y69374fk1bwwamc986q-python-scikit-opt-0.6.6
/gnu/store/qcflylnk7sd5na822sna81x70amfl24j-python-deepxde-1.12.1
/gnu/store/frj7fph5lw8fxi0zjw1avsgn4vdwp0vm-llama-cpp-0.0.0-3.a5735e4
/gnu/store/byvm4iw498g3m3m44zjnrf9ds7qi5vyc-python-nanopb-0.4.6.4
/gnu/store/pjz97lig33dbn4yfxgpl09s9a89x6v6g-python-gguf-0.6.0
/gnu/store/rpzykn62lzz6q63mra76qh1q953k19a2-aerich-0.7.2
/gnu/store/imbwgd4id9a9825ls9cwsjyzylldcbxl-vembrane-0.13.2

Failed:

- python-scrapy@2.11.1
- python-funsor@0.4.5
- python-hyperkitty@1.3.5
- python-pytorch-geometric@2.4.0
- python-hicexplorer@3.7.4
- giara@1.0.1
- r-torch@0.13.0
- python-cellbender@0.2.2

FAILED tests/test_downloadermiddleware_cookies.py::CookiesMiddlewareTest::test_user_set_cookie_domain_suffix_public_private
= 25 failed, 2974 passed, 336 skipped, 13 deselected, 21 xfailed, 862 warnings in 396.85s (0:06:36) =
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "/gnu/store/94v3qb2h2r03d1xwl6wmrln10xg6nwhm-python-pytest-7.1.3/bin/pytest" arguments: ("-vv" "-k" "not test_SCRAPY_CHECK_set and not test_check_all_default_contracts and not test_check_cb_kwargs_contract and not test_check_returns_items_contract and not test_check_returns_requests_contract and not test_check_scrapes_contract and not test_pformat and not test_pformat_old_windows and not test_pformat_windows") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 398.7 seconds
command "/gnu/store/94v3qb2h2r03d1xwl6wmrln10xg6nwhm-python-pytest-7.1.3/bin/pytest" "-vv" "-k" "not test_SCRAPY_CHECK_set and not test_check_all_default_contracts and not test_check_cb_kwargs_contract and not test_check_returns_items_contract and not test_check_returns_requests_contract and not test_check_scrapes_contract and not test_pformat and not test_pformat_old_windows and not test_pformat_windows" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/s3g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv' failed with exit code 1
build of /gnu/store/s3g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv failed
View build log at '/var/log/guix/drvs/s3/g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv.gz'.
guix build: error: build of `/gnu/store/s3g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv' failed

ImportError: cannot import name 'escape_html' from 'mistune.scanner' (/gnu/store/9h0xwhs647kzyn49m9sq86qkx3f1xm80-python-mistune-next-2.0.4/lib/python3.10/site-packages/mistune/scanner.py)

The above exception was the direct cause of the following exception:

django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'hyperkitty.templatetags.decorate': cannot import name 'escape_html' from 'mistune.scanner' (/gnu/store/9h0xwhs647kzyn49m9sq86qkx3f1xm80-python-mistune-next-2.0.4/lib/python3.10/site-packages/mistune/scanner.py)
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "example_project/manage.py" arguments: ("test" "--settings=hyperkitty.tests.settings_test" "--pythonpath=.") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 2.2 seconds
command "example_project/manage.py" "test" "--settings=hyperkitty.tests.settings_test" "--pythonpath=." failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/fqsdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv' failed with exit code 1
build of /gnu/store/fqsdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv failed
View build log at '/var/log/guix/drvs/fq/sdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv.gz'.
guix build: error: build of `/gnu/store/fqsdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv' failed

XFAIL Tests/test_image_resample.py::TestCoreResampleAlphaCorrect::test_levels_rgba
  Current implementation isn't precise enough
XFAIL Tests/test_image_resample.py::TestCoreResampleAlphaCorrect::test_levels_la
  Current implementation isn't precise enough
XPASS Tests/test_file_palm.py::test_p_mode Palm P image is wrong
FAILED Tests/test_file_png.py::TestFilePng::test_sanity - AssertionError: ass...
= 1 failed, 2981 passed, 81 skipped, 2 xfailed, 1 xpassed, 5 warnings in 28.97s =
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-m" "pytest" "-vv") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 29.4 seconds
command "python" "-m" "pytest" "-vv" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv' failed with exit code 1
build of /gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv failed
View build log at '/var/log/guix/drvs/9h/sgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv.gz'.
cannot build derivation `/gnu/store/vdd7j9kczmqh0gigam9294zn7w7gq6jq-python-cleanlab-2.6.3.drv': 1 dependencies couldn't be built
cannot build derivation `/gnu/store/hj3ahss8p9ml8x6wlqsazp8z5vir1nqr-python-funsor-0.4.5.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/hj3ahss8p9ml8x6wlqsazp8z5vir1nqr-python-funsor-0.4.5.drv' failed

XPASS Tests/test_file_palm.py::test_p_mode Palm P image is wrong
FAILED Tests/test_file_png.py::TestFilePng::test_sanity - AssertionError: ass...
= 1 failed, 2981 passed, 81 skipped, 2 xfailed, 1 xpassed, 5 warnings in 28.54s =
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-m" "pytest" "-vv") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 28.9 seconds
command "python" "-m" "pytest" "-vv" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv' failed with exit code 1
build of /gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv failed
View build log at '/var/log/guix/drvs/9h/sgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv.gz'.
cannot build derivation `/gnu/store/vdd7j9kczmqh0gigam9294zn7w7gq6jq-python-cleanlab-2.6.3.drv': 1 dependencies couldn't be built
building /gnu/store/kwjdijyqn2v3w2idbln9gkk10lm9r2wc-python-praw-7.6.1.drv...
cannot build derivation `/gnu/store/sv8nnhla30v758iwksd680gwn3rg8705-python-pytorch-geometric-2.4.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/sv8nnhla30v758iwksd680gwn3rg8705-python-pytorch-geometric-2.4.0.drv' failed

FAILED Tests/test_file_png.py::TestFilePng::test_sanity - AssertionError: ass...
= 1 failed, 2981 passed, 81 skipped, 2 xfailed, 1 xpassed, 5 warnings in 28.67s =
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-m" "pytest" "-vv") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 29.0 seconds
command "python" "-m" "pytest" "-vv" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv' failed with exit code 1
build of /gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv failed
View build log at '/var/log/guix/drvs/9h/sgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv.gz'.
cannot build derivation `/gnu/store/vdd7j9kczmqh0gigam9294zn7w7gq6jq-python-cleanlab-2.6.3.drv': 1 dependencies couldn't be built
building /gnu/store/kwjdijyqn2v3w2idbln9gkk10lm9r2wc-python-praw-7.6.1.drv...
cannot build derivation `/gnu/store/mf8mbh9s4ks835805qp13v9cjh6w1jbk-python-hicexplorer-3.7.4.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/mf8mbh9s4ks835805qp13v9cjh6w1jbk-python-hicexplorer-3.7.4.drv' failed

Full log written to /tmp/guix-build-giara-1.0.1.drv-0/build/meson-logs/testlog.txt
error: in phase 'check': uncaught exception:
%exception #<&invoke-error program: "meson" arguments: ("test" "--print-errorlogs" "-t" "0") exit-status: 1 term-signal: #f stop-signal: #f>
phase `check' failed after 0.2 seconds
command "meson" "test" "--print-errorlogs" "-t" "0" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/8rss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv' failed with exit code 1
build of /gnu/store/8rss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv failed
View build log at '/var/log/guix/drvs/8r/ss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv.gz'.
guix build: error: build of `/gnu/store/8rss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv' failed

[175/1730] Building CXX object caffe2/CMakeFiles/vec_test_all_types_DEFAULT.dir/__/aten/src/ATen/test/vec_test_all_types.cpp.o
ninja: build stopped: subcommand failed.

cmake --build . --target install --config Release -- -j 16
error: in phase 'build': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 term-signal: #f stop-signal: #f>
phase `build' failed after 98.6 seconds
command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/djljl1y3vznc4iqwjqgfxvyzfajijgx8-python-pytorch-2.0.1.drv' failed with exit code 1
build of /gnu/store/djljl1y3vznc4iqwjqgfxvyzfajijgx8-python-pytorch-2.0.1.drv failed
View build log at '/var/log/guix/drvs/dj/ljl1y3vznc4iqwjqgfxvyzfajijgx8-python-pytorch-2.0.1.drv.gz'.
building /gnu/store/pm7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv...
cannot build derivation `/gnu/store/czp80g0kld1kh0c1slrzhih4iilwxmy2-r-torch-0.13.0.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/czp80g0kld1kh0c1slrzhih4iilwxmy2-r-torch-0.13.0.drv' failed

error: in phase 'sanity-check': uncaught exception:
%exception #<&invoke-error program: "python" arguments: ("/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/r5f432953qhamyq4ap9cwk9dz70413rd-python-sphobjinv-2.0.1/lib/python3.10/site-packages") exit-status: 1 term-signal: #f stop-signal: #f>
phase `sanity-check' failed after 0.2 seconds
command "python" "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/r5f432953qhamyq4ap9cwk9dz70413rd-python-sphobjinv-2.0.1/lib/python3.10/site-packages" failed with status 1
build process 18 exited with status 256
builder for `/gnu/store/pm7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv' failed with exit code 1
build of /gnu/store/pm7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv failed
View build log at '/var/log/guix/drvs/pm/7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv.gz'.
cannot build derivation `/gnu/store/w6r8nnfv2jvgpy5sd1hykmpyw8w84v28-python-sphinx-autodoc-typehints-1.18.3.drv': 1 dependencies couldn't be built
building /gnu/store/qh0wprkykp4rxyqwpd8kngyd1sg2d0yp-python-stpipe-0.7.0.drv...
cannot build derivation `/gnu/store/bwxzrp3m4b2r46sjk7jbhx8x7ka6j1sm-python-cellbender-0.2.2.drv': 1 dependencies couldn't be built
guix build: error: build of `/gnu/store/bwxzrp3m4b2r46sjk7jbhx8x7ka6j1sm-python-cellbender-0.2.2.drv' failed
--8<---------------cut here---------------end--------------->8---

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

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

* [bug#73070] [PATCH 0/3] Fix python development environment
  2024-09-25 23:03 ` [bug#73070] [PATCH 0/3] Fix python development environment Sharlatan Hellseher
@ 2024-09-26  6:57   ` Nicolas Graves via Guix-patches via
  0 siblings, 0 replies; 16+ messages in thread
From: Nicolas Graves via Guix-patches via @ 2024-09-26  6:57 UTC (permalink / raw)
  To: Sharlatan Hellseher, 73070; +Cc: Ludovic Courtès, jgart, Steve George

On 2024-09-26 00:03, Sharlatan Hellseher wrote:

> Hi!
>
> After 4h of building the chain it's finally finished with majority
> packages successfully finished
>
> Please see the stats:

Hi Sharlatan, thanks !

Also big thanks Steve, indeed I lost one commit. python-altair is not a
part of "python dev environment", this is a mistake where I replaced a
patch by another one.

Is that review finished / confirmed, or do you still expect trying to
fix the failures? Is it unlikely that they are related to the updates or
these packages.

>
> --8<---------------cut here---------------start------------->8---
>> git log -4 --stat
> commit 36206d8c9bff95f76d1a03aa7469d52c71001ead (HEAD -> local/20240925180015-issue-73070)
> Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
> Date:   Sat Sep 21 23:47:59 2024 +0100
>
>     gnu: python-twine: Update to 5.1.1.
>
>     * gnu/packages/python-xyz.scm (python-twine): Update to 5.1.1.
>       [build-system]: Move to pyproject-build-system.
>       [arguments]<#:test-flags>: Disable failing tests.
>       [native-inputs]: Add python-pretend, python-pytest, python-pytest-socket.
>       [propagated-inputs]: Remove python-tqdm, python-packaging. Add
>       python-imporlib-metadata, python-keyring, python-rfc3986,
>       python-rich and python-urllib3.
>
>     Reviewed-by: Steve George <steve@futurile.net>
>     Change-Id: I55dbcd646dec60cfe8ec226aed0cf3f8c59e2eeb
>     Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
>
>  gnu/packages/python-xyz.scm | 34 +++++++++++++++++++++++-----------
>  1 file changed, 23 insertions(+), 11 deletions(-)
>
> commit 14c2654b2f9ea3adaa444d1a59be66724c974108
> Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
> Date:   Sat Sep 21 23:48:00 2024 +0100
>
>     gnu: python-altair: Update to 5.3.0.
>
>     * gnu/packages/statistics.scm (python-altair): Update to 5.3.0.
>       [arguments]<#:test-flags>: Add failing tests, reorganize.
>
>     Reviewed-by: Steve George <steve@futurile.net>
>     Change-Id: I695e63e5395f40997ab59706240b8b059778b0ad
>     Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
>
>  gnu/packages/statistics.scm | 29 +++++++++++++++++++++--------
>  1 file changed, 21 insertions(+), 8 deletions(-)
>
> commit 135632965bd9367ab8a5501d0ea931b464632b92
> Author: Nicolas Graves via Guix-patches via <guix-patches@gnu.org>
> Date:   Sat Sep 21 23:47:57 2024 +0100
>
>     gnu: python-pkginfo: Update to 1.10.0.
>
>     * gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.10.0.
>       [native-inputs]: Add python-wheel.
>
>     Reviewed-by: Steve George <steve@futurile.net>
>     Change-Id: I682773a5a5c36c9a2ffd9ce8e96048c08a7a174e
>     Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
>
>  gnu/packages/python-xyz.scm | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
>
> commit 57502eea74cfd2c4909b3c60ef48887c52fcf9b6
> Author: Ricardo Wurmus <rekado@elephly.net>
> Date:   Sat Sep 21 23:47:58 2024 +0100
>
>     gnu: python-readme-renderer: Update to 41.0.
>
>     * gnu/packages/python-xyz.scm (python-readme-renderer): Update to 41.0.
>     [build-system]: Use pyproject-build-system.
>     [arguments]: Delete 'loosen-cmarkgfm-dependency phase; replace custom 'check
>     phase with #:test-flags.
>     [native-inputs]: Add python-wheel; remove python-mock.
>
>     Reviewed-by: Steve George <steve@futurile.net>
>     Change-Id: I47cef84089384d2cf760c166fed9147863d1a415
>     Signed-off-by: Sharlatan Hellseher <sharlatanus@gmail.com>
>
>  gnu/packages/python-xyz.scm | 42 ++++++++++++++++++++----------------------
>  1 file changed, 20 insertions(+), 22 deletions(-)
>
>> ./pre-inst-env guix describe
> Git checkout:
>   repository: /mnt/library/code/guix/
>   branch: local/20240925180015-issue-73070
>   commit: 36206d8c9bff95f76d1a03aa7469d52c71001ead
>
>> ./pre-inst-env guix build python-twine python-altair python-pkginfo python-readme-renderer
> /gnu/store/2n0jzdl5g8y7i03s0lg1fjx96lvl4k4f-python-readme-renderer-41.0
> /gnu/store/39abidxcpyhmyhkg8mjyjs2imw6wfjf6-python-pkginfo-1.10.0
> /gnu/store/9qawasb7d7ci97r8a26nb7wbbn5wi1vl-python-altair-5.3.0
> /gnu/store/s9nn4bx7bvakv5vgnsd47w0zqk2j8jfc-python-twine-5.1.1
>
>> ./pre-inst-env guix refresh --list-dependent python-twine python-altair
> python-pkginfo python-readme-renderer Building the following 54 packages would
> ensure 109 dependent packages are rebuilt: vembrane@0.13.2 aerich@0.7.2
> python-gguf@0.6.0 python-nanopb@0.4.6.4 r-torch@0.13.0 python-pytorch-avx@2.4.0
> python-cellbender@0.2.2 llama-cpp@0.0.0-3.a5735e4 python-hicexplorer@3.7.4
> python-funsor@0.4.5 python-pytorch-geometric@2.4.0 python-deepxde@1.12.1
> python-scikit-opt@0.6.6 python-pgmpy@0.1.24 python-fastapi-pagination@0.12.0
> python-fastapi-pagination-minimal@0.12.0 python-pynixutil@0.5.0
> openconnect-sso@0.8.0 python-hyperkitty@1.3.5 postorius@1.3.6
> python-pyahocorasick@2.1.0 python-metacells@0.9.4 mdpo@0.3.6 python-kanon@0.6.6
> python-botorch@0.11.3 emacs-flycheck-cpplint@1.0.2 giara@1.0.1
> python-scrapy@2.11.1 dialect@2.1.1 offlate@0.6.1 synapse@1.29.0
> python-arpeggio@2.0.0 openfoam-com@2212 openfoam-org@10.20230119
> python-viresclient@0.12.0 python-metpy@1.6.3 python-sunkit-image@0.5.1
> python-radiospectra@0.6.0 python-sbpy@0.4.0 python-jwst-reffiles@1.0.1
> python-glue-astronomy@0.10.0 python-naima@0.10.0 python-pymc@5.11.0
> python-pyvista@0.42.3 python-cplot@0.9.3 python-quadpy@0.16.10
> python-pygmsh@7.1.17 qmk-firmware-ergodox-ez-dvorak@0.22.3
> qmk-firmware-ergodox-ez-default@0.22.3
> qmk-firmware-ergodox-ez-dvorak-emacs@0.22.3
> qmk-firmware-ergodox-ez-dvorak-42-key@0.22.3
> qmk-firmware-ergodox-ez-dvorak-emacs-software@0.22.3
> qmk-firmware-ergodox-ez-hacker-dvorak@0.22.3 python-transient@0.12
>
> /gnu/store/knpkxhvmb706v27bg56fgyg9x7kjgw9v-python-transient-0.12
> /gnu/store/l99h61mbgkzyy579pbw307rfqny9ipzf-qmk-firmware-ergodox-ez-dvorak-emacs-software-0.22.3
> /gnu/store/rywlsd4cyyyy7szri2y1yz058bh64jc4-qmk-firmware-ergodox-ez-dvorak-0.22.3
> /gnu/store/vh94n4lj5ws72diqkzvw46lzcfv36sw0-qmk-firmware-ergodox-ez-default-0.22.3
> /gnu/store/5a9943909dad6pkdz2q3g896cwnhvbpc-qmk-firmware-ergodox-ez-dvorak-42-key-0.22.3
> /gnu/store/nxf07rqr5wn7cbrx5nkjrw3m4727p6ng-qmk-firmware-ergodox-ez-hacker-dvorak-0.22.3
> /gnu/store/xdrgjk02n70ys9askpmxc14rv4ihr780-qmk-firmware-ergodox-ez-dvorak-emacs-0.22.3
> /gnu/store/wcfv8f0r7whzxam956j906qsy1vj5b7i-python-arpeggio-2.0.0
> /gnu/store/snnz027isnfybfrh4zdzm9sp7sg2jl0y-synapse-1.29.0
> /gnu/store/s2waczpfbrfmjch5b9lbp8wrrhjmxmy4-python-pygmsh-7.1.17
> /gnu/store/wjj6cw4mm46qgx13n5lzw0nwdv20a9a5-python-cplot-0.9.3
> /gnu/store/c55awr572wvxsyhqw8q383ip3b8h0242-python-quadpy-0.16.10
> /gnu/store/fl81sqrw0l2b4b3kxrsslpq84k03wz6m-python-pyvista-0.42.3
> /gnu/store/18nn5vb5s8ajfs2dh79pk4w0fw32pdin-python-pymc-5.11.0
> /gnu/store/r4md232f6q92jjmn2cgldhld8wkw0aik-python-naima-0.10.0
> /gnu/store/y1arrvvz35ykspg6xyprxhw4fhgqizjz-python-glue-astronomy-0.10.0
> /gnu/store/jk7bixi9ddr1n3qizgyj858zq01mjm1d-python-jwst-reffiles-1.0.1
> /gnu/store/b6a37cb8d07igz1cmrqzx4235b3fi4y5-python-sbpy-0.4.0
> /gnu/store/zshayn378k8knx60afx04g9p8chhpb88-python-radiospectra-0.6.0
> /gnu/store/rr7ccckqzzqq4m533qadr44102s9rrba-python-sunkit-image-0.5.1
> /gnu/store/sij3pl7phihavm4dpr4r37n4alw9w5fd-python-metpy-1.6.3
> /gnu/store/j8ars2dbkpkc0y0m4vwksw0w4fdmnip9-python-viresclient-0.12.0
> /gnu/store/chx0b5qalb41mj4ai01xyfw44ffkcsr8-openfoam-org-10.20230119-debug
> /gnu/store/88dccpv5jaxgz8z1y48jv8y8rvywadp4-openfoam-org-10.20230119
> /gnu/store/gggfk1dhll7l1c1fbn48ixx8fwl3gpr8-openfoam-com-2212-debug
> /gnu/store/vq1v01l2f00dgg0dp420vr31lxc51gf3-openfoam-com-2212
> /gnu/store/9x3xjd1j9x3r236r0hpm22lqxj8gj3zy-offlate-0.6.1
> /gnu/store/6476xwb698m8vm8bls6rmd7krrpc7m8a-dialect-2.1.1
> /gnu/store/925zxy0z2l3dlmkc4vv4klkdllpfyrqs-emacs-flycheck-cpplint-1.0.2
> /gnu/store/fbj3cng0530l4awfym5014sj9yzcya36-python-botorch-0.11.3
> /gnu/store/sdswzyf0fbprqzf5acgqavfv43c9fv4h-python-kanon-0.6.6
> /gnu/store/3633789m0yj2a4fp4pzf0ksmf48fmrhf-mdpo-0.3.6
> /gnu/store/qmclw8kx1ijirlyy91whvzdrw9v55bd5-python-metacells-0.9.4
> /gnu/store/99bbvhym157nifsggpj1kfm1ra3lb0n5-python-pyahocorasick-2.1.0
> /gnu/store/9947q5rwfghqxn7mvxzrbyprwq6wa64m-postorius-1.3.6
> /gnu/store/k7yj3kimj7w9nhz8d7zdbarpsa2f35q2-openconnect-sso-0.8.0
> /gnu/store/2dcn4nmlbsbajvnifvcnqnc7g067l026-python-pynixutil-0.5.0
> /gnu/store/afah8nnxq23mg95dhafylj404il0a5b8-python-fastapi-pagination-0.12.0
> /gnu/store/1kbd60wqs10l2hnag1z27pfgza07hlh8-python-fastapi-pagination-minimal-0.12.0
> /gnu/store/bz9ys44yp9nbd2j39fhlp8d0xmsbxbbx-python-pytorch-avx-2.4.0
> /gnu/store/h52zbzb40c1md44balr2zigddzqfdz58-python-pgmpy-0.1.24
> /gnu/store/si12bwzr7jnv1y69374fk1bwwamc986q-python-scikit-opt-0.6.6
> /gnu/store/qcflylnk7sd5na822sna81x70amfl24j-python-deepxde-1.12.1
> /gnu/store/frj7fph5lw8fxi0zjw1avsgn4vdwp0vm-llama-cpp-0.0.0-3.a5735e4
> /gnu/store/byvm4iw498g3m3m44zjnrf9ds7qi5vyc-python-nanopb-0.4.6.4
> /gnu/store/pjz97lig33dbn4yfxgpl09s9a89x6v6g-python-gguf-0.6.0
> /gnu/store/rpzykn62lzz6q63mra76qh1q953k19a2-aerich-0.7.2
> /gnu/store/imbwgd4id9a9825ls9cwsjyzylldcbxl-vembrane-0.13.2
>
> Failed:
>
> - python-scrapy@2.11.1
> - python-funsor@0.4.5
> - python-hyperkitty@1.3.5
> - python-pytorch-geometric@2.4.0
> - python-hicexplorer@3.7.4
> - giara@1.0.1
> - r-torch@0.13.0
> - python-cellbender@0.2.2
>
> FAILED tests/test_downloadermiddleware_cookies.py::CookiesMiddlewareTest::test_user_set_cookie_domain_suffix_public_private
> = 25 failed, 2974 passed, 336 skipped, 13 deselected, 21 xfailed, 862 warnings in 396.85s (0:06:36) =
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "/gnu/store/94v3qb2h2r03d1xwl6wmrln10xg6nwhm-python-pytest-7.1.3/bin/pytest" arguments: ("-vv" "-k" "not test_SCRAPY_CHECK_set and not test_check_all_default_contracts and not test_check_cb_kwargs_contract and not test_check_returns_items_contract and not test_check_returns_requests_contract and not test_check_scrapes_contract and not test_pformat and not test_pformat_old_windows and not test_pformat_windows") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 398.7 seconds
> command "/gnu/store/94v3qb2h2r03d1xwl6wmrln10xg6nwhm-python-pytest-7.1.3/bin/pytest" "-vv" "-k" "not test_SCRAPY_CHECK_set and not test_check_all_default_contracts and not test_check_cb_kwargs_contract and not test_check_returns_items_contract and not test_check_returns_requests_contract and not test_check_scrapes_contract and not test_pformat and not test_pformat_old_windows and not test_pformat_windows" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/s3g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv' failed with exit code 1
> build of /gnu/store/s3g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv failed
> View build log at '/var/log/guix/drvs/s3/g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv.gz'.
> guix build: error: build of `/gnu/store/s3g9wqksch3887n5xxhyxi5mc6bp4ld0-python-scrapy-2.11.1.drv' failed
>
> ImportError: cannot import name 'escape_html' from 'mistune.scanner' (/gnu/store/9h0xwhs647kzyn49m9sq86qkx3f1xm80-python-mistune-next-2.0.4/lib/python3.10/site-packages/mistune/scanner.py)
>
> The above exception was the direct cause of the following exception:
>
> django.template.library.InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'hyperkitty.templatetags.decorate': cannot import name 'escape_html' from 'mistune.scanner' (/gnu/store/9h0xwhs647kzyn49m9sq86qkx3f1xm80-python-mistune-next-2.0.4/lib/python3.10/site-packages/mistune/scanner.py)
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "example_project/manage.py" arguments: ("test" "--settings=hyperkitty.tests.settings_test" "--pythonpath=.") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 2.2 seconds
> command "example_project/manage.py" "test" "--settings=hyperkitty.tests.settings_test" "--pythonpath=." failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/fqsdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv' failed with exit code 1
> build of /gnu/store/fqsdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv failed
> View build log at '/var/log/guix/drvs/fq/sdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv.gz'.
> guix build: error: build of `/gnu/store/fqsdzrrf12nlq5ls6dy6b5zhmc7fab4j-python-hyperkitty-1.3.5.drv' failed
>
> XFAIL Tests/test_image_resample.py::TestCoreResampleAlphaCorrect::test_levels_rgba
>   Current implementation isn't precise enough
> XFAIL Tests/test_image_resample.py::TestCoreResampleAlphaCorrect::test_levels_la
>   Current implementation isn't precise enough
> XPASS Tests/test_file_palm.py::test_p_mode Palm P image is wrong
> FAILED Tests/test_file_png.py::TestFilePng::test_sanity - AssertionError: ass...
> = 1 failed, 2981 passed, 81 skipped, 2 xfailed, 1 xpassed, 5 warnings in 28.97s =
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "python" arguments: ("-m" "pytest" "-vv") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 29.4 seconds
> command "python" "-m" "pytest" "-vv" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv' failed with exit code 1
> build of /gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv failed
> View build log at '/var/log/guix/drvs/9h/sgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv.gz'.
> cannot build derivation `/gnu/store/vdd7j9kczmqh0gigam9294zn7w7gq6jq-python-cleanlab-2.6.3.drv': 1 dependencies couldn't be built
> cannot build derivation `/gnu/store/hj3ahss8p9ml8x6wlqsazp8z5vir1nqr-python-funsor-0.4.5.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/hj3ahss8p9ml8x6wlqsazp8z5vir1nqr-python-funsor-0.4.5.drv' failed
>
> XPASS Tests/test_file_palm.py::test_p_mode Palm P image is wrong
> FAILED Tests/test_file_png.py::TestFilePng::test_sanity - AssertionError: ass...
> = 1 failed, 2981 passed, 81 skipped, 2 xfailed, 1 xpassed, 5 warnings in 28.54s =
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "python" arguments: ("-m" "pytest" "-vv") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 28.9 seconds
> command "python" "-m" "pytest" "-vv" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv' failed with exit code 1
> build of /gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv failed
> View build log at '/var/log/guix/drvs/9h/sgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv.gz'.
> cannot build derivation `/gnu/store/vdd7j9kczmqh0gigam9294zn7w7gq6jq-python-cleanlab-2.6.3.drv': 1 dependencies couldn't be built
> building /gnu/store/kwjdijyqn2v3w2idbln9gkk10lm9r2wc-python-praw-7.6.1.drv...
> cannot build derivation `/gnu/store/sv8nnhla30v758iwksd680gwn3rg8705-python-pytorch-geometric-2.4.0.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/sv8nnhla30v758iwksd680gwn3rg8705-python-pytorch-geometric-2.4.0.drv' failed
>
> FAILED Tests/test_file_png.py::TestFilePng::test_sanity - AssertionError: ass...
> = 1 failed, 2981 passed, 81 skipped, 2 xfailed, 1 xpassed, 5 warnings in 28.67s =
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "python" arguments: ("-m" "pytest" "-vv") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 29.0 seconds
> command "python" "-m" "pytest" "-vv" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv' failed with exit code 1
> build of /gnu/store/9hsgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv failed
> View build log at '/var/log/guix/drvs/9h/sgcmgjh1h6cg7k62g7j3qwdk11cc37-python-pillow-simd-9.2.0.drv.gz'.
> cannot build derivation `/gnu/store/vdd7j9kczmqh0gigam9294zn7w7gq6jq-python-cleanlab-2.6.3.drv': 1 dependencies couldn't be built
> building /gnu/store/kwjdijyqn2v3w2idbln9gkk10lm9r2wc-python-praw-7.6.1.drv...
> cannot build derivation `/gnu/store/mf8mbh9s4ks835805qp13v9cjh6w1jbk-python-hicexplorer-3.7.4.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/mf8mbh9s4ks835805qp13v9cjh6w1jbk-python-hicexplorer-3.7.4.drv' failed
>
> Full log written to /tmp/guix-build-giara-1.0.1.drv-0/build/meson-logs/testlog.txt
> error: in phase 'check': uncaught exception:
> %exception #<&invoke-error program: "meson" arguments: ("test" "--print-errorlogs" "-t" "0") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `check' failed after 0.2 seconds
> command "meson" "test" "--print-errorlogs" "-t" "0" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/8rss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv' failed with exit code 1
> build of /gnu/store/8rss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv failed
> View build log at '/var/log/guix/drvs/8r/ss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv.gz'.
> guix build: error: build of `/gnu/store/8rss4nxhfjcrhpm6rbdsa2q5zccls0lr-giara-1.0.1.drv' failed
>
> [175/1730] Building CXX object caffe2/CMakeFiles/vec_test_all_types_DEFAULT.dir/__/aten/src/ATen/test/vec_test_all_types.cpp.o
> ninja: build stopped: subcommand failed.
>
> cmake --build . --target install --config Release -- -j 16
> error: in phase 'build': uncaught exception:
> %exception #<&invoke-error program: "python" arguments: ("-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `build' failed after 98.6 seconds
> command "python" "-c" "import setuptools, tokenize;__file__='setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\\r\\n', '\\n');f.close();exec(compile(code, __file__, 'exec'))" "build" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/djljl1y3vznc4iqwjqgfxvyzfajijgx8-python-pytorch-2.0.1.drv' failed with exit code 1
> build of /gnu/store/djljl1y3vznc4iqwjqgfxvyzfajijgx8-python-pytorch-2.0.1.drv failed
> View build log at '/var/log/guix/drvs/dj/ljl1y3vznc4iqwjqgfxvyzfajijgx8-python-pytorch-2.0.1.drv.gz'.
> building /gnu/store/pm7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv...
> cannot build derivation `/gnu/store/czp80g0kld1kh0c1slrzhih4iilwxmy2-r-torch-0.13.0.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/czp80g0kld1kh0c1slrzhih4iilwxmy2-r-torch-0.13.0.drv' failed
>
> error: in phase 'sanity-check': uncaught exception:
> %exception #<&invoke-error program: "python" arguments: ("/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/r5f432953qhamyq4ap9cwk9dz70413rd-python-sphobjinv-2.0.1/lib/python3.10/site-packages") exit-status: 1 term-signal: #f stop-signal: #f>
> phase `sanity-check' failed after 0.2 seconds
> command "python" "/gnu/store/iqsjkp55pcx5bfcp2jm9yj5rlx9a0whd-sanity-check.py" "/gnu/store/r5f432953qhamyq4ap9cwk9dz70413rd-python-sphobjinv-2.0.1/lib/python3.10/site-packages" failed with status 1
> build process 18 exited with status 256
> builder for `/gnu/store/pm7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv' failed with exit code 1
> build of /gnu/store/pm7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv failed
> View build log at '/var/log/guix/drvs/pm/7wagzrxkm5cqv6pfzxklirlw9g5h5p-python-sphobjinv-2.0.1.drv.gz'.
> cannot build derivation `/gnu/store/w6r8nnfv2jvgpy5sd1hykmpyw8w84v28-python-sphinx-autodoc-typehints-1.18.3.drv': 1 dependencies couldn't be built
> building /gnu/store/qh0wprkykp4rxyqwpd8kngyd1sg2d0yp-python-stpipe-0.7.0.drv...
> cannot build derivation `/gnu/store/bwxzrp3m4b2r46sjk7jbhx8x7ka6j1sm-python-cellbender-0.2.2.drv': 1 dependencies couldn't be built
> guix build: error: build of `/gnu/store/bwxzrp3m4b2r46sjk7jbhx8x7ka6j1sm-python-cellbender-0.2.2.drv' failed
> --8<---------------cut here---------------end--------------->8---

-- 
Best regards,
Nicolas Graves




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

* [bug#73070] [PATCH 0/3] Fix python development environment
  2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
                   ` (2 preceding siblings ...)
  2024-09-25 23:03 ` [bug#73070] [PATCH 0/3] Fix python development environment Sharlatan Hellseher
@ 2024-09-26  7:23 ` Sharlatan Hellseher
  2024-09-26  7:41 ` [bug#73070] Apply patches Andreas Enge
  2024-09-26  9:32 ` bug#73070: [PATCH 0/3] Fix python development environment Sharlatan Hellseher
  5 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2024-09-26  7:23 UTC (permalink / raw)
  To: 73070; +Cc: Ludovic Courtès, Nicolas Graves

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


Hi Nicolas,

IMHO for the quite a fundamental packages been updated 8 failing is
quite a low amount.

- python-scrapy@2.11.1
- python-funsor@0.4.5
- python-hyperkitty@1.3.5
- python-pytorch-geometric@2.4.0
- python-hicexplorer@3.7.4
- giara@1.0.1
- r-torch@0.13.0
- python-cellbender@0.2.2

It makes sense to merge this series and after CI digests the build fix
all issues separately.

--
Oleg

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

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

* [bug#73070] Apply patches
  2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
                   ` (3 preceding siblings ...)
  2024-09-26  7:23 ` Sharlatan Hellseher
@ 2024-09-26  7:41 ` Andreas Enge
  2024-09-26  9:32 ` bug#73070: [PATCH 0/3] Fix python development environment Sharlatan Hellseher
  5 siblings, 0 replies; 16+ messages in thread
From: Andreas Enge @ 2024-09-26  7:41 UTC (permalink / raw)
  To: 73070

Hello Oleg,

I considered pushing this patch series, but since you have already
downloaded and applied it, I would suggest you do it instead.

Thanks,

Andreas





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

* bug#73070: [PATCH 0/3] Fix python development environment
  2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
                   ` (4 preceding siblings ...)
  2024-09-26  7:41 ` [bug#73070] Apply patches Andreas Enge
@ 2024-09-26  9:32 ` Sharlatan Hellseher
  5 siblings, 0 replies; 16+ messages in thread
From: Sharlatan Hellseher @ 2024-09-26  9:32 UTC (permalink / raw)
  To: 73070-done

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


Hi,

Pushed as e7004f5cf5..c46b23421e to master.

Thanks,
--
Oleg

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

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

end of thread, other threads:[~2024-09-26  9:34 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-09-06 14:20 [bug#73070] [PATCH 0/3] Fix python development environment Nicolas Graves via Guix-patches via
2024-09-06 15:25 ` [bug#73070] [PATCH 1/3] gnu: python-pkginfo: Update to 1.10.0 Nicolas Graves via Guix-patches via
2024-09-06 15:25   ` [bug#73070] [PATCH 2/3] gnu: python-twine: Update to 5.1.1 Nicolas Graves via Guix-patches via
2024-09-06 15:25   ` [bug#73070] [PATCH 3/3] gnu: python-altair: Update to 5.3.0 Nicolas Graves via Guix-patches via
2024-09-21 22:47 ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Steve George
2024-09-21 22:47   ` [bug#73070] [PATCH v2 1/4] gnu: python-pkginfo: Update to 1.10.0 Steve George
2024-09-21 22:47   ` [bug#73070] [PATCH v2 2/4] gnu: python-readme-renderer: Update to 41.0 Steve George
2024-09-21 22:47   ` [bug#73070] [PATCH v2 3/4] gnu: python-twine: Update to 5.1.1 Steve George
2024-09-21 22:48   ` [bug#73070] [PATCH v2 4/4] gnu: python-altair: Update to 5.3.0 Steve George
2024-09-25 14:16   ` [bug#73070] [PATCH v2 0/4] Series updating python-twine & python-altair Ludovic Courtès
2024-09-25 17:07     ` jgart via Guix-patches via
2024-09-25 23:03 ` [bug#73070] [PATCH 0/3] Fix python development environment Sharlatan Hellseher
2024-09-26  6:57   ` Nicolas Graves via Guix-patches via
2024-09-26  7:23 ` Sharlatan Hellseher
2024-09-26  7:41 ` [bug#73070] Apply patches Andreas Enge
2024-09-26  9:32 ` bug#73070: [PATCH 0/3] Fix python development environment Sharlatan Hellseher

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