Hi Marco,

Confirming that the provided patch fixes the problem, thanks!
Do you have an estimate of when you plan on releasing 3.8.7-2 with this fix?

Thanks,
Oleh

-----Original Message-----
From: Cygwin <cygwin-boun...@cygwin.com> On Behalf Of Marco Atzeri via Cygwin
Sent: Saturday, January 23, 2021 11:14 AM
To: cygwin@cygwin.com
Subject: Re: [BUG] Latest python38 package (3.8.7-1) fails to execute 
'ensurepip', 3.8.3.-1 works

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
--
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

Reply via email to