From 920a3bec5a941187505f707f1ac9c4084755ef3d Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Mon, 27 Oct 2025 14:24:45 +0100 Subject: [PATCH] gnu: python-ml-collections: Update to 1.1.0. * gnu/packages/machine-learning.scm (python-ml-collections): Update to 1.1.0. [arguments]: Update test flags. [native-inputs]: Remove python-pylint, python-pytest-xidst. [propagated-inputs]: Remove python-six. Change-Id: If03e19f2e10b58bc97d66920dfc4ec4c8e6be03b Reviewed-by: Cayetano Santos Modified-by: Sharlatan Hellseher Signed-off-by: Sharlatan Hellseher --- gnu/packages/machine-learning.scm | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm index 565cc7977865cb29cd6656e19b9a8b78247ac842..20258dee02d33f11ff6c2632af55e370b6a2afaf 100644 --- a/gnu/packages/machine-learning.scm +++ b/gnu/packages/machine-learning.scm @@ -513,25 +513,28 @@ transforms.") (define-public python-ml-collections (package (name "python-ml-collections") - (version "1.0.0") + (version "1.1.0") (source (origin (method git-fetch) (uri (git-reference - (url "https://github.com/google/ml_collections") - (commit (string-append "v" version)))) + (url "https://github.com/google/ml_collections") + (commit (string-append "v" version)))) (sha256 - (base32 "1f3rwbgnnvgh2jgnkwxfjdw18yly41hlx9fy56h0x36zyy8p0j21")))) + (base32 "1lv7vs84v4zwyrqg2zdlkrx3x6w08j9lyz74m8vk55ysl4399pqv")))) (build-system pyproject-build-system) (arguments (list - #:test-flags '(list "--pyargs" "ml_collections/config_dict/tests"))) + ;; tests: 373 passed, 1 skipped, 81 warnings + #:test-flags + #~(list "--ignore=docs/" + "--ignore=ml_collections/config_dict/examples/examples_test.py"))) + (native-inputs + (list python-flit-core + python-pytest)) (propagated-inputs - (list python-absl-py python-pyyaml python-six)) - (native-inputs (list python-pylint - python-pytest - python-pytest-xdist - python-flit-core)) + (list python-absl-py + python-pyyaml)) (home-page "https://github.com/google/ml_collections") (synopsis "Python collections designed for Machine Learning usecases") (description