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