From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32d.google.com (mail-wm1-x32d.google.com [IPv6:2a00:1450:4864:20::32d]) by sourceware.org (Postfix) with ESMTPS id CADF43857C56 for ; Wed, 17 Feb 2021 18:55:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org CADF43857C56 Received: by mail-wm1-x32d.google.com with SMTP id m1so4558697wml.2 for ; Wed, 17 Feb 2021 10:55:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:cc:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=EzXw2MdF4/IOkjwjRxemExkLe44hRtq4cEbFg5u6Uv4=; b=hqCg0ZhIkvWYHs6j25zrKOAsYJGNKnffcobNqVyOhxYJkOZFTfFZ70hwA9LtVU9C/4 SzJLJuQDHVIpn+c0UH6NfqQtKInn1s5cSd67yecKpmXpbgwP1OvO0GFmv1nmEMxAhJ0G IK0y752oejInQAvsP2Bbt0DX7zf5Jlyts6D/xyVgrcoKx/oNqpaBSe5NxGGA1jDD660H h5sny9442wSEN2ib8AIwHuJxNY829wmu0zC9QvAxsokYE55dkn2B51XNNeOWMJ0WawTP nRB/JWcltaqAhoCmGMlooxp6J84i+ob44ftbxKPQgsKNxiIttwIt6JPwi4+sdL/dwT3V J6bg== X-Gm-Message-State: AOAM531SiYgCboDGYkmzEFD3dMQzxoSLyXWWvIk155dNMwGNtM9Zz7lt DTm2c83qYR0Vs+57SMSCs3fyZkcAiXEDkw== X-Google-Smtp-Source: ABdhPJz2JvsevVnDubUC+KcGC2M40+lvpLEQMc4rS09J7PnV1VC/cmVLa+NzImTEqcL3SCPZAosCDw== X-Received: by 2002:a05:600c:4857:: with SMTP id j23mr301381wmo.66.1613588114898; Wed, 17 Feb 2021 10:55:14 -0800 (PST) Received: from ?IPv6:2003:cc:9f2b:2fec:7525:9ab4:78f:d750? (p200300cc9f2b2fec75259ab4078fd750.dip0.t-ipconnect.de. [2003:cc:9f2b:2fec:7525:9ab4:78f:d750]) by smtp.gmail.com with ESMTPSA id l4sm5165981wrt.42.2021.02.17.10.55.14 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 17 Feb 2021 10:55:14 -0800 (PST) Subject: Re: [ATTN MAINTAINER] mercurial with python3 From: Marco Atzeri To: "cygwin-apps@cygwin.com" References: <2d74c33a-1565-67b9-00bf-5625335af95b@gmail.com> Message-ID: <68c09515-eaca-1547-699d-ee6f0f26f86c@gmail.com> Date: Wed, 17 Feb 2021 19:55:12 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: <2d74c33a-1565-67b9-00bf-5625335af95b@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, KAM_ASCII_DIVIDERS, KAM_NUMSUBJECT, 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-apps@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Cygwin package maintainer discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Feb 2021 18:55:17 -0000 ping On 02.01.2021 09:54, Marco Atzeri wrote: > Hi Jari, > can you provide a test version that works with python3.8 ? > > ---------------------------------------------------------- > $ hg clone http://hg.code.sf.net/p/graphicsmagick/code GM > Traceback (most recent call last): >   File "/usr/bin/hg", line 43, in >     dispatch.run() >   File "/usr/lib/python3.8/importlib/util.py", line 245, in > __getattribute__ >     self.__spec__.loader.exec_module(self) >   File "", line 783, in exec_module >   File "", line 219, in > _call_with_frames_removed >   File "/usr/lib/python2.7/site-packages/mercurial/dispatch.py", line > 22, in > ... >     import http.cookiejar as cookielib >   File "/usr/lib/python3.8/importlib/util.py", line 245, in > __getattribute__ >     self.__spec__.loader.exec_module(self) >   File "/usr/lib/python2.7/site-packages/http/__init__.py", line 7, in > >     raise ImportError('This package should not be accessible on Python > 3. ' > ImportError: This package should not be accessible on Python 3. Either > you are trying to run from the python-future src folder or your > installation of python-future is corrupted. > ----------------------------------------------------------------------------- > > > the usage of > > $ alternatives --config python > > to set for python2.7 works as expected for the time being. > > Regards > Marco