X-Recipient: archive-cygwin AT delorie DOT com X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com 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 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) 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 AT cygwin DOT com References: <f5b1r26m7a2 DOT fsf AT ecclerig DOT inf DOT ed DOT ac DOT uk> <67c4a4f1-3189-e85a-0719-c05a1096a0d6 AT gmail DOT com> <87k0fykrqm DOT fsf AT Rainer DOT invalid> <CANV2+nWPJE83rryNzJwwVNsKYbzvJnKV9GZ93ERzD95Zpb7QJg AT mail DOT gmail DOT com> From: Marco Atzeri <marco DOT atzeri AT gmail DOT com> In-Reply-To: <CANV2+nWPJE83rryNzJwwVNsKYbzvJnKV9GZ93ERzD95Zpb7QJg@mail.gmail.com> 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 AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list 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> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com> On 23.12.2021 06:50, Russell VT wrote: > On Tue, Dec 21, 2021 at 6:34 AM Achim Gratz <Stromeko AT nexgo DOT de> 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 -- 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