[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/17: gnu: python-hyperopt: Update to 0.2.7.
From: |
guix-commits |
Subject: |
02/17: gnu: python-hyperopt: Update to 0.2.7. |
Date: |
Mon, 12 Dec 2022 18:26:34 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit de70f957b25ef6774a2cca5697bc8b55a3a20c95
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Dec 8 15:14:10 2022 +0100
gnu: python-hyperopt: Update to 0.2.7.
* gnu/packages/machine-learning.scm (python-hyperopt): Update to 0.2.7.
[arguments]: Adjust check phase; disable test_distribution_rvs test.
[build-system]: Use pyproject-build-system.
[propagated-inputs]: Add python-py4j.
[native-inputs]: Remove python-ipython and python-ipyparallel.
---
gnu/packages/machine-learning.scm | 36 +++++++++++++++++++-----------------
1 file changed, 19 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/machine-learning.scm
b/gnu/packages/machine-learning.scm
index fc8de01066..3dbe54a24a 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1552,35 +1552,39 @@ interactive learning.")
(define-public python-hyperopt
(package
(name "python-hyperopt")
- (version "0.2.5")
+ (version "0.2.7")
(source
(origin
(method url-fetch)
(uri (pypi-uri "hyperopt" version))
(sha256
- (base32 "1k4ma8ci0bxghw7g4ms944zak1pi83yv2d6bxd7fcslm1zalfq5w"))))
- (build-system python-build-system)
+ (base32 "0jd1ghmm423kbhjvd6pxq92y5vkz25390687fcnd7fshh3jrmy0v"))))
+ (build-system pyproject-build-system)
(arguments
- `(#:phases
- (modify-phases %standard-phases
+ (list
+ #:phases
+ '(modify-phases %standard-phases
(replace 'check
- (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+ (lambda* (#:key tests? #:allow-other-keys)
(when tests?
- (add-installed-pythonpath inputs outputs)
- (invoke "python" "-m" "pytest" "--ignore"
+ (invoke "python" "-m" "pytest"
;; Needs python-pyspark.
- "hyperopt/tests/test_spark.py"
+ "--ignore" "hyperopt/tests/integration/test_spark.py"
;; Needs both python-scikit-learn and python-lightgbm.
- "--ignore" "hyperopt/tests/test_atpe_basic.py"
+ "--ignore" "hyperopt/tests/unit/test_atpe_basic.py"
;; The tests below need python-lightgbm.
- "-k" (string-append "not test_branin"
- " and not test_distractor"
- " and not test_q1lognormal"
- " and not test_quadratic1"
- " and not test_twoarms"))))))))
+ "-k"
+ (string-append "not test_branin"
+ " and not test_distractor"
+ " and not test_q1lognormal"
+ " and not test_quadratic1"
+ " and not test_twoarms"
+ ;; XXX Type error with this version of
scipy
+ " and not test_distribution_rvs"))))))))
(propagated-inputs
(list python-cloudpickle
python-future
+ python-py4j
python-networkx
python-numpy
python-scipy
@@ -1588,8 +1592,6 @@ interactive learning.")
python-tqdm))
(native-inputs
(list python-black
- python-ipython
- python-ipyparallel
python-nose
python-pymongo
python-pytest))
- branch master updated (75331dc6e6 -> e84042fdd4), guix-commits, 2022/12/12
- 01/17: gnu: python-graphviz: Update to 0.20.1., guix-commits, 2022/12/12
- 04/17: gnu: python-hicmatrix: Update to 16., guix-commits, 2022/12/12
- 16/17: gnu: seqmagick: Update to 0.8.4., guix-commits, 2022/12/12
- 02/17: gnu: python-hyperopt: Update to 0.2.7.,
guix-commits <=
- 03/17: gnu: python-biopython: Update to 1.80., guix-commits, 2022/12/12
- 05/17: gnu: python-pygenometracks: Update to 3.5., guix-commits, 2022/12/12
- 09/17: gnu: python-apsw: Update to 3.40.0.0., guix-commits, 2022/12/12
- 10/17: gnu: python-cgatcore: Update to 0.6.14., guix-commits, 2022/12/12
- 14/17: gnu: python-pyjwt: Update to 2.6.0., guix-commits, 2022/12/12
- 11/17: gnu: python-flask-restful: Update to 0.3.9., guix-commits, 2022/12/12
- 12/17: gnu: python-marshmallow: Update to 3.19.0., guix-commits, 2022/12/12
- 17/17: gnu: cnvkit: Update to 0.9.9., guix-commits, 2022/12/12
- 07/17: gnu: python-dna-features-viewer: Update to 3.1.1., guix-commits, 2022/12/12
- 06/17: gnu: python-hicexplorer: Update to 3.7.2., guix-commits, 2022/12/12