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

commit 53c7a85143b24ca701165c560a7779fb8c03e7c4
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed Jan 21 10:54:44 2026 +0000

    gnu: python-execnet: Update to 2.1.2.
    
    * gnu/packages/python-xyz.scm (python-execnet): Update to 2.1.2.
    [phases]{adjust-for-pytest-7.2+, pretend-version, prepare-for-tests}:
    Remove phases.
    {set-version, pre-check}: New phases.
    
    Change-Id: Ifd26ee4d592862ed8c812fae61fafa06fdfac9da
---
 gnu/packages/python-xyz.scm | 32 +++++++++-----------------------
 1 file changed, 9 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 09a64acb05..4f47fff469 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -19189,7 +19189,7 @@ friendly JSON encoder, decorators for retries and 
logging.")
 (define-public python-execnet
   (package
     (name "python-execnet")
-    (version "2.1.1")
+    (version "2.1.2")
     (source
      (origin
        (method git-fetch)
@@ -19198,35 +19198,21 @@ friendly JSON encoder, decorators for retries and 
logging.")
               (commit (string-append "v" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0xlfd0h9sjl0jpc2fc689a497chwbagali7qr364k75hdyax3jfq"))))
+        (base32 "1msiqa1qz6dkdh4c3z351cld12qh8amhq4j1mdkq8sz015j47vnx"))))
     (build-system pyproject-build-system)
     (arguments
      (list
-      ;; ;; This test hasn't been updated for the latest Pytest yet:
-      ;; #:test-flags #~(list "--ignore" "testing/test_rsync.py")
+      ;; tests: 466 passed, 614 skipped, 4 xfailed, 11 xpassed, 1 warning
       #:phases
       #~(modify-phases %standard-phases
-          (add-after 'unpack 'adjust-for-pytest-7.2+
+          (add-before 'build 'set-verion
             (lambda _
-              ;; This test fails with an error because @py.test has been
-              ;; deprecated for @pytest in recent Pytest.
-              (substitute* "testing/test_rsync.py"
-                (("@py.test")
-                 "@pytest"))))
-          (add-before 'build 'pretend-version
-            ;; The version string is usually derived via setuptools-scm, but
-            ;; without the git metadata available this fails.
-            (lambda _
-              ;; hatch-vcs uses setuptools under the hood.
               (setenv "SETUPTOOLS_SCM_PRETEND_VERSION"
-                      ;; Massage the version string to a PEP-0440 compatible
-                      ;; one.
-                      #$(car (string-split version #\-)))))
-          (add-before 'check 'prepare-for-tests
-            (lambda _
-              ;; Unset PYTHONDONTWRITEBYTECODE to match the
-              ;; expectations of a test in
-              ;; 'testing/test_gateway.py'.
+                      #$(version-major+minor+point version))))
+          (add-before 'check 'pre-check
+            (lambda _
+              ;; Unset PYTHONDONTWRITEBYTECODE to match the expectations of a
+              ;; test in 'testing/test_gateway.py'.
               (unsetenv "PYTHONDONTWRITEBYTECODE"))))))
     (native-inputs
      (list python-hatchling

Reply via email to