Subject: bug#48722: [PATCH] python-hg-evolve update to 10.3.1 for compatibility with new hg

From: "Dr. Arne Babenhauserheide" <[email-masked]>
Date: Fri, 28 May 2021 22:28:31 +0200

Hi,

The current evolve extension in Guix does not work with current hg
anymore. To reproduce:

$ echo '[extensions]
evolve=
' >> ~/.hgrc
$ guix install python-hg-evolve
$ hg 
Traceback (most recent call last):
  File "/gnu/store/2j3qrrdbnbw9x6jm00z3clc6pk4ijcz2-mercurial-5.8/lib/python3.8/site-packages/mercurial/extensions.py", line 273, in _runextsetup
    extsetup(ui)
  File "/home/arne/.guix-profile/lib/python3.8/site-packages/hgext3rd/evolve/exthelper.py", line 182, in finalextsetup
    knownexts[ext] = e.cmdtable
AttributeError: module 'hgext.strip' has no attribute 'cmdtable'
*** failed to set up extension evolve: module 'hgext.strip' has no attribute 'cmdtable'

The included patch updates python-hg-evolve to 10.3.1 which fixes the problem.

Best wishes,
Arne

From b4796dc8b9a0f9d8fffd44675496d1371ebd8cff Mon Sep 17 00:00:00 2001
From: Arne Babenhauserheide <[email-masked]>
Date: Fri, 28 May 2021 22:14:39 +0200
Subject: [PATCH] gnu: python-hg-evolve update to 10.3.1

* gnu/packages/version-control.scm (python-hg-evolve): update to 10.3.1
---
 gnu/packages/version-control.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 80842ecf0c..cd262402c1 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -1701,7 +1701,7 @@ interface.")
 (define-public python-hg-evolve
   (package
     (name "python-hg-evolve")
-    (version "10.0.1")
+    (version "10.3.1")
     (source
       (origin
         (method hg-fetch)
@@ -1711,7 +1711,7 @@ interface.")
         (file-name (string-append name "-" version "-checkout"))
         (sha256
           (base32
-            "1lz407373lfam9n02gq0l0rc2sjvn0m96kbzy93ipia3ika8fa68"))))
+            "0msnp5fp8sz4q2r5xpcmm60h82kwkyg23y212v1xfp7ixkq9f4qa"))))
     (build-system python-build-system)
     (arguments
      ;; Tests need mercurial source code.
-- 
2.31.1

-- 
Unpolitisch sein
heißt politisch sein
ohne es zu merken