delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2025/01/02/12:44:04

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 502Hi4gS4076851
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 502Hi4gS4076851
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=hfdPdSzK
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A8E43858D21
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1735839842;
bh=/lVFRaumCoub6Gy0rWnLo6V2db+skTuFAMSu4QR+LJs=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=hfdPdSzKnutrt0GHjvsna65SlzMEBp2neT2//xHpD2+KyYL/k0qhx+iaJST+SmLPR
xmqaeDCyql/u36FqvNyq1ItYL8kMXnEfpKJUJcdh+OGegchIzNa+yKoC1QUjtFQj78
ogKZeKkCeCMlD08RyhWg5iz9qUm/KTEqXY5OfXP4=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CB4E73858CDA
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org CB4E73858CDA
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1735839754; cv=none;
b=GqTExOZ7VgRMes+08baCfOuuuLLCKuA690h1Br6wOVEloI1DxuGf8xD0w9NXwB+ROYdFVxif/KUaU/2hdL9AcpUO9NRVjDUIYZEWME6XuB88WA8aMY0SOi2auzTlX2t0ihp2rEoJxpVHu7Q3TNnBUbsMTUj8inu9BuLzruJam5s=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1735839754; c=relaxed/simple;
bh=nVQ/1mpsSYSWYvwcFQzQ3DcXRX68YdbtiF5Y/eGA9ko=;
h=MIME-Version:From:Date:Message-ID:Subject:To;
b=vLLfc8KA7nZfnMA1imo5CvWW9YlzV7zeEuOj5+NcDJodawsqa8ZwCS6wltPGPl2s0ou9jmlLp19cG6O8KgXmIETKHjKvIq311x+kIsC/EBdTLtSZ1SB6wut9f2LLrHdcztXV9A6BMBMJl0uLm+5LQFjRQhSuIdZvBXHY/ENG5Dg=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CB4E73858CDA
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20230601; t=1735839753; x=1736444553;
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=IYfP4zAYpFyI2MIQiI/oHEdeoMgPvdDU76UVxyAij/w=;
b=fRAab9djX6/ucQ49gYjKn1kSnfIN6KW07u3vAhNp5zOCfcrIEoBiRaDSlNZEDPbF/2
PguXckCdC75Hm4F2xPjIxsXzVzdIlwIvCsIxyQKtUuV4MVaXrab3CLAgfC/1M/wkBF5X
vMxwJj+TBYp8KmCiYxihlYOjzS3iWMzjd0qibeE6kq3Ok199AskNmo6bXYkSzrDrb/yX
iTJIjuVHVEKn3oz0k8bwvdn2iBsUr8/CSkJ0IhJvLVbnmweBbP8p1HSPPy4xM0sIYcqL
6E3zEKAbDOCekWHpR/5crIIs43g4gbIr73BDm0dknoXWpWwx8ri6LpoyqsFYfaPtsVAw
a5iQ==
X-Forwarded-Encrypted: i=1;
AJvYcCVTKHlTpc40QjLYzfdJNNY8LzfSjZmHv3Nc+ApBbuCAp0t+UeJMGvB1q625LImgtoMU9DIfUk4=@cygwin.com
X-Gm-Message-State: AOJu0YyKz72fwSzSaKXGClgsKMqaeOZCUjXAZX4ap6DAoGXAhMwPPLjt
tIroca40I/VQnkmvGTYm4TmA1ENXmtnjxWjRLNxAZKhO+J6vFkDQQnXeYPWkpOZcWNdH35z/5iv
pIGEKRQQtc4ShvTS//Qsym1Yud6M=
X-Gm-Gg: ASbGncuA+KKtm9dFRZu1CpMDrXkLK/M+hEybIycibcMUC7LwaQY5BbfbwgLvzVEabDX
Kkqlrg985OGEnPuxMJ2BmoAt/wArdvM8oQW8=
X-Google-Smtp-Source: AGHT+IHUPEo/SPlKqEUNrLNkyxi71WK24IESYI6YTPK5LUeq9hoGcHjlPNg+Q+iYOIORPacE9nY24GN1uJrpEJsKP9U=
X-Received: by 2002:a05:6a00:3a02:b0:725:d9b6:3958 with SMTP id
d2e1a72fcca58-72abddd7bc5mr66271916b3a.14.1735839752592; Thu, 02 Jan 2025
09:42:32 -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>
In-Reply-To: <1b894ce0-ee20-4408-95ec-54202d0721bc@r-t.org>
Date: Thu, 2 Jan 2025 12:42:21 -0500
Message-ID: <CAAF84SU_mL3OG-DzcntnjKj=Fqn8Y-6k6+xQWWym6CbmUKa38A@mail.gmail.com>
Subject: Re: Test: python312-3.12.8-1 venv fails due to pip wheel?
To: Robert Terzi <rct+cygwin AT r-t DOT org>
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>
Cc: cygwin AT cygwin 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 502Hi4gS4076851

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019