X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0DA493890404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1611429228; bh=s+cGfrn9KAMC5mLtlPFZ6J/3xduCzKGfeau00riv1Ao=; 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=WQtekKRz9cTSyi7hhjyV7xcpYmYeQLSyFUlH69QPxgfOG+StWrQdXCVv9Wqxi/dsk Ug9XkPXpfariBs7qI5nkOtYB3luWbkpUqnLdoXj9O/G+win8lQTx10qVZcuvPknB+y tPAuBX27cHk6JiXmSiZ4DKIOwHnds58o0grejGjw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 059C0386183F 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) Subject: Re: [BUG] Latest python38 package (3.8.7-1) fails to execute 'ensurepip', 3.8.3.-1 works To: cygwin AT cygwin DOT 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 AT cygwin DOT 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: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Errors-To: cygwin-bounces AT cygwin DOT com Sender: "Cygwin" This is a multi-part message in MIME format. --------------5C89F13D2369699BEB92CF9A Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable 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',=20 >> 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): >> =C2=A0=C2=A0 File "/usr/lib/python3.8/runpy.py", line 185, in _run_mod= ule_as_main >> =C2=A0=C2=A0=C2=A0=C2=A0 mod_name, mod_spec, code =3D _get_module_deta= ils(mod_name, _Error) >> =C2=A0=C2=A0 File "/usr/lib/python3.8/runpy.py", line 144, in _get_mod= ule_details >> =C2=A0=C2=A0=C2=A0=C2=A0 return _get_module_details(pkg_main_name, err= or) >> =C2=A0=C2=A0 File "/usr/lib/python3.8/runpy.py", line 111, in _get_mod= ule_details >> =C2=A0=C2=A0=C2=A0=C2=A0 __import__(pkg_name) >> =C2=A0=C2=A0 File "/usr/lib/python3.8/ensurepip/__init__.py", line 121 >> =C2=A0=C2=A0=C2=A0=C2=A0 with open(os.path.join(_WHEEL_DIR, wheel_name= ), "rb") as sfp: >> =C2=A0=C2=A0=C2=A0=C2=A0 ^ >> 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 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- 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 --------------5C89F13D2369699BEB92CF9A--