DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 53TDxfvK1471958 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 53TDxfvK1471958 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=NtI0zzDk X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2AE0C3857C6E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1745935179; bh=EN+LbX93gZiuoGurDlGLOvX3pAnFFteNSPip8yyjLLY=; h=Date:To:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=NtI0zzDkJJYpNpPP601tfOktKrRZ0YG4OCKl7/EG0ink0SovCmukdmqO6wJZcOvA+ mhi1XGW93hbu5sg74hZ0Kmy6I3OZOUMaZH+oE9ZdKUpJLB2Js+DCDtA6pNSqtxmjk+ opW6+xr0LoZhwJWfZKnNb1ymTFTbUXnw1iUBzyJw= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 11F383858D38 ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 11F383858D38 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745935112; cv=none; b=JVxon3o3h20FYLy6jskBEO0fcY38upBG0oBq51pOpygoeTRpl0yPy9VOJOLCpg0KAs1RaQso+v8MsQfmd1zt8vdUKBglzU5VP2ujaqWDS7dSC+6NPd7gkCJaFtlw4t9sYW5NUbzp/vKIxRfAwTeovvYvInrFQJzLuV0QsNnEDqc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1745935112; c=relaxed/simple; bh=rGdAqUECRDhcDomtuQC2Jx6eqzKAnyhLQ201ck3dIvM=; h=MIME-Version:DKIM-Signature:Date:From:To:Subject:Message-ID; b=BHfpyOqYHp4vstxxaR/WccuM2VgsRJZdtkk1WyvcUtdDbGaEoVGVaJirHj830x0oTwuNXR5su7JoXDC2rCIOwgRwrNPNDpy8qRQCxKwmsYhNhJWnQ5J5KcWBvPVXc2n7gK5VmuYQUgPjldp/Lh4GG8uy+HZR2hqN5C3HBfU6jZM= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 11F383858D38 MIME-Version: 1.0 Date: Tue, 29 Apr 2025 13:58:29 +0000 To: cygwin AT cygwin DOT com Subject: Bug in python312 package: WHEEL_PKG_DIR not set in _sysconfigdata__cygwin_x86_64-cygwin.py Message-ID: <480e41dfb6a317344fe7268223a43172@welsby.de> X-Sender: trevor AT welsby DOT de X-Spamd-Bar: / X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.30 List-Id: General Cygwin discussions and problem reports List-Archive: List-Post: List-Help: List-Subscribe: , From: trevor--- via Cygwin Reply-To: trevor AT welsby DOT de Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "Cygwin" The 'ensurepip' module '__init__.py' requires a pip wheel to be included either in the '_bundled' subdirectory or else in the directory referenced by the 'WHEEL_PKG_DIR' variable in '/usr/lib/python3.12/_sysconfigdata__cygwin_x86_64-cygwin.py'. In python packages prior to 3.12 it was the former, but it appears it is now the latter - the 'python-pip-wheel' package installs it in '/usr/share/python-wheels'. This causes venv creation via 'python -m venv' to fail in the '__init__.py' file of the 'ensurepip' module. To fix this line 1294 of '/usr/lib/python3.12/_sysconfigdata__cygwin_x86_64-cygwin.py' should be changed to: 'WHEEL_PKG_DIR': '/usr/share/python-wheels', -- 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