| delorie.com/archives/browse.cgi | search |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 delorie.com 503HVuRp938670 |
| Authentication-Results: | delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com |
| Authentication-Results: | delorie.com; spf=pass smtp.mailfrom=cygwin.com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 delorie.com 503HVuRp938670 |
| Authentication-Results: | delorie.com; |
| dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=P8edcKK2 | |
| X-Recipient: | archive-cygwin AT delorie DOT com |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org DC7833858C42 |
| DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; |
| s=default; t=1735925513; | |
| bh=NIaouoBJYG1HxJnVI/AnNsXRVgvgW+33CtfXwltFfoA=; | |
| h=References:In-Reply-To:Date:Subject:To:Cc:List-Id: | |
| List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: | |
| From:Reply-To:From; | |
| b=P8edcKK2IZmN/OuTa63n2JppZbCFLSsAixtNEtfw5StFZmOzuuwI3R5Az2YH6hOp+ | |
| pQj0l9r9ZqRIgCCwmXTXG+YfkR4kWOi/GT9JkThn8XggyIrGxm2eWWhXhec+DpQZYU | |
| D6bgkSeK6DXFJmbXicLCV19XEuspq5vnjRE84CEg= | |
| X-Original-To: | cygwin AT cygwin DOT com |
| Delivered-To: | cygwin AT cygwin DOT com |
| DMARC-Filter: | OpenDMARC Filter v1.4.2 sourceware.org 78E503858D20 |
| ARC-Filter: | OpenARC Filter v1.0.0 sourceware.org 78E503858D20 |
| ARC-Seal: | i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735925484; cv=none; |
| b=u3sCN11vm9W7RIzQqvx/chykALSutvFoUWpvbUp4VIvGidZIT9jXQnv50nj5FP+GxiEed9K9roEfYQnKdUNgfrGcuDAF453ToG3jrxWnfWdqNGCJoHoog0ZmrK6KSFk204X3sBis7rOiGGGoN5z5moIaZ9e0FjTJdQeStlxXkv8= | |
| ARC-Message-Signature: | i=1; a=rsa-sha256; d=sourceware.org; s=key; |
| t=1735925484; c=relaxed/simple; | |
| bh=x/yw00jlWPeDmj65UHnwwIBtUaAFcTpeD3Xbgv9Vtuo=; | |
| h=MIME-Version:From:Date:Message-ID:Subject:To; | |
| b=bEoCopnBEIxyg76oAUJ3S/Sgd1Yl7xmZvUbwkqRUDCEjcGcQkYNeHopArFKdqiKe7UwZ9MtX3VBIV9JNY/YdHUph3i6D9I+nRhCatc5sLya609vKvmJLlMZDXeN9hVbIyhkizN+Pp+oCoFyT2puthF0Mt/xOZs+VSGCOzSFLw04= | |
| ARC-Authentication-Results: | i=1; server2.sourceware.org |
| DKIM-Filter: | OpenDKIM Filter v2.11.0 sourceware.org 78E503858D20 |
| X-Google-DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; |
| d=1e100.net; s=20230601; t=1735925483; x=1736530283; | |
| h=cc:to:subject:message-id:date:from:in-reply-to:references | |
| :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id | |
| :reply-to; | |
| bh=cAlyxYin50raZ7TBGQAkmxQkEfrEnuGI5QMs+1lYOLM=; | |
| b=CzebYaSwi25OKAUF7BzbnTIqjBYsfHeRaNnrqV2cnOBgdIJsQGtoGhO1eGQs2VzMJv | |
| 6HcJF/7mtZ/txiD9yqS/ysnMVF8+Q89HbOmtFzfHm0JiDCk27BgXyaf7cErc/fIypRoD | |
| 0HHvmrqF2ldReMXVPsiQMOfGqpk4CEhCGon2OmOyFmZMV2UoXKQf54/JpFqOUBCD959i | |
| gnbUuB1a3iETbRK0MFKlAf19a+IHp+nLI5xlBVGAaQ7dyFGo11No6e/Qr3t24rtjaoPV | |
| nqifmMin0mpvcE4gK9iTPr9TByodrfG0OzS3g1dkttkgywpxmYiOM6a8rscnTZ8D/jpH | |
| 4Exg== | |
| X-Gm-Message-State: | AOJu0YyOgRe/Uq0Vhn6n1isRzXJ9wlTOT1xuOSoToOvRBz9fkwP+f/ZV |
| IWTFLdhJH7miMrjPTX61BGFnoGRTGUxPQCZhYHR2lH54wQu4ueuZJA/VBkO6bYXM4B8v5K5JL7u | |
| O9CiF6P5YLf8xEUrKtpBrs12ssBJCk3gK | |
| X-Gm-Gg: | ASbGncvxSpHa9l08go9WJZvmP/Iym1fosOlEfX1O7ebRBL2OFwxYis8RwOgjEr6bBFr |
| 9w2Y3Rd+QPcLLKj+ANdovxa8f1l9+ktLa/Rc= | |
| X-Google-Smtp-Source: | AGHT+IH8cIdWaUNkPyzOh+wic5p4S4wtfJui1uTgGELIwiWmWLL7yjhKNKeQMvEty3J0E8N9inrVdt0eOp6et5MCKak= |
| X-Received: | by 2002:a05:6a20:e68b:b0:1e1:72ce:fefc with SMTP id |
| adf61e73a8af0-1e5e05a9edemr89409863637.22.1735925483381; Fri, 03 Jan 2025 | |
| 09:31:23 -0800 (PST) | |
| MIME-Version: | 1.0 |
| References: | <6aa017e0-b333-4c0e-affa-78c8777372a5 AT gmail DOT com> |
| <1b894ce0-ee20-4408-95ec-54202d0721bc AT r-t DOT org> | |
| <CAAF84SU_mL3OG-DzcntnjKj=Fqn8Y-6k6+xQWWym6CbmUKa38A AT mail DOT gmail DOT com> | |
| <7cdf5283-5507-4d35-aec6-a4bbab33ad48 AT r-t DOT org> | |
| <CAAF84SWwAwPTk6qsp-F6G8P+Lu_s=X-SjbMt66GM+gVScJaAWA AT mail DOT gmail DOT com> | |
| <5b617762-38fd-4897-afff-219b92915b9f AT r-t DOT org> | |
| In-Reply-To: | <5b617762-38fd-4897-afff-219b92915b9f@r-t.org> |
| Date: | Fri, 3 Jan 2025 12:31:12 -0500 |
| Message-ID: | <CAAF84SVUo4O2V8YHHDFMwEG_hNN1KsVETirf2p2mF-GLtam8DA@mail.gmail.com> |
| Subject: | random hangs (was: Test: python312-3.12.8-1 venv fails due to pip |
| wheel?) | |
| To: | Robert Terzi <rct AT r-t DOT org> |
| Cc: | cygwin AT cygwin DOT com |
| X-Content-Filtered-By: | Mailman/MimeDel 2.1.30 |
| X-BeenThere: | cygwin AT cygwin DOT com |
| X-Mailman-Version: | 2.1.30 |
| List-Id: | General Cygwin discussions and problem reports <cygwin.cygwin.com> |
| List-Archive: | <https://cygwin.com/pipermail/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-request AT cygwin DOT com?subject=help> |
| List-Subscribe: | <https://cygwin.com/mailman/listinfo/cygwin>, |
| <mailto:cygwin-request AT cygwin DOT com?subject=subscribe> | |
| From: | Michael Cook via Cygwin <cygwin AT cygwin DOT com> |
| Reply-To: | Michael Cook <michael AT waxrat DOT com> |
| Sender: | "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com> |
| X-MIME-Autoconverted: | from base64 to 8bit by delorie.com id 503HVuRp938670 |
I'm seeing hangs at the moment in a reproducible way.
One of the hung processes is stty.exe.
I attached with strace and saw the following three messages being rapidly
repeated:
64 115520392 [sig] stty 20375 sigpacket::setup_handler: suspending
thread, tls 0x7FFFFCE00, _main_tls 0x7FFFFCE00
77 115520469 [sig] stty 20375 _cygtls::inside_kernel: pc 0x7FF91290D574,
h 0x7FF912870000, inside_kernel 1
66 115520535 [sig] stty 20375 sigpacket::setup_handler: couldn't
interrupt. trying again.
Is this interesting?
The command was simply `stty size`.
Michael
On Thu, Jan 2, 2025 at 1:38 PM Robert Terzi via Cygwin <cygwin AT cygwin DOT com>
wrote:
> Restarting the pip install of iPython eventually worked.
>
> Pip didn't try to redownload either of the packages it previous hung on,
> so I guess the download was successful.
> I don't know whether pip is running anything via a subprocess.
>
> However, once I fire up the newly installed 3.12 iPython, it comes up, but
> hangs the same way if I just hit enter at the prompt.
>
> --- Process 31388 (pid: 4569), exception c0000005 at 0000000000000000
>
>
> On 1/2/2025 1:28 PM, Michael Cook wrote:
> > All the pip install commands I tried worked.
> > But I did see one of my scripts hang trying to run an external command
> (via the subprocess module).
> > I've seen that only once so far.
> >
> > On Thu, Jan 2, 2025 at 1:23 PM Robert Terzi via Cygwin <
> cygwin AT cygwin DOT com> wrote:
> >
> > Thanks Michael that worked to create the venv.
> >
> > Did you have any success with pip installs?
> >
> > For me, simple modules like requests worked but for larger things
> like ipython, Python 3.12 hung hard downloading requirements.
> >
> > Downloading pygments-2.18.0-py3-none-any.whl (1.2 MB)
> > ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 0.0/1.2 MB ? eta
> -:--:--(py312)
> >
> >
> > I couldn't kill python3.12 with any signal using Cygwin kill.
> However, I was able to end process with Windows Task Manager.
> >
> > Trying again and doing an strace, it seemed to get stuck in a loop
> on this:
> >
> > --- Process 29448 (pid: 4552), exception c0000005 at 0000000000000000
> >
> > It is using 100% of 1 core while doing that.
> >
> > I could be wrong, but it looks like there might still be a hanging
> problem with 3.12 on Cygwin.
> >
> >
> > On 1/2/2025 12:42 PM, Michael Cook wrote:
> > > As a workaround, you can try passing `--without-pip`.
> > > I had success with this:
> > >
> > > python -m venv --system-site-packages --without-pip _venv
> > >
> > >
> > > Michael
> > >
> > > On Thu, Jan 2, 2025 at 11:38 AM Robert Terzi via Cygwin <
> cygwin AT cygwin DOT com> wrote:
> > >
> > > Testing the 3.12 package, trying to make a virtual env fails.
> I think this is because it is looking for the pip wheel.
> > >
> > > I've installed the available 3.12 packages (pip, wheel,
> setuptools, devel).
> > >
> > > venv fails with/without --system-site-packages. I think venv
> is trying to run '-m ensurepip' which seems to
> > > have a dependency on pip wheel.
> > >
> > > $ python3.12 -m venv /srv/pyvenvs/py312
> > > Error: Command '['/srv/pyvenvs/py312/bin/python3.12', '-m',
> 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
> > >
> > > $ python3.12 -m venv --system-site-packages /srv/pyvenvs/py312
> > > Error: Command '['/srv/pyvenvs/py312/bin/python3.12', '-m',
> 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.
> > >
> > > Trying -m ensurepip directly yields:
> > > $ python3.12 -m ensurepip
> > > [...snip...]
> > > FileNotFoundError: [Errno 2] No such file or directory:
> '/usr/lib/python3.12/ensurepip/_bundled/pip-24.3.1-py3-none-any.whl'
> > >
> > > This works with the previously working 3.9 installation. (I
> haven't tried the updated 3.9 install yet.)
> > >
> > > For 3.9 it looks like the pip*.whl file is in a different
> location:
> > >
> > > $ find /usr/lib/python* -name 'pip*.whl'
> > >
> /usr/lib/python3.9/site-packages/virtualenv/seed/wheels/embed/pip-20.3.4-py2.py3-none-any.whl
> > >
> /usr/lib/python3.9/site-packages/virtualenv/seed/wheels/embed/pip-21.3.1-py3-none-any.whl
> > >
> /usr/lib/python3.9/site-packages/virtualenv/seed/wheels/embed/pip-23.0.1-py3-none-any.whl
> > >
> > > I haven't tried to install/build any modules/wheels since the
> intent was to test the new packages.
> > > Hopefully I'm not missing something obvious.
> > >
> > > Thanks!
> > >
> > >
> > >
> > >
> > > On 12/30/2024 8:53 AM, Marco Atzeri via Cygwin-announce wrote:
> > > > New test release for
> > > >
> > > > python312 3.12.8-1
> > > >
> > > > new releases for
> > > >
> > > > python312-doc 3.12.8-1
> > > >
> > > > python{39,312}-packaging 24.2-1
> > > > python{39,312}-pip 24.3.1-1
> > > > python{39,312}-setuptools 75.6.0-1
> > > > python{39,312}-wheel 0.45.1-1
> > > >
> > > > CHANGES
> > > > latest upstream 3.12.x release. First packaged for Cygwin
> > > >
> > > > CYGWIN CHANGES
> > > > Only python 3.9 and 3.12 are updated.
> > > > Python 2, 3.6, 3.7, 3.8 are not anymore supported upstream.
> > > >
> > > > https://devguide.python.org/versions/#versions
> > > >
> > > > The main packages include postinstall script that
> > > > use "alternatives" to define for
> > > >
> > > > /usr/bin/python
> > > >
> > > > /usr/bin/python3
> > > > /usr/bin/idle3
> > > > /usr/bin/pydoc3
> > > >
> > > > a default to the highest package available.
> > > >
> > > > $ alternatives --display python
> > > > python - status is auto.
> > > > link currently points to /usr/bin/python3.12
> > > > /usr/bin/python3.9 - priority 39
> > > > /usr/bin/python3.12 - priority 312
> > > > Current `best' version is /usr/bin/python3.12.
> > > >
> > > > Rationale:
> > > > https://www.python.org/dev/peps/pep-0394/
> > > > In other systems as Debian
> > > > /usr/bin/python is discouraged.
> > > >
> > > > DESCRIPTION
> > > > Python is a programming language that lets you work quickly
> > > > and integrate systems more effectively.
> > > > Python is powerful... and fast; plays well with others;
> > > > runs everywhere; is friendly & easy to learn; is Open.
> > > >
> > > > HOMEPAGE
> > > > https://www.python.org/
> > > >
> > > > Regards
> > > > Marco Atzeri
> > > >
> > > >
> > > > If you have questions or comments, please send them to the
> > > > cygwin mailing list at: cygwin (at) cygwin (dot) com .
> > >
> > >
> > >
> > > --
> > > 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
> > >
> >
> > --
> > 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
> >
>
> --
> 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
>
--
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
| webmaster | delorie software privacy |
| Copyright 2019 by DJ Delorie | Updated Jul 2019 |