X-Recipient: archive-cygwin@delorie.com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E93BA386F024
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
	s=default; t=1611427642;
	bh=hAorplT8TPbtHZ7kOa/CYiQc4R74HntsAc8t18nlp+k=;
	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=Sw891QXZOueVNiPiJ7SKji61l0zx2pr+yh8bxa5kSFBjx0qI1+MaZllVzAKBUqB3H
	 9UH8suGKv+hZ9Mhm+m25xocxJt1ZXAWFNs8Tm8nZQ9taqqq4jnrNx+okrg9RDsxqfu
	 0M2cITqZO9vss6Zd/4G535Cc1ARfMBSbQ3eiVBlM=
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 4C3DD386183F
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20161025;
 h=x-gm-message-state:subject:to:references:from:message-id:date
 :user-agent:mime-version:in-reply-to:content-language
 :content-transfer-encoding;
 bh=nlV0u0Ni1icAhWVzZv5O8DdzzyfSBl2qts3o8XCjA/8=;
 b=AGMJz6Ft75gC6NvXS4oFIzSlZ9pbB/FyrT5/GZPRYtaSfs/txuJ1Wi1k1GPsPkaviF
 UGl/HWtUjiENCnnPlGwrC4FKgizXZ2LNpDEiCWsQBhac/mfvzUFIxRgRG3cT3Shnu6OM
 h5xfL/oZE5ZepwGoizCWXWR0Go0x3kfKaZsiYvRPI2mn38+ZklqVae11tBazdpghAu61
 QZLbjNEhqOmLWtIDigEfsTxk98ai+3fIN8CdJ/80DU1jg5FlqbOfHsx4jpgUoCJnO6LB
 M4+JJ2hn7dySQ/zSZzJYDiBfegFpsNATbqVlqEBqRZTt3vjMqAiaVTRGkbJKbM/lQRxT
 TSIw==
X-Gm-Message-State: AOAM533vAx1p+iLV2hHlOsX1Md8GTbne6v4NhjPCoVTQopD4HqO4Qr0s
 8x9PELwoqqPOSR4DlrJZ8wriSUopea0=
X-Google-Smtp-Source: ABdhPJxmX+bdNcj4EISP6seicr2des+AHbwyzhPSGP9cos5DCR7l96tcSQy75h7Z0tL7fFiHxjrjyQ==
X-Received: by 2002:a5d:400c:: with SMTP id n12mr672280wrp.218.1611427638262; 
 Sat, 23 Jan 2021 10:47:18 -0800 (PST)
Subject: Re: [BUG] Latest python38 package (3.8.7-1) fails to execute
 'ensurepip', 3.8.3.-1 works
To: cygwin@cygwin.com
References: <BYAPR15MB26623A91DF4050112209FEA3BFBF9@BYAPR15MB2662.namprd15.prod.outlook.com>
Message-ID: <d2adf631-a251-bb88-a015-0ab03d120835@gmail.com>
Date: Sat, 23 Jan 2021 19:47:16 +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: <BYAPR15MB26623A91DF4050112209FEA3BFBF9@BYAPR15MB2662.namprd15.prod.outlook.com>
Content-Language: it
X-Spam-Status: No, score=-1.6 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.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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
From: Marco Atzeri via Cygwin <cygwin@cygwin.com>
Reply-To: Marco Atzeri <marco.atzeri@gmail.com>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>

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
> 
> 
> Older version:
> $ python3.8.exe --version
> Python 3.8.3
> $ python3.8.exe -Im ensurepip --upgrade --default-pip
> Looking in links: /tmp/tmpxxpxh_dl
> Requirement already up-to-date: setuptools in /usr/lib/python3.8/site-packages (51.1.1)
> Requirement already up-to-date: pip in /usr/lib/python3.8/site-packages (20.3.3)


thanks for the report.

I will look on the root cause
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
