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