guix_mirror_bot pushed a commit to branch master
in repository guix.

commit 2b2889137f8c6346e03686959d371e40f8f707b5
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Nov 26 00:18:14 2025 +0000

    gnu: mbed-tools: Update to 7.59.0.
    
    * gnu/packages/embedded.scm (mbed-tools): Update to 7.59.0.
    [build-system]: Switch to pyproejct-build-system.
    [arguments] <phases>: Remove 'relax-requirements; add 'fix-pytest-config;
    use default 'check.
    [propagated-inputs]: Remove python-pdoc3.
    [native-inputs]: Remove python-pytest-cov; add python-setuptools and
    python-setuptools-scm.
    
    Change-Id: I277b573ae5983f1a48b657bdbbfba311600d82cf
---
 gnu/packages/embedded.scm | 57 ++++++++++++++++++++++-------------------------
 1 file changed, 27 insertions(+), 30 deletions(-)

diff --git a/gnu/packages/embedded.scm b/gnu/packages/embedded.scm
index a62931f355..328754efb8 100644
--- a/gnu/packages/embedded.scm
+++ b/gnu/packages/embedded.scm
@@ -2072,48 +2072,45 @@ whereas kdmx creates pseudo-ttys.")
 (define-public mbed-tools
   (package
     (name "mbed-tools")
-    (version "7.53.0")
+    (version "7.59.0")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "mbed-tools" version))
        (sha256
-        (base32
-         "0gdmyxy97bqr9bmkg90v3axmrr2db734nwzq2l05z84x9qiarc9i"))))
+        (base32 "12h8g8mv3llwqcjii4zvz94mv7cmhmbc204w4nqd6nnhwfvcl6ky"))))
+    (build-system pyproject-build-system)
     (arguments
-     `(#:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'relax-requirements
-           (lambda _
-             (substitute* "setup.py"
-               (("\"Click>=7.1,<8\"")
-                "\"Click>=7.1\""))))
-         (replace 'check
-           (lambda* (#:key tests? #:allow-other-keys)
-             (when tests?
-               ;; Remove this failing test.
-               (delete-file "tests/ci_scripts/test_sync_board_db.py")
-               (invoke "pytest" "-vv")))))))
+     (list
+      ;; tests: 631 passed, 27 skipped, 1 warning
+      #:test-flags
+      ;; E   ModuleNotFoundError: No module named 'mbed_tools_ci_scripts'
+      #~(list "--ignore=tests/ci_scripts/test_sync_board_db.py")
+      #:phases
+      #~(modify-phases %standard-phases
+          (add-after 'unpack 'fix-pytest-config
+            (lambda _
+              (substitute* "pytest.ini"
+                (("addopts = .*") "")))))))
     (native-inputs
-     (list python-pytest
-           python-pytest-cov
-           python-factory-boy
+     (list python-factory-boy
+           python-pytest
            python-requests-mock
-           python-semver))
+           python-semver
+           python-setuptools
+           python-setuptools-scm))
     (propagated-inputs
-     (list python-dotenv
-           python-click
-           python-pdoc3
+     (list python-click
+           python-dotenv
            python-gitpython
-           python-tqdm
-           python-tabulate
-           python-requests
+           python-jinja2
            python-psutil
+           python-pyserial
            python-pyudev
-           python-typing-extensions
-           python-jinja2
-           python-pyserial))
-    (build-system python-build-system)
+           python-requests
+           python-tabulate
+           python-tqdm
+           python-typing-extensions))
     (home-page "https://github.com/ARMmbed/mbed-tools";)
     (synopsis "ARM Mbed command line tools")
     (description "This package is the successor of @code{mbed-cli}.  It

Reply via email to