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
This commit is contained in:
Sharlatan Hellseher 2025-03-25 11:37:16 +00:00 committed by Andreas Enge
parent 2999dea81b
commit 9c3f7ebb9c
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

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