unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Vinicius Monego <monego@posteo.net>
To: 52696@debbugs.gnu.org
Cc: Vinicius Monego <monego@posteo.net>
Subject: [bug#52696] [PATCH 06/12] gnu: python-pynndescent: Update to 0.5.5.
Date: Tue, 21 Dec 2021 04:46:37 +0000	[thread overview]
Message-ID: <20211221044643.78959-6-monego@posteo.net> (raw)
In-Reply-To: <20211221044643.78959-1-monego@posteo.net>

* gnu/packages/machine-learning.scm (python-pynndescent): Update to 0.5.5.
[arguments]<#:phases>: Override 'check phase.
[native-inputs]: Remove python-nose. Add python-pytest.
---
 gnu/packages/machine-learning.scm | 14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 1cd2fd1308..26b710e5d7 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1057,16 +1057,24 @@ for scientific computing and data science (e.g. BLAS and OpenMP).")
 (define-public python-pynndescent
   (package
     (name "python-pynndescent")
-    (version "0.5.2")
+    (version "0.5.5")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pynndescent" version))
        (sha256
-        (base32 "0w87c2v0li2rdbx6qfc2lb6y6bxpdy3jwfgzfs1kcr4d1chj5zfr"))))
+        (base32 "10pqqqc3jkpw03cyzy04slxmpgyhqnlgbyk0c1cv7kqr5d0zhzbs"))))
     (build-system python-build-system)
+    (arguments
+     `(#:phases
+       (modify-phases %standard-phases
+         (replace 'check
+           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
+             (when tests?
+               (add-installed-pythonpath inputs outputs)
+               (invoke "python" "-m" "pytest" "--pyargs" "pynndescent")))))))
     (native-inputs
-     (list python-nose))
+     (list python-pytest))
     (propagated-inputs
      (list python-joblib python-llvmlite python-numba python-scikit-learn
            python-scipy))
-- 
2.30.2





  parent reply	other threads:[~2021-12-21  4:48 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-12-21  4:45 [bug#52696] [PATCH 00/12] Update Orange Vinicius Monego
2021-12-21  4:46 ` [bug#52696] [PATCH 01/12] gnu: python-anyqt: Update to 0.0.13 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 02/12] gnu: python-qasync: Update to 0.22.0 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 03/12] gnu: Add python-pytest-pydocstyle Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 04/12] gnu: python-pytest-pycodestyle: Update to 2.2.0 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 05/12] gnu: python-dictdiffer: Update to 0.9.0 Vinicius Monego
2021-12-21  4:46   ` Vinicius Monego [this message]
2021-12-21  4:46   ` [bug#52696] [PATCH 07/12] gnu: python-opentsne: Update to 0.6.1 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 08/12] gnu: python-qtconsole: Update to 4.7.7 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 09/12] gnu: python-qtconsole: Enable tests Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 10/12] gnu: python-orange-canvas-core: Update to 0.1.24 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 11/12] gnu: python-orange-widget-base: Update to 4.16.1 Vinicius Monego
2021-12-21  4:46   ` [bug#52696] [PATCH 12/12] gnu: orange: Update to 3.31.0 Vinicius Monego
2022-01-14 20:09 ` [bug#52696] [PATCH v2 01/11] gnu: python-anyqt: Update to 0.0.13 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 02/11] gnu: python-qasync: Update to 0.22.0 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 03/11] gnu: Add python-pytest-pydocstyle Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 04/11] gnu: python-pytest-pycodestyle: Update to 2.2.0 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 05/11] gnu: python-pynndescent: Update to 0.5.5 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 06/11] gnu: python-opentsne: Update to 0.6.1 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 07/11] gnu: python-qtconsole: Update to 4.7.7 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 08/11] gnu: python-qtconsole: Enable tests Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 09/11] gnu: python-orange-canvas-core: Update to 0.1.24 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 10/11] gnu: python-orange-widget-base: Update to 4.16.1 Vinicius Monego
2022-01-14 20:09   ` [bug#52696] [PATCH v2 11/11] gnu: orange: Update to 3.31.1 Vinicius Monego
2022-01-14 20:33 ` bug#52696: [PATCH 00/12] Update Orange Nicolas Goaziou

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20211221044643.78959-6-monego@posteo.net \
    --to=monego@posteo.net \
    --cc=52696@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).