unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates.
@ 2023-06-30 20:02 peter
  2023-06-30 20:02 ` [bug#64379] [PATCH 1/8] gnu: python-pyelftools: Update to 0.29 peter
                   ` (8 more replies)
  0 siblings, 9 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64375; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

Adding python-platformio along with dependency updates necessary to get the package to build. I was unable to get all the tests run properly, but all packages appear to build correctly. Further testing might be necessary to make sure packages have indeed built properly and no other packages were affected by the version changes.

Peter Polidoro (8):
  gnu: python-pyelftools: Update to 0.29.
  gnu: python-sanic: Update to 21.12.2.
  gnu: python-uvicorn: Update to 0.22.0.
  gnu: python-starlette: Update to 0.26.0.
  gnu: python-aiofiles: Update to 23.1.0.
  gnu: python-tabulate: Update to 0.9.0.
  gnu: python-semantic-version: Update to 2.10.0.
  gnu: Add python-platformio.

 gnu/packages/python-web.scm | 54 ++++++++-----------------
 gnu/packages/python-xyz.scm | 81 ++++++++++++++++++++++++++++---------
 2 files changed, 80 insertions(+), 55 deletions(-)

-- 
2.40.1





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

* [bug#64379] [PATCH 1/8] gnu: python-pyelftools: Update to 0.29.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64382] [PATCH 2/8] gnu: python-sanic: Update to 21.12.2 peter
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64379; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-xyz.scm (python-pyelftools): Update to 0.29.
---
 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 55531b2785..411cfe4045 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -20403,7 +20403,7 @@ (define-public python-setproctitle
 (define-public python-pyelftools
   (package
     (name "python-pyelftools")
-    (version "0.28")
+    (version "0.29")
     (home-page "https://github.com/eliben/pyelftools")
     (source
      (origin
@@ -20412,7 +20412,7 @@ (define-public python-pyelftools
                            (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1z4fx39c9rds0bd4d2fjjq7n05b1nfxl36pmy523x8knm38l4gpr"))
+        (base32 "1mi7i9zlhkkap4q50ciak57ia46mj2jzq0713m3dh0x8j05k9xml"))
        (snippet
         ;; Delete bundled readelf executable.
         '(delete-file "test/external_tools/readelf"))))
-- 
2.40.1





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

* [bug#64382] [PATCH 2/8] gnu: python-sanic: Update to 21.12.2.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
  2023-06-30 20:02 ` [bug#64379] [PATCH 1/8] gnu: python-pyelftools: Update to 0.29 peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64378] [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0 peter
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64382; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (): Update to 21.12.2.
---
 gnu/packages/python-web.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 6869eb0a8b..2df564f8b7 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -6915,14 +6915,14 @@ (define-public python-sanic
   (package
     (name "python-sanic")
     ;; We provide the latest LTS version of python-sanic.
-    (version "21.12.1")
+    (version "21.12.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sanic" version))
        (sha256
         (base32
-         "0b8mcd1q9qkwcv2qz8nlyaacs0bp7a1l31sdq2m8hhkxykzfq5bg"))))
+         "1qz5dq19dc1aagwapq2cxpgy40kyw6dk488jdl68d139midf29n4"))))
     (build-system python-build-system)
     (arguments
       (list
@@ -6946,7 +6946,8 @@ (define-public python-sanic
                            ;; Unclear why they fail since core-updates merge.
                            " and not test_missing_sni"
                            " and not test_no_matching_cert"
-                           " and not test_wildcards"))))))))
+                           " and not test_wildcards"
+                           " and not test_json_encoding"))))))))
     (propagated-inputs
      (list python-aiofiles
            python-httptools
-- 
2.40.1





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

* [bug#64378] [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
  2023-06-30 20:02 ` [bug#64379] [PATCH 1/8] gnu: python-pyelftools: Update to 0.29 peter
  2023-06-30 20:02 ` [bug#64382] [PATCH 2/8] gnu: python-sanic: Update to 21.12.2 peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64383] [PATCH 4/8] gnu: python-starlette: Update to 0.26.0 peter
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64378; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-uvicorn): Update to 0.22.0.
---
 gnu/packages/python-web.scm | 43 ++++++++++---------------------------
 1 file changed, 11 insertions(+), 32 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 2df564f8b7..0c14e14665 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -5599,46 +5599,25 @@ (define-public python-httptools
 (define-public python-uvicorn
   (package
     (name "python-uvicorn")
-    (version "0.17.6")
-    (source
-     (origin
-       ;; PyPI tarball has no tests.
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/encode/uvicorn")
-             (commit version)))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "0npwls02nhna2lyw2nksxij16l9agf12c9f42pvxb5yrpi9l16c8"))))
-    (build-system python-build-system)
+    (version "0.22.0")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "uvicorn" version))
+              (sha256
+               (base32
+                "1n4f5i6g4gnsj8z1wvjdyl9admsipc5q6rq5mbcyfz5m7ph7l9vr"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               (invoke "pytest" "-vv" "-o" "asyncio_mode=auto"
-                       "-k"
-                       (string-append
-                        ;; These error or fail due to networking.
-                        "not test_keepalive "
-                        "and not test_bind_unix_socket_works_with_"
-                        "reload_or_workers "))))))))
-    (native-inputs
-     (list python-httpx-bootstrap
-           python-pytest
-           python-pytest-asyncio
-           python-pytest-mock
-           python-requests
-           python-trustme
-           python-wsproto))
+     `(#:tests? #f))              ; no tests in PyPI and no setup.py in github
     (propagated-inputs
      (list python-asgiref
            python-click
            python-dotenv
            python-h11
+           python-hatchling
            python-httptools
            python-pyyaml
+           python-typing-extensions
            python-uvloop
            python-watchgod
            python-websockets))
-- 
2.40.1





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

* [bug#64383] [PATCH 4/8] gnu: python-starlette: Update to 0.26.0.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
                   ` (2 preceding siblings ...)
  2023-06-30 20:02 ` [bug#64378] [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0 peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64384] [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 peter
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64383; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-starlette): Update to 0.26.0.
---
 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 0c14e14665..d92ea9dc02 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -8283,7 +8283,7 @@ (define-public python-sendgrid
 (define-public python-starlette
   (package
     (name "python-starlette")
-    (version "0.25.0")
+    (version "0.26.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -8292,7 +8292,7 @@ (define-public python-starlette
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1mkkj15lphgycnp51dnrfxbyrx3dicjdcpsqvwc7yw55zyih6h5k"))))
+                "0jykqjl7ghqqxqlsiw2jhr280a4xcf6crkb18pawlaf1hscb4k38"))))
     (build-system pyproject-build-system)
     (propagated-inputs (list python-anyio
                              python-typing-extensions
-- 
2.40.1





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

* [bug#64384] [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
                   ` (3 preceding siblings ...)
  2023-06-30 20:02 ` [bug#64383] [PATCH 4/8] gnu: python-starlette: Update to 0.26.0 peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64380] [PATCH 6/8] gnu: python-tabulate: Update to 0.9.0 peter
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64384; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-xyz.scm (python-aiofiles): Update to 23.1.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 411cfe4045..0c5447a500 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -29387,14 +29387,14 @@ (define-public python-contextvars
 (define-public python-aiofiles
   (package
     (name "python-aiofiles")
-    (version "0.6.0")
+    (version "23.1.0")
     (source
       (origin
         (method url-fetch)
         (uri (pypi-uri "aiofiles" version))
         (sha256
           (base32
-            "14m01kjxm2j7zyljjj6xlhlgygcsriymbx730gc5jp9xglaina70"))))
+            "0d8n79slihf1lkbh2m6yw51rlq6n6vssljsdacbdpq0rkbglglpd"))))
     (build-system python-build-system)
     (home-page "https://github.com/Tinche/aiofiles")
     (synopsis "File support for @code{asyncio}")
-- 
2.40.1





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

* [bug#64380] [PATCH 6/8] gnu: python-tabulate: Update to 0.9.0.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
                   ` (4 preceding siblings ...)
  2023-06-30 20:02 ` [bug#64384] [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64377] [PATCH 7/8] gnu: python-semantic-version: Update to 2.10.0 peter
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64380; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-xyz.scm (python-tabulate): Update to 0.9.0.
---
 gnu/packages/python-xyz.scm | 22 ++++++++++------------
 1 file changed, 10 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 0c5447a500..829e329158 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -18452,19 +18452,17 @@ (define-public python-ply
 (define-public python-tabulate
   (package
     (name "python-tabulate")
-    (version "0.8.9")
+    (version "0.9.0")
     (source (origin
-             (method url-fetch)
-             (uri (pypi-uri "tabulate" version))
-             (sha256
-              (base32
-               "19qkdz8xwk5jxa5xn53mnk76qnh4ysm81vzj664jw1b0azr167gb"))))
-    (build-system python-build-system)
-    (arguments
-     ;; FIXME: The pypi release tarball is missing a 'test/common.py'
-     ;; and the latest release is not tagged in the upstream repository.
-     '(#:tests? #f))
-    (home-page "https://bitbucket.org/astanin/python-tabulate")
+              (method url-fetch)
+              (uri (pypi-uri "tabulate" version))
+              (sha256
+               (base32
+                "0g4b0qnbw55igbpxfxzciqvb6w8ncw4gmcgyq0lyavcnylmv3580"))))
+    (build-system pyproject-build-system)
+    (native-inputs (list python-pytest
+                         python-setuptools-scm))
+    (home-page "https://github.com/astanin/python-tabulate")
     (synopsis "Pretty-print tabular data")
     (description
      "Tabulate is a library and command-line utility to pretty-print tabular
-- 
2.40.1





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

* [bug#64377] [PATCH 7/8] gnu: python-semantic-version: Update to 2.10.0.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
                   ` (5 preceding siblings ...)
  2023-06-30 20:02 ` [bug#64380] [PATCH 6/8] gnu: python-tabulate: Update to 0.9.0 peter
@ 2023-06-30 20:02 ` peter
  2023-06-30 20:02 ` [bug#64381] [PATCH 8/8] gnu: Add python-platformio peter
  2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64377; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-xyz.scm (python-semantic-version): Update to 2.10.0.
---
 gnu/packages/python-xyz.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 829e329158..7f26e7ac94 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2482,15 +2482,21 @@ (define-public python-filelock-3.5
 (define-public python-semantic-version
   (package
     (name "python-semantic-version")
-    (version "2.8.5")
+    (version "2.10.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "semantic_version" version))
        (sha256
         (base32
-         "0m4avx8zdkzc7qglv5zlr54g8yna5vl098drg5396ql7aph2vjyj"))))
+         "0704smz9k6hdd6i5xh0xf0sk47kannjb77abilvvp34r6v9vdaxx"))))
     (build-system python-build-system)
+    (native-inputs (list python-pytest
+                         python-setuptools-scm
+                         python-django))
+    ;; FIXME: "django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured."
+    (arguments
+     `(#:tests? #f))
     (home-page "https://github.com/rbarrois/python-semanticversion")
     (synopsis "Semantic versioning module for Python")
     (description
-- 
2.40.1





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

* [bug#64381] [PATCH 8/8] gnu: Add python-platformio.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
                   ` (6 preceding siblings ...)
  2023-06-30 20:02 ` [bug#64377] [PATCH 7/8] gnu: python-semantic-version: Update to 2.10.0 peter
@ 2023-06-30 20:02 ` peter
  2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
  8 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-06-30 20:02 UTC (permalink / raw)
  To: 64381; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 7f26e7ac94..9406726d0e 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -11607,6 +11607,47 @@ (define-public python-plac
 function signatures.")
     (license license:bsd-3)))
 
+(define-public python-platformio
+  (package
+    (name "python-platformio")
+    (version "6.1.7")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "platformio" version))
+              (sha256
+               (base32
+                "1kpzj1hflw6clj3rbksb2js4zn0rafnz3wxyh0757g1nz57vjwly"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:tests? #f)) ; FIXME: PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
+    (propagated-inputs (list python-aiofiles
+                             python-ajsonrpc
+                             python-bottle
+                             python-click
+                             python-colorama
+                             python-marshmallow
+                             python-pyelftools
+                             python-pyserial
+                             python-requests
+                             python-semantic-version
+                             python-starlette
+                             python-tabulate
+                             python-urllib3
+                             python-uvicorn
+                             python-wsproto))
+    (home-page "https://platformio.org")
+    (synopsis
+     "A professional collaborative platform for embedded development. Cross-platform IDE and Unified Debugger. Static Code Analyzer and Remote Unit Testing. Multi-platform and Multi-architecture Build System. Firmware File Explorer and Memory Inspection. IoT, Arduino, CMSIS, ESP-IDF, FreeRTOS, libOpenCM3, mbedOS, Pulp OS, SPL, STM32Cube, Zephyr RTOS, ARM, AVR, Espressif (ESP8266/ESP32), FPGA, MCS-51 (8051), MSP430, Nordic (nRF51/nRF52), NXP i.MX RT, PIC32, RISC-V, STMicroelectronics (STM8/STM32), Teensy")
+    (description
+     "This package provides a professional collaborative platform for embedded
+development.  Cross-platform IDE and Unified Debugger.  Static Code Analyzer and
+Remote Unit Testing.  Multi-platform and Multi-architecture Build System.
+Firmware File Explorer and Memory Inspection.  IoT, Arduino, CMSIS, ESP-IDF,
+FreeRTOS, libOpenCM3, mbedOS, Pulp OS, SPL, STM32Cube, Zephyr RTOS, ARM, AVR,
+Espressif (ESP8266/ESP32), FPGA, MCS-51 (8051), MSP430, Nordic (nRF51/nRF52),
+NXP i.MX RT, PIC32, RISC-V, STMicroelectronics (STM8/STM32), Teensy")
+    (license license:asl2.0)))
+
 (define-public python-yte
   (package
     (name "python-yte")
-- 
2.40.1





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

* [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0.
  2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
                   ` (7 preceding siblings ...)
  2023-06-30 20:02 ` [bug#64381] [PATCH 8/8] gnu: Add python-platformio peter
@ 2023-08-29 14:01 ` peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 2/4] gnu: python-sanic: Update to 21.12.2 peter
                     ` (2 more replies)
  8 siblings, 3 replies; 15+ messages in thread
From: peter @ 2023-08-29 14:01 UTC (permalink / raw)
  To: 64375; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-xyz.scm (python-semantic-version): Update to 2.10.0.
---
 gnu/packages/python-xyz.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 385426671e..caf2c3203b 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -2549,15 +2549,21 @@ (define-public python-filelock-3.5
 (define-public python-semantic-version
   (package
     (name "python-semantic-version")
-    (version "2.8.5")
+    (version "2.10.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "semantic_version" version))
        (sha256
         (base32
-         "0m4avx8zdkzc7qglv5zlr54g8yna5vl098drg5396ql7aph2vjyj"))))
+         "0704smz9k6hdd6i5xh0xf0sk47kannjb77abilvvp34r6v9vdaxx"))))
     (build-system python-build-system)
+    (native-inputs (list python-pytest
+                         python-setuptools-scm
+                         python-django))
+    ;; FIXME: "django.core.exceptions.ImproperlyConfigured: Requested settings, but settings are not configured."
+    (arguments
+     `(#:tests? #f))
     (home-page "https://github.com/rbarrois/python-semanticversion")
     (synopsis "Semantic versioning module for Python")
     (description
-- 
2.41.0





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

* [bug#64375] [PATCH 2/4] gnu: python-sanic: Update to 21.12.2.
  2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
@ 2023-08-29 14:01   ` peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 3/4] gnu: python-quart: Update to 0.18.4 peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 4/4] gnu: Add platformio peter
  2 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-08-29 14:01 UTC (permalink / raw)
  To: 64375; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-sanic): Update to 21.12.2.
---
 gnu/packages/python-web.scm | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4c38636af5..5e3f3a0ed2 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7017,14 +7017,14 @@ (define-public python-sanic
   (package
     (name "python-sanic")
     ;; We provide the latest LTS version of python-sanic.
-    (version "21.12.1")
+    (version "21.12.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "sanic" version))
        (sha256
         (base32
-         "0b8mcd1q9qkwcv2qz8nlyaacs0bp7a1l31sdq2m8hhkxykzfq5bg"))))
+         "1qz5dq19dc1aagwapq2cxpgy40kyw6dk488jdl68d139midf29n4"))))
     (build-system python-build-system)
     (arguments
       (list
@@ -7048,7 +7048,8 @@ (define-public python-sanic
                            ;; Unclear why they fail since core-updates merge.
                            " and not test_missing_sni"
                            " and not test_no_matching_cert"
-                           " and not test_wildcards"))))))))
+                           " and not test_wildcards"
+                           " and not test_json_encoding"))))))))
     (propagated-inputs
      (list python-aiofiles
            python-httptools
-- 
2.41.0





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

* [bug#64375] [PATCH 3/4] gnu: python-quart: Update to 0.18.4.
  2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 2/4] gnu: python-sanic: Update to 21.12.2 peter
@ 2023-08-29 14:01   ` peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 4/4] gnu: Add platformio peter
  2 siblings, 0 replies; 15+ messages in thread
From: peter @ 2023-08-29 14:01 UTC (permalink / raw)
  To: 64375; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/python-web.scm (python-quart): Update to 0.18.4.
---
 gnu/packages/python-web.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 5e3f3a0ed2..ac2f2be3d8 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -7976,7 +7976,7 @@ (define-public python-tweepy
 (define-public python-quart
   (package
     (name "python-quart")
-    (version "0.17.0")
+    (version "0.18.4")
     (source
      (origin
        (method url-fetch)
@@ -7992,9 +7992,9 @@ (define-public python-quart
            python-itsdangerous
            python-jinja2
            python-markupsafe
-           python-toml
+           python-tomli
            python-werkzeug))
-    (home-page "https://gitlab.com/pgjones/quart/")
+    (home-page "https://github.com/pallets/quart")
     (synopsis "Python ASGI web microframework with the same API as Flask")
     (description
      "This package provides a Python ASGI web microframework with the same API
-- 
2.41.0





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

* [bug#64375] [PATCH 4/4] gnu: Add platformio.
  2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 2/4] gnu: python-sanic: Update to 21.12.2 peter
  2023-08-29 14:01   ` [bug#64375] [PATCH 3/4] gnu: python-quart: Update to 0.18.4 peter
@ 2023-08-29 14:01   ` peter
  2023-10-02 15:08     ` [bug#64375] bug#64384: [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 Ludovic Courtès
  2 siblings, 1 reply; 15+ messages in thread
From: peter @ 2023-08-29 14:01 UTC (permalink / raw)
  To: 64375; +Cc: Peter Polidoro

From: Peter Polidoro <peter@polidoro.io>

* gnu/packages/embedded.scm (platformio): New variable.
---
 gnu/packages/embedded.scm | 58 ++++++++++++++++++++++++++++++++-------
 1 file changed, 48 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index 325013a627..e547e6cbe6 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -13,6 +13,7 @@
 ;;; Copyright © 2022 Mathieu Othacehe <othacehe@gnu.org>
 ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
 ;;; Copyright © 2023 Janneke Nieuwenhuizen <janneke@gnu.org>
+;;; Copyright © 2023 Peter Polidoro <peter@polidoro.io>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -40,6 +41,7 @@ (define-module (gnu packages embedded)
   #:use-module (guix build-system cmake)
   #:use-module (guix build-system gnu)
   #:use-module (guix build-system python)
+  #:use-module (guix build-system pyproject)
   #:use-module (guix build-system trivial)
   #:use-module ((guix build utils) #:select (alist-replace delete-file-recursively))
   #:use-module (gnu packages)
@@ -1457,6 +1459,42 @@ (define-public west
 debugging them, and more.")
     (license license:expat)))
 
+(define-public platformio
+  (package
+    (name "platformio")
+    (version "6.1.10")
+    (source (origin
+              (method url-fetch)
+              (uri (pypi-uri "platformio" version))
+              (sha256
+               (base32
+                "0n7yz19ckyq1x3q7lm3cvj2xsmzx3kvnxkwqzkq9hfkj1yzxash4"))))
+    (build-system pyproject-build-system)
+    (arguments
+     `(#:tests? #f)) ; FIXME: PermissionError: [Errno 13] Permission denied: '/homeless-shelter'
+    (propagated-inputs (list python-ajsonrpc
+                             python-bottle
+                             python-click
+                             python-colorama
+                             python-marshmallow
+                             python-pyelftools
+                             python-pyserial
+                             python-requests
+                             python-semantic-version
+                             python-starlette
+                             python-tabulate
+                             python-uvicorn
+                             python-wsproto))
+    (home-page "https://platformio.org")
+    (synopsis
+     "Your Gateway to Embedded Software Development Excellence. Unlock the true potential of embedded software development with PlatformIO's collaborative ecosystem, embracing declarative principles, test-driven methodologies, and modern toolchains for unrivaled success.")
+    (description
+     "Your Gateway to Embedded Software Development Excellence.  Unlock the true
+potential of embedded software development with @code{PlatformIO's}
+collaborative ecosystem, embracing declarative principles, test-driven
+methodologies, and modern toolchains for unrivaled success.")
+    (license license:asl2.0)))
+
 (define-public ebusd
   (package
     (name "ebusd")
@@ -1464,8 +1502,8 @@ (define-public ebusd
     (source (origin
               (method git-fetch)
               (uri (git-reference
-                     (url "https://github.com/john30/ebusd")
-                     (commit version)))
+                    (url "https://github.com/john30/ebusd")
+                    (commit version)))
               (file-name (string-append name "-" version "-checkout"))
               (sha256
                (base32
@@ -1491,14 +1529,14 @@ (define-public ebusd
        ("autoconf" ,autoconf)
        ("config"
         ,(origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://github.com/john30/ebusd-configuration")
-                     (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
-              (file-name "config-checkout")
-              (sha256
-               (base32
-                "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))
+           (method git-fetch)
+           (uri (git-reference
+                 (url "https://github.com/john30/ebusd-configuration")
+                 (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
+           (file-name "config-checkout")
+           (sha256
+            (base32
+             "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))
     (synopsis "Daemon for communicating with eBUS devices")
     (description "This package provides @command{ebusd}, a daemon for
 handling communication with eBUS devices connected to a 2-wire bus system
-- 
2.41.0





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

* [bug#64375] bug#64384: [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0.
  2023-08-29 14:01   ` [bug#64375] [PATCH 4/4] gnu: Add platformio peter
@ 2023-10-02 15:08     ` Ludovic Courtès
  2023-10-04 13:57       ` Peter Polidoro
  0 siblings, 1 reply; 15+ messages in thread
From: Ludovic Courtès @ 2023-10-02 15:08 UTC (permalink / raw)
  To: peter; +Cc: 64384, 64375

Hi Peter,

Overall the patch series LGTM, with one nitpick:

peter@polidoro.io skribis:


[...]

> +    (build-system pyproject-build-system)
> +    (arguments
> +     `(#:tests? #f)) ; FIXME: PermissionError: [Errno 13] Permission denied: '/homeless-shelter'

Consider adding a phase that does (setenv "HOME" (getcwd)) or similar to
address this issue so you can run the test.  Shipping an untested
package is something we try to avoid.

> +    (home-page "https://platformio.org")
> +    (synopsis
> +     "Your Gateway to Embedded Software Development Excellence. Unlock the true potential of embedded software development with PlatformIO's collaborative ecosystem, embracing declarative principles, test-driven methodologies, and modern toolchains for unrivaled success.")
> +    (description
> +     "Your Gateway to Embedded Software Development Excellence.  Unlock the true
> +potential of embedded software development with @code{PlatformIO's}
> +collaborative ecosystem, embracing declarative principles, test-driven
> +methodologies, and modern toolchains for unrivaled success.")
> +    (license license:asl2.0)))

Please replace the marketing language with an actual synopsis and a
description, following the guidelines at:

  https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html

‘guix lint’ may also diagnose obvious issues.

> -                     (url "https://github.com/john30/ebusd")
> -                     (commit version)))
> +                    (url "https://github.com/john30/ebusd")
> +                    (commit version)))
>                (file-name (string-append name "-" version "-checkout"))
>                (sha256
>                 (base32
> @@ -1491,14 +1529,14 @@ (define-public ebusd
>         ("autoconf" ,autoconf)
>         ("config"
>          ,(origin
> -              (method git-fetch)
> -              (uri (git-reference
> -                     (url "https://github.com/john30/ebusd-configuration")
> -                     (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
> -              (file-name "config-checkout")
> -              (sha256
> -               (base32
> -                "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))
> +           (method git-fetch)
> +           (uri (git-reference
> +                 (url "https://github.com/john30/ebusd-configuration")
> +                 (commit "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
> +           (file-name "config-checkout")
> +           (sha256
> +            (base32
> +             "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))

Looks like these were unintended changes.

Could you please send an updated patch series?

Thanks,
Ludo’.




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

* [bug#64375] bug#64384: [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0.
  2023-10-02 15:08     ` [bug#64375] bug#64384: [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 Ludovic Courtès
@ 2023-10-04 13:57       ` Peter Polidoro
  0 siblings, 0 replies; 15+ messages in thread
From: Peter Polidoro @ 2023-10-04 13:57 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: 64384, 64375

Thank you.

I am attempting to update the patch series, but now multiple 
dependencies are failing to build due to version incompatibilities 
or failing tests.

I will try again when I have more time to track down all of these 
issues.


Ludovic Courtès <ludo@gnu.org> writes:

> Hi Peter,
>
> Overall the patch series LGTM, with one nitpick:
>
> peter@polidoro.io skribis:
>
>
> [...]
>
>> +    (build-system pyproject-build-system)
>> +    (arguments
>> +     `(#:tests? #f)) ; FIXME: PermissionError: [Errno 13] 
>> Permission denied: '/homeless-shelter'
>
> Consider adding a phase that does (setenv "HOME" (getcwd)) or 
> similar to
> address this issue so you can run the test.  Shipping an 
> untested
> package is something we try to avoid.
>
>> +    (home-page "https://platformio.org")
>> +    (synopsis
>> + "Your Gateway to Embedded Software Development Excellence. 
>> Unlock the true
>> potential of embedded software development with PlatformIO's 
>> collaborative
>> ecosystem, embracing declarative principles, test-driven 
>> methodologies, and
>> modern toolchains for unrivaled success.")
>> +    (description
>> +     "Your Gateway to Embedded Software Development 
>> Excellence.  Unlock the true
>> +potential of embedded software development with 
>> @code{PlatformIO's}
>> +collaborative ecosystem, embracing declarative principles, 
>> test-driven
>> +methodologies, and modern toolchains for unrivaled success.")
>> +    (license license:asl2.0)))
>
> Please replace the marketing language with an actual synopsis 
> and a
> description, following the guidelines at:
>
>   https://guix.gnu.org/manual/devel/en/html_node/Synopses-and-Descriptions.html
>
> ‘guix lint’ may also diagnose obvious issues.
>
>> -                     (url "https://github.com/john30/ebusd")
>> -                     (commit version)))
>> +                    (url "https://github.com/john30/ebusd")
>> +                    (commit version)))
>>                (file-name (string-append name "-" version 
>>                "-checkout"))
>>                (sha256
>>                 (base32
>> @@ -1491,14 +1529,14 @@ (define-public ebusd
>>         ("autoconf" ,autoconf)
>>         ("config"
>>          ,(origin
>> -              (method git-fetch)
>> -              (uri (git-reference
>> -                     (url 
>> "https://github.com/john30/ebusd-configuration")
>> -                     (commit 
>> "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
>> -              (file-name "config-checkout")
>> -              (sha256
>> -               (base32
>> - 
>> "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))
>> +           (method git-fetch)
>> +           (uri (git-reference
>> +                 (url 
>> "https://github.com/john30/ebusd-configuration")
>> +                 (commit 
>> "666c0f6b9c4d7545eff7f43ab28a1c7baeab7913")))
>> +           (file-name "config-checkout")
>> +           (sha256
>> +            (base32
>> + 
>> "0yxnx8p4lbk614l16854r9s9d8s9c7ixgczfs8mph94xz0wkda7x"))))))
>
> Looks like these were unintended changes.
>
> Could you please send an updated patch series?
>
> Thanks,
> Ludo’.





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

end of thread, other threads:[~2023-10-04 14:03 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 20:02 [bug#64375] [PATCH 0/8] Add python-platformio plus dependency updates peter
2023-06-30 20:02 ` [bug#64379] [PATCH 1/8] gnu: python-pyelftools: Update to 0.29 peter
2023-06-30 20:02 ` [bug#64382] [PATCH 2/8] gnu: python-sanic: Update to 21.12.2 peter
2023-06-30 20:02 ` [bug#64378] [PATCH 3/8] gnu: python-uvicorn: Update to 0.22.0 peter
2023-06-30 20:02 ` [bug#64383] [PATCH 4/8] gnu: python-starlette: Update to 0.26.0 peter
2023-06-30 20:02 ` [bug#64384] [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 peter
2023-06-30 20:02 ` [bug#64380] [PATCH 6/8] gnu: python-tabulate: Update to 0.9.0 peter
2023-06-30 20:02 ` [bug#64377] [PATCH 7/8] gnu: python-semantic-version: Update to 2.10.0 peter
2023-06-30 20:02 ` [bug#64381] [PATCH 8/8] gnu: Add python-platformio peter
2023-08-29 14:01 ` [bug#64375] [PATCH 1/4] gnu: python-semantic-version: Update to 2.10.0 peter
2023-08-29 14:01   ` [bug#64375] [PATCH 2/4] gnu: python-sanic: Update to 21.12.2 peter
2023-08-29 14:01   ` [bug#64375] [PATCH 3/4] gnu: python-quart: Update to 0.18.4 peter
2023-08-29 14:01   ` [bug#64375] [PATCH 4/4] gnu: Add platformio peter
2023-10-02 15:08     ` [bug#64375] bug#64384: [PATCH 5/8] gnu: python-aiofiles: Update to 23.1.0 Ludovic Courtès
2023-10-04 13:57       ` Peter Polidoro

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

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

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