unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Sharlatan Hellseher <sharlatanus@gmail.com>
To: 63136@debbugs.gnu.org
Cc: Sharlatan Hellseher <sharlatanus@gmail.com>
Subject: [bug#63136] [PATCH 01/14] gnu: python-pytest-doctestplus: Update to 0.12.1.
Date: Fri, 28 Apr 2023 00:43:00 +0100	[thread overview]
Message-ID: <20230427234313.19013-1-sharlatanus@gmail.com> (raw)
In-Reply-To: <20230427234102.18801-1-sharlatanus@gmail.com>

* gnu/packages/python-check.scm (python-pytest-doctestplus): Update to
0.12.1.
[build-system]: Use pyproject-build-system.
[arguments]<phases>: Remove modify-phases and add test-flags option
instead.
[native-inputs]: Add python-numpy.
---
 gnu/packages/python-check.scm | 31 ++++++++++++-------------------
 1 file changed, 12 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index c42cd426b1..dd0600a2fc 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -577,32 +577,25 @@ (define-public python-pytest-arraydiff
 (define-public python-pytest-doctestplus
   (package
     (name "python-pytest-doctestplus")
-    (version "0.11.2")
+    (version "0.12.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytest-doctestplus" version))
        (sha256
-        (base32 "0j1lvlj3ps975q9hmg8i6rpqm0313j3r18bc3l8mz6khb7vav4zk"))))
-    (build-system python-build-system)
+        (base32 "10ciqylgziihxwxryxvxgmkqgws51pqcarn0gbh1d4cxx55rx5vs"))))
+    (build-system pyproject-build-system)
     (arguments
-     '(#:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs tests? #:allow-other-keys)
-             ;; Make the installed plugin discoverable by Pytest.
-             (when tests?
-               (add-installed-pythonpath inputs outputs)
-               (invoke "python" "-m" "pytest" "-k"
-                       (string-append   ; skip tests that require remote data
-                        "not test_remote_data_url"
-                        " and not test_remote_data_float_cmp"
-                        " and not test_remote_data_ignore_whitespace"
-                        " and not test_remote_data_ellipsis"
-                        " and not test_remote_data_requires"
-                        " and not test_remote_data_ignore_warnings"))))))))
+     (list #:test-flags
+           #~(list "-k" (string-append
+                         "not test_remote_data_url"
+                         " and not test_remote_data_float_cmp"
+                         " and not test_remote_data_ignore_whitespace"
+                         " and not test_remote_data_ellipsis"
+                         " and not test_remote_data_requires"
+                         " and not test_remote_data_ignore_warnings"))))
     (native-inputs
-     (list python-pytest python-setuptools-scm))
+     (list python-numpy python-pytest python-setuptools-scm))
     (home-page "https://github.com/astropy/pytest-doctestplus")
     (synopsis "Pytest plugin with advanced doctest features")
     (description
-- 
2.39.2





  reply	other threads:[~2023-04-28  0:41 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-27 23:41 [bug#63136] [PATCH 00/14]: python-astropy: Update to 5.2.2, fix build Sharlatan Hellseher
2023-04-27 23:43 ` Sharlatan Hellseher [this message]
2023-04-27 23:43   ` [bug#63136] [PATCH 02/14] gnu: Add h3 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 03/14] gnu: Sort use-module alphabetically in (gnu packages geo) Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 04/14] gnu: Add python-h3 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 05/14] gnu: Add python-timezonefinder Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 06/14] gnu: pytest-filter-subpackage: Update to 0.1.2 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 07/14] gnu: python-pytest-astropy: Simplify package Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 08/14] gnu: python-extension-helpers: Update to 1.0.0 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 09/14] gnu: python-jplephem: Update to 2.18 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 10/14] gnu: python-skyfield: Update to 1.46 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 11/14] gnu: python-pytest-remotedata: Update to 0.4.0 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 12/14] gnu: python-pytest-arraydiff: Update to 0.5.0 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 13/14] gnu: python-pytest-mpl: Update to 0.16.1 Sharlatan Hellseher
2023-04-27 23:43   ` [bug#63136] [PATCH 14/14] gnu: python-astropy: Update to 5.2.2, fix build Sharlatan Hellseher
2023-05-02 14:51 ` [bug#63136] Sharlatan Hellseher
2023-05-08  9:52   ` bug#63136: Efraim Flashner

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=20230427234313.19013-1-sharlatanus@gmail.com \
    --to=sharlatanus@gmail.com \
    --cc=63136@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).