random hangs

Rainer Emrich rainer-lists@emrich-ebersheim.de
Tue Jan 7 13:42:52 GMT 2025


I played a bit around and tried to install severall python packages.
There seems to be a severe issue, because an increasing number of python 
packages need a working rust compiler to build. And AFAIK there is no 
rust compiler for cygwin at the moment.

Am 04.01.2025 um 06:35 schrieb Marco Atzeri via Cygwin:
> On 03/01/2025 21:47, Robert Terzi via Cygwin wrote:
>> On 1/3/2025 2:45 PM, Jeremy Drake via Cygwin wrote:
>>> There are known (and as yet unknown) hang issues with cygwin 3.5.5, the
>>> known being in signal handling.  You might try with cygwin 3.5.4 to 
>>> see if
>>> your hang issues go away.  That might help elimiate python as the 
>>> culprit.
>>
>> I'm seeing reproducible (for me) hangs with the test Python 3.12 
>> packages under Cygwin 3.5.4.
>>
> 
>> First, I see a hang doing `python312 -m pip install ipython` in a venv.
> 
> ipython is a too large package with too many dependencies.
> Not a good test case.
> I will build some more 3.12 modules for that scoepe
> 
> 
>> The hang occurs during downloading. If the package is already downloaded
>> it doesn't hang. So I'm doing a `pip cache purge` to get it to reoccur.
>>
>> It usually hangs on downloading Jedi which is a large-ish module.
>>
>>    Downloading jedi-0.19.2-py2.py3-none-any.whl (1.6 MB)
>>       ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/1.6 MB ? eta -:--:--
> 
> 1.6 Mb does not seem a large load
> 
> 
>>
>> Steps I'm taking are:
>> # clean up from previous runs
>> rm -rf /srv/pyvenvs/py312
>> pip3 cache purge
>>
>>
>> # Create a venv in an empty directory
>> python3.12 -m venv --system-site-packages --without-pip /srv/pyvenvs/ 
>> py312
>>
>> (The --without-pip is needed because it fails without it running `-m 
>> ensurepip`
>> It is looking for the pip wheel but not finding it.)
> 
> $ python3.9 -m ensurepip --version
> pip 19.2.3
> 
> $ python3.12 -m ensurepip --version
> pip 24.3.1
> 
> $ python3.12 -m pip --version
> pip 24.3.1 from /usr/lib/python3.12/site-packages/pip (python 3.12)
> 
> what is coming from your system ?
> 
> 
> 



More information about the Cygwin mailing list