delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/07/03/20:25:40

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 6640PdMl1958085
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 6640PdMl1958085
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=SrZSYzKk
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0A0CC4BA23F9
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1783124738;
bh=WfXl3L/IvZrJFE+iRDxDuZer65bi+4kJyKKEeVUn8G4=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=SrZSYzKk9aZ3coHOLy/EuWdlRHsQA69mUNgQk2CO/lXld5riaKBNqhROPvNKEQ/ne
zpFsTxfOfSXgwYdUz/0g+8SOeGLN8pc/F7msB+n1sbNE0buJyUfy+Qcby5FF48mUvv
P9gC4cD9MDHdZZhkbZ6h8v1xrmJfa3uYgTVR6POk=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E0E414BA2E31
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org E0E414BA2E31
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1783124689; cv=pass;
b=c+YdxAFypRIiYoek1YdfQBoDuKlsPe59/uNRMokLcWiu31f0GRZd+NYQWTS/s6oZ+v6r/ZiZSBxUXtNY/EZtg811+UsKdSuj/D/UtCCdqjOMbLLAlAv/mXFEkCJ2xkxfq8NtvH2TXKL8hrjEAcZBiNDz7HcVPrCrRMVYhuPv/C0=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1783124689; c=relaxed/simple;
bh=DfInt6ZmpIvSLXq6NujBffOZLf027mpGNBvm831Rkk4=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=E6D6X34BKgGyOpHR48WEQNR+IazmwY8QifPdnnfWAWfZry5nwz2DnWGJvA4+WwvgVLfWVBSMY7dfA0rPWKW685N50WtbMJS38lWVHl4PZPz63IN63ZYHAXEHF0DZvn3ts+K1Xoqu1CgSaDJmtSXA6FxP/QHfEJwYQw7Za/KhhkI=
ARC-Authentication-Results: i=2; sourceware.org;
dkim=pass (2048-bit key, unprotected)
header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20251104
header.b=l7dUj+l5
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E0E414BA2E31
ARC-Seal: i=1; a=rsa-sha256; t=1783124687; cv=none;
d=google.com; s=arc-20260327;
b=YQEUaYKlY4QGb+k4TlDla61/BMtBCX6hQhBicfDu2HYGV62JlpvSiRRPVbesY5KM2e
kyaEdT7HBIueSjm0AYuWUQ9h4XDzWTk4smITw3TmD6CvDSpei0QzCASInowyFryigQ05
unPS6Bu7S3rOJ2ETjYe719HFB34sYyQrpHAi+f8BfryiALNjcZgZJS1X109QZF8ZsoNR
e0NPuQ6wmGeG/Q5+G13fE0oZJdEh+P+5OSjCIRGdQJS6RH8lqFtjpD27C3lbeLjQFby+
ODmOI3XJeb94dVWJQ8jb8NwYYLLg0fKx92nXooNcB5d0QQQb15ZnQ7bmQyk2543V6MZa
dkfA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20260327;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:dkim-signature;
bh=gBC5W9i5GIfY9bkKo0UqaItLae6ZWa+kIwm/bPtHl+0=;
fh=UKNFaOBO97U3RYl3PEse//nArTqr7SLJjCCEBz281Ew=;
b=aub4Q6chMPbsSmHFzptik7p34qtYNxETrfdfBQNz7ceuQWE1+2a1SutESFZRpgSqU+
gby/bMf0MQ8ChT+sLzQyBu17pGecdqW7YdfPYqxi5VtNlCmubVbHaluw/WAzpwluh7yq
gSPGToBcOlD+A4TMOk5WapYSeWiE6ddepl6zNvU4znupIxNqNcc5/2CRe5W9v9FDy165
Qw/vLFaTKE1QcPQ1mCuH1BAUQg+pUk5gPSlxkREL7VoUeBr/DsyCChVrt8BFrVjrNBeU
kg2bfv/4MzIelZ0E7oGCL93Ym7jcNwh/hCETBPK5DnohGi22fpG90fQ+Y3wPoSdqrppC
3U8w==; darn=cygwin.com
ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1783124687; x=1783729487;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=gBC5W9i5GIfY9bkKo0UqaItLae6ZWa+kIwm/bPtHl+0=;
b=KbK5tcAESzYmw4p+woKbwTgeCjqNzkpZYiO5SZu+D4Fc57LWFsFxl5g74HZvoYOY7A
rbN7hvnM7fS+MTx/EzVGp6K10C4If1ca1Agoqo0cpswccUvpthR7Ssvrrk4yBBTT3k6E
BBLBkttZTJ0/4tvsdrG1y+cgYEtyJgF/CGsYYd/7R9Uy5AMs6326PP1KAMeG1PmYcJkR
b80HOAK3GDE1cFqzzRsnM//V0wiLSf39NFIcDGuiIbt67YvjTOwhLJ85rDgUoh10YmFb
jPNB7RPr0D26lbhTZr12ydz+8d1WBMhjP6SfwtO6D3VTHM8Lb5fOt+6xOV0rtCYHgj7M
ASEA==
X-Gm-Message-State: AOJu0YyRyk2D4XItlP2sOCakIdeBBJkM6YBK/eLZYXO1byFu7VJ19+90
cWsqv0DYqu9xIRYvyFdXf7S6TAl5aixJxCTsIZDIUcCwhhsMjotldsc+7a4JJ9AYS2wI2h4ShNM
3NO7eIkMeVYHDRtDIClIDsiTm175XiJtpRHia
X-Gm-Gg: AfdE7cnfVKWas7WVqRW9ZdKL9FhWYZcF+74Q5nXb+I1FAaDloFmBc36KyCl5XHMbuHN
UhETPaY2xeVGbaO+XOSE1BQUGguLRNhB8gZwp6DZ4XarmfsQNq0Uz7iXWoUCk8EIlCdtG94/C9I
f9AGOPzG7FGJu54Kb+JW77tRDwBDXfBd6RfGDu08P2Udpnd91yRenU7xgTe0w6EXE6FqMy6XwPP
9oIQQs4kKzIJlz/gwE/MwqXht/QnebJA7uqlKpMtpO8gDuw48JYMRYnBlODEFEcaTkdWgMq12BY
JEQg6BACYaBFLLFFx6UkGLOA18rfzSw=
X-Received: by 2002:a05:6402:5293:b0:698:3565:5836 with SMTP id
4fb4d7f45d1cf-69a1a3aa16fmr449148a12.25.1783124687338; Fri, 03 Jul 2026
17:24:47 -0700 (PDT)
MIME-Version: 1.0
References: <CAGB_HuSeno8JmL0x0EvA6ZHjPdCrd00XC2T_Vy1KcBPVVtSEXQ AT mail DOT gmail DOT com>
<akUoUJnnk3FFbz4Y AT sirius2>
<CAGB_HuSjc1c2zCWJx31VFGiYcTC8nAifTvGaVVHUJeyqXy1+4A AT mail DOT gmail DOT com>
<akggkR_P07zMdOrV AT sirius2>
In-Reply-To: <akggkR_P07zMdOrV@sirius2>
Date: Fri, 3 Jul 2026 18:24:35 -0600
X-Gm-Features: AVVi8Ce1AhV8_J7IKTiR15IvyNkBXLbEX-2LzPEEbZ7d-CEQAC1cm5kl8nMorwc
Message-ID: <CAJ1FpuO1ugxDANUR4JTLi-TwfGEiK444ycseVnKEaLdkJ0xV9Q@mail.gmail.com>
Subject: Re: Two computers running cygwin; on one python venv sets up fine and
on the other an error
To: 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: Doug Henderson via Cygwin <cygwin AT cygwin DOT com>
Reply-To: Doug Henderson <djndnbvg AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
Note-from-DJ: This may be spam
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 6640PdMl1958085

On Fri, Jul 3, 2026 at 2:59 PM Harald Köhler via Cygwin <cygwin AT cygwin DOT com>
wrote:

> Am 2026-07-02 21:02:24, schrieb Soren via Cygwin:
> > Greetings and thanks Harald. My replication of your steps resulted in a
> > traceback.
> > On Wed, Jul 1, 2026 at 10:53 AM Harald Köhler via Cygwin <
> cygwin AT cygwin DOT com>
> > wrote:
> >
> > >
> > > the error message seems similar to thread "python3.12 ensurepip fails"
> > > from 2026-02-07 and later. The fix was a workaround in
> > > python{3.9,3.12}-virtualenv.
> > >

Soren,

I believe the system package installer (in this case the Cygwin setup.exe),
and Python's pip package cooperate so that a package installed by the
system installer cannot be overwritten by using "pip install --upgrade
PKG". For example, when pip has been installed using Cygwin setup.exe,
trying to install a newer version of pip will fail. In earlier releases of
pip, the install would succeed, but "cygcheck" would show that the pip
package was "incomplete", I think because some files were not identical to
those in the currently installed "python-pip" package.

Without delving deeper, I suspect that the ensure pip package is trying to
replace or upgrade the version of pip installed by setup.exe so that the
process I describe above fails.

But I cannot find the ensurepip package using setup.exe, where are you
getting the ensurepip package from? As far as I can tell, there is no
longer a python 3.12 package for ensurepip via setup.exe, and I can't find
ensurepip on PyPI. Now, to get pip you must install a python-pip package
that matches your python version.

IIRC, I saw this in a What's New for an older Python version (I am mostly
using 3.15beta3 now, so 3.12 is ancient for me). I think I had to drill
down to changes in pip. Then again it may have been a PEP about having the
OS installer and pip cooperate so they did not tread on each other when
packages were installed or updated.

Ha, a google search for "PEP about having the OS installer and pip
cooperate" found  PEP 668.

HTH
Doug

-- 
Doug Henderson, Calgary, Alberta, Canada - from gmail.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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2026   by DJ Delorie     Updated Sep 20 2026