gnu: python-optree: Update to 0.14.0.

* gnu/packages/python-xyz.scm (python-optree): Update to 0.14.0.
[source]: Remove patch.
[arguments]<#:test-flags>: Disable additional failing test.
[native-inputs]: Replace pybind11 with pybind11-2.13 and cmake with
cmake-minimal.
* gnu/packages/patches/python-optree-fix-32-bit.patch: Remove file.
* gnu/local.mk (dist_patch_DATA): Remove it.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
David Elsing 2025-01-22 18:32:18 +00:00 committed by Ludovic Courtès
parent 2f10079c23
commit c8ceb0cb83
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5
3 changed files with 8 additions and 131 deletions

View file

@ -13248,7 +13248,7 @@ without using the configuration machinery.")
(define-public python-optree
(package
(name "python-optree")
(version "0.11.0")
(version "0.14.0")
(source
(origin
(method git-fetch)
@ -13258,21 +13258,21 @@ without using the configuration machinery.")
(file-name (git-file-name name version))
(sha256
(base32
"0sk5lm1xyxi7z0yjckip77qvbidyb7i1znmn9fz96q74hl9ffyan"))
(patches (search-patches "python-optree-fix-32-bit.patch"))))
"17zph1jgzk0zaanj7057qj8x5cml8j66ip0xmlbwmq4396hmdlbs"))))
(build-system pyproject-build-system)
(arguments
(list
#:test-flags
;; This test fails due to a circular import
''("-k" "not test_treespec_pickle_missing_registration")))
;; These tests fails due to a circular import
'`("-k" ,(string-append "not test_treespec_pickle_missing_registration"
" and not test_import_no_warnings"))))
(propagated-inputs (list python-typing-extensions))
(native-inputs
(list python-pytest
python-setuptools
python-wheel
cmake
pybind11))
cmake-minimal
pybind11-2.13))
(home-page "https://github.com/metaopt/optree")
(synopsis "Optimized PyTree Utilities")
(description "This package contains operations on PyTrees (a tree made of