guix-commits
[Top][All Lists]
Advanced

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

10/213: gnu: python-nox: Update to 2024.10.09.


From: guix-commits
Subject: 10/213: gnu: python-nox: Update to 2024.10.09.
Date: Fri, 10 Jan 2025 10:42:45 -0500 (EST)

rekado pushed a commit to branch python-team
in repository guix.

commit 027a0f3d43f4c5fa3a3b8690470751c47fe3e0b0
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Mon Dec 16 16:40:28 2024 +0100

    gnu: python-nox: Update to 2024.10.09.
    
    * gnu/packages/python-check.scm (python-nox): Update to 2024.10.09.
    [native-inputs]: Add python-hatchling; remove python-setuptools and
    python-wheel.
    [arguments]: Remove custom build phases.
    
    Change-Id: I3a446b7b1ef1d73356d5ba87b0c6812a08e4d3c3
---
 gnu/packages/python-check.scm | 28 +++++-----------------------
 1 file changed, 5 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/python-check.scm b/gnu/packages/python-check.scm
index f70028c65f..047edfd526 100644
--- a/gnu/packages/python-check.scm
+++ b/gnu/packages/python-check.scm
@@ -2908,7 +2908,7 @@ which make writing and running functional and integration 
tests easier.")
 (define-public python-nox
   (package
     (name "python-nox")
-    (version "2022.11.21")
+    (version "2024.10.09")
     (source
      (origin
        ;; No tests in the PyPI tarball.
@@ -2918,25 +2918,8 @@ which make writing and running functional and 
integration tests easier.")
              (commit version)))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "1xfd63h75wiiyri4f7qyvy50f2ny0v4r4wx2h4px9ddbkh2k5g9p"))))
+        (base32 "0gvv6hcwmmmg1sgwar42061ahx5p773d5fzx3c7sq81wh3gp7lqr"))))
     (build-system pyproject-build-system)
-    (arguments
-     (list #:phases
-           #~(modify-phases %standard-phases
-               ;; NOTE: This manipulation looks not clear as upstream package
-               ;; contains "nox/tox_to_nox.jinja2" file which is not copied
-               ;; during install phase and causes check and sanity-check
-               ;; phases fail due to missing file. Try to find more simple
-               ;; solution.
-               (add-after 'unpack 'rename-tox-to-nox-jinja2
-                 (lambda _
-                   (rename-file "nox/tox_to_nox.jinja2" 
"nox/tox_to_nox.jinja2.py")))
-               (add-after 'install 'rename-tox-to-nox-jinja2-back
-                 (lambda _
-                   (let* ((src-file (car (find-files (string-append #$output 
"/lib")
-                                                     
"tox_to_nox\\.jinja2\\.py$")))
-                          (dst-file (string-drop-right src-file 3)))
-                     (rename-file src-file dst-file)))))))
     (propagated-inputs
      (list python-argcomplete
            python-colorlog
@@ -2944,11 +2927,10 @@ which make writing and running functional and 
integration tests easier.")
            python-py
            python-virtualenv))
     (native-inputs
-     (list python-jinja2
+     (list python-hatchling
+           python-jinja2
            python-pytest
-           python-tox
-           python-setuptools
-           python-wheel))
+           python-tox))
     (home-page "https://nox.thea.codes/";)
     (synopsis "Flexible test automation")
     (description



reply via email to

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