From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by sourceware.org (Postfix) with ESMTPS id 059C0386183F for ; Sat, 23 Jan 2021 19:13:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 059C0386183F Received: by mail-wm1-x32e.google.com with SMTP id e15so7260379wme.0 for ; Sat, 23 Jan 2021 11:13:42 -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:message-id:date :user-agent:mime-version:in-reply-to:content-language; bh=05sl8Y2UvXlhgaHK/7pry/L5Pet68ellsFC/2L41TFs=; b=mICZG1+8ryIgZ3OXPdtHgvFaNoK0yeoCdoFR+PiLZrMYVyx/NYddSCX64deKVAXQrs AFdkai5u5anPGlMB2haMQZ0Q329n/l+lYjrSClyAKMpaZMB5XXNoUcoIJ4f0tW4QiGOn 6S515G4eN1LyUwDTl6yjP3GvBwQxZSpeFawkJJMN0HBM5FSd8j0ILSAnXZLG1sZtaoWb 5OE4m8Tz2KyLC4UUuUGt7Je5cDSSYTLPncW6hxlE06RTa7JDvthesFDRY+BQj5ocXPS0 qU3PPRbctO1zXfoMDSeJaf83z7ajF4VtRqt2/qAGYSsVmwd0sEmdvuawuO34omJHtO+w LLuQ== X-Gm-Message-State: AOAM530Rw+Az5YBH503tRumYAhw8eX0X1X0++keP+SXmKn/X7cTjFoKT dj2W4zQ3nsU4w9Fi4ZxobgtkBEgoA3o= X-Google-Smtp-Source: ABdhPJzbaXQUG+1fl1ETWauvnbZEZp/7FX3wYVrky7VP0X1llcIj/3/GEsGI9UsqaYAvXV1f4dZJlg== X-Received: by 2002:a1c:4483:: with SMTP id r125mr8914715wma.80.1611429222148; Sat, 23 Jan 2021 11:13:42 -0800 (PST) Received: from ?IPv6:2003:cc:9f0c:c85b:313e:5244:cfa4:b49? (p200300cc9f0cc85b313e5244cfa40b49.dip0.t-ipconnect.de. [2003:cc:9f0c:c85b:313e:5244:cfa4:b49]) by smtp.gmail.com with ESMTPSA id z8sm16363895wrh.65.2021.01.23.11.13.41 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sat, 23 Jan 2021 11:13:41 -0800 (PST) Subject: Re: [BUG] Latest python38 package (3.8.7-1) fails to execute 'ensurepip', 3.8.3.-1 works From: Marco Atzeri To: cygwin@cygwin.com References: Message-ID: Date: Sat, 23 Jan 2021 20:13:40 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.6.1 MIME-Version: 1.0 In-Reply-To: Content-Type: multipart/mixed; boundary="------------5C89F13D2369699BEB92CF9A" Content-Language: it X-Spam-Status: No, score=-0.1 required=5.0 tests=BAYES_00, BODY_8BITS, 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) 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: Sat, 23 Jan 2021 19:13:46 -0000 This is a multi-part message in MIME format. --------------5C89F13D2369699BEB92CF9A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit On 23.01.2021 19:47, Marco Atzeri wrote: > On 23.01.2021 19:23, Oleh Svirshchevsky via Cygwin wrote: >> Latest python38 package (3.8.7-1) fails to execute 'ensurepip', >> 3.8.3.-1 works >> >> Latest version: >> $ python3.8.exe --version >> Python 3.8.7 >> $ python3.8.exe -Im ensurepip --upgrade --default-pip >> Traceback (most recent call last): >>    File "/usr/lib/python3.8/runpy.py", line 185, in _run_module_as_main >>      mod_name, mod_spec, code = _get_module_details(mod_name, _Error) >>    File "/usr/lib/python3.8/runpy.py", line 144, in _get_module_details >>      return _get_module_details(pkg_main_name, error) >>    File "/usr/lib/python3.8/runpy.py", line 111, in _get_module_details >>      __import__(pkg_name) >>    File "/usr/lib/python3.8/ensurepip/__init__.py", line 121 >>      with open(os.path.join(_WHEEL_DIR, wheel_name), "rb") as sfp: >>      ^ >> IndentationError: unexpected indent Hi Oleh, the attached patch should solve the indentation mistakes. Can you confirm it ? Regards Marco --------------5C89F13D2369699BEB92CF9A Content-Type: text/plain; charset=UTF-8; name="3.8.7-2-ensurepip.patch" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="3.8.7-2-ensurepip.patch" LS0tIExpYi9lbnN1cmVwaXAvX19pbml0X18ucHkJMjAyMS0wMS0xMiAxNDo1Njo1My4yODMw MjQzMDAgKzAxMDAKKysrIC91c3IvbGliL3B5dGhvbjMuOC9lbnN1cmVwaXAvX19pbml0X18u cHkJMjAyMS0wMS0yMyAyMDowNzoxNS41OTM1ODQyMDAgKzAxMDAKQEAgLTExOCw5ICsxMTgs OSBAQAogICAgICAgICBhZGRpdGlvbmFsX3BhdGhzID0gW10KICAgICAgICAgZm9yIHByb2pl Y3QsIHZlcnNpb24sIHB5X3RhZyBpbiBfUFJPSkVDVFM6CiAgICAgICAgICAgICB3aGVlbF9u YW1lID0gX3doZWVsc1twcm9qZWN0XVt2ZXJzaW9uXQotICAgICAgICAgICAgIHdpdGggb3Bl bihvcy5wYXRoLmpvaW4oX1dIRUVMX0RJUiwgd2hlZWxfbmFtZSksICJyYiIpIGFzIHNmcDoK KyAgICAgICAgICAgIHdpdGggb3Blbihvcy5wYXRoLmpvaW4oX1dIRUVMX0RJUiwgd2hlZWxf bmFtZSksICJyYiIpIGFzIHNmcDoKICAgICAgICAgICAgICAgICB3aXRoIG9wZW4ob3MucGF0 aC5qb2luKHRtcGRpciwgd2hlZWxfbmFtZSksICJ3YiIpIGFzIGZwOgotICAgICAgICAgICAg ICAgIGZwLndyaXRlKHNmcC5yZWFkKCkpICAgICAgICAgICAgCisgICAgICAgICAgICAgICAg ICAgIGZwLndyaXRlKHNmcC5yZWFkKCkpICAgICAgICAgICAgCiAKICAgICAgICAgICAgIGFk ZGl0aW9uYWxfcGF0aHMuYXBwZW5kKG9zLnBhdGguam9pbih0bXBkaXIsIHdoZWVsX25hbWUp KQogCg== --------------5C89F13D2369699BEB92CF9A--