www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/01/30/08:10:09

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8019C383542C
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1612012166;
bh=OL+KIwxlKVQbqOXZb+m9yPnV+9HD3Ajcqqj+maQC3H8=;
h=Subject:To:References:Date:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=LcWvH2Rk/GJLk3RDe6Iv810qAVhWA+N2CzsQPo8yMO7Adzoc3YGfEVRS0/fsfAupU
VECi12hxP/7HvQFrgMYWtP4sP6oSSCpr0Xf1t1cr3JwIICkd/bLDYlZrMUYDUhA9n/
sUu5kHfZLcRXUGN5FjdHjTdH5yZcS9OSyUlQW5FQ=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 3DD043858C27
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:subject:to:references:from:message-id:date
:user-agent:mime-version:in-reply-to:content-language
:content-transfer-encoding;
bh=aLwQa8igJ/nHpbWnG62icbhbJT7rqOXlDvTgZZMQm94=;
b=ntxUAYWCRP+dThaW2+S/2IV4zhysa5Auz8S7swKUL/Em3hWwZBEvfQSyqYgSks8OSv
FiaK3iOQ/MAtQGZpzrxTNPPNETMh7KiLkZxr/I+RkMf4SaP7G2OeqjY82C5P7+ptB0QI
7reBZMTsH9X32o9Y8JsZKN6BmmXUOV3Zd9i0ewtLXXf+18HtqCa7cOWQyYYy1vn5YZ+b
ZzKeczjWvtGMRCb/OdmQ0g/PiuXSWXuLvQ9c9ZjRoJM4OlfTaWR6btyRFYnGhN4yqHEd
lY+jmkp6CliPB3kM6NxlftB1DzwpGNhiE/dWVzqmCcIFEXkvOzvwig/87MyC7cGkzvso
NkLQ==
X-Gm-Message-State: AOAM532bo9VY6BfziRYHBiKCEwb8Fd3iE346I4hPDyu0aHlxGqtH/Xdm
FvweXc73dZ3AzZVsh9oU2znUwTNy4vztyg==
X-Google-Smtp-Source: ABdhPJw31SGc2Q9o1nCqrH7Nt+QV5wd0K89hWkG+n4Wooak268unQJwshvkiqtgSFVYMA8+95jPAag==
X-Received: by 2002:a17:906:7d09:: with SMTP id
u9mr8573049ejo.380.1612012160346;
Sat, 30 Jan 2021 05:09:20 -0800 (PST)
Subject: Re: Latest update seems to have broken Mercurial
To: cygwin AT cygwin DOT com
References: <r4aa1glq5g3oglh1otl083qf6v9d0igo75 AT 4ax DOT com>
Message-ID: <dea500ce-de30-a03c-e9e6-9e1c6c60fd37@gmail.com>
Date: Sat, 30 Jan 2021 14:09:20 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
Thunderbird/78.7.0
MIME-Version: 1.0
In-Reply-To: <r4aa1glq5g3oglh1otl083qf6v9d0igo75@4ax.com>
X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS,
NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=no autolearn_force=no version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

On 30.01.2021 10:41, David Monksfield wrote:
> Mercurial was working fine for me until my last Cywin update (yesterday).
> I have Mercurial 5.5.1-1. I don't know enough about python to unpick this,
> but it looks suspicious that there is a mixture of python2.7 and python3.8
> in the traceback.
> 

> 
> Any help or suggestions would be appreciated.
> 
> Thanks,
> David
> 

Hi David,
yes I am aware, current mercurial package still requires python 2.7.

You can see the situation with

-------------------------------------------
$ alternatives  --display python
python - status is auto.
  link currently points to /usr/bin/python3.8
/usr/bin/python3.7 - priority 37
/usr/bin/python2.7 - priority 27
/usr/bin/python3.6 - priority 36
/usr/bin/python3.8 - priority 38
Current `best' version is /usr/bin/python3.8.
-----------------------------------------

and change it with

-----------------------------------------
$ alternatives  --config python

There are 4 programs which provide 'python'.

   Selection    Command
-----------------------------------------------
    1           /usr/bin/python3.7
    2           /usr/bin/python2.7
    3           /usr/bin/python3.6
*+ 4           /usr/bin/python3.8

Enter to keep the current selection[+], or type selection number: 2


$ hg --version
Mercurial Distributed SCM (version 5.6)
(see https://mercurial-scm.org for more information)
...

--------------------------------------------------

see  "alternatives  --help"
for further info


Regards
Marco


--
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019