GNU bug report logs - #76571
[PATCH python-team 00/15] Some fixes

Previous Next

Package: guix-patches;

Reported by: Nicolas Graves <ngraves <at> ngraves.fr>

Date: Tue, 25 Feb 2025 22:52:01 UTC

Severity: normal

Tags: patch

Done: Ricardo Wurmus <rekado <at> elephly.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Nicolas Graves <ngraves <at> ngraves.fr>
To: 76571 <at> debbugs.gnu.org
Subject: [bug#76571] [PATCH 08/15] gnu: python-pytest-runner: Update to 6.0.1.
Date: Tue, 25 Feb 2025 08:11:27 +0100
* gnu/packages/check.scm (python-pytest-runner): Update to 6.0.1.
[arguments]: Remove {phases}.
[native-inputs]: Remove python-pip, python-pypa-build. Add
python-pytest-checkdocs, python-pytest-enabler,
python-types-setuptools.
---
 gnu/packages/check.scm | 28 +++++++++++-----------------
 1 file changed, 11 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 61cacb98be..5e3ad744cc 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -1984,35 +1984,29 @@ (define-public python-pytest-randomly
 (define-public python-pytest-runner
   (package
     (name "python-pytest-runner")
-    (version "6.0.0")
+    (version "6.0.1")
     (source
      (origin
        (method url-fetch)
        (uri (pypi-uri "pytest-runner" version))
        (sha256
         (base32
-         "11dnhxnjmh4nf1j8rnvx944ha3wg8ggrgrwdcx4c7d19xmi57n5l"))))
+         "16zly218ij0n6fxzqsasia3vh9xkzl9w0cs9pwvqy057hnap7m3h"))))
     (build-system pyproject-build-system)
     (arguments
      (list
       ;; FIXME: The test suite requires 'python-pytest-virtualenv',
       ;; but that introduces a circular dependency.
-      #:tests? #f
-      #:phases
-      #~(modify-phases %standard-phases
-          (replace 'build
-            (lambda _
-              (let ((circa-1980 (* 10 366 24 60 60)))
-                (setenv "SOURCE_DATE_EPOCH" (number->string circa-1980))
-                (invoke "python" "-m" "build" "--wheel" "--no-isolation" "."))))
-          (replace 'install
-            (lambda _
-              (let ((whl (car (find-files "dist" "\\.whl$"))))
-                (invoke "pip" "--no-cache-dir" "--no-input"
-                        "install" "--no-deps" "--prefix" #$output whl)))))))
+      #:tests? #f))
     (native-inputs
-     (list python-pip python-pypa-build python-pytest
-           python-setuptools python-setuptools-scm python-wheel))
+     (list python-pytest
+           python-pytest-checkdocs
+           python-pytest-enabler
+           ;; python-pytest-virtualenv
+           python-setuptools
+           python-setuptools-scm
+           python-types-setuptools
+           python-wheel))
     (home-page "https://github.com/pytest-dev/pytest-runner")
     (synopsis "Invoke py.test as a distutils command")
     (description
-- 
2.48.1



-- 
Best regards,
Nicolas Graves




This bug report was last modified 84 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.