From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x334.google.com (mail-wm1-x334.google.com [IPv6:2a00:1450:4864:20::334]) by sourceware.org (Postfix) with ESMTPS id 63C733858C60 for ; Thu, 23 Dec 2021 07:52:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 63C733858C60 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-wm1-x334.google.com with SMTP id e5so2672684wmq.1 for ; Wed, 22 Dec 2021 23:52:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=vHkAhV1Ii/w+3pKTztHBp+QkilNGOtEyqCG0egoZTis=; b=pGohrwZREvG4s8u+kDb+sHhiWP0GdQ+8SAjZTw9vPIhj1aCCLjCPOwDGKQLyd6chtv 9Q4/bTNZMBxAk0V+9TSOIwXboVU3Iox6+V9z3GiybPXI7BXaKCtNhSlgQp3QkcsM2ko2 UCt0YOnrjImZf3Qu7y35YHWmb+/2OyFSMYx8HeWmtqw9Wv0itIPFea3o9wmN+v5TmrST eRcZg+wVJuOdzPMnhWwkfbjsKhDh5Pes3HrPhm0zcokLv0v4o3O9Ao6v2cyYZkQVe16c taTQVtZlPKG9Q680g4wc1YTFtbdqbAoIMC4Fci/KRdVp08UYPmCUghqXo7GDQriCi4q7 xFqw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=vHkAhV1Ii/w+3pKTztHBp+QkilNGOtEyqCG0egoZTis=; b=k6vIhlLIxJNN7EKO9/6UCjIOsRHyOub8iqlyVOJNZ/hZ54EUkUMrAjGzAzGYxv4G8q Uypx8x8YCg7OXXMhRTRJhnK6ucFLzvnf7umlpWjVJmrnBEHX2GX1omkpl2zTntojcq+B EhnX3r+09RI818dwHtd4oGnSMdGCi6+WS3JoNp5CpSlVNdsxD2q9S31xKus6pT1Ik+9S CI0BE5UBU3j1sbZBzxv6RKvvx5TJvt+BYSeaLT0W1WaeUH/b6Jt2dr2+Wc02dWeBM4iq c4m+430Y7Y2PE0QSI6B5ZcCiQAqXHczl+GVsjd9TaZs5SSrq+gukrgWHBPhofs9zmBwM w5HA== X-Gm-Message-State: AOAM5306ejxg+FAwpvywXVfxmDMilThqiDPZAkc4/CUvhsZyVSmnCZRf 3BR5jMQ0JRNZ9+vNJmH2oZHXquPFGXM= X-Google-Smtp-Source: ABdhPJywhfKAGz9LJp89GbJwKb/KRfreJ20na14Fu+YUdXev55kSvnQjvv5uQ6aS+vXfShDFqfJObg== X-Received: by 2002:a05:600c:4f94:: with SMTP id n20mr683597wmq.64.1640245929505; Wed, 22 Dec 2021 23:52:09 -0800 (PST) Received: from ?IPV6:2003:cc:9f31:98da:b91d:362d:a18a:7b8f? (p200300cc9f3198dab91d362da18a7b8f.dip0.t-ipconnect.de. [2003:cc:9f31:98da:b91d:362d:a18a:7b8f]) by smtp.gmail.com with ESMTPSA id p21sm3940549wmq.20.2021.12.22.23.52.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 22 Dec 2021 23:52:09 -0800 (PST) Message-ID: <2839cd60-8219-4b9a-b967-9519a36d247e@gmail.com> Date: Thu, 23 Dec 2021 08:52:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.4.1 Subject: Re: python3.9 failing? Content-Language: it To: cygwin@cygwin.com References: <67c4a4f1-3189-e85a-0719-c05a1096a0d6@gmail.com> <87k0fykrqm.fsf@Rainer.invalid> From: Marco Atzeri In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Dec 2021 07:52:11 -0000 On 23.12.2021 06:50, Russell VT wrote: > On Tue, Dec 21, 2021 at 6:34 AM Achim Gratz wrote: > >> Marco Atzeri writes: >>> Without Python 3.9 installed python3 should link by default to the >>> next in the line (likely 3.8) >> >> While python3 still defaults to python38 alternatives should probably >> prioritize 38 over 39? > > > That's how I "fixed" mercurial on my own installation, as it was > complaining about missing the "parsers" module, from inside the Python 3.9 > libraries, IIRC. > Thanks for the report. It is caused by: $ head /usr/bin/hg -n 20 #!/usr/bin/python3 ^^ default 3.9 .... libdir = '../lib/python3.8/site-packages' ^^ but really need 3.8 ... No surprise is not working. A simple workaround is: $ cp /usr/bin/hg /usr/local/bin/ $ sed -i -e "1 s/python3$/python3.8/" /usr/local/bin/hg $ hg --version Mercurial Distributed SCM (version 6.0) (see https://mercurial-scm.org for more information) ... Regards Marco