andreas pushed a commit to branch python-team
in repository guix.

commit 32f29b580f7c65bc6a88a4109f5edd09c663f055
Author: Sharlatan Hellseher <sharlata...@gmail.com>
AuthorDate: Tue Mar 25 11:37:16 2025 +0000

    gnu: python-asyncua: Fix build.
    
    python-asynctest has not been updated for 6y and fails to build, but
    it's optional in tests. This change removes it from native inputs.
    
    * gnu/packages/engineering.scm (python-asyncua): Update to 1.1.5.
    [source]: Mention about the third party submodule on recursive option.
    [native-inputs]: Remove python-asynctest and python-pytest-runner; add
    python-pytest.
    
    Change-Id: I9d268c43ebe97fcaacc5125e1038f6ff371d39b2
---
 gnu/packages/engineering.scm | 25 +++++++++++++------------
 1 file changed, 13 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 7314f0b8c5..f84c2829ea 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -5188,22 +5188,23 @@ more.")
   (package
     (name "python-asyncua")
     (version "1.1.5")
-    (source (origin
-              (method git-fetch)
-              (uri (git-reference
-                     (url "https://github.com/FreeOpcUa/opcua-asyncio.git";)
-                     (commit (string-append "v" version))
-                     (recursive? #t)))
-              (file-name (git-file-name name version))
-              (sha256
-               (base32
-                "0aisj8cpfhq50h4pv2p0c9iw5cqy3hxhn5adp8wd01c46dhg6y2x"))))
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://github.com/FreeOpcUa/opcua-asyncio.git";)
+             (commit (string-append "v" version))
+             ;; XXX: It clones <https://github.com/OPCFoundation/UA-Nodeset>
+             ;; submodule, check if it may be unbundled.
+             (recursive? #t)))
+       (file-name (git-file-name name version))
+       (sha256
+        (base32 "0aisj8cpfhq50h4pv2p0c9iw5cqy3hxhn5adp8wd01c46dhg6y2x"))))
     (build-system pyproject-build-system)
     (native-inputs
-     (list python-asynctest
+     (list python-pytest
            python-pytest-asyncio-0.21
            python-pytest-mock
-           python-pytest-runner
            python-setuptools
            python-wheel))
     (propagated-inputs

Reply via email to