all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers).
@ 2021-10-21  3:51 Vinicius Monego
  2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
                   ` (6 more replies)
  0 siblings, 7 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  3:51 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

This patchset adds the Octoprint web UI to control 3d printers.

Octoprint itself bundles font-awesome. I removed it in a snippet, don't know how much it would affect usability. I haven't found other bundles with license issues.

Some of the updates have newer versions but I'm updating to "older" versions to maintain compatibility with octoprint. See the comment in the octoprint package.

Vinicius Monego (29):
  gnu: Add python-filetype.
  gnu: Add python-immutabledict.
  gnu: Add python-emoji.
  gnu: Add python-cachelib.
  gnu: Add python-sarge.
  gnu: Add python-pylru.
  gnu: python-flask: Update to 1.1.4.
  gnu: python-flask: Respect #:tests?.
  gnu: Add python-pyscss.
  gnu: Add python-flask-assets.
  gnu: Add python-zipstream-new.
  gnu: Add python-executing.
  gnu: Add python-sentry-sdk.
  gnu: Add python-pytest-doctest-custom.
  gnu: Add python-sgmllib3k.
  gnu: python-feedparser: Update to 6.0.8.
  gnu: python-feedparser: Enable tests.
  gnu: python-netifaces: Update to 0.11.0.
  gnu: python-websocket-client: Update to 0.59.0.
  gnu: python-pkginfo: Update to 1.7.1.
  gnu: python-watchdog: Update to 0.10.7.
  gnu: python-colorlog: Update to 5.0.1.
  gnu: python-zeroconf: Update to 0.33.4.
  gnu: python-wrapt: Update to 1.12.1.
  gnu: python-wrapt: Enable tests.
  gnu: Add octoprint-pisupport.
  gnu: Add octoprint-firmwarecheck.
  gnu: Add octoprint-filecheck.
  gnu: Add octoprint.

 gnu/packages/printers.scm     | 181 +++++++++++++++-
 gnu/packages/python-check.scm |  29 +++
 gnu/packages/python-web.scm   |  96 ++++++++-
 gnu/packages/python-xyz.scm   | 381 ++++++++++++++++++++++++++++++----
 gnu/packages/web.scm          |  15 +-
 5 files changed, 645 insertions(+), 57 deletions(-)


base-commit: 2782cb38a3bc68c530d6e95f6834ae0cb7ed16aa
prerequisite-patch-id: 01467a57e2c7d6c0266979c26fc35408e886972b
-- 
2.30.2





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

* [bug#51314] [PATCH 01/29] gnu: Add python-filetype.
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
@ 2021-10-21  3:52 ` Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 02/29] gnu: Add python-immutabledict Vinicius Monego
                     ` (2 more replies)
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                   ` (5 subsequent siblings)
  6 siblings, 3 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  3:52 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c335dea277..0e56570b83 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11069,6 +11069,41 @@ your package is installed, via @code{pkg_resources} (part of
 @code{setuptools}).")
     (license license:gpl3+)))
 
+(define-public python-filetype
+  (package
+    (name "python-filetype")
+    (version "1.0.8")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "filetype" version))
+       (sha256
+        (base32 "05mkinkcn36v1cnb5hzay3zxmv7jmmflckxxp08rgzbkkf3i9pvp"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; Both tests fail with FileNotFoundError.
+                        "not test_infer_zip_from_disk"
+                        " and not test_infer_tar_from_disk"))))))))
+    (native-inputs
+     `(("python-flake8" ,python-flake8)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-benchmark"
+        ,python-pytest-benchmark)))
+    (home-page "https://github.com/h2non/filetype.py")
+    (synopsis "Infer file type and MIME type of any file/buffer")
+    (description "@code{filetype} is a small and dependency free Python
+package to infer file type and MIME type checking the magic numbers
+signature of a file or buffer.")
+    (license license:expat)))
+
 (define-public python-legacy-api-wrap
   (package
     (name "python-legacy-api-wrap")
-- 
2.30.2





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

* [bug#51314] [PATCH 02/29] gnu: Add python-immutabledict.
  2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
@ 2021-10-21  3:52   ` Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 03/29] gnu: Add python-emoji Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 04/29] gnu: Add python-cachelib Vinicius Monego
  2 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  3:52 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0e56570b83..cf6b4e8e82 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9691,6 +9691,28 @@ applications.")
      "PyZMQ is the official Python binding for the ZeroMQ messaging library.")
     (license license:bsd-4)))
 
+(define-public python-immutabledict
+  (package
+    (name "python-immutabledict")
+    (version "2.2.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "immutabledict" version))
+       (sha256
+        (base32 "0fpc4gbk7inpfbgdypsg6c18bmdjw8gwx47bjw0hvixn3gghxnqx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests in PyPI release and no setup.py in GitHub
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/corenting/immutabledict")
+    (synopsis "Immutable wrapper around dictionaries")
+    (description
+     "@code{immutabledict} is a immutable wrapper around dictionaries.  It is
+a fork of @code{frozendict}.")
+    (license license:expat)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH 03/29] gnu: Add python-emoji.
  2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 02/29] gnu: Add python-immutabledict Vinicius Monego
@ 2021-10-21  3:52   ` Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 04/29] gnu: Add python-cachelib Vinicius Monego
  2 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  3:52 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cf6b4e8e82..6819574944 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9713,6 +9713,36 @@ applications.")
 a fork of @code{frozendict}.")
     (license license:expat)))
 
+(define-public python-emoji
+  (package
+    (name "python-emoji")
+    (version "1.6.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "emoji" version))
+       (sha256
+        (base32 "0923mpixwq6hdpkgvi4r46alfvf608iq975rb8lnqpq29j71mmjk"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
+    (native-inputs
+     `(("python-coverage" ,python-coverage)
+       ("python-coveralls" ,python-coveralls)
+       ("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/carpedm20/emoji/")
+    (synopsis "Emoji terminal output for Python")
+    (description "This package provides Emoji terminal output for Python.  The
+entire set of Emoji codes as defined by the unicode consortium is supported in
+addition to a bunch of aliases.")
+    (license license:bsd-3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH 04/29] gnu: Add python-cachelib.
  2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 02/29] gnu: Add python-immutabledict Vinicius Monego
  2021-10-21  3:52   ` [bug#51314] [PATCH 03/29] gnu: Add python-emoji Vinicius Monego
@ 2021-10-21  3:52   ` Vinicius Monego
  2 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  3:52 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6819574944..07d2a9da41 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11156,6 +11156,25 @@ package to infer file type and MIME type checking the magic numbers
 signature of a file or buffer.")
     (license license:expat)))
 
+(define-public python-cachelib
+  (package
+    (name "python-cachelib")
+    (version "0.1.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachelib" version))
+       (sha256
+        (base32 "0vs7nimlbhqy9kjcc90nswkhs3kgl28ag19jssx9qwlcsrkmmsa7"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ;no tests
+    (home-page "https://github.com/pallets/cachelib")
+    (synopsis "Collection of cache libraries")
+    (description "Cachelib is a library extracted from @code{werkzeug} which
+provides a collection of cache libraries in the same API interface.")
+    (license license:bsd-3)))
+
 (define-public python-legacy-api-wrap
   (package
     (name "python-legacy-api-wrap")
-- 
2.30.2





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

* [bug#51314] [PATCH 05/29] gnu: Add python-sarge.
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
  2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
@ 2021-10-21  4:01 ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 06/29] gnu: Add python-pylru Vinicius Monego
                     ` (23 more replies)
  2021-11-08 20:38 ` [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Efraim Flashner
                   ` (4 subsequent siblings)
  6 siblings, 24 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 07d2a9da41..4230f141bb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9743,6 +9743,23 @@ entire set of Emoji codes as defined by the unicode consortium is supported in
 addition to a bunch of aliases.")
     (license license:bsd-3)))
 
+(define-public python-sarge
+  (package
+    (name "python-sarge")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sarge" version))
+       (sha256
+        (base32 "0r9jnpdsjdr6h92blr5b2fdzvb1n8ypjwhk2xxmss42gwq2bk3zl"))))
+    (build-system python-build-system)
+    (home-page "https://sarge.readthedocs.io/")
+    (synopsis "Command pipeline functionality")
+    (description "@code{sarge} is a wrapper for subprocess which provides
+command pipeline functionality.")
+    (license license:bsd-3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH 06/29] gnu: Add python-pylru.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4 Vinicius Monego
                     ` (22 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4230f141bb..c48ac820a2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11192,6 +11192,35 @@ signature of a file or buffer.")
 provides a collection of cache libraries in the same API interface.")
     (license license:bsd-3)))
 
+(define-public python-pylru
+  (package
+    (name "python-pylru")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pylru" version))
+       (sha256
+        (base32 "15yj46307sw703vjfkgnr04dqvaicmfcj0hc6yrciildp55r6bs9"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test.py")))))))
+    (home-page "https://github.com/jlhutch/pylru")
+    (synopsis "Least recently used (LRU) cache implementation")
+    (description
+     "Pylru implements a true LRU cache along with several support classes.
+Pylru provides a cache class with a simple dict interface.  It also provides
+classes to wrap any object that has a dict interface with a cache.  Both
+write-through and write-back semantics are supported.  Pylru also provides
+classes to wrap functions in a similar way, including a function decorator.")
+    (license license:gpl2+)))
+
 (define-public python-legacy-api-wrap
   (package
     (name "python-legacy-api-wrap")
-- 
2.30.2





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

* [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 06/29] gnu: Add python-pylru Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests? Vinicius Monego
                     ` (21 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask): Update to 1.1.4.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2b5379950d..67128d1b18 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2972,13 +2972,13 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.1.2")
+    (version "1.1.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf"))))
+                "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.30.2





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

* [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests?.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 06/29] gnu: Add python-pylru Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 09/29] gnu: Add python-pyscss Vinicius Monego
                     ` (20 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask)[arguments]<#:phases>: Respect
#:tests? in the custom 'check phase and simplify it.
---
 gnu/packages/python-web.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 67128d1b18..8dd3345daf 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2981,13 +2981,13 @@ minimum of WSGI.")
                 "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
-             (invoke "pytest" "-vv" "tests"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs
-- 
2.30.2





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

* [bug#51314] [PATCH 09/29] gnu: Add python-pyscss.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests? Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets Vinicius Monego
                     ` (19 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-pyscss): New variable.
---
 gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8dd3345daf..f9401cceb3 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -77,6 +77,7 @@
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -773,6 +774,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
 content using a variety of algorithms.")
     (license license:expat)))
 
+(define-public python-pyscss
+  (package
+    (name "python-pyscss")
+    (version "1.3.7")
+    (source
+     (origin
+       ;; No tests in the PyPI tarball.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Kronuz/pyScss")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)))
+    (inputs
+     `(("pcre" ,pcre)))
+    (home-page "https://github.com/Kronuz/pyScss")
+    (synopsis "Scss compiler for Python")
+    (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+    (license license:expat)))
+
 (define-public python-jsonpickle
   (package
     (name "python-jsonpickle")
-- 
2.30.2





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

* [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (3 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 09/29] gnu: Add python-pyscss Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new Vinicius Monego
                     ` (18 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index f9401cceb3..24e6bc063e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1033,6 +1033,35 @@ between a web browser and web server.")
 (define-public python2-sockjs-tornado
   (package-with-python2 python-sockjs-tornado))
 
+(define-public python-flask-assets
+  (package
+    (name "python-flask-assets")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Assets" version))
+       (sha256
+        (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; FIXME: 8 tests are failing with:
+     ;; TypeError: __init__() got an unexpected keyword argument 'static_path'
+     `(#:tests? #f))
+    (native-inputs
+     `(("python-flask-script" ,python-flask-script)
+       ("python-nose" ,python-nose)
+       ("python-pyscss" ,python-pyscss)
+       ("python-pyyaml" ,python-pyyaml)))
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-webassets" ,python-webassets)))
+    (home-page "https://github.com/miracle2k/flask-assets")
+    (synopsis "Asset management for Flask")
+    (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+    (license license:bsd-2)))
+
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-- 
2.30.2





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

* [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (4 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 12/29] gnu: Add python-executing Vinicius Monego
                     ` (17 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zipstream-new): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c48ac820a2..20aa6d9970 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9760,6 +9760,33 @@ addition to a bunch of aliases.")
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-zipstream-new
+  (package
+    (name "python-zipstream-new")
+    (version "1.1.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/arjan-s/python-zipstream")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page "https://github.com/arjan-s/python-zipstream")
+    (synopsis "Zipfile generator that takes input files as well as streams")
+    (description "@code{zipstream.py} is a zip archive generator based on
+@code{zipfile.py}.  It was created to generate a zip file generator for
+streaming.  This is beneficial for when you want to provide a downloadable
+archive of a large collection of regular files, which would be infeasible
+to generate the archive prior to downloading or of a very large file that
+you do not want to store entirely on disk or on memory.")
+    ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
+    (license license:gpl3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH 12/29] gnu: Add python-executing.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (5 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk Vinicius Monego
                     ` (16 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 20aa6d9970..9c1ad55fbd 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7070,6 +7070,28 @@ buffer transformation, compression, and decompression functions for use in the
 tifffile, czifile, and other scientific image input/output modules.")
     (license license:bsd-3)))
 
+(define-public python-executing
+  (package
+    (name "python-executing")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "executing" version))
+       (sha256
+        (base32 "08q0xh9fd8k41sqpp23q6fb9bf7yj4y2q6sv30pj36vvk8pg8fy2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; TODO: tests require python-asttokens
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-toml" ,python-toml)))
+    (home-page "https://github.com/alexmojaki/executing")
+    (synopsis "Get information about what a Python frame is currently doing")
+    (description "This package lets you get information about what a frame is
+currently doing, particularly the AST node being executed.")
+    (license license:expat)))
+
 (define-public python-roifile
   (package
     (name "python-roifile")
-- 
2.30.2





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

* [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (6 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 12/29] gnu: Add python-executing Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom Vinicius Monego
                     ` (15 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-sentry-sdk): New variable.
---
 gnu/packages/python-xyz.scm | 65 +++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 9c1ad55fbd..6252dddeec 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -141,6 +141,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages django)
   #:use-module (gnu packages djvu)
   #:use-module (gnu packages docker)
   #:use-module (gnu packages enchant)
@@ -9809,6 +9810,70 @@ you do not want to store entirely on disk or on memory.")
     ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
     (license license:gpl3)))
 
+(define-public python-sentry-sdk
+  (package
+    (name "python-sentry-sdk")
+    (version "1.4.3")
+    (source
+     (origin
+       (method git-fetch) ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/getsentry/sentry-python")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1iyb0amgf03h61jw4hpdbm6h4wyh8n43bnk116ywwc0bl5x3mldx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; This test requires extra dependencies.
+                        "not test_auto_enabling_integrations"
+                        "_catches_import_error"
+                        ;; Tests below run pip command.
+                        " and not test_unhandled_exception"
+                        " and not test_timeout_error"
+                        " and not test_performance_no_error"
+                        " and not test_performance_error"
+                        " and not test_traces_sampler_gets_correct"
+                        "_values_in_sampling_context"
+                        " and not test_handled_exception"
+                        ;; Tests below require network.
+                        " and not test_crumb_capture"
+                        " and not test_crumb_capture"
+                        " and not test_crumb_capture_hint"
+                        " and not test_httplib_misuse"
+                        ;; Fails with IndexError.
+                        " and not test_session_mode_defaults_to"
+                        "_request_mode_in_wsgi_handler"))))))))
+    (native-inputs
+     `(("python-django" ,python-django)
+       ("python-executing" ,python-executing)
+       ("python-gevent" ,python-gevent)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-mock" ,python-mock)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-django" ,python-pytest-django)
+       ("python-pytest-forked" ,python-pytest-forked)
+       ("python-pytest-localserver" ,python-pytest-localserver)
+       ("python-werkzeug" ,python-werkzeug)))
+    (propagated-inputs
+     `(("python-certifi" ,python-certifi)
+       ("python-urllib3" ,python-urllib3)))
+    (home-page "https://github.com/getsentry/sentry-python")
+    (synopsis "Python SDK for Sentry")
+    (description "This package provides a Python SDK for the Sentry
+application monitoring and error tracking software.")
+    (license license:bsd-2)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (7 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k Vinicius Monego
                     ` (14 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-check.scm (python-pytest-doctest-custom): New variable.
---
 gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f321d0b0f6..3cc0f80828 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -745,6 +745,35 @@ in Pytest.")
        "Plugin for managing VCR.py cassettes.")
       (license license:expat))))
 
+(define-public python-pytest-doctest-custom
+  (package
+    (name "python-pytest-doctest-custom")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-doctest-custom" version))
+       (sha256
+        (base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test_pytest_doctest_custom.py")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/danilobellini/pytest-doctest-custom")
+    (synopsis
+     "Pytest plugin to customize string representations of doctest results")
+    (description "This package provides a Pytest plugin for customizing string
+representations of doctest results.  It can change the display hook used by
+doctest to render the object representations.")
+    (license license:expat)))
+
 (define-public python-pytest-checkdocs
   (package
     (name "python-pytest-checkdocs")
-- 
2.30.2





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

* [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (8 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8 Vinicius Monego
                     ` (13 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6252dddeec..cb524ed47c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11447,6 +11447,25 @@ implementations of ASN.1-based codecs and protocols.")
  module to older versions of Python.")
     (license license:psfl)))
 
+(define-public python-sgmllib3k
+  (package
+    (name "python-sgmllib3k")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sgmllib3k" version))
+       (sha256
+        (base32 "1s8jm3dgqabgf8x96931scji679qkhvczlv3qld4qxpsicfgns3q"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ;no tests
+    ;; The homepage link in PyPI seems to be dead.
+    (home-page "https://pypi.org/project/sgmllib3k/")
+    (synopsis "Python 3 port of @code{sgmllib}")
+    (description "This package provides a Python 3 port of @code{sgmllib}.")
+    (license license:bsd-3)))
+
 (define-public python-asn1tools
   (package
     (name "python-asn1tools")
-- 
2.30.2





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

* [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (9 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests Vinicius Monego
                     ` (12 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/web.scm (python-feedparser): Update to 6.0.8.
[propagated-inputs]: Add python-sgmllib3k.
---
 gnu/packages/web.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 0fd9e865cb..6a24cc8212 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
 ;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4764,17 +4765,19 @@ their web site.")
 (define-public python-feedparser
   (package
     (name "python-feedparser")
-    (version "6.0.2")
+    (version "6.0.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "feedparser" version ".tar.gz"))
        (sha256
         (base32
-         "0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v"))))
+         "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
     (build-system python-build-system)
     (arguments
      '(#:tests? #f))
+    (propagated-inputs
+     `(("python-sgmllib3k" ,python-sgmllib3k)))
     (home-page
      "https://github.com/kurtmckee/feedparser")
     (synopsis "Parse feeds in Python")
-- 
2.30.2





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

* [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (10 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
                     ` (11 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/web.scm (python-feedparser)[arguments]: Remove
#:tests?. Override 'check phase.
---
 gnu/packages/web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6a24cc8212..5afc6e8cec 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4775,7 +4775,13 @@ their web site.")
          "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
     (build-system python-build-system)
     (arguments
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "tests/runtests.py")))))))
     (propagated-inputs
      `(("python-sgmllib3k" ,python-sgmllib3k)))
     (home-page
-- 
2.30.2





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

* [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (11 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
                     ` (10 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-netifaces): Update to 0.11.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cb524ed47c..b12e1c3d52 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9059,14 +9059,14 @@ some are not yet implemented).")
 (define-public python-netifaces
   (package
     (name "python-netifaces")
-    (version "0.10.9")
+    (version "0.11.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "netifaces" version))
         (sha256
           (base32
-            "1wxby874kcr3pp4ygzk5aiarbzhg1yi093d56s1qg4k2s7yrzvid"))))
+            "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
     (build-system python-build-system)
     (home-page "https://github.com/al45tair/netifaces")
     (synopsis
-- 
2.30.2





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

* [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (12 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1 Vinicius Monego
                     ` (9 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI.
[arguments]<#:phases>: Add new phase after 'unpack to skip a network test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 24e6bc063e..5d2464bbef 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2469,18 +2469,28 @@ verification of the SSL peer.")
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-    (version "0.54.0")
+    (version "0.59.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "websocket_client" version))
+       (uri (pypi-uri "websocket-client" version))
        (sha256
         (base32
-         "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+         "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "websocket/tests/test_http.py"
+               (("def testConnect") "def _testConnect")))))))
+    (native-inputs
+     `(("python-pysocks" ,python-pysocks)))
     (propagated-inputs
      `(("python-six" ,python-six)))
-    (home-page "https://github.com/liris/websocket-client")
+    (home-page "https://github.com/websocket-client/websocket-client")
     (synopsis "WebSocket client for Python")
     (description "The Websocket-client module provides the low level APIs for
 WebSocket usage in Python programs.")
-- 
2.30.2





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

* [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (13 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7 Vinicius Monego
                     ` (8 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.7.1.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b12e1c3d52..318db4d92b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19930,14 +19930,14 @@ design and layout.")
 (define-public python-pkginfo
   (package
     (name "python-pkginfo")
-    (version "1.7.0")
+    (version "1.7.1")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "pkginfo" version))
         (sha256
           (base32
-            "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
+            "1g9m4ra1vrah6ahw6947rl9syzyl1fzin69kfqlwgplas20jyhz7"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.30.2





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

* [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (14 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1 Vinicius Monego
                     ` (7 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-watchdog): Update to 0.10.7.
[arguments]<#:phases>: Remove 'remove-failing phase. Override 'check phase.
---
 gnu/packages/python-xyz.scm | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 318db4d92b..c5d281e033 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24568,23 +24568,23 @@ files.  These files are used to translate strings in android apps.")
 (define-public python-watchdog
   (package
     (name "python-watchdog")
-    (version "0.9.0")
+    (version "0.10.7")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "watchdog" version))
         (sha256
          (base32
-          "07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn"))))
+          "1x1mcj9iw8pdhfic0lablx8mbfilrql0scxgnysdr7mr00bqdjsh"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'remove-failing
-           (lambda _
-             (delete-file "tests/test_inotify_buffer.py")
-             (delete-file "tests/test_snapshot_diff.py")
-             #t)))))
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (propagated-inputs
      `(("python-argh" ,python-argh)
        ("python-pathtools" ,python-pathtools)
-- 
2.30.2





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

* [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (15 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4 Vinicius Monego
                     ` (6 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-colorlog): Update to 5.0.1.
[arguments]<#:phases>: Simplify custom 'check phase.
---
 gnu/packages/python-xyz.scm | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c5d281e033..115e013490 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -739,26 +739,24 @@ implementation for the Telegram Bot API.")
 (define-public python-colorlog
   (package
     (name "python-colorlog")
-    (version "4.1.0")
+    (version "5.0.1")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "colorlog" version))
               (sha256
                (base32
-                "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
+                "1sl8wps7d8xl2larlb7wkvr7sa3bpvyprq4y8ks04awn0qx02z7i"))))
     (build-system python-build-system)
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda _
-                      ;; Extend PYTHONPATH so the built package will be found.
-                      (setenv "PYTHONPATH"
-                              (string-append (getcwd) "/build/lib:"
-                                             (getenv "PYTHONPATH")))
-                      (invoke "pytest" "-p" "no:logging")
-                      #t)))))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (home-page "https://github.com/borntyping/python-colorlog")
     (synopsis "Log formatting with colors for python")
     (description "The @code{colorlog.ColoredFormatter} is a formatter for use
-- 
2.30.2





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

* [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (16 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1 Vinicius Monego
                     ` (5 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.33.4.
[source]: Fetch from GitHub.
[native-inputs]: Remove python-nose. Add python-pytest.
[arguments]<#:phases>: Adjust custom 'check phase to use Pytest.
---
 gnu/packages/python-xyz.scm | 31 +++++++++++++++++++------------
 1 file changed, 19 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 115e013490..c81d8b306f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23399,29 +23399,36 @@ enumeration library in Python.")
 (define-public python-zeroconf
   (package
     (name "python-zeroconf")
-    (version "0.28.8")
+    (version "0.33.4")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "zeroconf" version))
+       (method git-fetch) ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/jstasiak/python-zeroconf")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb"))))
+        (base32 "01bv6xrhf5i7gckg3q53i249zxmhkkr65yib6par8z5risihrpwm"))))
     (build-system python-build-system)
     (native-inputs
-     `(("python-nose" ,python-nose)))
+     `(("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-ifaddr" ,python-ifaddr)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _ ;; Networking isn't available for these tests.
-             (invoke "nosetests" "-v"
-                     "--exclude" "test_integration_with_listener_ipv6"
-                     "--exclude" "test_launch_and_close_v6_only"
-                     "--exclude" "test_launch_and_close_v4_v6"
-                     "--exclude" "test_launch_and_close"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; Networking isn't available for these tests.
+                        "not test_integration_with_listener_ipv6"
+                        " and not test_launch_and_close_v4_v6"
+                        " and not test_launch_and_close_context_manager"
+                        " and not test_launch_and_close"
+                        " and not test_close_multiple_times"))))))))
     (home-page "https://github.com/jstasiak/python-zeroconf")
     (synopsis "Pure Python mDNS service discovery")
     (description
-- 
2.30.2





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

* [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (17 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 25/29] gnu: python-wrapt: Enable tests Vinicius Monego
                     ` (4 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt): Update to 1.12.1.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c81d8b306f..5476e3913a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10809,14 +10809,14 @@ Supported netlink families and protocols include:
 (define-public python-wrapt
   (package
     (name "python-wrapt")
-    (version "1.11.2")
+    (version "1.12.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "wrapt" version))
        (sha256
         (base32
-         "1q81762dgsgrd12f8qc39zk8s5wll3m5xc32jdmlf6cls4gh4njn"))))
+         "1mwpkdnqxf0yxj1a0hsnl06lf287qi5ap7309wm37x45zf0zlbxn"))))
     (build-system python-build-system)
     (arguments
      ;; Tests are not included in the tarball, they are only available in the
-- 
2.30.2





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

* [bug#51314] [PATCH 25/29] gnu: python-wrapt: Enable tests.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (18 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1 Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 26/29] gnu: Add octoprint-pisupport Vinicius Monego
                     ` (3 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt)[source]: Fetch from GitHub.
[arguments]: Remove #:tests?. Override 'check phase.
---
 gnu/packages/python-xyz.scm | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 5476e3913a..eef7ef5add 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10812,16 +10812,23 @@ Supported netlink families and protocols include:
     (version "1.12.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "wrapt" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/GrahamDumpleton/wrapt")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "1mwpkdnqxf0yxj1a0hsnl06lf287qi5ap7309wm37x45zf0zlbxn"))))
+        (base32 "0943ixbiwixl5ch60vx7i2nia16534zgq2571ldzq1iimq3cz5vj"))))
     (build-system python-build-system)
     (arguments
-     ;; Tests are not included in the tarball, they are only available in the
-     ;; git repository.
-     `(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "unittest" "discover"
+                       "-s" "tests")))))))
     (home-page "https://github.com/GrahamDumpleton/wrapt")
     (synopsis "Module for decorators, wrappers and monkey patching")
     (description
-- 
2.30.2





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

* [bug#51314] [PATCH 26/29] gnu: Add octoprint-pisupport.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (19 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 25/29] gnu: python-wrapt: Enable tests Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 27/29] gnu: Add octoprint-firmwarecheck Vinicius Monego
                     ` (2 subsequent siblings)
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-pisupport): New variable.
---
 gnu/packages/printers.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index f78923966c..ac79d57aba 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19,8 +20,10 @@
 
 (define-module (gnu packages printers)
   #:use-module (guix packages)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
@@ -29,6 +32,27 @@
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
 
+(define-public octoprint-pisupport
+  (package
+    (name "octoprint-pisupport")
+    (version "2021.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-PiSupport" version))
+       (sha256
+        (base32 "0y4adzqy6bqp6r88gvpkvmhwgqv09zs2ngckp98ipa1yfljx0shv"))))
+    (build-system python-build-system)
+    (arguments
+     ;; No tests in PyPI release, and circular dependency on Octoprint.
+     `(#:tests? #f))
+    (home-page "https://github.com/OctoPrint/OctoPrint-PiSupport")
+    (synopsis "Plugin to provide additional information about your Pi")
+    (description "The Pi Support plugin provides additional information about
+your Pi in the UI and also alerts you about undervoltage or overheating issues
+observed on your Pi or if your Pi is unsupported.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH 27/29] gnu: Add octoprint-firmwarecheck.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (20 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 26/29] gnu: Add octoprint-pisupport Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:01   ` [bug#51314] [PATCH 28/29] gnu: Add octoprint-filecheck Vinicius Monego
  2021-10-21  4:02   ` [bug#51314] [PATCH 29/29] gnu: Add octoprint Vinicius Monego
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-firmwarecheck): New variable.
---
 gnu/packages/printers.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index ac79d57aba..934cb55f47 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -53,6 +53,28 @@ your Pi in the UI and also alerts you about undervoltage or overheating issues
 observed on your Pi or if your Pi is unsupported.")
     (license license:agpl3)))
 
+(define-public octoprint-firmwarecheck
+  (package
+    (name "octoprint-firmwarecheck")
+    (version "2021.10.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FirmwareCheck" version))
+       (sha256
+        (base32 "17prs0rmzglw75gkf6j7qypxisjvcfk2mbsyfqrjdbwg99i62s2h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests
+    (home-page "https://github.com/OctoPrint/OctoPrint-FirmwareCheck")
+    (synopsis "Plugin to check for unsafe or broken printer firmwares")
+    (description "The Firmware Check plugin tries to identify printers
+or rather printer firmware with known safety issues, such as disabled
+thermal runaway protection, or other kinds of severe issues, like known
+communication crippling bugs, and displays a warning box to logged in users
+on identification of such a firmware.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH 28/29] gnu: Add octoprint-filecheck.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (21 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 27/29] gnu: Add octoprint-firmwarecheck Vinicius Monego
@ 2021-10-21  4:01   ` Vinicius Monego
  2021-10-21  4:02   ` [bug#51314] [PATCH 29/29] gnu: Add octoprint Vinicius Monego
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:01 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-filecheck): New variable.
---
 gnu/packages/printers.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 934cb55f47..4056a66ad3 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -75,6 +75,26 @@ communication crippling bugs, and displays a warning box to logged in users
 on identification of such a firmware.")
     (license license:agpl3)))
 
+(define-public octoprint-filecheck
+  (package
+    (name "octoprint-filecheck")
+    (version "2021.2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FileCheck" version))
+       (sha256
+        (base32 "0bgvv6hvxa9qv0fs5dfr9wlbbjawxik8f2cid3h3czdhdhw46aqv"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests
+    (home-page "https://github.com/OctoPrint/OctoPrint-FileCheck")
+    (synopsis "Plugin to check for common issues in uploaded files")
+    (description "The File Check plugin tries to detect common issues in
+uploaded files that are known to cause issues while printing and which in
+the past have caused support requests on OctoPrint's Community Forums.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH 29/29] gnu: Add octoprint.
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
                     ` (22 preceding siblings ...)
  2021-10-21  4:01   ` [bug#51314] [PATCH 28/29] gnu: Add octoprint-filecheck Vinicius Monego
@ 2021-10-21  4:02   ` Vinicius Monego
  23 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-10-21  4:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint): New variable.
---
 gnu/packages/printers.scm | 115 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 114 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 4056a66ad3..37e1734aad 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -25,9 +25,15 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -95,6 +101,113 @@ uploaded files that are known to cause issues while printing and which in
 the past have caused support requests on OctoPrint's Community Forums.")
     (license license:agpl3)))
 
+(define-public octoprint
+  (package
+    (name "octoprint")
+    (version "1.7.0")
+    (source
+     (origin
+       (method git-fetch) ; no tests in the PyPI tarball.
+       (uri (git-reference
+             (url "https://github.com/OctoPrint/OctoPrint")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "08a1in2kbgy4w02q2xkhp7m09mvw0hxn3fgcbi1z7f6hg8ibym9n"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Remove bundled font-awesome.
+           (delete-file-recursively "src/octoprint/static/vendor")
+           #t))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'relax-version-requirements
+           ;; Octoprint maintains strict version requirements for Python2
+           ;; compatibility.  We're not packaging with Python2, so modify
+           ;; setup.py to relax those versions.  Octoprint will drop Python2
+           ;; support in version 2.0 so we won't need this change after it.
+           (lambda _
+             (substitute* "setup.py"
+               (("markdown>=3.1,<3.2") "markdown>=3.1,<4")
+               (("watchdog==0.10.4") "watchdog>=0.10.4")
+               ;; Relax core packages that are outdated in Guix.
+               (("Jinja2>=2.11.3,<3") "Jinja2>=2.11.2,<3")
+               (("requests>=2.26.0,<3") "requests>=2.25,<3"))))
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))) ; some tests need a writable home
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "tests" "-k"
+                       (string-append
+                        ;; These tests try to write to the source tree and
+                        ;; fail with PermissionError.
+                        "not test_add_file_overwrite"
+                        " and not test_set_external_modification"))))))))
+    (native-inputs
+     `(("python-ddt" ,python-ddt)
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-doctest-custom"
+        ,python-pytest-doctest-custom)))
+    (inputs
+     `(("octoprint-filecheck" ,octoprint-filecheck)
+       ("octoprint-firmwarecheck" ,octoprint-firmwarecheck)
+       ("octoprint-pisupport" ,octoprint-pisupport)
+       ("python-appdirs" ,python-appdirs)
+       ("python-blinker" ,python-blinker)
+       ("python-cachelib" ,python-cachelib)
+       ("python-click" ,python-click)
+       ("python-colorlog" ,python-colorlog)
+       ("python-emoji" ,python-emoji)
+       ("python-feedparser" ,python-feedparser)
+       ("python-filetype" ,python-filetype)
+       ("python-flask" ,python-flask)
+       ("python-flask-assets" ,python-flask-assets)
+       ("python-flask-babel" ,python-flask-babel)
+       ("python-flask-login" ,python-flask-login)
+       ("python-future" ,python-future)
+       ("python-immutabledict" ,python-immutabledict)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-jinja2" ,python-jinja2)
+       ("python-markdown" ,python-markdown)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-netaddr" ,python-netaddr)
+       ("python-netifaces" ,python-netifaces)
+       ("python-pathvalidate" ,python-pathvalidate)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-psutil" ,python-psutil)
+       ("python-pylru" ,python-pylru)
+       ("python-pyserial" ,python-pyserial)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-regex" ,python-regex)
+       ("python-requests" ,python-requests)
+       ("python-sarge" ,python-sarge)
+       ("python-semantic-version"
+        ,python-semantic-version)
+       ("python-sentry-sdk" ,python-sentry-sdk)
+       ("python-tornado" ,python-tornado-6)
+       ("python-unidecode" ,python-unidecode)
+       ("python-watchdog" ,python-watchdog)
+       ("python-websocket-client"
+        ,python-websocket-client)
+       ("python-werkzeug" ,python-werkzeug)
+       ("python-wrapt" ,python-wrapt)
+       ("python-zeroconf" ,python-zeroconf)
+       ("python-zipstream-new" ,python-zipstream-new)))
+    (home-page "https://octoprint.org")
+    (synopsis "Web interface for 3D printers")
+    (description "OctoPrint provides a snappy web interface for controlling
+consumer 3D printers.")
+    ;; The web interface contains many third party JavaScript libraries under
+    ;; different licenses.  Check THIRDPARTYLICENSES.md.
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers).
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
  2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
  2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
@ 2021-11-08 20:38 ` Efraim Flashner
  2021-11-13 19:44   ` Vinicius Monego
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                   ` (3 subsequent siblings)
  6 siblings, 1 reply; 114+ messages in thread
From: Efraim Flashner @ 2021-11-08 20:38 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 51314

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

On Thu, Oct 21, 2021 at 03:51:00AM +0000, Vinicius Monego wrote:
> This patchset adds the Octoprint web UI to control 3d printers.
> 
> Octoprint itself bundles font-awesome. I removed it in a snippet, don't know how much it would affect usability. I haven't found other bundles with license issues.
> 
> Some of the updates have newer versions but I'm updating to "older" versions to maintain compatibility with octoprint. See the comment in the octoprint package.

Looking at some of the comments here¹ it looks like they're using old
versions mostly to retain python2 compatibility. On the other hand they
also have a comment about not having checked newer versions yet for for
breaking changes, which IMO is their job. Other than flask-login and
netaddr I don't see a reason to not try with some of the newer versions
of the packages. I would feel better if they only marked their own
dependencies and not transitive dependencies.

I think it makes sense to try newer versions and to add older versions
on an as-needed basis, especially since some of these packages are
likely to be upgraded again at some point before the next version of
octoprint.

¹ https://github.com/OctoPrint/OctoPrint/blob/1.7.0/setup.py#L17

> 
> Vinicius Monego (29):
>   gnu: Add python-filetype.
>   gnu: Add python-immutabledict.
>   gnu: Add python-emoji.
>   gnu: Add python-cachelib.
>   gnu: Add python-sarge.
>   gnu: Add python-pylru.
>   gnu: python-flask: Update to 1.1.4.
>   gnu: python-flask: Respect #:tests?.
>   gnu: Add python-pyscss.
>   gnu: Add python-flask-assets.
>   gnu: Add python-zipstream-new.
>   gnu: Add python-executing.
>   gnu: Add python-sentry-sdk.
>   gnu: Add python-pytest-doctest-custom.
>   gnu: Add python-sgmllib3k.
>   gnu: python-feedparser: Update to 6.0.8.
>   gnu: python-feedparser: Enable tests.
>   gnu: python-netifaces: Update to 0.11.0.
>   gnu: python-websocket-client: Update to 0.59.0.
>   gnu: python-pkginfo: Update to 1.7.1.
>   gnu: python-watchdog: Update to 0.10.7.
>   gnu: python-colorlog: Update to 5.0.1.
>   gnu: python-zeroconf: Update to 0.33.4.
>   gnu: python-wrapt: Update to 1.12.1.
>   gnu: python-wrapt: Enable tests.
>   gnu: Add octoprint-pisupport.
>   gnu: Add octoprint-firmwarecheck.
>   gnu: Add octoprint-filecheck.
>   gnu: Add octoprint.
> 
>  gnu/packages/printers.scm     | 181 +++++++++++++++-
>  gnu/packages/python-check.scm |  29 +++
>  gnu/packages/python-web.scm   |  96 ++++++++-
>  gnu/packages/python-xyz.scm   | 381 ++++++++++++++++++++++++++++++----
>  gnu/packages/web.scm          |  15 +-
>  5 files changed, 645 insertions(+), 57 deletions(-)
> 
> 
> base-commit: 2782cb38a3bc68c530d6e95f6834ae0cb7ed16aa
> prerequisite-patch-id: 01467a57e2c7d6c0266979c26fc35408e886972b
> -- 
> 2.30.2
> 
> 
> 
> 

-- 
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] 114+ messages in thread

* [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers).
  2021-11-08 20:38 ` [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Efraim Flashner
@ 2021-11-13 19:44   ` Vinicius Monego
  2021-11-14  8:44     ` Efraim Flashner
  0 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 19:44 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 51314

Em seg, 2021-11-08 às 22:38 +0200, Efraim Flashner escreveu:
> On Thu, Oct 21, 2021 at 03:51:00AM +0000, Vinicius Monego wrote:
> > This patchset adds the Octoprint web UI to control 3d printers.
> > 
> > Octoprint itself bundles font-awesome. I removed it in a snippet,
> > don't know how much it would affect usability. I haven't found
> > other bundles with license issues.
> > 
> > Some of the updates have newer versions but I'm updating to "older"
> > versions to maintain compatibility with octoprint. See the comment
> > in the octoprint package.
> 
> Looking at some of the comments here¹ it looks like they're using old
> versions mostly to retain python2 compatibility. On the other hand
> they
> also have a comment about not having checked newer versions yet for
> for
> breaking changes, which IMO is their job. Other than flask-login and
> netaddr I don't see a reason to not try with some of the newer
> versions
> of the packages. I would feel better if they only marked their own
> dependencies and not transitive dependencies.
> 
> I think it makes sense to try newer versions and to add older
> versions
> on an as-needed basis, especially since some of these packages are
> likely to be upgraded again at some point before the next version of
> octoprint.
> 
> ¹ https://github.com/OctoPrint/OctoPrint/blob/1.7.0/setup.py#L17
> 

This is my report for the updates:

I updated python-colorlog, python-zeroconf, python-watchdog and python-
wrapt to latest versions.

The update on python-zeroconf will likely break pulseaudio-dlna which
depends on python2-zeroconf. Upstream also abandoned the project and it
now lives in a fork that can be found here¹. Packaging the fork will
require packaging python-pyroute2 which seems to lead to another chain
of new packages.

Updating Flask to version 2.0 will require updates on python-
itsdangerous, python-werkzeug and python-jinja2, which would have to
rebuild 600+ packages.

I tried to update python-websockets-client to latest version but the
tests hung and I couldn't figure out why.

I'll send a v2 soon.

¹ https://github.com/Cygn/pulseaudio-dlna/





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

* [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge.
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
                   ` (2 preceding siblings ...)
  2021-11-08 20:38 ` [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Efraim Flashner
@ 2021-11-13 20:02 ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru Vinicius Monego
                     ` (22 more replies)
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                   ` (2 subsequent siblings)
  6 siblings, 23 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e5cdaadb3b..0b48923d86 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9772,6 +9772,23 @@ entire set of Emoji codes as defined by the Unicode Consortium is supported in
 addition to a bunch of aliases.")
     (license license:bsd-3)))
 
+(define-public python-sarge
+  (package
+    (name "python-sarge")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sarge" version))
+       (sha256
+        (base32 "0r9jnpdsjdr6h92blr5b2fdzvb1n8ypjwhk2xxmss42gwq2bk3zl"))))
+    (build-system python-build-system)
+    (home-page "https://sarge.readthedocs.io/")
+    (synopsis "Command pipeline functionality")
+    (description "@code{sarge} is a wrapper for subprocess which provides
+command pipeline functionality.")
+    (license license:bsd-3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking

base-commit: 193d7b5b450d2004c26720e488a9cce930542e9e
-- 
2.30.2





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

* [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4 Vinicius Monego
                     ` (21 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0b48923d86..cdd71ee2ce 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11228,6 +11228,35 @@ signature of a file or buffer.")
 provides a collection of cache libraries in the same API interface.")
     (license license:bsd-3)))
 
+(define-public python-pylru
+  (package
+    (name "python-pylru")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pylru" version))
+       (sha256
+        (base32 "15yj46307sw703vjfkgnr04dqvaicmfcj0hc6yrciildp55r6bs9"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test.py")))))))
+    (home-page "https://github.com/jlhutch/pylru")
+    (synopsis "Least recently used (LRU) cache implementation")
+    (description
+     "Pylru implements a true LRU cache along with several support classes.
+Pylru provides a cache class with a simple dict interface.  It also provides
+classes to wrap any object that has a dict interface with a cache.  Both
+write-through and write-back semantics are supported.  Pylru also provides
+classes to wrap functions in a similar way, including a function decorator.")
+    (license license:gpl2+)))
+
 (define-public python-legacy-api-wrap
   (package
     (name "python-legacy-api-wrap")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests? Vinicius Monego
                     ` (20 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask): Update to 1.1.4.
---
 gnu/packages/python-web.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 608276325f..0beaa78d0e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2997,13 +2997,13 @@ minimum of WSGI.")
 (define-public python-flask
   (package
     (name "python-flask")
-    (version "1.1.2")
+    (version "1.1.4")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "Flask" version))
               (sha256
                (base32
-                "0q3h295izcil7lswkzfnyg3k5gq4hpmqmpl6i7s5m1n9szi1myjf"))))
+                "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
      '(#:phases
-- 
2.30.2





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

* [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests?.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss Vinicius Monego
                     ` (19 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask)[arguments]<#:phases>: Respect
 #:tests? and simplify the test command in the custom 'check phase.
---
 gnu/packages/python-web.scm | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 0beaa78d0e..8dd73c003f 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3006,13 +3006,13 @@ minimum of WSGI.")
                 "15ni4xlm57a15f5hipp8w0c9zba20179bvfns2392fiq1lcbdghg"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _
-             (setenv "PYTHONPATH" (string-append "./build/lib:"
-                                                 (getenv "PYTHONPATH")))
-             (invoke "pytest" "-vv" "tests"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (propagated-inputs
-- 
2.30.2





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

* [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests? Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets Vinicius Monego
                     ` (18 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-pyscss): New variable.
---
 gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 8dd73c003f..80ba4bd07e 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -78,6 +78,7 @@
   #:use-module (gnu packages groff)
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -793,6 +794,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
 content using a variety of algorithms.")
     (license license:expat)))
 
+(define-public python-pyscss
+  (package
+    (name "python-pyscss")
+    (version "1.3.7")
+    (source
+     (origin
+       ;; No tests in the PyPI tarball.
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/Kronuz/pyScss")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)))
+    (inputs
+     `(("pcre" ,pcre)))
+    (home-page "https://github.com/Kronuz/pyScss")
+    (synopsis "Scss compiler for Python")
+    (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+    (license license:expat)))
+
 (define-public python-jsonpickle
   (package
     (name "python-jsonpickle")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (3 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 07/24] gnu: Add python-zipstream-new Vinicius Monego
                     ` (17 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
 gnu/packages/python-web.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 80ba4bd07e..11e6caa8d5 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1053,6 +1053,35 @@ between a web browser and web server.")
 (define-public python2-sockjs-tornado
   (package-with-python2 python-sockjs-tornado))
 
+(define-public python-flask-assets
+  (package
+    (name "python-flask-assets")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Assets" version))
+       (sha256
+        (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; FIXME: 8 tests are failing with:
+     ;; TypeError: __init__() got an unexpected keyword argument 'static_path'
+     `(#:tests? #f))
+    (native-inputs
+     `(("python-flask-script" ,python-flask-script)
+       ("python-nose" ,python-nose)
+       ("python-pyscss" ,python-pyscss)
+       ("python-pyyaml" ,python-pyyaml)))
+    (propagated-inputs
+     `(("python-flask" ,python-flask)
+       ("python-webassets" ,python-webassets)))
+    (home-page "https://github.com/miracle2k/flask-assets")
+    (synopsis "Asset management for Flask")
+    (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+    (license license:bsd-2)))
+
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 07/24] gnu: Add python-zipstream-new.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (4 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 08/24] gnu: Add python-executing Vinicius Monego
                     ` (16 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zipstream-new): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index cdd71ee2ce..534b774f63 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9789,6 +9789,33 @@ addition to a bunch of aliases.")
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-zipstream-new
+  (package
+    (name "python-zipstream-new")
+    (version "1.1.8")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/arjan-s/python-zipstream")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv"))))
+    (build-system python-build-system)
+    (native-inputs
+     `(("python-nose" ,python-nose)))
+    (home-page "https://github.com/arjan-s/python-zipstream")
+    (synopsis "Zipfile generator that takes input files as well as streams")
+    (description "@code{zipstream.py} is a zip archive generator based on
+@code{zipfile.py}.  It was created to generate a zip file generator for
+streaming.  This is beneficial for when you want to provide a downloadable
+archive of a large collection of regular files, which would be infeasible
+to generate the archive prior to downloading or of a very large file that
+you do not want to store entirely on disk or on memory.")
+    ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
+    (license license:gpl3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH v2 08/24] gnu: Add python-executing.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (5 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 07/24] gnu: Add python-zipstream-new Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk Vinicius Monego
                     ` (15 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 534b774f63..19e2159b9b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7101,6 +7101,28 @@ buffer transformation, compression, and decompression functions for use in the
 tifffile, czifile, and other scientific image input/output modules.")
     (license license:bsd-3)))
 
+(define-public python-executing
+  (package
+    (name "python-executing")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "executing" version))
+       (sha256
+        (base32 "08q0xh9fd8k41sqpp23q6fb9bf7yj4y2q6sv30pj36vvk8pg8fy2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; TODO: tests require python-asttokens
+    (native-inputs
+     `(("python-setuptools-scm" ,python-setuptools-scm)
+       ("python-toml" ,python-toml)))
+    (home-page "https://github.com/alexmojaki/executing")
+    (synopsis "Get information about what a Python frame is currently doing")
+    (description "This package lets you get information about what a frame is
+currently doing, particularly the AST node being executed.")
+    (license license:expat)))
+
 (define-public python-roifile
   (package
     (name "python-roifile")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (6 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 08/24] gnu: Add python-executing Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom Vinicius Monego
                     ` (14 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-sentry-sdk): New variable.
---
 gnu/packages/python-xyz.scm | 65 +++++++++++++++++++++++++++++++++++++
 1 file changed, 65 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 19e2159b9b..fd3f766f1e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -142,6 +142,7 @@
   #:use-module (gnu packages crypto)
   #:use-module (gnu packages databases)
   #:use-module (gnu packages dbm)
+  #:use-module (gnu packages django)
   #:use-module (gnu packages djvu)
   #:use-module (gnu packages docker)
   #:use-module (gnu packages enchant)
@@ -9838,6 +9839,70 @@ you do not want to store entirely on disk or on memory.")
     ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
     (license license:gpl3)))
 
+(define-public python-sentry-sdk
+  (package
+    (name "python-sentry-sdk")
+    (version "1.4.3")
+    (source
+     (origin
+       (method git-fetch) ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/getsentry/sentry-python")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "1iyb0amgf03h61jw4hpdbm6h4wyh8n43bnk116ywwc0bl5x3mldx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; This test requires extra dependencies.
+                        "not test_auto_enabling_integrations"
+                        "_catches_import_error"
+                        ;; Tests below run pip command.
+                        " and not test_unhandled_exception"
+                        " and not test_timeout_error"
+                        " and not test_performance_no_error"
+                        " and not test_performance_error"
+                        " and not test_traces_sampler_gets_correct"
+                        "_values_in_sampling_context"
+                        " and not test_handled_exception"
+                        ;; Tests below require network.
+                        " and not test_crumb_capture"
+                        " and not test_crumb_capture"
+                        " and not test_crumb_capture_hint"
+                        " and not test_httplib_misuse"
+                        ;; Fails with IndexError.
+                        " and not test_session_mode_defaults_to"
+                        "_request_mode_in_wsgi_handler"))))))))
+    (native-inputs
+     `(("python-django" ,python-django)
+       ("python-executing" ,python-executing)
+       ("python-gevent" ,python-gevent)
+       ("python-jsonschema" ,python-jsonschema)
+       ("python-mock" ,python-mock)
+       ("python-pyrsistent" ,python-pyrsistent)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-cov" ,python-pytest-cov)
+       ("python-pytest-django" ,python-pytest-django)
+       ("python-pytest-forked" ,python-pytest-forked)
+       ("python-pytest-localserver" ,python-pytest-localserver)
+       ("python-werkzeug" ,python-werkzeug)))
+    (propagated-inputs
+     `(("python-certifi" ,python-certifi)
+       ("python-urllib3" ,python-urllib3)))
+    (home-page "https://github.com/getsentry/sentry-python")
+    (synopsis "Python SDK for Sentry")
+    (description "This package provides a Python SDK for the Sentry
+application monitoring and error tracking software.")
+    (license license:bsd-2)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (7 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8 Vinicius Monego
                     ` (13 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-check.scm (python-pytest-doctest-custom): New variable.
---
 gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index 5b230934a5..4205e6bb48 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -752,6 +752,35 @@ in Pytest.")
        "Plugin for managing VCR.py cassettes.")
       (license license:expat))))
 
+(define-public python-pytest-doctest-custom
+  (package
+    (name "python-pytest-doctest-custom")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-doctest-custom" version))
+       (sha256
+        (base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test_pytest_doctest_custom.py")))))))
+    (native-inputs
+     `(("python-pytest" ,python-pytest)))
+    (home-page "https://github.com/danilobellini/pytest-doctest-custom")
+    (synopsis
+     "Pytest plugin to customize string representations of doctest results")
+    (description "This package provides a Pytest plugin for customizing string
+representations of doctest results.  It can change the display hook used by
+doctest to render the object representations.")
+    (license license:expat)))
+
 (define-public python-pytest-checkdocs
   (package
     (name "python-pytest-checkdocs")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (8 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests Vinicius Monego
                     ` (12 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/web.scm (python-feedparser): Update to 6.0.8.
[propagated-inputs]: Add python-sgmllib3k.
---
 gnu/packages/web.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index a4c47f92d8..b3f5180d79 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -51,6 +51,7 @@
 ;;; Copyright © 2021 Matthew James Kraai <kraai@ftbfs.org>
 ;;; Copyright © 2021 Sarah Morgensen <iskarian@mgsn.dev>
 ;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4764,14 +4765,14 @@ their web site.")
 (define-public python-feedparser
   (package
     (name "python-feedparser")
-    (version "6.0.2")
+    (version "6.0.8")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "feedparser" version ".tar.gz"))
        (sha256
         (base32
-         "0x0hm9brh3j71645pydvlkrwxaaca9dnwd7xahwjyjaz882s200v"))))
+         "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
     (build-system python-build-system)
     (propagated-inputs
      `(("python-sgmllib3k" ,python-sgmllib3k)))
-- 
2.30.2





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

* [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (9 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
                     ` (11 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/web.scm (python-feedparser)[arguments]: Remove
 #:tests?. Override 'check phase.
---
 gnu/packages/web.scm | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index b3f5180d79..aea397ee13 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4777,7 +4777,13 @@ their web site.")
     (propagated-inputs
      `(("python-sgmllib3k" ,python-sgmllib3k)))
     (arguments
-     '(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "tests/runtests.py")))))))
     (home-page
      "https://github.com/kurtmckee/feedparser")
     (synopsis "Parse feeds in Python")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (10 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
                     ` (10 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-netifaces): Update to 0.11.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fd3f766f1e..aee52b6bec 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9090,14 +9090,14 @@ some are not yet implemented).")
 (define-public python-netifaces
   (package
     (name "python-netifaces")
-    (version "0.10.9")
+    (version "0.11.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "netifaces" version))
         (sha256
           (base32
-            "1wxby874kcr3pp4ygzk5aiarbzhg1yi093d56s1qg4k2s7yrzvid"))))
+            "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
     (build-system python-build-system)
     (home-page "https://github.com/al45tair/netifaces")
     (synopsis
-- 
2.30.2





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

* [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (11 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1 Vinicius Monego
                     ` (9 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI.
[arguments]<#:phases>: Add new phase after 'unpack to skip a network test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirection.
---
 gnu/packages/python-web.scm | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 11e6caa8d5..5db1f8b730 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2494,18 +2494,28 @@ verification of the SSL peer.")
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-    (version "0.54.0")
+    (version "0.59.0")
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "websocket_client" version))
+       (uri (pypi-uri "websocket-client" version))
        (sha256
         (base32
-         "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+         "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "websocket/tests/test_http.py"
+               (("def testConnect") "def _testConnect")))))))
+    (native-inputs
+     `(("python-pysocks" ,python-pysocks)))
     (propagated-inputs
      `(("python-six" ,python-six)))
-    (home-page "https://github.com/liris/websocket-client")
+    (home-page "https://github.com/websocket-client/websocket-client")
     (synopsis "WebSocket client for Python")
     (description "The Websocket-client module provides the low level APIs for
 WebSocket usage in Python programs.")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (12 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6 Vinicius Monego
                     ` (8 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.7.1.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index aee52b6bec..b9c752f53c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19980,14 +19980,14 @@ design and layout.")
 (define-public python-pkginfo
   (package
     (name "python-pkginfo")
-    (version "1.7.0")
+    (version "1.7.1")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "pkginfo" version))
         (sha256
           (base32
-            "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
+            "1g9m4ra1vrah6ahw6947rl9syzyl1fzin69kfqlwgplas20jyhz7"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
-- 
2.30.2





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

* [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (13 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0 Vinicius Monego
                     ` (7 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-watchdog): Update to 2.1.6.
[arguments]<#:phases>: Remove 'remove-failing phase. Override 'check phase and
skip a failing test.
---
 gnu/packages/python-xyz.scm | 16 +++++++++-------
 1 file changed, 9 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b9c752f53c..6c2294c4a1 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24618,23 +24618,25 @@ files.  These files are used to translate strings in android apps.")
 (define-public python-watchdog
   (package
     (name "python-watchdog")
-    (version "0.9.0")
+    (version "2.1.6")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "watchdog" version))
         (sha256
          (base32
-          "07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn"))))
+          "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'remove-failing
-           (lambda _
-             (delete-file "tests/test_inotify_buffer.py")
-             (delete-file "tests/test_snapshot_diff.py")
-             #t)))))
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       ;; This test failed.
+                       "not test_kill_auto_restart")))))))
     (propagated-inputs
      `(("python-argh" ,python-argh)
        ("python-pathtools" ,python-pathtools)
-- 
2.30.2





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

* [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (14 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13 Vinicius Monego
                     ` (6 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-colorlog): Update to 6.6.0.
[arguments]<#:phases>: Simplify custom 'check phase.
---
 gnu/packages/python-xyz.scm | 20 +++++++++-----------
 1 file changed, 9 insertions(+), 11 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6c2294c4a1..63325dfc90 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -740,26 +740,24 @@ implementation for the Telegram Bot API.")
 (define-public python-colorlog
   (package
     (name "python-colorlog")
-    (version "4.1.0")
+    (version "6.6.0")
     (source (origin
               (method url-fetch)
               (uri (pypi-uri "colorlog" version))
               (sha256
                (base32
-                "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
+                "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
     (build-system python-build-system)
     (native-inputs
      `(("python-pytest" ,python-pytest)))
     (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda _
-                      ;; Extend PYTHONPATH so the built package will be found.
-                      (setenv "PYTHONPATH"
-                              (string-append (getcwd) "/build/lib:"
-                                             (getenv "PYTHONPATH")))
-                      (invoke "pytest" "-p" "no:logging")
-                      #t)))))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (home-page "https://github.com/borntyping/python-colorlog")
     (synopsis "Log formatting with colors for python")
     (description "The @code{colorlog.ColoredFormatter} is a formatter for use
-- 
2.30.2





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

* [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (15 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3 Vinicius Monego
                     ` (5 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.36.13.
[source]: Fetch from GitHub.
[native-inputs]: Remove python-nose. Add python-pytest.
[arguments]<#:phases>: Adjust custom 'check phase to use Pytest.
---
 gnu/packages/python-xyz.scm | 36 +++++++++++++++++++++---------------
 1 file changed, 21 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 63325dfc90..b3990a6115 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23449,34 +23449,40 @@ enumeration library in Python.")
 (define-public python-zeroconf
   (package
     (name "python-zeroconf")
-    (version "0.28.8")
+    (version "0.36.13")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "zeroconf" version))
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/jstasiak/python-zeroconf")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb"))))
+        (base32 "1isz6jb14lmmqvzfgwkc8avyvib7pxpq92r2v283vjqjn7mmp0v9"))))
     (build-system python-build-system)
     (native-inputs
-     `(("python-nose" ,python-nose)))
+     `(("python-pytest" ,python-pytest)))
     (propagated-inputs
      `(("python-ifaddr" ,python-ifaddr)))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _ ;; Networking isn't available for these tests.
-             (invoke "nosetests" "-v"
-                     "--exclude" "test_integration_with_listener_ipv6"
-                     "--exclude" "test_launch_and_close_v6_only"
-                     "--exclude" "test_launch_and_close_v4_v6"
-                     "--exclude" "test_launch_and_close"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; Networking isn't available for these tests.
+                        "not test_integration_with_listener_ipv6"
+                        " and not test_launch_and_close_v4_v6"
+                        " and not test_launch_and_close_context_manager"
+                        " and not test_launch_and_close"
+                        " and not test_close_multiple_times"))))))))
     (home-page "https://github.com/jstasiak/python-zeroconf")
     (synopsis "Pure Python mDNS service discovery")
-    (description
-     "Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi
-compatible).")
+    (description "Pure Python multicast DNS (mDNS) service discovery library
+(Bonjour/Avahi compatible).")
     (license license:lgpl2.1+)))
 
 (define-public python2-zeroconf
-- 
2.30.2





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

* [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (16 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests Vinicius Monego
                     ` (4 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt): Update to 1.13.3.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b3990a6115..402053e96f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10838,14 +10838,14 @@ Supported netlink families and protocols include:
 (define-public python-wrapt
   (package
     (name "python-wrapt")
-    (version "1.11.2")
+    (version "1.13.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "wrapt" version))
        (sha256
         (base32
-         "1q81762dgsgrd12f8qc39zk8s5wll3m5xc32jdmlf6cls4gh4njn"))))
+         "11f13zqgbql26g5bkfkqalckcdlz394g6dhx4y16cvk873a9rshz"))))
     (build-system python-build-system)
     (arguments
      ;; Tests are not included in the tarball, they are only available in the
-- 
2.30.2





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

* [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (17 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3 Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport Vinicius Monego
                     ` (3 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt)[source]: Fetch from GitHub.
[arguments]<#:phases>: Override 'check phase.
---
 gnu/packages/python-xyz.scm | 21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 402053e96f..8fcc9583ab 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10841,16 +10841,23 @@ Supported netlink families and protocols include:
     (version "1.13.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "wrapt" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/GrahamDumpleton/wrapt")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "11f13zqgbql26g5bkfkqalckcdlz394g6dhx4y16cvk873a9rshz"))))
+        (base32 "05d7xs6rvaw9gpcvsvk7ckxiax1nrxcpv41vrqkkl7zq967d9bcj"))))
     (build-system python-build-system)
     (arguments
-     ;; Tests are not included in the tarball, they are only available in the
-     ;; git repository.
-     `(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "unittest" "discover"
+                       "-s" "tests")))))))
     (home-page "https://github.com/GrahamDumpleton/wrapt")
     (synopsis "Module for decorators, wrappers and monkey patching")
     (description
-- 
2.30.2





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

* [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (18 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 22/24] gnu: Add octoprint-firmwarecheck Vinicius Monego
                     ` (2 subsequent siblings)
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-pisupport): New variable.
---
 gnu/packages/printers.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index f78923966c..7367ce3a81 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19,8 +20,10 @@
 
 (define-module (gnu packages printers)
   #:use-module (guix packages)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
@@ -29,6 +32,27 @@
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
 
+(define-public octoprint-pisupport
+  (package
+    (name "octoprint-pisupport")
+    (version "2021.10.28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-PiSupport" version))
+       (sha256
+        (base32 "05g79hb0x8bpk4qk9h6dibl0pnlsvbnmn8jx64z4dx8hdfad3rwf"))))
+    (build-system python-build-system)
+    (arguments
+     ;; No tests in PyPI release, and circular dependency on Octoprint.
+     `(#:tests? #f))
+    (home-page "https://github.com/OctoPrint/OctoPrint-PiSupport")
+    (synopsis "Plugin to provide additional information about your Pi")
+    (description "The Pi Support plugin provides additional information about
+your Pi in the UI and also alerts you about undervoltage or overheating issues
+observed on your Pi or if your Pi is unsupported.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 22/24] gnu: Add octoprint-firmwarecheck.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (19 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 23/24] gnu: Add octoprint-filecheck Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 24/24] gnu: Add octoprint Vinicius Monego
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-firmwarecheck): New variable.
---
 gnu/packages/printers.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 7367ce3a81..5ec678ab37 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -53,6 +53,28 @@ your Pi in the UI and also alerts you about undervoltage or overheating issues
 observed on your Pi or if your Pi is unsupported.")
     (license license:agpl3)))
 
+(define-public octoprint-firmwarecheck
+  (package
+    (name "octoprint-firmwarecheck")
+    (version "2021.10.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FirmwareCheck" version))
+       (sha256
+        (base32 "17prs0rmzglw75gkf6j7qypxisjvcfk2mbsyfqrjdbwg99i62s2h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests
+    (home-page "https://github.com/OctoPrint/OctoPrint-FirmwareCheck")
+    (synopsis "Plugin to check for unsafe or broken printer firmwares")
+    (description "The Firmware Check plugin tries to identify printers
+or rather printer firmware with known safety issues, such as disabled
+thermal runaway protection, or other kinds of severe issues, like known
+communication crippling bugs, and displays a warning box to logged in users
+on identification of such a firmware.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 23/24] gnu: Add octoprint-filecheck.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (20 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 22/24] gnu: Add octoprint-firmwarecheck Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 24/24] gnu: Add octoprint Vinicius Monego
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-filecheck): New variable.
---
 gnu/packages/printers.scm | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 5ec678ab37..f1535d5db1 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -75,6 +75,26 @@ communication crippling bugs, and displays a warning box to logged in users
 on identification of such a firmware.")
     (license license:agpl3)))
 
+(define-public octoprint-filecheck
+  (package
+    (name "octoprint-filecheck")
+    (version "2021.2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FileCheck" version))
+       (sha256
+        (base32 "0bgvv6hvxa9qv0fs5dfr9wlbbjawxik8f2cid3h3czdhdhw46aqv"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f)) ; no tests
+    (home-page "https://github.com/OctoPrint/OctoPrint-FileCheck")
+    (synopsis "Plugin to check for common issues in uploaded files")
+    (description "The File Check plugin tries to detect common issues in
+uploaded files that are known to cause issues while printing and which in
+the past have caused support requests on OctoPrint's Community Forums.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v2 24/24] gnu: Add octoprint.
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
                     ` (21 preceding siblings ...)
  2021-11-13 20:02   ` [bug#51314] [PATCH v2 23/24] gnu: Add octoprint-filecheck Vinicius Monego
@ 2021-11-13 20:02   ` Vinicius Monego
  22 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-11-13 20:02 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint): New variable.
---
 gnu/packages/printers.scm | 118 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 117 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index f1535d5db1..c2189a1b79 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -25,9 +25,15 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-xyz)
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -95,6 +101,116 @@ uploaded files that are known to cause issues while printing and which in
 the past have caused support requests on OctoPrint's Community Forums.")
     (license license:agpl3)))
 
+(define-public octoprint
+  (package
+    (name "octoprint")
+    (version "1.7.2")
+    (source
+     (origin
+       (method git-fetch) ; no tests in the PyPI tarball.
+       (uri (git-reference
+             (url "https://github.com/OctoPrint/OctoPrint")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zvjnbcmszifvr02rsmfzb5v24f1ss8klrnkd9fcg2351nkpqbbd"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Remove bundled font-awesome.
+           (delete-file-recursively "src/octoprint/static/vendor") #t))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'relax-version-requirements
+           ;; Octoprint maintains strict version requirements for Python2
+           ;; compatibility.  We're not packaging with Python2, so modify
+           ;; setup.py to relax those versions.  Octoprint will drop Python2
+           ;; support in version 2.0 so we won't need this change after it.
+           (lambda _
+             (substitute* "setup.py"
+               (("cachelib>=0.1,<0.2") "cachelib>=0.1")
+               (("colorlog>=5.0.1,<6") "colorlog>=5.0.1")
+               (("markdown>=3.1,<3.2") "markdown>=3.1,<4")
+               (("watchdog==0.10.4") "watchdog>=0.10.4")
+               (("wrapt>=1.12.1,<1.13") "wrapt>=1.12.1")
+               (("zeroconf>=0.33,<0.34") "zeroconf>=0.33")
+               ;; Relax core packages that are outdated in Guix.
+               (("Jinja2>=2.11.3,<3") "Jinja2>=2.11.2,<3")
+               (("requests>=2.26.0,<3") "requests>=2.25,<3"))))
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))) ; some tests need a writable home
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "tests" "-k"
+                       (string-append
+                        ;; These tests try to write to the source tree and
+                        ;; fail with PermissionError.
+                        "not test_add_file_overwrite"
+                        " and not test_set_external_modification"))))))))
+    (native-inputs
+     `(("python-ddt" ,python-ddt)
+       ("python-mock" ,python-mock)
+       ("python-pytest" ,python-pytest)
+       ("python-pytest-doctest-custom"
+        ,python-pytest-doctest-custom)))
+    (inputs
+     `(("octoprint-filecheck" ,octoprint-filecheck)
+       ("octoprint-firmwarecheck" ,octoprint-firmwarecheck)
+       ("octoprint-pisupport" ,octoprint-pisupport)
+       ("python-appdirs" ,python-appdirs)
+       ("python-blinker" ,python-blinker)
+       ("python-cachelib" ,python-cachelib)
+       ("python-click" ,python-click)
+       ("python-colorlog" ,python-colorlog)
+       ("python-emoji" ,python-emoji)
+       ("python-feedparser" ,python-feedparser)
+       ("python-filetype" ,python-filetype)
+       ("python-flask" ,python-flask)
+       ("python-flask-assets" ,python-flask-assets)
+       ("python-flask-babel" ,python-flask-babel)
+       ("python-flask-login" ,python-flask-login)
+       ("python-future" ,python-future)
+       ("python-immutabledict" ,python-immutabledict)
+       ("python-itsdangerous" ,python-itsdangerous)
+       ("python-jinja2" ,python-jinja2)
+       ("python-markdown" ,python-markdown)
+       ("python-markupsafe" ,python-markupsafe)
+       ("python-netaddr" ,python-netaddr)
+       ("python-netifaces" ,python-netifaces)
+       ("python-pathvalidate" ,python-pathvalidate)
+       ("python-pkginfo" ,python-pkginfo)
+       ("python-psutil" ,python-psutil)
+       ("python-pylru" ,python-pylru)
+       ("python-pyserial" ,python-pyserial)
+       ("python-pyyaml" ,python-pyyaml)
+       ("python-regex" ,python-regex)
+       ("python-requests" ,python-requests)
+       ("python-sarge" ,python-sarge)
+       ("python-semantic-version"
+        ,python-semantic-version)
+       ("python-sentry-sdk" ,python-sentry-sdk)
+       ("python-tornado" ,python-tornado-6)
+       ("python-unidecode" ,python-unidecode)
+       ("python-watchdog" ,python-watchdog)
+       ("python-websocket-client"
+        ,python-websocket-client)
+       ("python-werkzeug" ,python-werkzeug)
+       ("python-wrapt" ,python-wrapt)
+       ("python-zeroconf" ,python-zeroconf)
+       ("python-zipstream-new" ,python-zipstream-new)))
+    (home-page "https://octoprint.org")
+    (synopsis "Web interface for 3D printers")
+    (description "OctoPrint provides a snappy web interface for controlling
+consumer 3D printers.")
+    ;; The web interface contains many third party JavaScript libraries under
+    ;; different licenses.  Check THIRDPARTYLICENSES.md.
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers).
  2021-11-13 19:44   ` Vinicius Monego
@ 2021-11-14  8:44     ` Efraim Flashner
  2021-11-14 14:07       ` Vinicius Monego
  0 siblings, 1 reply; 114+ messages in thread
From: Efraim Flashner @ 2021-11-14  8:44 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 51314

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

On Sat, Nov 13, 2021 at 07:44:53PM +0000, Vinicius Monego wrote:
> Em seg, 2021-11-08 às 22:38 +0200, Efraim Flashner escreveu:
> > On Thu, Oct 21, 2021 at 03:51:00AM +0000, Vinicius Monego wrote:
> > > This patchset adds the Octoprint web UI to control 3d printers.
> > > 
> > > Octoprint itself bundles font-awesome. I removed it in a snippet,
> > > don't know how much it would affect usability. I haven't found
> > > other bundles with license issues.
> > > 
> > > Some of the updates have newer versions but I'm updating to "older"
> > > versions to maintain compatibility with octoprint. See the comment
> > > in the octoprint package.
> > 
> > Looking at some of the comments here¹ it looks like they're using old
> > versions mostly to retain python2 compatibility. On the other hand
> > they
> > also have a comment about not having checked newer versions yet for
> > for
> > breaking changes, which IMO is their job. Other than flask-login and
> > netaddr I don't see a reason to not try with some of the newer
> > versions
> > of the packages. I would feel better if they only marked their own
> > dependencies and not transitive dependencies.
> > 
> > I think it makes sense to try newer versions and to add older
> > versions
> > on an as-needed basis, especially since some of these packages are
> > likely to be upgraded again at some point before the next version of
> > octoprint.
> > 
> > ¹ https://github.com/OctoPrint/OctoPrint/blob/1.7.0/setup.py#L17
> > 
> 
> This is my report for the updates:
> 
> I updated python-colorlog, python-zeroconf, python-watchdog and python-
> wrapt to latest versions.
> 
> The update on python-zeroconf will likely break pulseaudio-dlna which
> depends on python2-zeroconf. Upstream also abandoned the project and it
> now lives in a fork that can be found here¹. Packaging the fork will
> require packaging python-pyroute2 which seems to lead to another chain
> of new packages.
> 
> Updating Flask to version 2.0 will require updates on python-
> itsdangerous, python-werkzeug and python-jinja2, which would have to
> rebuild 600+ packages.

That's a pretty good reason to leave flask at 1.x. When we do add 2.x we
might also end up keeping a python-flask-1 for a while during a
transition.

> I tried to update python-websockets-client to latest version but the
> tests hung and I couldn't figure out why.
> 
> I'll send a v2 soon.
> 
> ¹ https://github.com/Cygn/pulseaudio-dlna/

My concern was more about if the newer versions of the python packages
would work with octoprint.

-- 
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] 114+ messages in thread

* [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers).
  2021-11-14  8:44     ` Efraim Flashner
@ 2021-11-14 14:07       ` Vinicius Monego
  2021-11-14 14:30         ` Efraim Flashner
  0 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2021-11-14 14:07 UTC (permalink / raw)
  To: Efraim Flashner; +Cc: 51314

Em dom, 2021-11-14 às 10:44 +0200, Efraim Flashner escreveu:
> On Sat, Nov 13, 2021 at 07:44:53PM +0000, Vinicius Monego wrote:
> > Em seg, 2021-11-08 às 22:38 +0200, Efraim Flashner escreveu:
> > > On Thu, Oct 21, 2021 at 03:51:00AM +0000, Vinicius Monego wrote:
> > > > This patchset adds the Octoprint web UI to control 3d printers.
> > > > 
> > > > Octoprint itself bundles font-awesome. I removed it in a
> > > > snippet,
> > > > don't know how much it would affect usability. I haven't found
> > > > other bundles with license issues.
> > > > 
> > > > Some of the updates have newer versions but I'm updating to
> > > > "older"
> > > > versions to maintain compatibility with octoprint. See the
> > > > comment
> > > > in the octoprint package.
> > > 
> > > Looking at some of the comments here¹ it looks like they're using
> > > old
> > > versions mostly to retain python2 compatibility. On the other
> > > hand
> > > they
> > > also have a comment about not having checked newer versions yet
> > > for
> > > for
> > > breaking changes, which IMO is their job. Other than flask-login
> > > and
> > > netaddr I don't see a reason to not try with some of the newer
> > > versions
> > > of the packages. I would feel better if they only marked their
> > > own
> > > dependencies and not transitive dependencies.
> > > 
> > > I think it makes sense to try newer versions and to add older
> > > versions
> > > on an as-needed basis, especially since some of these packages
> > > are
> > > likely to be upgraded again at some point before the next version
> > > of
> > > octoprint.
> > > 
> > > ¹ https://github.com/OctoPrint/OctoPrint/blob/1.7.0/setup.py#L17
> > > 
> > 
> > This is my report for the updates:
> > 
> > I updated python-colorlog, python-zeroconf, python-watchdog and
> > python-
> > wrapt to latest versions.
> > 
> > The update on python-zeroconf will likely break pulseaudio-dlna
> > which
> > depends on python2-zeroconf. Upstream also abandoned the project
> > and it
> > now lives in a fork that can be found here¹. Packaging the fork
> > will
> > require packaging python-pyroute2 which seems to lead to another
> > chain
> > of new packages.
> > 
> > Updating Flask to version 2.0 will require updates on python-
> > itsdangerous, python-werkzeug and python-jinja2, which would have
> > to
> > rebuild 600+ packages.
> 
> That's a pretty good reason to leave flask at 1.x. When we do add 2.x
> we
> might also end up keeping a python-flask-1 for a while during a
> transition.
> 
> > I tried to update python-websockets-client to latest version but
> > the
> > tests hung and I couldn't figure out why.
> > 
> > I'll send a v2 soon.
> > 
> > ¹ https://github.com/Cygn/pulseaudio-dlna/
> 
> My concern was more about if the newer versions of the python
> packages
> would work with octoprint.
> 

I don't have a printer to test but the unit tests are still passing and
the server log messages didn't accuse anything different. The only
update that may cause a problem is python-zeroconf, but I don't know
how to test that one.





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

* [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers).
  2021-11-14 14:07       ` Vinicius Monego
@ 2021-11-14 14:30         ` Efraim Flashner
  0 siblings, 0 replies; 114+ messages in thread
From: Efraim Flashner @ 2021-11-14 14:30 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 51314

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

On Sun, Nov 14, 2021 at 02:07:04PM +0000, Vinicius Monego wrote:
> Em dom, 2021-11-14 às 10:44 +0200, Efraim Flashner escreveu:
> > On Sat, Nov 13, 2021 at 07:44:53PM +0000, Vinicius Monego wrote:
> > > Em seg, 2021-11-08 às 22:38 +0200, Efraim Flashner escreveu:
> > > > On Thu, Oct 21, 2021 at 03:51:00AM +0000, Vinicius Monego wrote:
> > > > > This patchset adds the Octoprint web UI to control 3d printers.
> > > > > 
> > > > > Octoprint itself bundles font-awesome. I removed it in a
> > > > > snippet,
> > > > > don't know how much it would affect usability. I haven't found
> > > > > other bundles with license issues.
> > > > > 
> > > > > Some of the updates have newer versions but I'm updating to
> > > > > "older"
> > > > > versions to maintain compatibility with octoprint. See the
> > > > > comment
> > > > > in the octoprint package.
> > > > 
> > > > Looking at some of the comments here¹ it looks like they're using
> > > > old
> > > > versions mostly to retain python2 compatibility. On the other
> > > > hand
> > > > they
> > > > also have a comment about not having checked newer versions yet
> > > > for
> > > > for
> > > > breaking changes, which IMO is their job. Other than flask-login
> > > > and
> > > > netaddr I don't see a reason to not try with some of the newer
> > > > versions
> > > > of the packages. I would feel better if they only marked their
> > > > own
> > > > dependencies and not transitive dependencies.
> > > > 
> > > > I think it makes sense to try newer versions and to add older
> > > > versions
> > > > on an as-needed basis, especially since some of these packages
> > > > are
> > > > likely to be upgraded again at some point before the next version
> > > > of
> > > > octoprint.
> > > > 
> > > > ¹ https://github.com/OctoPrint/OctoPrint/blob/1.7.0/setup.py#L17
> > > > 
> > > 
> > > This is my report for the updates:
> > > 
> > > I updated python-colorlog, python-zeroconf, python-watchdog and
> > > python-
> > > wrapt to latest versions.
> > > 
> > > The update on python-zeroconf will likely break pulseaudio-dlna
> > > which
> > > depends on python2-zeroconf. Upstream also abandoned the project
> > > and it
> > > now lives in a fork that can be found here¹. Packaging the fork
> > > will
> > > require packaging python-pyroute2 which seems to lead to another
> > > chain
> > > of new packages.
> > > 
> > > Updating Flask to version 2.0 will require updates on python-
> > > itsdangerous, python-werkzeug and python-jinja2, which would have
> > > to
> > > rebuild 600+ packages.
> > 
> > That's a pretty good reason to leave flask at 1.x. When we do add 2.x
> > we
> > might also end up keeping a python-flask-1 for a while during a
> > transition.
> > 
> > > I tried to update python-websockets-client to latest version but
> > > the
> > > tests hung and I couldn't figure out why.
> > > 
> > > I'll send a v2 soon.
> > > 
> > > ¹ https://github.com/Cygn/pulseaudio-dlna/
> > 
> > My concern was more about if the newer versions of the python
> > packages
> > would work with octoprint.
> > 
> 
> I don't have a printer to test but the unit tests are still passing and
> the server log messages didn't accuse anything different. The only
> update that may cause a problem is python-zeroconf, but I don't know
> how to test that one.

So it's probably fine to leave that one as-is for now.

-- 
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] 114+ messages in thread

* [bug#51314] [PATCH v3 00/21] Add Octoprint (v3)
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
                   ` (3 preceding siblings ...)
  2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
@ 2021-12-27 23:30 ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge Vinicius Monego
                     ` (21 more replies)
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
  2022-12-10 12:24 ` [bug#51314] Test patches on Prusa i3 MK3S phodina via Guix-patches via
  6 siblings, 22 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

This is an update of the series after the core-updates-frozen merge. All packages are linted. The feedparser and flask updates were removed because they were pushed in other patches.

A few package versions were bumped. The server and UI seem to work, but still I can't test the full functionality of the program.

Vinicius Monego (21):
  gnu: Add python-sarge.
  gnu: Add python-pylru.
  gnu: Add python-pyscss.
  gnu: Add python-flask-assets.
  gnu: Add python-zipstream-new.
  gnu: Add python-executing.
  gnu: Add python-sentry-sdk.
  gnu: Add python-pytest-doctest-custom.
  gnu: python-feedparser: Enable tests.
  gnu: python-netifaces: Update to 0.11.0.
  gnu: python-websocket-client: Update to 0.59.0.
  gnu: python-pkginfo: Update to 1.8.2.
  gnu: python-watchdog: Update to 2.1.6.
  gnu: python-colorlog: Update to 6.6.0.
  gnu: python-zeroconf: Update to 0.38.1.
  gnu: python-wrapt: Update to 1.13.3.
  gnu: python-wrapt: Enable tests.
  gnu: Add octoprint-pisupport.
  gnu: Add octoprint-firmwarecheck.
  gnu: Add octoprint-filecheck.
  gnu: Add octoprint.

 gnu/packages/printers.scm     | 194 +++++++++++++++++++++-
 gnu/packages/python-check.scm |  29 ++++
 gnu/packages/python-web.scm   |  76 ++++++++-
 gnu/packages/python-xyz.scm   | 304 ++++++++++++++++++++++++++--------
 gnu/packages/web.scm          |  17 +-
 5 files changed, 542 insertions(+), 78 deletions(-)


base-commit: 28b477cb2e5d9185da16f305caff15809dfa06f3
-- 
2.30.2





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

* [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru Vinicius Monego
                     ` (20 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7ca0b1668d..499ef1e06d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9836,6 +9836,23 @@ entire set of Emoji codes as defined by the Unicode Consortium is supported in
 addition to a bunch of aliases.")
     (license license:bsd-3)))
 
+(define-public python-sarge
+  (package
+    (name "python-sarge")
+    (version "0.1.7.post1") ; post release only to correct errors in metadata
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sarge" version))
+       (sha256
+        (base32 "0g9a53mfnp96877n1yq2jdk1mcv3xm0d93iisvgcn2prdsp45zv4"))))
+    (build-system python-build-system)
+    (home-page "https://docs.red-dove.com/sarge/")
+    (synopsis "Subprocess wrapper with command pipeline functionality")
+    (description "@code{sarge} is a wrapper for subprocess which provides
+command pipeline functionality.")
+    (license license:bsd-3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking

base-commit: 28b477cb2e5d9185da16f305caff15809dfa06f3
-- 
2.30.2





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

* [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss Vinicius Monego
                     ` (19 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 499ef1e06d..937e5c3399 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11257,6 +11257,35 @@ signature of a file or buffer.")
 provides a collection of cache libraries in the same API interface.")
     (license license:bsd-3)))
 
+(define-public python-pylru
+  (package
+    (name "python-pylru")
+    (version "1.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pylru" version))
+       (sha256
+        (base32 "15yj46307sw703vjfkgnr04dqvaicmfcj0hc6yrciildp55r6bs9"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test.py")))))))
+    (home-page "https://github.com/jlhutch/pylru")
+    (synopsis "Least recently used (LRU) cache implementation")
+    (description
+     "Pylru implements a true LRU cache along with several support classes.
+Pylru provides a cache class with a simple dict interface.  It also provides
+classes to wrap any object that has a dict interface with a cache.  Both
+write-through and write-back semantics are supported.  Pylru also provides
+classes to wrap functions in a similar way, including a function decorator.")
+    (license license:gpl2+)))
+
 (define-public python-legacy-api-wrap
   (package
     (name "python-legacy-api-wrap")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets Vinicius Monego
                     ` (18 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-pyscss): New variable.
---
 gnu/packages/python-web.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 61a34bfc63..13504061ca 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -82,6 +82,7 @@
   #:use-module (gnu packages libevent)
   #:use-module (gnu packages libffi)
   #:use-module (gnu packages node)
+  #:use-module (gnu packages pcre)
   #:use-module (gnu packages pkg-config)
   #:use-module (gnu packages python)
   #:use-module (gnu packages python-build)
@@ -775,6 +776,40 @@ JSON Web Algorithms (JWA) - collectively can be used to encrypt and/or sign
 content using a variety of algorithms.")
     (license license:expat)))
 
+(define-public python-pyscss
+  (package
+    (name "python-pyscss")
+    (version "1.3.7")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/Kronuz/pyScss")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0701hziiiw67blafgpmjhzspmrss8mfvif7fw0rs8fikddwwc9g6"))))
+    (build-system python-build-system)
+    (arguments
+     ;; XXX: error in test collection, possible incompatibility with Pytest 6.
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "scss")))))))
+    (native-inputs
+     (list python-pytest python-pytest-cov))
+    (inputs
+     (list pcre))
+    (home-page "https://github.com/Kronuz/pyScss")
+    (synopsis "Scss compiler for Python")
+    (description "@code{pyScss} is a compiler for Sass, a superset language of
+CSS3 that adds programming capabilities and some other syntactic sugar.")
+    (license license:expat)))
+
 (define-public python-jsonpickle
   (package
     (name "python-jsonpickle")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (2 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new Vinicius Monego
                     ` (17 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-assets): New variable.
---
 gnu/packages/python-web.scm | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 13504061ca..39cdbafc73 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -1027,6 +1027,28 @@ between a web browser and web server.")
 (define-public python2-sockjs-tornado
   (package-with-python2 python-sockjs-tornado))
 
+(define-public python-flask-assets
+  (package
+    (name "python-flask-assets")
+    (version "2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "Flask-Assets" version))
+       (sha256
+        (base32 "1hmqldxc7zciksmcl35jx0wbyrrxc7vk2a57mmmd8i07whsymz8x"))))
+    (build-system python-build-system)
+    (arguments
+     ;; Tests require python-flask-script which is incompatible with Flask2.
+     `(#:tests? #f))
+    (propagated-inputs
+     (list python-flask python-webassets))
+    (home-page "https://github.com/miracle2k/flask-assets")
+    (synopsis "Asset management for Flask")
+    (description "This package integrates @code{webassets} with Flask, adding
+support for merging, minifying and compiling CSS and Javascript files.")
+    (license license:bsd-2)))
+
 (define-public python-flask-babel
   (package
     (name "python-flask-babel")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (3 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 06/21] gnu: Add python-executing Vinicius Monego
                     ` (16 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zipstream-new): New variable.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 937e5c3399..669332a5c6 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9853,6 +9853,33 @@ addition to a bunch of aliases.")
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-zipstream-new
+  (package
+    (name "python-zipstream-new")
+    (version "1.1.8")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/arjan-s/python-zipstream")
+             (commit (string-append "v" version))))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv"))))
+    (build-system python-build-system)
+    (native-inputs
+     (list python-nose))
+    (home-page "https://github.com/arjan-s/python-zipstream")
+    (synopsis "Zipfile generator that takes input files as well as streams")
+    (description "@code{zipstream.py} is a zip archive generator based on
+@code{zipfile.py}.  It was created to generate a zip file generator for
+streaming.  This is beneficial for when you want to provide a downloadable
+archive of a large collection of regular files, which would be infeasible
+to generate the archive prior to downloading or of a very large file that
+you do not want to store entirely on disk or on memory.")
+    ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
+    (license license:gpl3)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH v3 06/21] gnu: Add python-executing.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (4 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk Vinicius Monego
                     ` (15 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 669332a5c6..4e3a5aedb5 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -7146,6 +7146,27 @@ buffer transformation, compression, and decompression functions for use in the
 tifffile, czifile, and other scientific image input/output modules.")
     (license license:bsd-3)))
 
+(define-public python-executing
+  (package
+    (name "python-executing")
+    (version "0.8.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "executing" version))
+       (sha256
+        (base32 "08q0xh9fd8k41sqpp23q6fb9bf7yj4y2q6sv30pj36vvk8pg8fy2"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f))                    ; TODO: tests require python-asttokens
+    (native-inputs
+     (list python-setuptools-scm python-toml))
+    (home-page "https://github.com/alexmojaki/executing")
+    (synopsis "Get information about what a Python frame is currently doing")
+    (description "This package lets you get information about what a frame is
+currently doing, particularly the AST node being executed.")
+    (license license:expat)))
+
 (define-public python-roifile
   (package
     (name "python-roifile")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (5 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 06/21] gnu: Add python-executing Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom Vinicius Monego
                     ` (14 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-sentry-sdk): New variable.
---
 gnu/packages/python-xyz.scm | 63 +++++++++++++++++++++++++++++++++++++
 1 file changed, 63 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4e3a5aedb5..1cb6383aa7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9901,6 +9901,69 @@ you do not want to store entirely on disk or on memory.")
     ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
     (license license:gpl3)))
 
+(define-public python-sentry-sdk
+  (package
+    (name "python-sentry-sdk")
+    (version "1.5.1")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/getsentry/sentry-python")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "128bm136l5zprr3sqqb8j3d6k5i1fhz853mzvh3w8g0w1dw763mx"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; This test requires extra dependencies.
+                        "not test_auto_enabling_integrations"
+                        "_catches_import_error"
+                        ;; Tests below run pip command.
+                        " and not test_unhandled_exception"
+                        " and not test_timeout_error"
+                        " and not test_performance_no_error"
+                        " and not test_performance_error"
+                        " and not test_traces_sampler_gets_correct"
+                        "_values_in_sampling_context"
+                        " and not test_handled_exception"
+                        ;; Tests below require network.
+                        " and not test_crumb_capture"
+                        " and not test_crumb_capture"
+                        " and not test_crumb_capture_hint"
+                        " and not test_httplib_misuse"
+                        ;; Fails with IndexError.
+                        " and not test_session_mode_defaults_to"
+                        "_request_mode_in_wsgi_handler"))))))))
+    (native-inputs
+     (list python-django
+           python-executing
+           python-gevent
+           python-jsonschema
+           python-mock
+           python-pyrsistent
+           python-pytest
+           python-pytest-cov
+           python-pytest-django
+           python-pytest-forked
+           python-pytest-localserver
+           python-werkzeug))
+    (propagated-inputs
+     (list python-certifi python-urllib3))
+    (home-page "https://github.com/getsentry/sentry-python")
+    (synopsis "Python SDK for Sentry")
+    (description "This package provides a Python SDK for the Sentry
+application monitoring and error tracking software.")
+    (license license:bsd-2)))
+
 (define-public python-pep8
   ;; This package has been renamed to ‘pycodestyle’ and is no longer updated.
   ;; Its last release (1.7.1) adds only a scary warning to this effect, breaking
-- 
2.30.2





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

* [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (6 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests Vinicius Monego
                     ` (13 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-check.scm (python-pytest-doctest-custom): New variable.
---
 gnu/packages/python-check.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index a2ac9a201b..8e84c64d65 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -776,6 +776,35 @@ support and @code{subtests} fixture.")
        "Plugin for managing VCR.py cassettes.")
       (license license:expat))))
 
+(define-public python-pytest-doctest-custom
+  (package
+    (name "python-pytest-doctest-custom")
+    (version "1.0.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pytest-doctest-custom" version))
+       (sha256
+        (base32 "0kxkdd6q9c3h31kc88lbyfll4c45b0zjd24cbr4c083fcvcy7lip"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "test_pytest_doctest_custom.py")))))))
+    (native-inputs
+     (list python-pytest))
+    (home-page "https://github.com/danilobellini/pytest-doctest-custom")
+    (synopsis
+     "Pytest plugin to customize string representations of doctest results")
+    (description "This package provides a Pytest plugin for customizing string
+representations of doctest results.  It can change the display hook used by
+doctest to render the object representations.")
+    (license license:expat)))
+
 (define-public python-pytest-checkdocs
   (package
     (name "python-pytest-checkdocs")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (7 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
                     ` (12 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/web.scm (python-feedparser)[source]: Make some cosmetic
changes.
[arguments]: Remove #:tests?. Override 'check phase.
[home-page]: Don't break line.
---
 gnu/packages/web.scm | 17 +++++++++++------
 1 file changed, 11 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 1c8e4a64a1..045b6408cf 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -54,6 +54,7 @@
 ;;; Copyright © 2021 Jack Hill <jackhill@jackhill.us>
 ;;; Copyright © 2021 Guillaume Le Vaillant <glv@posteo.net>
 ;;; Copyright © 2021 Denis 'GNUtoo' Carikli <GNUtoo@cyberdimension.org>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4621,20 +4622,24 @@ their web site.")
        (method url-fetch)
        (uri (pypi-uri "feedparser" version ".tar.gz"))
        (sha256
-        (base32
-         "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
+        (base32 "0qcnkyjjfj5gg5rhd1j4zzlqx5h34bma18zwgj68q95b0l543q2w"))))
     (build-system python-build-system)
     (propagated-inputs
      (list python-sgmllib3k))
     (arguments
-     '(#:tests? #f))
-    (home-page
-     "https://github.com/kurtmckee/feedparser")
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "tests/runtests.py")))))))
+    (home-page "https://github.com/kurtmckee/feedparser")
     (synopsis "Parse feeds in Python")
     (description
      "Universal feed parser which handles RSS 0.9x, RSS 1.0, RSS 2.0,
 CDF, Atom 0.3, and Atom 1.0 feeds.")
-    (license (list license:bsd-2 ; source code
+    (license (list license:bsd-2           ; source code
                    license:freebsd-doc)))) ; documentation
 
 (define-public python2-feedparser
-- 
2.30.2





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

* [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (8 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
                     ` (11 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-netifaces): Update to 0.11.0.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 1cb6383aa7..4d4f606f9e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9153,14 +9153,14 @@ some are not yet implemented).")
 (define-public python-netifaces
   (package
     (name "python-netifaces")
-    (version "0.10.9")
+    (version "0.11.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "netifaces" version))
         (sha256
           (base32
-            "1wxby874kcr3pp4ygzk5aiarbzhg1yi093d56s1qg4k2s7yrzvid"))))
+            "0cnajf5rl4w1sa72j921scbigr6zndig56cq8ggpx45jdqa7jfh4"))))
     (build-system python-build-system)
     (home-page "https://github.com/al45tair/netifaces")
     (synopsis
-- 
2.30.2





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

* [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (9 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2 Vinicius Monego
                     ` (10 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-websocket-client): Update to 0.59.0.
[source]: Update PyPI URI. Make some cosmetic changes.
[arguments]<#:phases>: Add phase 'skip-network-test.
[native-inputs]: Add python-pysocks.
[home-page]: Follow redirect.
---
 gnu/packages/python-web.scm | 19 ++++++++++++++-----
 1 file changed, 14 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 39cdbafc73..8cfc4b4cb4 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2413,18 +2413,27 @@ verification of the SSL peer.")
 (define-public python-websocket-client
   (package
     (name "python-websocket-client")
-    (version "0.54.0")
+    (version "0.59.0")                  ; tests hang on newer versions
     (source
      (origin
        (method url-fetch)
-       (uri (pypi-uri "websocket_client" version))
+       (uri (pypi-uri "websocket-client" version))
        (sha256
-        (base32
-         "0j88zmikaypf38lvpkf4aaxrjp9j07dmy5ghj7kli0fv3p4n45g5"))))
+        (base32 "0p0cz2mdissq7iw1n7jrmsfir0jfmgs1dvnpnrx477ffx9hbsxnk"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'skip-network-test
+           (lambda _
+             ;; This test requires networking.
+             (substitute* "websocket/tests/test_http.py"
+               (("def testConnect") "def _testConnect")))))))
+    (native-inputs
+     (list python-pysocks))
     (propagated-inputs
      (list python-six))
-    (home-page "https://github.com/liris/websocket-client")
+    (home-page "https://github.com/websocket-client/websocket-client")
     (synopsis "WebSocket client for Python")
     (description "The Websocket-client module provides the low level APIs for
 WebSocket usage in Python programs.")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (10 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6 Vinicius Monego
                     ` (9 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-pkginfo): Update to 1.8.2.
[source]: Make some cosmetic changes.
[arguments]<#:phases>: Don't return #t.
[native-inputs]: Add python-wheel.
[home-page]: Don't break line.
[synopsis]: Don't break line.
[description]: Fix indentation.
---
 gnu/packages/python-xyz.scm | 26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 4d4f606f9e..d1a485e907 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19828,14 +19828,13 @@ design and layout.")
 (define-public python-pkginfo
   (package
     (name "python-pkginfo")
-    (version "1.7.0")
+    (version "1.8.2")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "pkginfo" version))
-        (sha256
-          (base32
-            "1d1xn1xmfvz0jr3pj8irdwnwby3r13g0r2gwklr1q5y68p5p16h2"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "pkginfo" version))
+       (sha256
+        (base32 "1zrbn2gblb1q1rx0jlbd0vc9h1dm1bj0760p40ff5qjhcw5hsbjl"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -19844,14 +19843,13 @@ design and layout.")
            (lambda _
              (substitute* "pkginfo/tests/test_installed.py"
                (("test_ctor_w_package_no_PKG_INFO")
-                "_test_ctor_w_package_no_PKG_INFO"))
-             #t)))))
-    (home-page
-      "https://code.launchpad.net/~tseaver/pkginfo/trunk")
-    (synopsis
-      "Query metadatdata from sdists, bdists, and installed packages")
+                "_test_ctor_w_package_no_PKG_INFO")))))))
+    (native-inputs
+     (list python-wheel))
+    (home-page "https://code.launchpad.net/~tseaver/pkginfo/trunk")
+    (synopsis "Query metadatdata from sdists, bdists, and installed packages")
     (description
-      "API to query the distutils metadata written in @file{PKG-INFO} inside a
+     "API to query the distutils metadata written in @file{PKG-INFO} inside a
 source distriubtion (an sdist) or a binary distribution (e.g., created by
 running bdist_egg).  It can also query the EGG-INFO directory of an installed
 distribution, and the *.egg-info stored in a \"development checkout\" (e.g,
-- 
2.30.2





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

* [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (11 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0 Vinicius Monego
                     ` (8 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-watchdog): Update to 2.1.6.
[source]: Make some cosmetic changes.
[arguments]<#:phases>: Remove 'remove-failing phase. Override 'check phase and
skip a failing test.
---
 gnu/packages/python-xyz.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d1a485e907..8e3657499a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24387,23 +24387,24 @@ files.  These files are used to translate strings in android apps.")
 (define-public python-watchdog
   (package
     (name "python-watchdog")
-    (version "0.9.0")
+    (version "2.1.6")
     (source
-      (origin
-        (method url-fetch)
-        (uri (pypi-uri "watchdog" version))
-        (sha256
-         (base32
-          "07cnvvlpif7a6cg4rav39zq8fxa5pfqawchr46433pij0y6napwn"))))
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "watchdog" version))
+       (sha256
+        (base32 "1rx2nyl0cyj0v4ja795cl3gi26577c5wg48syr3byz3ndkgpavm3"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
        (modify-phases %standard-phases
-         (add-before 'check 'remove-failing
-           (lambda _
-             (delete-file "tests/test_inotify_buffer.py")
-             (delete-file "tests/test_snapshot_diff.py")
-             #t)))))
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       ;; This test failed.
+                       "not test_kill_auto_restart")))))))
     (propagated-inputs
      (list python-argh python-pathtools python-pyyaml))
     (native-inputs
-- 
2.30.2





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

* [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (12 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1 Vinicius Monego
                     ` (7 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-colorlog): Update to 6.6.0.
[source]: Make some cosmetic changes.
[arguments]<#:phases>: Simplify custom 'check phase and respect #:tests?.
---
 gnu/packages/python-xyz.scm | 27 +++++++++++++++------------
 1 file changed, 15 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 8e3657499a..e0a61329b2 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -767,21 +767,24 @@ implementation for the Telegram Bot API.")
 (define-public python-colorlog
   (package
     (name "python-colorlog")
-    (version "4.1.0")
-    (source (origin
-              (method url-fetch)
-              (uri (pypi-uri "colorlog" version))
-              (sha256
-               (base32
-                "1lpk8zmfv8vz090h5d0hzb4n39wgasxdd3x3bpn3v1x1n9dfzaih"))))
+    (version "6.6.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "colorlog" version))
+       (sha256
+        (base32 "1s7x0v872h8aks8xp01wmv6hzisxqjrh1svbbcycir0980h76krl"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest")))))))
     (native-inputs
      (list python-pytest))
-    (arguments
-     `(#:phases (modify-phases %standard-phases
-                  (replace 'check
-                    (lambda _
-                      (invoke "pytest" "-p" "no:logging"))))))
     (home-page "https://github.com/borntyping/python-colorlog")
     (synopsis "Log formatting with colors for python")
     (description "The @code{colorlog.ColoredFormatter} is a formatter for use
-- 
2.30.2





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

* [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (13 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 16/21] gnu: python-wrapt: Update to 1.13.3 Vinicius Monego
                     ` (6 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zeroconf): Update to 0.38.1.
[source]: Fetch from GitHub.
[native-inputs]: Remove python-nose. Add python-pytest.
[arguments]<#:phases>: Adjust custom 'check phase to use Pytest.
[description]: Don't break line.
---
 gnu/packages/python-xyz.scm | 42 +++++++++++++++++++++----------------
 1 file changed, 24 insertions(+), 18 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e0a61329b2..b7f1e54aca 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -23300,34 +23300,40 @@ enumeration library in Python.")
 (define-public python-zeroconf
   (package
     (name "python-zeroconf")
-    (version "0.28.8")
+    (version "0.38.1")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "zeroconf" version))
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/jstasiak/python-zeroconf")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0narq8haa3b375vfblbyil77n8bw0wxqnanl91pl0wwwm884mqjb"))))
+        (base32 "1p1a0ywlg5sq0ilcphmz9h4kayscz0q1lyfk57j7mwxyx4gl9cpi"))))
     (build-system python-build-system)
-    (native-inputs
-     (list python-nose))
-    (propagated-inputs
-     (list python-ifaddr))
     (arguments
      `(#:phases
        (modify-phases %standard-phases
          (replace 'check
-           (lambda _ ;; Networking isn't available for these tests.
-             (invoke "nosetests" "-v"
-                     "--exclude" "test_integration_with_listener_ipv6"
-                     "--exclude" "test_launch_and_close_v6_only"
-                     "--exclude" "test_launch_and_close_v4_v6"
-                     "--exclude" "test_launch_and_close"))))))
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "-k"
+                       (string-append
+                        ;; Networking isn't available for these tests.
+                        "not test_integration_with_listener_ipv6"
+                        " and not test_launch_and_close_v4_v6"
+                        " and not test_launch_and_close_context_manager"
+                        " and not test_launch_and_close"
+                        " and not test_close_multiple_times"))))))))
+    (native-inputs
+     (list python-pytest))
+    (propagated-inputs
+     (list python-ifaddr))
     (home-page "https://github.com/jstasiak/python-zeroconf")
     (synopsis "Pure Python mDNS service discovery")
-    (description
-     "Pure Python multicast DNS (mDNS) service discovery library (Bonjour/Avahi
-compatible).")
+    (description "Pure Python multicast DNS (mDNS) service discovery library
+(Bonjour/Avahi compatible).")
     (license license:lgpl2.1+)))
 
 (define-public python2-zeroconf
-- 
2.30.2





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

* [bug#51314] [PATCH v3 16/21] gnu: python-wrapt: Update to 1.13.3.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (14 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 17/21] gnu: python-wrapt: Enable tests Vinicius Monego
                     ` (5 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt): Update to 1.13.3.
[source]: Make some cosmetic changes.
---
 gnu/packages/python-xyz.scm | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b7f1e54aca..b9f555a11b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10881,14 +10881,13 @@ Supported netlink families and protocols include:
 (define-public python-wrapt
   (package
     (name "python-wrapt")
-    (version "1.11.2")
+    (version "1.13.3")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "wrapt" version))
        (sha256
-        (base32
-         "1q81762dgsgrd12f8qc39zk8s5wll3m5xc32jdmlf6cls4gh4njn"))))
+        (base32 "11f13zqgbql26g5bkfkqalckcdlz394g6dhx4y16cvk873a9rshz"))))
     (build-system python-build-system)
     (arguments
      ;; Tests are not included in the tarball, they are only available in the
-- 
2.30.2





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

* [bug#51314] [PATCH v3 17/21] gnu: python-wrapt: Enable tests.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (15 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 16/21] gnu: python-wrapt: Update to 1.13.3 Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport Vinicius Monego
                     ` (4 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt)[source]: Fetch from GitHub.
[arguments]: Remove #:tests?. Override 'check phase.
---
 gnu/packages/python-xyz.scm | 20 ++++++++++++++------
 1 file changed, 14 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b9f555a11b..2ddbfa14b7 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10884,15 +10884,23 @@ Supported netlink families and protocols include:
     (version "1.13.3")
     (source
      (origin
-       (method url-fetch)
-       (uri (pypi-uri "wrapt" version))
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/GrahamDumpleton/wrapt")
+             (commit version)))
+       (file-name (git-file-name name version))
        (sha256
-        (base32 "11f13zqgbql26g5bkfkqalckcdlz394g6dhx4y16cvk873a9rshz"))))
+        (base32 "05d7xs6rvaw9gpcvsvk7ckxiax1nrxcpv41vrqkkl7zq967d9bcj"))))
     (build-system python-build-system)
     (arguments
-     ;; Tests are not included in the tarball, they are only available in the
-     ;; git repository.
-     `(#:tests? #f))
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "unittest" "discover"
+                       "-s" "tests")))))))
     (home-page "https://github.com/GrahamDumpleton/wrapt")
     (synopsis "Module for decorators, wrappers and monkey patching")
     (description
-- 
2.30.2





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

* [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (16 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 17/21] gnu: python-wrapt: Enable tests Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck Vinicius Monego
                     ` (3 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-pisupport): New variable.
---
 gnu/packages/printers.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index f78923966c..308bcb6e25 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2021 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19,8 +20,10 @@
 
 (define-module (gnu packages printers)
   #:use-module (guix packages)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
@@ -29,6 +32,32 @@
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
 
+(define-public octoprint-pisupport
+  (package
+    (name "octoprint-pisupport")
+    (version "2021.10.28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-PiSupport" version))
+       (sha256
+        (base32 "05g79hb0x8bpk4qk9h6dibl0pnlsvbnmn8jx64z4dx8hdfad3rwf"))))
+    (build-system python-build-system)
+    (arguments
+     ;; No tests in PyPI release, and circular dependency on Octoprint.
+     `(#:tests? #f
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (propagated-inputs
+     (list python-flask))
+    (home-page "https://github.com/OctoPrint/OctoPrint-PiSupport")
+    (synopsis "Plugin to provide additional information about your Pi")
+    (description "The Pi Support plugin provides additional information about
+your Pi in the UI and also alerts you about undervoltage or overheating issues
+observed on your Pi or if your Pi is unsupported.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (17 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 20/21] gnu: Add octoprint-filecheck Vinicius Monego
                     ` (2 subsequent siblings)
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-firmwarecheck): New variable.
---
 gnu/packages/printers.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 308bcb6e25..c265a1d8e8 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -27,7 +27,8 @@
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages python-web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -58,6 +59,33 @@ your Pi in the UI and also alerts you about undervoltage or overheating issues
 observed on your Pi or if your Pi is unsupported.")
     (license license:agpl3)))
 
+(define-public octoprint-firmwarecheck
+  (package
+    (name "octoprint-firmwarecheck")
+    (version "2021.10.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FirmwareCheck" version))
+       (sha256
+        (base32 "17prs0rmzglw75gkf6j7qypxisjvcfk2mbsyfqrjdbwg99i62s2h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f  ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check)))) ; checks for Octoprint
+    (propagated-inputs
+     (list python-flask))
+    (home-page "https://github.com/OctoPrint/OctoPrint-FirmwareCheck")
+    (synopsis "Plugin to check for unsafe or broken printer firmwares")
+    (description "The Firmware Check plugin tries to identify printers
+or rather printer firmware with known safety issues, such as disabled
+thermal runaway protection, or other kinds of severe issues, like known
+communication crippling bugs, and displays a warning box to logged in users
+on identification of such a firmware.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 20/21] gnu: Add octoprint-filecheck.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (18 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 21/21] gnu: Add octoprint Vinicius Monego
  2022-01-07 21:02   ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Nicolas Goaziou
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-filecheck): New variable.
---
 gnu/packages/printers.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index c265a1d8e8..546a808452 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -86,6 +86,29 @@ communication crippling bugs, and displays a warning box to logged in users
 on identification of such a firmware.")
     (license license:agpl3)))
 
+(define-public octoprint-filecheck
+  (package
+    (name "octoprint-filecheck")
+    (version "2021.2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FileCheck" version))
+       (sha256
+        (base32 "0bgvv6hvxa9qv0fs5dfr9wlbbjawxik8f2cid3h3czdhdhw46aqv"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (home-page "https://github.com/OctoPrint/OctoPrint-FileCheck")
+    (synopsis "Plugin to check for common issues in uploaded files")
+    (description "The File Check plugin tries to detect common issues in
+uploaded files that are known to cause issues while printing and which in
+the past have caused support requests on OctoPrint's Community Forums.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 21/21] gnu: Add octoprint.
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (19 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 20/21] gnu: Add octoprint-filecheck Vinicius Monego
@ 2021-12-27 23:30   ` Vinicius Monego
  2022-01-07 21:02   ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Nicolas Goaziou
  21 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2021-12-27 23:30 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint): New variable.
---
 gnu/packages/printers.scm | 114 +++++++++++++++++++++++++++++++++++++-
 1 file changed, 113 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 546a808452..cea7f4e6e9 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -25,10 +25,15 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
-  #:use-module (gnu packages python-web))
+  #:use-module (gnu packages web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -109,6 +114,113 @@ uploaded files that are known to cause issues while printing and which in
 the past have caused support requests on OctoPrint's Community Forums.")
     (license license:agpl3)))
 
+(define-public octoprint
+  (package
+    (name "octoprint")
+    (version "1.7.2")
+    (source
+     (origin
+       (method git-fetch) ; no tests in the PyPI tarball.
+       (uri (git-reference
+             (url "https://github.com/OctoPrint/OctoPrint")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0zvjnbcmszifvr02rsmfzb5v24f1ss8klrnkd9fcg2351nkpqbbd"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Remove bundled font-awesome.
+           (delete-file-recursively "src/octoprint/static/vendor") #t))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-after 'unpack 'relax-version-requirements
+           ;; Octoprint maintains strict version requirements for Python2
+           ;; compatibility.  We're not packaging with Python2, so modify
+           ;; setup.py to relax those versions.  Octoprint will drop Python2
+           ;; support in version 2.0 so we won't need this change after it.
+           (lambda _
+             (substitute* "setup.py"
+               (("cachelib>=0.1,<0.2") "cachelib>=0.1")
+               (("colorlog>=5.0.1,<6") "colorlog>=5.0.1")
+               (("flask>=1.1.4,<2") "flask>=1.1.4")
+               (("itsdangerous>=1.1.0,<2") "itsdangerous>=1.1.0")
+               (("Jinja2>=2.11.3,<3") "Jinja2>=2.11.3")
+               (("markdown>=3.1,<3.2") "markdown>=3.1,<4")
+               (("markupsafe>=1.1,<2.0") "markupsafe>=1.1")
+               (("sarge==0.1.6") "sarge>=0.1.6")
+               (("watchdog==0.10.4") "watchdog>=0.10.4")
+               (("werkzeug>=1.0.1,<2") "werkzeug>=1.0.1")
+               (("wrapt>=1.12.1,<1.13") "wrapt>=1.12.1")
+               (("zeroconf>=0.33,<0.34") "zeroconf>=0.33"))))
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))) ; some tests need a writable home
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "tests" "-k"
+                       (string-append
+                        ;; These tests try to write to the source tree and
+                        ;; fail with PermissionError.
+                        "not test_add_file_overwrite"
+                        " and not test_set_external_modification"))))))))
+    (native-inputs
+     (list python-ddt python-mock python-pytest python-pytest-doctest-custom))
+    (inputs
+     (list octoprint-filecheck
+           octoprint-firmwarecheck
+           octoprint-pisupport
+           python-appdirs
+           python-blinker
+           python-cachelib
+           python-click
+           python-colorlog
+           python-emoji
+           python-feedparser
+           python-filetype
+           python-flask
+           python-flask-assets
+           python-flask-babel
+           python-flask-login
+           python-future
+           python-immutabledict
+           python-itsdangerous
+           python-jinja2
+           python-markdown
+           python-markupsafe
+           python-netaddr
+           python-netifaces
+           python-pathvalidate
+           python-pkginfo
+           python-psutil
+           python-pylru
+           python-pyserial
+           python-pyyaml
+           python-regex
+           python-requests
+           python-sarge
+           python-semantic-version
+           python-sentry-sdk
+           python-tornado-6
+           python-unidecode
+           python-watchdog
+           python-websocket-client
+           python-werkzeug
+           python-wrapt
+           python-zeroconf
+           python-zipstream-new))
+    (home-page "https://octoprint.org")
+    (synopsis "Web interface for 3D printers")
+    (description "OctoPrint provides a snappy web interface for controlling
+consumer 3D printers.")
+    ;; The web interface contains many third party JavaScript libraries under
+    ;; different licenses.  Check THIRDPARTYLICENSES.md.
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.30.2





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

* [bug#51314] [PATCH v3 00/21] Add Octoprint (v3)
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
                     ` (20 preceding siblings ...)
  2021-12-27 23:30   ` [bug#51314] [PATCH v3 21/21] gnu: Add octoprint Vinicius Monego
@ 2022-01-07 21:02   ` Nicolas Goaziou
  2022-01-08  5:41     ` Vinicius Monego
  21 siblings, 1 reply; 114+ messages in thread
From: Nicolas Goaziou @ 2022-01-07 21:02 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 51314

Hello,

Vinicius Monego <monego@posteo.net> writes:

> This is an update of the series after the core-updates-frozen merge. All packages are linted. The feedparser and flask updates were removed because they were pushed in other patches.
>
> A few package versions were bumped. The server and UI seem to work,
> but still I can't test the full functionality of the program.

Thank you.

However this patchset cannot be applied on master branch because
updating python-wrapt entails rebuilding 300+ Python packages.

Could you rebase it on staging branch and send it again?

Regards,
-- 
Nicolas Goaziou




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

* [bug#51314] [PATCH v3 00/21] Add Octoprint (v3)
  2022-01-07 21:02   ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Nicolas Goaziou
@ 2022-01-08  5:41     ` Vinicius Monego
  2022-01-11 17:27       ` Nicolas Goaziou
  0 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-01-08  5:41 UTC (permalink / raw)
  To: Nicolas Goaziou; +Cc: 51314

Em sex, 2022-01-07 às 22:02 +0100, Nicolas Goaziou escreveu:
> Hello,
> 
> Vinicius Monego <monego@posteo.net> writes:
> 
> > This is an update of the series after the core-updates-frozen
> > merge. All packages are linted. The feedparser and flask updates
> > were removed because they were pushed in other patches.
> > 
> > A few package versions were bumped. The server and UI seem to work,
> > but still I can't test the full functionality of the program.
> 
> Thank you.
> 
> However this patchset cannot be applied on master branch because
> updating python-wrapt entails rebuilding 300+ Python packages.
> 
> Could you rebase it on staging branch and send it again?
> 
> Regards,

If the problem is just wrapt it can be skipped, then one line has to be
changed in octoprint's 'relax-version-requirements phase. All tests
still pass.

It's strange though, there are many errors in the '$ octoprint serve'
output about plugin files not being found because it's looking for
static files in different paths inside the same store item, and
flask2/jinja3 errors. Upstream only tests in flask 1 so maybe it's not
yet compatible with the flask2 that came with the c-u-f merge. I don't
know how much this affects usability, the server is still operational
and the UI loads. It would be good if someone who uses it daily could
report on how well the package works.

Maybe apply the patches before wrapt and leave this issue open until
the octoprint messages are worked on?





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

* [bug#51314] [PATCH v3 00/21] Add Octoprint (v3)
  2022-01-08  5:41     ` Vinicius Monego
@ 2022-01-11 17:27       ` Nicolas Goaziou
  0 siblings, 0 replies; 114+ messages in thread
From: Nicolas Goaziou @ 2022-01-11 17:27 UTC (permalink / raw)
  To: Vinicius Monego; +Cc: 51314

Hello,

Vinicius Monego <monego@posteo.net> writes:

> It's strange though, there are many errors in the '$ octoprint serve'
> output about plugin files not being found because it's looking for
> static files in different paths inside the same store item, and
> flask2/jinja3 errors. Upstream only tests in flask 1 so maybe it's not
> yet compatible with the flask2 that came with the c-u-f merge. I don't
> know how much this affects usability, the server is still operational
> and the UI loads. It would be good if someone who uses it daily could
> report on how well the package works.

I cannot tell, I don't use this.

> Maybe apply the patches before wrapt and leave this issue open until
> the octoprint messages are worked on?

OK. I applied the patches up to the python-zeroconf update. Thanks!

I let you decide if this bug should be closed and a new one opened.

Regards,
-- 
Nicolas Goaziou




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

* [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers).
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
                   ` (4 preceding siblings ...)
  2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
@ 2022-05-29 18:27 ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 01/14] gnu: python-sentry-sdk: Update to 1.5.12 Vinicius Monego
                     ` (13 more replies)
  2022-12-10 12:24 ` [bug#51314] Test patches on Prusa i3 MK3S phodina via Guix-patches via
  6 siblings, 14 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

Hi Guix.

Octoprint version 1.8 was released 2 weeks ago and it dropped Python 2 support, meaning that the versions of the dependencies were bumped and we can use the versions in Guix.

I still had to add 6 specific versions because even when it builds, Octoprint performs a check during runtime and installs the expected versions with pip.

Vinicius Monego (14):
  gnu: python-sentry-sdk: Update to 1.5.12.
  gnu: python-frozendict: Update to 2.3.2.
  gnu: Remove python-zipstream-new.
  gnu: Add python-zipstream-ng.
  gnu: Add python-zeroconf-0.33.
  gnu: Add python-cachelib-0.2.
  gnu: Add python-wrapt-1.13.
  gnu: Add python-watchdog-1.
  gnu: Add python-sarge-0.1.6.
  gnu: Add python-flask-login-0.5.
  gnu: Add octoprint-pisupport.
  gnu: Add octoprint-firmwarecheck.
  gnu: Add octoprint-filecheck.
  gnu: Add octoprint.

 gnu/packages/printers.scm   | 166 +++++++++++++++++++++++++++++++++++-
 gnu/packages/python-web.scm |  39 +++++++++
 gnu/packages/python-xyz.scm | 116 +++++++++++++++++++------
 3 files changed, 293 insertions(+), 28 deletions(-)

-- 
2.34.1





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

* [bug#51314] [PATCH v4 01/14] gnu: python-sentry-sdk: Update to 1.5.12.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 02/14] gnu: python-frozendict: Update to 2.3.2 Vinicius Monego
                     ` (12 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-sentry-sdk): Update to 1.5.12.
[arguments]<#:phases>: In the custom 'check phase, remove a redundant test and
skip a new failing test.
---
 gnu/packages/python-xyz.scm | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index fe1896efca..ab0a71f0a3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10979,7 +10979,7 @@ (define-public python-zipstream-new
 (define-public python-sentry-sdk
   (package
     (name "python-sentry-sdk")
-    (version "1.5.1")
+    (version "1.5.12")
     (source
      (origin
        (method git-fetch)               ; no tests in PyPI release
@@ -10988,7 +10988,7 @@ (define-public python-sentry-sdk
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "128bm136l5zprr3sqqb8j3d6k5i1fhz853mzvh3w8g0w1dw763mx"))))
+        (base32 "1lbykggyvxlpg4jx2rbnfdad94w8f9c2damz2pw9w6nszdchbkgh"))))
     (build-system python-build-system)
     (arguments
      `(#:phases
@@ -11012,12 +11012,13 @@ (define-public python-sentry-sdk
                         " and not test_handled_exception"
                         ;; Tests below require network.
                         " and not test_crumb_capture"
-                        " and not test_crumb_capture"
                         " and not test_crumb_capture_hint"
                         " and not test_httplib_misuse"
                         ;; Fails with IndexError.
                         " and not test_session_mode_defaults_to"
-                        "_request_mode_in_wsgi_handler"))))))))
+                        "_request_mode_in_wsgi_handler"
+                        " and not test_auto_session_tracking_with"
+                        "_aggregates"))))))))
     (native-inputs
      (list python-django
            python-executing
-- 
2.34.1





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

* [bug#51314] [PATCH v4 02/14] gnu: python-frozendict: Update to 2.3.2.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 01/14] gnu: python-sentry-sdk: Update to 1.5.12 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new Vinicius Monego
                     ` (11 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-frozendict): Update to 2.3.2.
---
 gnu/packages/python-xyz.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ab0a71f0a3..06502fd8f0 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -27166,13 +27166,13 @@ (define-public python-json5
 (define-public python-frozendict
   (package
     (name "python-frozendict")
-    (version "1.2")
+    (version "2.3.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "frozendict" version))
        (sha256
-        (base32 "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp"))))
+        (base32 "03cxl3vdyn9yjwjh044bmz2zxgrsp90jz55l9mqbwgx1y114bb3z"))))
     (build-system python-build-system)
     (home-page "https://github.com/slezica/python-frozendict")
     (synopsis "Simple immutable mapping for Python")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 01/14] gnu: python-sentry-sdk: Update to 1.5.12 Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 02/14] gnu: python-frozendict: Update to 2.3.2 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:35     ` Maxime Devos
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 04/14] gnu: Add python-zipstream-ng Vinicius Monego
                     ` (10 subsequent siblings)
  13 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

This package was apparently abandoned by upstream (last commit in 2020) and
replaced by zipstream-ng, which will be added in the next commit.

* gnu/packages/python-xyz.scm (python-zipstream-new): Remove variable.
---
 gnu/packages/python-xyz.scm | 27 ---------------------------
 1 file changed, 27 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 06502fd8f0..f529bf1216 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10949,33 +10949,6 @@ (define-public python-sarge
 command pipeline functionality.")
     (license license:bsd-3)))
 
-(define-public python-zipstream-new
-  (package
-    (name "python-zipstream-new")
-    (version "1.1.8")
-    (source
-     (origin
-       (method git-fetch)               ; no tests in PyPI release
-       (uri (git-reference
-             (url "https://github.com/arjan-s/python-zipstream")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv"))))
-    (build-system python-build-system)
-    (native-inputs
-     (list python-nose))
-    (home-page "https://github.com/arjan-s/python-zipstream")
-    (synopsis "Zipfile generator that takes input files as well as streams")
-    (description "@code{zipstream.py} is a zip archive generator based on
-@code{zipfile.py}.  It was created to generate a zip file generator for
-streaming.  This is beneficial for when you want to provide a downloadable
-archive of a large collection of regular files, which would be infeasible
-to generate the archive prior to downloading or of a very large file that
-you do not want to store entirely on disk or on memory.")
-    ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
-    (license license:gpl3)))
-
 (define-public python-sentry-sdk
   (package
     (name "python-sentry-sdk")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 04/14] gnu: Add python-zipstream-ng.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (2 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33 Vinicius Monego
                     ` (9 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zipstream-ng): New variable.
---
 gnu/packages/python-xyz.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index f529bf1216..b7ad14d735 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10949,6 +10949,29 @@ (define-public python-sarge
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-zipstream-ng
+  (package
+    (name "python-zipstream-ng")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "zipstream-ng" version))
+       (sha256
+        (base32 "1xzxizz4icdky2mc2yi971h9whmgsdi0m4riqsc7sncbx6p97zk9"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest python-pytest-cov))
+    (home-page "https://github.com/pR0Ps/zipstream-ng")
+    (synopsis "Streamable zip file generator")
+    (description "This package provides a streamable zip file generator.  It
+can package and stream many files and folders on the fly without needing
+temporary files or excessive memory.  It Includes the ability to calculate the
+total size of the stream before any data is actually added (provided no
+compression is used).  This makes it ideal for use in web applications since
+the total size can be used to set the @code{Content-Length} header without
+having to generate the entire file first.")
+    (license license:lgpl3)))
+
 (define-public python-sentry-sdk
   (package
     (name "python-sentry-sdk")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (3 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 04/14] gnu: Add python-zipstream-ng Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 22:00     ` Maxime Devos
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 06/14] gnu: Add python-cachelib-0.2 Vinicius Monego
                     ` (8 subsequent siblings)
  13 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-zeroconf-0.33): New variable.
---
 gnu/packages/python-xyz.scm | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b7ad14d735..16405634ba 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25598,6 +25598,21 @@ (define-public python-zeroconf
 (Bonjour/Avahi compatible).")
     (license license:lgpl2.1+)))
 
+(define-public python-zeroconf-0.33
+  (package
+    (inherit python-zeroconf)
+    (name "python-zeroconf")
+    (version "0.33.4")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/jstasiak/python-zeroconf")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01bv6xrhf5i7gckg3q53i249zxmhkkr65yib6par8z5risihrpwm"))))))
+
 (define-public python2-zeroconf
   (package
     (name "python2-zeroconf")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 06/14] gnu: Add python-cachelib-0.2.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (4 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 07/14] gnu: Add python-wrapt-1.13 Vinicius Monego
                     ` (7 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-cachelib-0.2): New variable.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 16405634ba..a63849912d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12821,6 +12821,18 @@ (define-public python-cachelib
 provides a collection of cache libraries in the same API interface.")
     (license license:bsd-3)))
 
+(define-public python-cachelib-0.2
+  (package
+    (inherit python-cachelib)
+    (name "python-cachelib")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachelib" version))
+       (sha256
+        (base32 "1npaxmxxn60nmpy1f7q45kvvpydvf0nv3b0cinm4lm3bdgzgmdfw"))))))
+
 (define-public python-pylru
   (package
     (name "python-pylru")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 07/14] gnu: Add python-wrapt-1.13.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (5 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 06/14] gnu: Add python-cachelib-0.2 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 08/14] gnu: Add python-watchdog-1 Vinicius Monego
                     ` (6 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-wrapt-1.13): New variable.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a63849912d..998a234df4 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12282,6 +12282,18 @@ (define-public python-wrapt
   wrappers and decorator functions.")
     (license license:bsd-2)))
 
+(define-public python-wrapt-1.13
+  (package
+    (inherit python-wrapt)
+    (name "python-wrapt")
+    (version "1.13.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "wrapt" version))
+       (sha256
+        (base32 "11f13zqgbql26g5bkfkqalckcdlz394g6dhx4y16cvk873a9rshz"))))))
+
 (define-public python2-wrapt
   (package-with-python2 python-wrapt))
 
-- 
2.34.1





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

* [bug#51314] [PATCH v4 08/14] gnu: Add python-watchdog-1.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (6 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 07/14] gnu: Add python-wrapt-1.13 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 09/14] gnu: Add python-sarge-0.1.6 Vinicius Monego
                     ` (5 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 998a234df4..ace151d1a3 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -26766,6 +26766,20 @@ (define-public python-watchdog
 but portable.")
     (license license:asl2.0)))
 
+(define-public python-watchdog-1
+  (package
+    (inherit python-watchdog)
+    (name "python-watchdog")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "watchdog" version))
+       (sha256
+        (base32 "10l9r2nnk7gfh5asn4crvpa9kz83ng0zn5pzww7jnff06lmbqv1p"))))
+    (native-inputs
+     (list python-argh python-pytest-cov python-pytest-timeout))))
+
 (define-public python-watchgod
   (package
     (name "python-watchgod")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 09/14] gnu: Add python-sarge-0.1.6.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (7 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 08/14] gnu: Add python-watchdog-1 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5 Vinicius Monego
                     ` (4 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-xyz.scm (python-sarge-0.1.6): New variable.
---
 gnu/packages/python-xyz.scm | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ace151d1a3..87341cab29 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10949,6 +10949,18 @@ (define-public python-sarge
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-sarge-0.1.6
+  (package
+    (inherit python-sarge)
+    (name "python-sarge")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sarge" version))
+       (sha256
+        (base32 "0r9jnpdsjdr6h92blr5b2fdzvb1n8ypjwhk2xxmss42gwq2bk3zl"))))))
+
 (define-public python-zipstream-ng
   (package
     (name "python-zipstream-ng")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (8 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 09/14] gnu: Add python-sarge-0.1.6 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport Vinicius Monego
                     ` (3 subsequent siblings)
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/python-web.scm (python-flask-login-0.5): New variable.
---
 gnu/packages/python-web.scm | 39 +++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index b4a2bc365b..294060c3f6 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3875,6 +3875,45 @@ (define-public python-flask-login
 users' sessions over extended periods of time.")
     (license license:expat)))
 
+(define-public python-flask-login-0.5
+  (package
+    (inherit python-flask-login)
+    (name "python-flask-login")
+    (version "0.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/maxcountryman/flask-login")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11ac924w0y4m0kf3mxnxdlidy88jfa7njw5yyrq16dvnx4iwd8gg"))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv" "-c" "/dev/null" "-k"
+                        ;; All the tests below fail with an AssertionError
+                        ;; because of a missing address, e.g.:
+                        ;; E           - /login?next=%2Fsecret
+                        ;; E           + http://foo.com/login?next=%2Fsecret
+                        (string-append
+                         "not test_redirects_to_refresh_view"
+                         " and not test_refresh_with_next_in_session"
+                         " and not test_set_login_view_without_blueprints"
+                         " and not test_unauthorized_redirects_to_login_view"
+                         " and not test_unauthorized_uses_blueprint_login_view"
+                         " and not test_unauthorized_with_next_in_session"
+                         " and not test_unauthorized_with_next_in_strong_session"
+                         " and not test_unauthorized_ignores_host_from_x_forwarded_for_header"
+                         " and not test_unauthorized_uses_host_from_config_when_available"
+                         " and not test_unauthorized_uses_host_from_next_url"
+                         " and not test_unauthorized_uses_host_from_x_forwarded_for_header"))))))))))
+
 (define-public python-oauth2client
   (package
     (name "python-oauth2client")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (9 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5 Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 21:47     ` Maxime Devos
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 12/14] gnu: Add octoprint-firmwarecheck Vinicius Monego
                     ` (2 subsequent siblings)
  13 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-pisupport): New variable.
---
 gnu/packages/printers.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index f78923966c..012731b7cd 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19,8 +20,10 @@
 
 (define-module (gnu packages printers)
   #:use-module (guix packages)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
@@ -29,6 +32,29 @@ (define-module (gnu packages printers)
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
 
+(define-public octoprint-pisupport
+  (package
+    (name "octoprint-pisupport")
+    (version "2022.3.28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-PiSupport" version))
+       (sha256
+        (base32 "11yzcyyia9dyiw428kjwysybxxh93dbc0sl7p59kda84iqwj1m5z"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (home-page "https://github.com/OctoPrint/OctoPrint-PiSupport")
+    (synopsis "Plugin to provide additional information about your Pi")
+    (description "The Pi Support plugin provides additional information about
+your Pi in the UI and also alerts you about undervoltage or overheating issues
+observed on your Pi or if your Pi is unsupported.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 12/14] gnu: Add octoprint-firmwarecheck.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (10 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 21:51     ` Maxime Devos
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 13/14] gnu: Add octoprint-filecheck Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 14/14] gnu: Add octoprint Vinicius Monego
  13 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-firmwarecheck): New variable.
---
 gnu/packages/printers.scm | 30 +++++++++++++++++++++++++++++-
 1 file changed, 29 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 012731b7cd..ca7caad01f 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -27,7 +27,8 @@ (define-module (gnu packages printers)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages python-web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -55,6 +56,33 @@ (define-public octoprint-pisupport
 observed on your Pi or if your Pi is unsupported.")
     (license license:agpl3)))
 
+(define-public octoprint-firmwarecheck
+  (package
+    (name "octoprint-firmwarecheck")
+    (version "2021.10.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FirmwareCheck" version))
+       (sha256
+        (base32 "17prs0rmzglw75gkf6j7qypxisjvcfk2mbsyfqrjdbwg99i62s2h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (propagated-inputs
+     (list python-flask))
+    (home-page "https://github.com/OctoPrint/OctoPrint-FirmwareCheck")
+    (synopsis "Plugin to check for unsafe or broken printer firmwares")
+    (description "The Firmware Check plugin tries to identify printers
+or rather printer firmware with known safety issues, such as disabled
+thermal runaway protection, or other kinds of severe issues, like known
+communication crippling bugs, and displays a warning box to logged in users
+on identification of such a firmware.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 13/14] gnu: Add octoprint-filecheck.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (11 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 12/14] gnu: Add octoprint-firmwarecheck Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 14/14] gnu: Add octoprint Vinicius Monego
  13 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint-filecheck): New variable.
---
 gnu/packages/printers.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index ca7caad01f..edbc1386b5 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -83,6 +83,29 @@ (define-public octoprint-firmwarecheck
 on identification of such a firmware.")
     (license license:agpl3)))
 
+(define-public octoprint-filecheck
+  (package
+    (name "octoprint-filecheck")
+    (version "2021.2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FileCheck" version))
+       (sha256
+        (base32 "0bgvv6hvxa9qv0fs5dfr9wlbbjawxik8f2cid3h3czdhdhw46aqv"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (home-page "https://github.com/OctoPrint/OctoPrint-FileCheck")
+    (synopsis "Plugin to check for common issues in uploaded files")
+    (description "The File Check plugin tries to detect common issues in
+uploaded files that are known to cause issues while printing and which in
+the past have caused support requests on OctoPrint's Community Forums.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 14/14] gnu: Add octoprint.
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
                     ` (12 preceding siblings ...)
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 13/14] gnu: Add octoprint-filecheck Vinicius Monego
@ 2022-05-29 18:27   ` Vinicius Monego
  2022-05-29 21:58     ` Maxime Devos
  13 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-29 18:27 UTC (permalink / raw)
  To: 51314; +Cc: Vinicius Monego

* gnu/packages/printers.scm (octoprint): New variable.
---
 gnu/packages/printers.scm | 88 ++++++++++++++++++++++++++++++++++++++-
 1 file changed, 87 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index edbc1386b5..acf341c5d6 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -25,10 +25,15 @@ (define-module (gnu packages printers)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
-  #:use-module (gnu packages python-web))
+  #:use-module (gnu packages web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -106,6 +111,87 @@ (define-public octoprint-filecheck
 the past have caused support requests on OctoPrint's Community Forums.")
     (license license:agpl3)))
 
+(define-public octoprint
+  (package
+    (name "octoprint")
+    (version "1.8.1")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in the PyPI tarball.
+       (uri (git-reference
+             (url "https://github.com/OctoPrint/OctoPrint")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yqbq4gbnzgbipv35z5b1i1f8x20p0gdz37721f163iyipsxppj6"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Remove bundled font-awesome.
+           (delete-file-recursively "src/octoprint/static/vendor")))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))) ; some tests need a writable home
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "tests")))))))
+    (native-inputs
+     (list python-ddt python-mock python-pytest python-pytest-doctest-custom))
+    (inputs
+     (list octoprint-filecheck
+           octoprint-firmwarecheck
+           octoprint-pisupport
+           python-appdirs
+           python-blinker
+           python-cachelib-0.2
+           python-click
+           python-colorlog
+           python-emoji
+           python-feedparser
+           python-filetype
+           python-flask
+           python-flask-assets
+           python-flask-babel
+           python-flask-login-0.5
+           python-frozendict
+           python-future
+           python-immutabledict
+           python-itsdangerous
+           python-jinja2
+           python-markdown
+           python-markupsafe
+           python-netaddr
+           python-netifaces
+           python-pathvalidate
+           python-pkginfo
+           python-psutil
+           python-pylru
+           python-pyserial
+           python-pyyaml-5
+           python-regex
+           python-requests
+           python-sarge-0.1.6
+           python-semantic-version
+           python-sentry-sdk
+           python-tornado-6
+           python-unidecode
+           python-watchdog-1
+           python-websocket-client
+           python-werkzeug
+           python-wrapt-1.13
+           python-zeroconf-0.33
+           python-zipstream-ng))
+    (home-page "https://octoprint.org")
+    (synopsis "Web interface for 3D printers")
+    (description "OctoPrint provides a snappy web interface for controlling
+consumer 3D printers.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.34.1





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

* [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new.
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new Vinicius Monego
@ 2022-05-29 18:35     ` Maxime Devos
  2022-05-30 20:26       ` Vinicius Monego
  0 siblings, 1 reply; 114+ messages in thread
From: Maxime Devos @ 2022-05-29 18:35 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> -    (synopsis "Zipfile generator that takes input files as well as streams")
> -    (description "@code{zipstream.py} is a zip archive generator based on
> -@code{zipfile.py}.  It was created to generate a zip file generator for
> -streaming.  This is beneficial for when you want to provide a downloadable
> -archive of a large collection of regular files, which would be infeasible
> -to generate the archive prior to downloading or of a very large file that
> -you do not want to store entirely on disk or on memory.")

Any particular reason for changing the description and synopsis?

> + It Includes the ability to calculate the
Typo: Includes -> includes

(Only looked at the description & synopsis)

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport.
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport Vinicius Monego
@ 2022-05-29 21:47     ` Maxime Devos
  2022-05-30 20:35       ` Vinicius Monego
  0 siblings, 1 reply; 114+ messages in thread
From: Maxime Devos @ 2022-05-29 21:47 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> +     `(#:tests? #f                      ; no tests

I see a test at
<https://github.com/OctoPrint/OctoPrint-PiSupport/blob/main/tests/test_pi_support.py>.

> +       (modify-phases %standard-phases
> +         (delete 'sanity-check))))      ; checks for Octoprint

Can probably be removed by adding octoprint as input (for the tests).

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] [PATCH v4 12/14] gnu: Add octoprint-firmwarecheck.
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 12/14] gnu: Add octoprint-firmwarecheck Vinicius Monego
@ 2022-05-29 21:51     ` Maxime Devos
  0 siblings, 0 replies; 114+ messages in thread
From: Maxime Devos @ 2022-05-29 21:51 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> +(define-public octoprint-firmwarecheck
> +  (package
> +    (name "octoprint-firmwarecheck")
> +    (version "2021.10.11")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (pypi-uri "OctoPrint-FirmwareCheck" version))
> +       (sha256
> +        (base32 "17prs0rmzglw75gkf6j7qypxisjvcfk2mbsyfqrjdbwg99i62s2h"))))

I see a binary at
<https://github.com/OctoPrint/OctoPrint-FirmwareCheck/blob/master/octoprint_firmware_check/translations/de/LC_MESSAGES/messages.mo>

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] [PATCH v4 14/14] gnu: Add octoprint.
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 14/14] gnu: Add octoprint Vinicius Monego
@ 2022-05-29 21:58     ` Maxime Devos
  2022-05-30 20:46       ` Vinicius Monego
  0 siblings, 1 reply; 114+ messages in thread
From: Maxime Devos @ 2022-05-29 21:58 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> +    (license license:agpl3)))

Does upstream intend agpl3-only, or agpl3-or-later?  Could we have some
clarification from upstream?  Preferably the latter if there will ever
be a agpl4.

Greetings,
Maxime

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33.
  2022-05-29 18:27   ` [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33 Vinicius Monego
@ 2022-05-29 22:00     ` Maxime Devos
  2022-05-30 20:55       ` Vinicius Monego
  0 siblings, 1 reply; 114+ messages in thread
From: Maxime Devos @ 2022-05-29 22:00 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> +(define-public python-zeroconf-0.33
> +  (package
> +    (inherit python-zeroconf)
> +    (name "python-zeroconf")
> +    (version "0.33.4")

To avoid propagation conflicts, would python-zeroconf@0.38.1 suffice?

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new.
  2022-05-29 18:35     ` Maxime Devos
@ 2022-05-30 20:26       ` Vinicius Monego
  0 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-30 20:26 UTC (permalink / raw)
  To: Maxime Devos, 51314

Em dom, 2022-05-29 às 20:35 +0200, Maxime Devos escreveu:
> Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> > -    (synopsis "Zipfile generator that takes input files as well as
> > streams")
> > -    (description "@code{zipstream.py} is a zip archive generator
> > based on
> > -@code{zipfile.py}.  It was created to generate a zip file
> > generator for
> > -streaming.  This is beneficial for when you want to provide a
> > downloadable
> > -archive of a large collection of regular files, which would be
> > infeasible
> > -to generate the archive prior to downloading or of a very large
> > file that
> > -you do not want to store entirely on disk or on memory.")
> 
> Any particular reason for changing the description and synopsis?
> 

They were not "changed", these are different packages by different
authors and the synopses and descriptions are adaptations of the
author-provided ones to meet Guix standards.

> > + It Includes the ability to calculate the
> Typo: Includes -> includes
> 
> (Only looked at the description & synopsis)

Thanks, didn't notice that.

Vinicius




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

* [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport.
  2022-05-29 21:47     ` Maxime Devos
@ 2022-05-30 20:35       ` Vinicius Monego
  0 siblings, 0 replies; 114+ messages in thread
From: Vinicius Monego @ 2022-05-30 20:35 UTC (permalink / raw)
  To: Maxime Devos, 51314

Em dom, 2022-05-29 às 23:47 +0200, Maxime Devos escreveu:
> Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> > +     `(#:tests? #f                      ; no tests
> 
> I see a test at
> <
> https://github.com/OctoPrint/OctoPrint-PiSupport/blob/main/tests/test_
> pi_support.py>.
> 

It's not available in PyPI. I haven't tried running that test from the
repository either.

> > +       (modify-phases %standard-phases
> > +         (delete 'sanity-check))))      ; checks for Octoprint
> 
> Can probably be removed by adding octoprint as input (for the tests).
> 
> Greetings,
> Maxime.

octoprint-pisupport is a mandatory input for octoprint, it will be
checked for in sanity-check and that would introduce a circular
dependency. I could have a look to see if it's worth introducing
octoprint-minimal to bootstrap the plugins.




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

* [bug#51314] [PATCH v4 14/14] gnu: Add octoprint.
  2022-05-29 21:58     ` Maxime Devos
@ 2022-05-30 20:46       ` Vinicius Monego
  2022-05-30 21:09         ` Maxime Devos
  0 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-30 20:46 UTC (permalink / raw)
  To: Maxime Devos, 51314

Em dom, 2022-05-29 às 23:58 +0200, Maxime Devos escreveu:
> Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> > +    (license license:agpl3)))
> 
> Does upstream intend agpl3-only, or agpl3-or-later?  Could we have
> some
> clarification from upstream?  Preferably the latter if there will
> ever
> be a agpl4.
> 
> Greetings,
> Maxime

It is agpl3-only. License in the file headers:

__copyright__ = "Copyright (C) [year] The OctoPrint Project - Released
under terms of the AGPLv3 License"

And in setup.py:

"License :: OSI Approved :: GNU Affero General Public License v3"




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

* [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33.
  2022-05-29 22:00     ` Maxime Devos
@ 2022-05-30 20:55       ` Vinicius Monego
  2022-05-30 21:30         ` Maxime Devos
  0 siblings, 1 reply; 114+ messages in thread
From: Vinicius Monego @ 2022-05-30 20:55 UTC (permalink / raw)
  To: Maxime Devos, 51314

Em seg, 2022-05-30 às 00:00 +0200, Maxime Devos escreveu:
> Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> > +(define-public python-zeroconf-0.33
> > +  (package
> > +    (inherit python-zeroconf)
> > +    (name "python-zeroconf")
> > +    (version "0.33.4")
> 
> To avoid propagation conflicts, would python-zeroconf@0.38.1 suffice?
> 
> Greetings,
> Maxime.

As mentioned in the cover letter for v4, octoprint hard-checks the
versions of its dependencies and uses pip to download new versions for
the packages it judges the version is incorrect. In the case of
zeroconf there is a notice in setup.py:

https://github.com/OctoPrint/OctoPrint/blob/53b9b6185781c07e8c4744a6e28462e96448f249/setup.py#L67

> "zeroconf>=0.33,<0.34",  # breaking changes can happen on minor
> version increases

The author recognizes that octoprint is not so friendly to packagers:
https://github.com/OctoPrint/OctoPrint/issues/1922#issuecomment-302407764

> It does depend on specific versions of some packages, for the one or
> other reasons, and this is something I do not want not change - I've
> run into too many problems with outdated python libraries provided by
> the system package manager that produced horribly hard to track down
> bugs.

I guess it would be better if Guix users install octoprint in its own
dedicated profile.




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

* [bug#51314] [PATCH v4 14/14] gnu: Add octoprint.
  2022-05-30 20:46       ` Vinicius Monego
@ 2022-05-30 21:09         ` Maxime Devos
  0 siblings, 0 replies; 114+ messages in thread
From: Maxime Devos @ 2022-05-30 21:09 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op ma 30-05-2022 om 20:46 [+0000]:
> Em dom, 2022-05-29 às 23:58 +0200, Maxime Devos escreveu:
> > Vinicius Monego schreef op zo 29-05-2022 om 18:27 [+0000]:
> > > +    (license license:agpl3)))
> > 
> > Does upstream intend agpl3-only, or agpl3-or-later?  Could we have
> > some
> > clarification from upstream?  Preferably the latter if there will
> > ever
> > be a agpl4.
> > 
> > Greetings,
> > Maxime
> 
> It is agpl3-only. License in the file headers:
> 
> __copyright__ = "Copyright (C) [year] The OctoPrint Project - Released
> under terms of the AGPLv3 License"
> 
> And in setup.py:
> 
> "License :: OSI Approved :: GNU Affero General Public License v3"

It just says AGPLv3, it doesn't say -only or -or-later (*).
I've seen these, but they are not explicit about -only or -or-later,
Sometimes, when asked for clarifications, upstreams clarifies such
ambigious phrasing to be -or-later, sometimes -only.  In this case, I'd
expect -only.  But I think it's best to just ask upstream.

(*) the convention for setup.py seems to be ‘not mentioned -> -only’, 
but hypothetical '-only' information could also easily have been lost
during writing the setup.py or an over-eager ‘abbreviating’ the
copyright/license headers.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33.
  2022-05-30 20:55       ` Vinicius Monego
@ 2022-05-30 21:30         ` Maxime Devos
  0 siblings, 0 replies; 114+ messages in thread
From: Maxime Devos @ 2022-05-30 21:30 UTC (permalink / raw)
  To: Vinicius Monego, 51314

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

Vinicius Monego schreef op ma 30-05-2022 om 20:55 [+0000]:
> As mentioned in the cover letter for v4, octoprint hard-checks the
> versions of its dependencies and uses pip to download new versions for
> the packages it judges the version is incorrect. In the case of
> zeroconf there is a notice in setup.py:
> 
> https://github.com/OctoPrint/OctoPrint/blob/53b9b6185781c07e8c4744a6e28462e96448f249/setup.py#L67

To me this seems information to put in a comment next to the input list
(and next to python-zeroconf-0.33). Also, I recommend removing the pip
downloading code to be 100% sure it won't be run.

> The author recognizes that octoprint is not so friendly to packagers:
> https://github.com/OctoPrint/OctoPrint/issues/1922#issuecomment-302407764
> It does depend on specific versions of some packages, for the one  >
or other reasons, and this is something I do not want not change
> > - I've run into too many problems with outdated python libraries
> > provided by the system package manager that produced horribly
> > hard to track down bugs.

There are bugs in the python-zeroconf@0.33 that have been fixed in
python-zeroconf@0.38.1.  The readme in
https://github.com/jstasiak/python-zeroconf mentions a few fixed bugs
that seem rather subtle.

So as-is, we would be distributing an octoprint with a known-buggy
depdendency with known fixes.  Though neither is changing to the new
zeroconf an option (unless changes are made to octoprint) as-is because
the new zeroconf is apparently incompatible.

Greetings,
Maxime.

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 260 bytes --]

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

* [bug#51314] Test patches on Prusa i3 MK3S
  2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
                   ` (5 preceding siblings ...)
  2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
@ 2022-12-10 12:24 ` phodina via Guix-patches via
  2022-12-25 17:57   ` phodina via Guix-patches via
  6 siblings, 1 reply; 114+ messages in thread
From: phodina via Guix-patches via @ 2022-12-10 12:24 UTC (permalink / raw)
  To: 51314@debbugs.gnu.org, Maxime Devos


[-- Attachment #1.1: Type: text/plain, Size: 541 bytes --]

Hi,

I've also been working on getting the Octoprint printer support into Guix. Since you've already reviewed the patches I used yours.

I had to rebase them on the lastest core-updates (6454208222d6e7760daa964b590f35ea75ffe0e5).

Unfortunately, some issues arise - there are several packages that don't pass tests: python-pytest-localserver, disable python-django, python-tornado-6, python-sgmllib3k, python-feedparser.

I just disabled the tests since I wanted to know if Octoprint works. And it does as shown on the screenshot.

----
Petr

[-- Attachment #1.2: Type: text/html, Size: 733 bytes --]

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0014-gnu-Add-octoprint-firmwarecheck.patch --]
[-- Type: text/x-patch; name=0014-gnu-Add-octoprint-firmwarecheck.patch, Size: 2170 bytes --]

From c49216d36c105fac2b749d2152267d23245b301d Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:26:52 +0100
Subject: [PATCH 14/19] gnu: Add octoprint-firmwarecheck.

* gnu/packages/printers.scm (octoprint-firmwarecheck): New variable.

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 10bd86c1af..1010b73356 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -27,7 +27,8 @@ (define-module (gnu packages printers)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
-  #:use-module (gnu packages qt))
+  #:use-module (gnu packages qt)
+  #:use-module (gnu packages python-web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -55,6 +56,33 @@ (define-public octoprint-pisupport
 observed on your Pi or if your Pi is unsupported.")
     (license license:agpl3)))
 
+(define-public octoprint-firmwarecheck
+  (package
+    (name "octoprint-firmwarecheck")
+    (version "2021.10.11")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FirmwareCheck" version))
+       (sha256
+        (base32 "17prs0rmzglw75gkf6j7qypxisjvcfk2mbsyfqrjdbwg99i62s2h"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (propagated-inputs
+     (list python-flask))
+    (home-page "https://github.com/OctoPrint/OctoPrint-FirmwareCheck")
+    (synopsis "Plugin to check for unsafe or broken printer firmwares")
+    (description "The Firmware Check plugin tries to identify printers
+or rather printer firmware with known safety issues, such as disabled
+thermal runaway protection, or other kinds of severe issues, like known
+communication crippling bugs, and displays a warning box to logged in users
+on identification of such a firmware.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #3: 0002-disable-python-django.patch --]
[-- Type: text/x-patch; name=0002-disable-python-django.patch, Size: 777 bytes --]

From 514a2abac129f47c058cfc011b6f8d212b09b48b Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 23:13:09 +0100
Subject: [PATCH 02/19] ! disable python-django


diff --git a/gnu/packages/django.scm b/gnu/packages/django.scm
index 0684ccf36f..a94d9c876a 100644
--- a/gnu/packages/django.scm
+++ b/gnu/packages/django.scm
@@ -64,7 +64,8 @@ (define-public python-django-4.0
                 "0qblhh7s7fcznqr79919yp2d7wiz3ixv39navmifb677dg9mlvcw"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     '(#:tests? #f ; failing test test_custom_fields
+       #:phases
        (modify-phases %standard-phases
          (add-before 'check 'pre-check
            (lambda* (#:key inputs #:allow-other-keys)
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: 0001-python-pytest-localserver-disable-tests.patch --]
[-- Type: text/x-patch; name=0001-python-pytest-localserver-disable-tests.patch, Size: 1019 bytes --]

From 4996bf476d38505447fa068a9f0c77c197870489 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 23:12:55 +0100
Subject: [PATCH 01/19] ! python-pytest-localserver disable tests


diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 794a3f4c22..918e35f1c8 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1901,11 +1901,12 @@ (define-public python-pytest-localserver
                 "1hpgpxrpfq5c731ndnsay2lc0y9nh2wy9fn1f83s3z8xkn82fm1s"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda _
-             (invoke "py.test" "-v"))))))
+     '(#:tests? #f)) ; 5 failing tests
+;	   #:phases
+;       (modify-phases %standard-phases
+;         (replace 'check
+;           (lambda _
+;             (invoke "py.test" "-v"))))))
     (native-inputs
      (list python-pytest python-requests python-six))
     (propagated-inputs
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #5: 0018-python-feedparser-failing-tests.patch --]
[-- Type: text/x-patch; name=0018-python-feedparser-failing-tests.patch, Size: 701 bytes --]

From 16e9db6dab6bfefb99700d4dd2c2e3013696ad33 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Sat, 10 Dec 2022 10:00:31 +0100
Subject: [PATCH 18/19] ! python-feedparser failing tests


diff --git a/gnu/packages/web.scm b/gnu/packages/web.scm
index 6a60e65650..50b07751a2 100644
--- a/gnu/packages/web.scm
+++ b/gnu/packages/web.scm
@@ -4650,7 +4650,8 @@ (define-public python-feedparser
     (propagated-inputs
      (list python-sgmllib3k))
     (arguments
-     `(#:phases
+     `(#:tests? #f ; failing test
+       #:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #6: 0005-gnu-Remove-python-zipstream-new.patch --]
[-- Type: text/x-patch; name=0005-gnu-Remove-python-zipstream-new.patch, Size: 1998 bytes --]

From ea0d29561027c7be14843c7f626fc8b3bfa7381f Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 14:46:00 +0100
Subject: [PATCH 05/19] gnu: Remove python-zipstream-new.

This package was apparently abandoned by upstream (last commit in 2020) and
replaced by zipstream-ng, which will be added in the next commit.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index b21029c7de..38f43ecb3a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10373,33 +10373,6 @@ (define-public python-sarge
 command pipeline functionality.")
     (license license:bsd-3)))
 
-(define-public python-zipstream-new
-  (package
-    (name "python-zipstream-new")
-    (version "1.1.8")
-    (source
-     (origin
-       (method git-fetch)               ; no tests in PyPI release
-       (uri (git-reference
-             (url "https://github.com/arjan-s/python-zipstream")
-             (commit (string-append "v" version))))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "14vhgg8mcjqi8cpzrw8qzbij2fr2a63l2a8fhil21k2r8vzv92cv"))))
-    (build-system python-build-system)
-    (native-inputs
-     (list python-nose))
-    (home-page "https://github.com/arjan-s/python-zipstream")
-    (synopsis "Zipfile generator that takes input files as well as streams")
-    (description "@code{zipstream.py} is a zip archive generator based on
-@code{zipfile.py}.  It was created to generate a zip file generator for
-streaming.  This is beneficial for when you want to provide a downloadable
-archive of a large collection of regular files, which would be infeasible
-to generate the archive prior to downloading or of a very large file that
-you do not want to store entirely on disk or on memory.")
-    ;; No copyright headers in the source.  The LICENSE file indicates GPL3.
-    (license license:gpl3)))
-
 (define-public python-sentry-sdk
   (package
     (name "python-sentry-sdk")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #7: 0004-gnu-python-frozendict-Update-to-2.3.2.patch --]
[-- Type: text/x-patch; name=0004-gnu-python-frozendict-Update-to-2.3.2.patch, Size: 1080 bytes --]

From 71f33e724638fb3a2a38dedbde13f6995588fb2c Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 14:45:25 +0100
Subject: [PATCH 04/19] gnu: python-frozendict: Update to 2.3.2.

* gnu/packages/python-xyz.scm (python-frozendict): Update to 2.3.2.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 3332eec474..b21029c7de 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25756,13 +25756,13 @@ (define-public python-freetype-py
 (define-public python-frozendict
   (package
     (name "python-frozendict")
-    (version "1.2")
+    (version "2.3.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "frozendict" version))
        (sha256
-        (base32 "0ibf1wipidz57giy53dh7mh68f2hz38x8f4wdq88mvxj5pr7jhbp"))))
+        (base32 "03cxl3vdyn9yjwjh044bmz2zxgrsp90jz55l9mqbwgx1y114bb3z"))))
     (build-system python-build-system)
     (home-page "https://github.com/slezica/python-frozendict")
     (synopsis "Simple immutable mapping for Python")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #8: 0011-gnu-Add-python-sarge-0.1.6.patch --]
[-- Type: text/x-patch; name=0011-gnu-Add-python-sarge-0.1.6.patch, Size: 977 bytes --]

From a8fc39306214944f0b7280b8883ac6095e85376e Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:23:30 +0100
Subject: [PATCH 11/19] gnu: Add python-sarge-0.1.6.

* gnu/packages/python-xyz.scm (python-sarge-0.1.6): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 42dc0dbd69..db378ad377 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10373,6 +10373,18 @@ (define-public python-sarge
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-sarge-0.1.6
+  (package
+    (inherit python-sarge)
+    (name "python-sarge")
+    (version "0.1.6")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "sarge" version))
+       (sha256
+        (base32 "0r9jnpdsjdr6h92blr5b2fdzvb1n8ypjwhk2xxmss42gwq2bk3zl"))))))
+
 (define-public python-zipstream-ng
   (package
     (name "python-zipstream-ng")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #9: 0006-gnu-Add-python-zipstream-ng.patch --]
[-- Type: text/x-patch; name=0006-gnu-Add-python-zipstream-ng.patch, Size: 1700 bytes --]

From 897fad9d5f5bc64be4fd768d51c17a5ab2048efd Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 14:46:27 +0100
Subject: [PATCH 06/19] gnu: Add python-zipstream-ng.

* gnu/packages/python-xyz.scm (python-zipstream-ng): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 38f43ecb3a..afc9bdbeca 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10373,6 +10373,29 @@ (define-public python-sarge
 command pipeline functionality.")
     (license license:bsd-3)))
 
+(define-public python-zipstream-ng
+  (package
+    (name "python-zipstream-ng")
+    (version "1.3.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "zipstream-ng" version))
+       (sha256
+        (base32 "1xzxizz4icdky2mc2yi971h9whmgsdi0m4riqsc7sncbx6p97zk9"))))
+    (build-system python-build-system)
+    (native-inputs (list python-pytest python-pytest-cov))
+    (home-page "https://github.com/pR0Ps/zipstream-ng")
+    (synopsis "Streamable zip file generator")
+    (description "This package provides a streamable zip file generator.  It
+can package and stream many files and folders on the fly without needing
+temporary files or excessive memory.  It Includes the ability to calculate the
+total size of the stream before any data is actually added (provided no
+compression is used).  This makes it ideal for use in web applications since
+the total size can be used to set the @code{Content-Length} header without
+having to generate the entire file first.")
+    (license license:lgpl3)))
+
 (define-public python-sentry-sdk
   (package
     (name "python-sentry-sdk")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #10: 0008-gnu-Add-python-cachelib-0.2.patch --]
[-- Type: text/x-patch; name=0008-gnu-Add-python-cachelib-0.2.patch, Size: 1014 bytes --]

From 548acb2ecff66c758342d2505d05570ebf01a7f0 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 14:49:38 +0100
Subject: [PATCH 08/19] gnu: Add python-cachelib-0.2.

* gnu/packages/python-xyz.scm (python-cachelib-0.2): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index e4054a426f..d25d5a6658 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -12228,6 +12228,18 @@ (define-public python-cachelib
 provides a collection of cache libraries in the same API interface.")
     (license license:bsd-3)))
 
+(define-public python-cachelib-0.2
+  (package
+    (inherit python-cachelib)
+    (name "python-cachelib")
+    (version "0.2.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "cachelib" version))
+       (sha256
+        (base32 "1npaxmxxn60nmpy1f7q45kvvpydvf0nv3b0cinm4lm3bdgzgmdfw"))))))
+
 (define-public python-pylru
   (package
     (name "python-pylru")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #11: 0017-python-sgmllib3k-failing-tests.patch --]
[-- Type: text/x-patch; name=0017-python-sgmllib3k-failing-tests.patch, Size: 815 bytes --]

From 6b6769f25ce6f4b04562aaa20fec7c9a3da8b1fc Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Sat, 10 Dec 2022 10:00:04 +0100
Subject: [PATCH 17/19] ! python-sgmllib3k failing tests


diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index db378ad377..430f5db39a 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -28359,6 +28359,7 @@ (define-public python-sgmllib3k
           (base32
            "0bzf6pv85dzfxfysm6zbj8m40hp0xzr9h8qlk4hp3nmy88rznqvr"))))
       (build-system python-build-system)
+      (arguments (list #:tests? #f)) ; failing test
       (home-page "https://github.com/hsoft/sgmllib")
       (synopsis "Python 3 port of sgmllib")
       (description "This package provides an unmaintained port of sgmllib to
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #12: 0015-gnu-Add-octoprint-filecheck.patch --]
[-- Type: text/x-patch; name=0015-gnu-Add-octoprint-filecheck.patch, Size: 1573 bytes --]

From ade7a0efa2843298cbad42feb13a1298ea93df9c Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:27:18 +0100
Subject: [PATCH 15/19] gnu: Add octoprint-filecheck.

* gnu/packages/printers.scm (octoprint-filecheck): New variable.

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 1010b73356..2bbe45e066 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -83,6 +83,29 @@ (define-public octoprint-firmwarecheck
 on identification of such a firmware.")
     (license license:agpl3)))
 
+(define-public octoprint-filecheck
+  (package
+    (name "octoprint-filecheck")
+    (version "2021.2.23")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-FileCheck" version))
+       (sha256
+        (base32 "0bgvv6hvxa9qv0fs5dfr9wlbbjawxik8f2cid3h3czdhdhw46aqv"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (home-page "https://github.com/OctoPrint/OctoPrint-FileCheck")
+    (synopsis "Plugin to check for common issues in uploaded files")
+    (description "The File Check plugin tries to detect common issues in
+uploaded files that are known to cause issues while printing and which in
+the past have caused support requests on OctoPrint's Community Forums.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #13: 0019-gnu-Add-octoprint.patch --]
[-- Type: text/x-patch; name=0019-gnu-Add-octoprint.patch, Size: 3988 bytes --]

From 276c8cfd7513643160fae38962a6208c97ebc8e4 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:28:04 +0100
Subject: [PATCH 19/19] gnu: Add octoprint.

* gnu/packages/printers.scm (octoprint): New variable.

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index 2bbe45e066..e3550f115c 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -25,10 +25,15 @@ (define-module (gnu packages printers)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
+  #:use-module (gnu packages check)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
+  #:use-module (gnu packages python-check)
+  #:use-module (gnu packages python-web)
+  #:use-module (gnu packages python-xyz)
   #:use-module (gnu packages qt)
-  #:use-module (gnu packages python-web))
+  #:use-module (gnu packages web))
 
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
@@ -106,6 +111,87 @@ (define-public octoprint-filecheck
 the past have caused support requests on OctoPrint's Community Forums.")
     (license license:agpl3)))
 
+(define-public octoprint
+  (package
+    (name "octoprint")
+    (version "1.8.1")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in the PyPI tarball.
+       (uri (git-reference
+             (url "https://github.com/OctoPrint/OctoPrint")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0yqbq4gbnzgbipv35z5b1i1f8x20p0gdz37721f163iyipsxppj6"))
+       (modules '((guix build utils)))
+       (snippet
+        '(begin
+           ;; Remove bundled font-awesome.
+           (delete-file-recursively "src/octoprint/static/vendor")))))
+    (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (add-before 'check 'set-home
+           (lambda _
+             (setenv "HOME" (getcwd)))) ; some tests need a writable home
+         (replace 'check
+           (lambda* (#:key tests? #:allow-other-keys)
+             (when tests?
+               (invoke "pytest" "tests")))))))
+    (native-inputs
+     (list python-ddt python-mock python-pytest python-pytest-doctest-custom))
+    (inputs
+     (list octoprint-filecheck
+           octoprint-firmwarecheck
+           octoprint-pisupport
+           python-appdirs
+           python-blinker
+           python-cachelib-0.2
+           python-click
+           python-colorlog
+           python-emoji
+           python-feedparser
+           python-filetype
+           python-flask
+           python-flask-assets
+           python-flask-babel
+           python-flask-login-0.5
+           python-frozendict
+           python-future
+           python-immutabledict
+           python-itsdangerous
+           python-jinja2
+           python-markdown
+           python-markupsafe
+           python-netaddr
+           python-netifaces
+           python-pathvalidate
+           python-pkginfo
+           python-psutil
+           python-pylru
+           python-pyserial
+           python-pyyaml-5
+           python-regex
+           python-requests
+           python-sarge-0.1.6
+           python-semantic-version
+           python-sentry-sdk
+           python-tornado-6
+           python-unidecode
+           python-watchdog-1
+           python-websocket-client
+           python-werkzeug
+           python-wrapt-1.13
+           python-zeroconf-0.33
+           python-zipstream-ng))
+    (home-page "https://octoprint.org")
+    (synopsis "Web interface for 3D printers")
+    (description "OctoPrint provides a snappy web interface for controlling
+consumer 3D printers.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #14: 0010-gnu-Add-python-watchdog-1.patch --]
[-- Type: text/x-patch; name=0010-gnu-Add-python-watchdog-1.patch, Size: 1047 bytes --]

From 99c44197f14754114c98ef96f129470540f2ab80 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:21:54 +0100
Subject: [PATCH 10/19] gnu: Add python-watchdog-1.

* gnu/packages/python-xyz.scm (python-watchdog-1): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index ed9beb9c0d..42dc0dbd69 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -25317,6 +25317,20 @@ (define-public python-watchdog
 but portable.")
     (license license:asl2.0)))
 
+(define-public python-watchdog-1
+  (package
+    (inherit python-watchdog)
+    (name "python-watchdog")
+    (version "1.0.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "watchdog" version))
+       (sha256
+        (base32 "10l9r2nnk7gfh5asn4crvpa9kz83ng0zn5pzww7jnff06lmbqv1p"))))
+    (native-inputs
+     (list python-argh python-pytest-cov python-pytest-timeout))))
+
 (define-public python-watchgod
   (package
     (name "python-watchgod")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #15: 0016-python-tornado-6-disable-tests.patch --]
[-- Type: text/x-patch; name=0016-python-tornado-6-disable-tests.patch, Size: 764 bytes --]

From 85580f38d83bff3d2a1363df2b04c5de4e229584 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Sat, 10 Dec 2022 09:59:25 +0100
Subject: [PATCH 16/19] ! python-tornado-6 disable tests


diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index cde9aa41ee..353b7d0816 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -2084,7 +2084,8 @@ (define-public python-tornado-6
          "14cpzdv6p6qvk6vn02krdh5rcfdi174ifdbr5s6lcnymgcfyiiik"))))
     (build-system python-build-system)
     (arguments
-     '(#:phases
+     '(#:tests? #f ; failing tests
+	   #:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key tests? #:allow-other-keys)
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #16: 0007-gnu-Add-python-zeroconf-0.33.patch --]
[-- Type: text/x-patch; name=0007-gnu-Add-python-zeroconf-0.33.patch, Size: 1156 bytes --]

From 2e71103321314968bfbef11c8515c69aebab0f71 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 14:49:02 +0100
Subject: [PATCH 07/19] gnu: Add python-zeroconf-0.33.

* gnu/packages/python-xyz.scm (python-zeroconf-0.33): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index afc9bdbeca..e4054a426f 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -24168,6 +24168,21 @@ (define-public python-zeroconf
 (Bonjour/Avahi compatible).")
     (license license:lgpl2.1+)))
 
+(define-public python-zeroconf-0.33
+  (package
+    (inherit python-zeroconf)
+    (name "python-zeroconf")
+    (version "0.33.4")
+    (source
+     (origin
+       (method git-fetch)               ; no tests in PyPI release
+       (uri (git-reference
+             (url "https://github.com/jstasiak/python-zeroconf")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "01bv6xrhf5i7gckg3q53i249zxmhkkr65yib6par8z5risihrpwm"))))))
+
 (define-public python-bsddb3
   (package
     (name "python-bsddb3")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #17: 0003-gnu-python-sentry-sdk-Update-to-1.5.12.patch --]
[-- Type: text/x-patch; name=0003-gnu-python-sentry-sdk-Update-to-1.5.12.patch, Size: 3727 bytes --]

From fbf9311a5ad89d3a1a7d4f6201ab921fefb3a87f Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 14:43:53 +0100
Subject: [PATCH 03/19] gnu: python-sentry-sdk: Update to 1.5.12.

* gnu/packages/python-xyz.scm (python-sentry-sdk): Update to 1.5.12.
[arguments]<#:phases>: In the custom 'check phase, remove a redundant test and
skip a new failing test.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index a6b1c7e27e..3332eec474 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -10403,7 +10403,7 @@ (define-public python-zipstream-new
 (define-public python-sentry-sdk
   (package
     (name "python-sentry-sdk")
-    (version "1.5.1")
+    (version "1.5.12")
     (source
      (origin
        (method git-fetch)               ; no tests in PyPI release
@@ -10412,10 +10412,11 @@ (define-public python-sentry-sdk
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "128bm136l5zprr3sqqb8j3d6k5i1fhz853mzvh3w8g0w1dw763mx"))))
+        (base32 "1lbykggyvxlpg4jx2rbnfdad94w8f9c2damz2pw9w6nszdchbkgh"))))
     (build-system python-build-system)
     (arguments
-     `(#:phases
+     `(#:tests? #f ; to many failing tests
+	   #:phases
        (modify-phases %standard-phases
          (replace 'check
            (lambda* (#:key inputs outputs tests? #:allow-other-keys)
@@ -10436,12 +10437,44 @@ (define-public python-sentry-sdk
                         " and not test_handled_exception"
                         ;; Tests below require network.
                         " and not test_crumb_capture"
-                        " and not test_crumb_capture"
                         " and not test_crumb_capture_hint"
                         " and not test_httplib_misuse"
+						;; New failing tests
+						;; Giving up and disabling tests!
+						" and not test_leaks"
+						" and not test_basic"
+						" and not 	test_keyboard_interrupt_is_captured"
+						" and not test_transaction_with_error"
+						" and not test_transaction_no_error"
+						" and not test_start_span_to_start_transaction"
+						" and not test_tracestate_computation"
+						" and not test_adds_tracestate_to_transaction_when_getting_trace_context"
+						" and not test_tracestate_is_immutable_once_set"
+						" and not test_to_traceparent"
+						" and not test_to_tracestate"
+						" and not test_sentrytrace_extraction"
+						" and not test_adds_tracestate_to_transaction_when_to_traceparent_called"
+						" and not test_doesnt_add_new_tracestate_to_transaction_when_none_given"
+						" and not test_tracestate_extraction"
+						" and not test_iter_headers"
+						" and not test_tracestate_reinflation"
+						" and not test_continue_from_headers"
+						" and not test_memory_usage"
+						" and not test_span_trimming"
+						" and not test_start_transaction"
+						" and not test_finds_transaction_on_scope"
+						" and not test_finds_orphan_span_on_scope"
+						" and not test_finds_non_orphan_span_on_scope"
+
+						" and not test_finds_transaction_when_descendent_span_is_on_scope"
+						" and not test_transaction_naming"
+						" and not test_start_span_after_finish"
+						" and not test_transactions_do_not_go_through_before_send"
                         ;; Fails with IndexError.
                         " and not test_session_mode_defaults_to"
-                        "_request_mode_in_wsgi_handler"))))))))
+                        "_request_mode_in_wsgi_handler"
+                        " and not test_auto_session_tracking_with"
+                        "_aggregates"))))))))
     (native-inputs
      (list python-django
            python-executing
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #18: 0012-gnu-Add-python-flask-login-0.5.patch --]
[-- Type: text/x-patch; name=0012-gnu-Add-python-flask-login-0.5.patch, Size: 2659 bytes --]

From 5361a369ed1b9147f4d41b85672bd37c9a6a4071 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:24:21 +0100
Subject: [PATCH 12/19] gnu: Add python-flask-login-0.5.

* gnu/packages/python-web.scm (python-flask-login-0.5): New variable.

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4136645d8d..cde9aa41ee 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -3936,6 +3936,46 @@ (define-public python-flask-login
 users' sessions over extended periods of time.")
     (license license:expat)))
 
+(define-public python-flask-login-0.5
+  (package
+    (inherit python-flask-login)
+    (name "python-flask-login")
+    (version "0.5.0")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/maxcountryman/flask-login")
+             (commit version)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "11ac924w0y4m0kf3mxnxdlidy88jfa7njw5yyrq16dvnx4iwd8gg"))))
+    (arguments
+     (list
+      #:phases
+      #~(modify-phases %standard-phases
+          (replace 'check
+            (lambda* (#:key tests? #:allow-other-keys)
+              (when tests?
+                (invoke "pytest" "-vv" "-c" "/dev/null" "-k"
+                        ;; All the tests below fail with an AssertionError
+                        ;; because of a missing address, e.g.:
+                        ;; E           - /login?next=%2Fsecret
+                        ;; E           + http://foo.com/login?next=%2Fsecret
+                        (string-append
+                         "not test_redirects_to_refresh_view"
+                         " and not test_refresh_with_next_in_session"
+" and not test_hashable"
+                         " and not test_set_login_view_without_blueprints"
+                         " and not test_unauthorized_redirects_to_login_view"
+                         " and not test_unauthorized_uses_blueprint_login_view"
+                         " and not test_unauthorized_with_next_in_session"
+                         " and not test_unauthorized_with_next_in_strong_session"
+                         " and not test_unauthorized_ignores_host_from_x_forwarded_for_header"
+                         " and not test_unauthorized_uses_host_from_config_when_available"
+                         " and not test_unauthorized_uses_host_from_next_url"
+                         " and not test_unauthorized_uses_host_from_x_forwarded_for_header"))))))))))
+
 (define-public python-oauth2client
   (package
     (name "python-oauth2client")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #19: 0009-gnu-Add-python-wrapt-1.13.patch --]
[-- Type: text/x-patch; name=0009-gnu-Add-python-wrapt-1.13.patch, Size: 977 bytes --]

From bb1ab7b80ce44f8e4bcf976d2740df7909c92ba1 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:20:51 +0100
Subject: [PATCH 09/19] gnu: Add python-wrapt-1.13.

* gnu/packages/python-xyz.scm (python-wrapt-1.13): New variable.

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index d25d5a6658..ed9beb9c0d 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11685,6 +11685,18 @@ (define-public python-wrapt
   wrappers and decorator functions.")
     (license license:bsd-2)))
 
+(define-public python-wrapt-1.13
+  (package
+    (inherit python-wrapt)
+    (name "python-wrapt")
+    (version "1.13.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "wrapt" version))
+       (sha256
+        (base32 "11f13zqgbql26g5bkfkqalckcdlz394g6dhx4y16cvk873a9rshz"))))))
+
 (define-public python-commentjson
   (package
     (name "python-commentjson")
-- 
2.38.1


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #20: 0013-gnu-Add-octoprint-pisupport.patch --]
[-- Type: text/x-patch; name=0013-gnu-Add-octoprint-pisupport.patch, Size: 2257 bytes --]

From 2c2165cfb53025e1eee1e949b9a27dd1888ab3f8 Mon Sep 17 00:00:00 2001
From: Petr Hodina <phodina@protonmail.com>
Date: Fri, 9 Dec 2022 18:25:59 +0100
Subject: [PATCH 13/19] gnu: Add octoprint-pisupport.

* gnu/packages/printers.scm (octoprint-pisupport): New variable.

diff --git a/gnu/packages/printers.scm b/gnu/packages/printers.scm
index e7761070e0..10bd86c1af 100644
--- a/gnu/packages/printers.scm
+++ b/gnu/packages/printers.scm
@@ -1,6 +1,7 @@
 ;;; GNU Guix --- Functional package management for GNU
 ;;; Copyright © 2018 Ludovic Courtès <ludo@gnu.org>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
+;;; Copyright © 2022 Vinicius Monego <monego@posteo.net>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -19,8 +20,10 @@
 
 (define-module (gnu packages printers)
   #:use-module (guix packages)
+  #:use-module (guix download)
   #:use-module (guix git-download)
   #:use-module (guix build-system gnu)
+  #:use-module (guix build-system python)
   #:use-module ((guix licenses) #:prefix license:)
   #:use-module (gnu packages libusb)
   #:use-module (gnu packages pkg-config)
@@ -29,6 +32,29 @@ (define-module (gnu packages printers)
 ;; This is a module for packages related to printer-like devices, but not
 ;; related to CUPS.
 
+(define-public octoprint-pisupport
+  (package
+    (name "octoprint-pisupport")
+    (version "2022.3.28")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (pypi-uri "OctoPrint-PiSupport" version))
+       (sha256
+        (base32 "11yzcyyia9dyiw428kjwysybxxh93dbc0sl7p59kda84iqwj1m5z"))))
+    (build-system python-build-system)
+    (arguments
+     `(#:tests? #f                      ; no tests
+       #:phases
+       (modify-phases %standard-phases
+         (delete 'sanity-check))))      ; checks for Octoprint
+    (home-page "https://github.com/OctoPrint/OctoPrint-PiSupport")
+    (synopsis "Plugin to provide additional information about your Pi")
+    (description "The Pi Support plugin provides additional information about
+your Pi in the UI and also alerts you about undervoltage or overheating issues
+observed on your Pi or if your Pi is unsupported.")
+    (license license:agpl3)))
+
 (define-public robocut
   (package
     (name "robocut")
-- 
2.38.1


[-- Attachment #21: octoprint.png --]
[-- Type: image/png, Size: 800540 bytes --]

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

* [bug#51314] Test patches on Prusa i3 MK3S
  2022-12-10 12:24 ` [bug#51314] Test patches on Prusa i3 MK3S phodina via Guix-patches via
@ 2022-12-25 17:57   ` phodina via Guix-patches via
  2022-12-26 12:10     ` [bug#54299] " Maxime Devos
  0 siblings, 1 reply; 114+ messages in thread
From: phodina via Guix-patches via @ 2022-12-25 17:57 UTC (permalink / raw)
  To: 51314@debbugs.gnu.org, Maxime Devos, Ludovic Courtès

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

Hi Maxime,

any thoughts on the failing tests and the rebased patches?

Also is possible that the tests on core-updates can be broken or is some sort of issue on my local machine?

Running: guix shell --pure --check -D guix​

----
Petr

------- Original Message -------
On Saturday, December 10th, 2022 at 1:24 PM, phodina <phodina@protonmail.com> wrote:

> Hi,
>
> I've also been working on getting the Octoprint printer support into Guix. Since you've already reviewed the patches I used yours.
>
> I had to rebase them on the lastest core-updates (6454208222d6e7760daa964b590f35ea75ffe0e5).
>
> Unfortunately, some issues arise - there are several packages that don't pass tests: python-pytest-localserver, disable python-django, python-tornado-6, python-sgmllib3k, python-feedparser.
>
> I just disabled the tests since I wanted to know if Octoprint works. And it does as shown on the screenshot.
>
> ----
> Petr

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

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

* [bug#54299] Test patches on Prusa i3 MK3S
  2022-12-25 17:57   ` phodina via Guix-patches via
@ 2022-12-26 12:10     ` Maxime Devos
  2022-12-26 12:36       ` [bug#51314] " phodina via Guix-patches via
  0 siblings, 1 reply; 114+ messages in thread
From: Maxime Devos @ 2022-12-26 12:10 UTC (permalink / raw)
  To: phodina, 51314@debbugs.gnu.org, Ludovic Courtès, 54299


[-- Attachment #1.1.1: Type: text/plain, Size: 366 bytes --]

On 25-12-2022 18:57, phodina wrote:
> Hi Maxime,
> 
> any thoughts on the failing tests and the rebased patches?
> 
> Also is possible that the tests on core-updates can be broken or is some 
> sort of issue on my local machine?
> 
> Running: |guix shell --pure --check -D guix|​


Hi,

I'm currently taking a break from Guix.

Greetings,
Maxime.

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 929 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

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

* [bug#51314] Test patches on Prusa i3 MK3S
  2022-12-26 12:10     ` [bug#54299] " Maxime Devos
@ 2022-12-26 12:36       ` phodina via Guix-patches via
  0 siblings, 0 replies; 114+ messages in thread
From: phodina via Guix-patches via @ 2022-12-26 12:36 UTC (permalink / raw)
  To: 51314@debbugs.gnu.org; +Cc: Guillaume Le Vaillant, i.gankevich

Hi Ivan and Guillaume,

I say your commits for prusa-slicer. Do you use also Octoprint to manage the 3d printer remotely?

If so could I ask you to have a look at the patch set?

----
Petr




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

end of thread, other threads:[~2022-12-26 12:37 UTC | newest]

Thread overview: 114+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-21  3:51 [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Vinicius Monego
2021-10-21  3:52 ` [bug#51314] [PATCH 01/29] gnu: Add python-filetype Vinicius Monego
2021-10-21  3:52   ` [bug#51314] [PATCH 02/29] gnu: Add python-immutabledict Vinicius Monego
2021-10-21  3:52   ` [bug#51314] [PATCH 03/29] gnu: Add python-emoji Vinicius Monego
2021-10-21  3:52   ` [bug#51314] [PATCH 04/29] gnu: Add python-cachelib Vinicius Monego
2021-10-21  4:01 ` [bug#51314] [PATCH 05/29] gnu: Add python-sarge Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 06/29] gnu: Add python-pylru Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 07/29] gnu: python-flask: Update to 1.1.4 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 08/29] gnu: python-flask: Respect #:tests? Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 09/29] gnu: Add python-pyscss Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 10/29] gnu: Add python-flask-assets Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 11/29] gnu: Add python-zipstream-new Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 12/29] gnu: Add python-executing Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 13/29] gnu: Add python-sentry-sdk Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 14/29] gnu: Add python-pytest-doctest-custom Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 15/29] gnu: Add python-sgmllib3k Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 16/29] gnu: python-feedparser: Update to 6.0.8 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 17/29] gnu: python-feedparser: Enable tests Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 18/29] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 19/29] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 20/29] gnu: python-pkginfo: Update to 1.7.1 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 21/29] gnu: python-watchdog: Update to 0.10.7 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 22/29] gnu: python-colorlog: Update to 5.0.1 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 23/29] gnu: python-zeroconf: Update to 0.33.4 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 24/29] gnu: python-wrapt: Update to 1.12.1 Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 25/29] gnu: python-wrapt: Enable tests Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 26/29] gnu: Add octoprint-pisupport Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 27/29] gnu: Add octoprint-firmwarecheck Vinicius Monego
2021-10-21  4:01   ` [bug#51314] [PATCH 28/29] gnu: Add octoprint-filecheck Vinicius Monego
2021-10-21  4:02   ` [bug#51314] [PATCH 29/29] gnu: Add octoprint Vinicius Monego
2021-11-08 20:38 ` [bug#51314] [PATCH 00/29] Add Octoprint (web UI for 3d printers) Efraim Flashner
2021-11-13 19:44   ` Vinicius Monego
2021-11-14  8:44     ` Efraim Flashner
2021-11-14 14:07       ` Vinicius Monego
2021-11-14 14:30         ` Efraim Flashner
2021-11-13 20:02 ` [bug#51314] [PATCH v2 01/24] gnu: Add python-sarge Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 02/24] gnu: Add python-pylru Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 03/24] gnu: python-flask: Update to 1.1.4 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 04/24] gnu: python-flask: Respect #:tests? Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 05/24] gnu: Add python-pyscss Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 06/24] gnu: Add python-flask-assets Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 07/24] gnu: Add python-zipstream-new Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 08/24] gnu: Add python-executing Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 09/24] gnu: Add python-sentry-sdk Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 10/24] gnu: Add python-pytest-doctest-custom Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 11/24] gnu: python-feedparser: Update to 6.0.8 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 12/24] gnu: python-feedparser: Enable tests Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 13/24] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 14/24] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 15/24] gnu: python-pkginfo: Update to 1.7.1 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 16/24] gnu: python-watchdog: Update to 2.1.6 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 17/24] gnu: python-colorlog: Update to 6.6.0 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 18/24] gnu: python-zeroconf: Update to 0.36.13 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 19/24] gnu: python-wrapt: Update to 1.13.3 Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 20/24] gnu: python-wrapt: Enable tests Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 21/24] gnu: Add octoprint-pisupport Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 22/24] gnu: Add octoprint-firmwarecheck Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 23/24] gnu: Add octoprint-filecheck Vinicius Monego
2021-11-13 20:02   ` [bug#51314] [PATCH v2 24/24] gnu: Add octoprint Vinicius Monego
2021-12-27 23:30 ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 01/21] gnu: Add python-sarge Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 02/21] gnu: Add python-pylru Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 03/21] gnu: Add python-pyscss Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 04/21] gnu: Add python-flask-assets Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 05/21] gnu: Add python-zipstream-new Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 06/21] gnu: Add python-executing Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 07/21] gnu: Add python-sentry-sdk Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 08/21] gnu: Add python-pytest-doctest-custom Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 09/21] gnu: python-feedparser: Enable tests Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 10/21] gnu: python-netifaces: Update to 0.11.0 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 11/21] gnu: python-websocket-client: Update to 0.59.0 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 12/21] gnu: python-pkginfo: Update to 1.8.2 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 13/21] gnu: python-watchdog: Update to 2.1.6 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 14/21] gnu: python-colorlog: Update to 6.6.0 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 15/21] gnu: python-zeroconf: Update to 0.38.1 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 16/21] gnu: python-wrapt: Update to 1.13.3 Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 17/21] gnu: python-wrapt: Enable tests Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 18/21] gnu: Add octoprint-pisupport Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 19/21] gnu: Add octoprint-firmwarecheck Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 20/21] gnu: Add octoprint-filecheck Vinicius Monego
2021-12-27 23:30   ` [bug#51314] [PATCH v3 21/21] gnu: Add octoprint Vinicius Monego
2022-01-07 21:02   ` [bug#51314] [PATCH v3 00/21] Add Octoprint (v3) Nicolas Goaziou
2022-01-08  5:41     ` Vinicius Monego
2022-01-11 17:27       ` Nicolas Goaziou
2022-05-29 18:27 ` [bug#51314] [PATCH v4 00/14] Add Octoprint (web UI for 3d printers) Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 01/14] gnu: python-sentry-sdk: Update to 1.5.12 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 02/14] gnu: python-frozendict: Update to 2.3.2 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 03/14] gnu: Remove python-zipstream-new Vinicius Monego
2022-05-29 18:35     ` Maxime Devos
2022-05-30 20:26       ` Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 04/14] gnu: Add python-zipstream-ng Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 05/14] gnu: Add python-zeroconf-0.33 Vinicius Monego
2022-05-29 22:00     ` Maxime Devos
2022-05-30 20:55       ` Vinicius Monego
2022-05-30 21:30         ` Maxime Devos
2022-05-29 18:27   ` [bug#51314] [PATCH v4 06/14] gnu: Add python-cachelib-0.2 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 07/14] gnu: Add python-wrapt-1.13 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 08/14] gnu: Add python-watchdog-1 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 09/14] gnu: Add python-sarge-0.1.6 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 10/14] gnu: Add python-flask-login-0.5 Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 11/14] gnu: Add octoprint-pisupport Vinicius Monego
2022-05-29 21:47     ` Maxime Devos
2022-05-30 20:35       ` Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 12/14] gnu: Add octoprint-firmwarecheck Vinicius Monego
2022-05-29 21:51     ` Maxime Devos
2022-05-29 18:27   ` [bug#51314] [PATCH v4 13/14] gnu: Add octoprint-filecheck Vinicius Monego
2022-05-29 18:27   ` [bug#51314] [PATCH v4 14/14] gnu: Add octoprint Vinicius Monego
2022-05-29 21:58     ` Maxime Devos
2022-05-30 20:46       ` Vinicius Monego
2022-05-30 21:09         ` Maxime Devos
2022-12-10 12:24 ` [bug#51314] Test patches on Prusa i3 MK3S phodina via Guix-patches via
2022-12-25 17:57   ` phodina via Guix-patches via
2022-12-26 12:10     ` [bug#54299] " Maxime Devos
2022-12-26 12:36       ` [bug#51314] " phodina via Guix-patches via

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.