guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

08/18: gnu: python-pytest-filter-subpackage: Update to 0.1.2.


From: guix-commits
Subject: 08/18: gnu: python-pytest-filter-subpackage: Update to 0.1.2.
Date: Mon, 8 May 2023 05:51:47 -0400 (EDT)

efraim pushed a commit to branch master
in repository guix.

commit 735513e93e74b64ce680344c06c2190d6487130e
Author: Sharlatan Hellseher <sharlatanus@gmail.com>
AuthorDate: Fri Apr 28 00:43:05 2023 +0100

    gnu: python-pytest-filter-subpackage: Update to 0.1.2.
    
    * gnu/packages/python-check.scm (python-pytest-filter-subpackage):
    Update to 0.1.2.
    [build-system]: Use pyproject-build-system.
    [arguments]: Drop no more required phases.
    [native-inputs]: Add python-setuptools-scm.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
 gnu/packages/python-check.scm | 22 +++++++---------------
 1 file changed, 7 insertions(+), 15 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f17a51996e..3f2404c823 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -633,27 +633,19 @@ for interactively selecting and running Pytest tests.")
 (define-public python-pytest-filter-subpackage
   (package
     (name "python-pytest-filter-subpackage")
-    (version "0.1.1")
+    (version "0.1.2")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytest-filter-subpackage" version))
        (sha256
-        (base32 "1s4s2kd31yc65rfvl4xhy8xx806xhy59kc7668h6b6wq88xgrn5p"))))
-    (build-system python-build-system)
-    (arguments
-     '(;; One test is failing. There's an issue reported upstream. See
-       ;; https://github.com/astropy/pytest-filter-subpackage/issues/3.
-       ;; Disable it for now.
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key inputs outputs #:allow-other-keys)
-             ;; Make the installed plugin discoverable by Pytest.
-             (add-installed-pythonpath inputs outputs)
-             (invoke "pytest" "-vv" "-k" "not test_with_rst"))))))
+        (base32 "10hpl3f7g2bm29lakmp8492b7lr0dp90khfni12m4gl02xks7bhz"))))
+    (build-system pyproject-build-system)
     (native-inputs
-     (list python-pytest python-pytest-cov python-pytest-doctestplus))
+     (list python-pytest
+           python-pytest-cov
+           python-pytest-doctestplus
+           python-setuptools-scm))
     (home-page "https://github.com/astropy/pytest-filter-subpackage";)
     (synopsis "Pytest plugin for filtering based on sub-packages")
     (description



reply via email to

[Prev in Thread] Current Thread [Next in Thread]