This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients eric.snow, ned.deily, ronaldoussoren, steve.dower, vinay.sajip
Date 2022-03-01.20:20:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1646166015.05.0.694290622392.issue46890@roundup.psfhosted.org>
In-reply-to
Content
As Ronald notes, the issue isn't in venv, it's that the value of sys._base_executable has changed between 3.10 and 3.11 for macOS builds.

$ /usr/local/bin/python3.10
Python 3.10.2 (v3.10.2:a58ebcc701, Jan 13 2022, 14:50:16) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._base_executable
'/usr/local/bin/python3.10'
>>> ^D
nad@vana:~$ /usr/local/bin/python3.11
Python 3.11.0a5 (v3.11.0a5:c4e4b91557, Feb  3 2022, 14:54:01) [Clang 13.0.0 (clang-1300.0.29.30)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._base_executable
'/Library/Frameworks/Python.framework/Versions/3.11.0a5_11/Resources/Python.app/Contents/MacOS/Python'
>>>

The 3.11 value is incorrect for the reasons Ronald noted.
History
Date User Action Args
2022-03-01 20:20:15ned.deilysetrecipients: + ned.deily, vinay.sajip, ronaldoussoren, eric.snow, steve.dower
2022-03-01 20:20:15ned.deilysetmessageid: <1646166015.05.0.694290622392.issue46890@roundup.psfhosted.org>
2022-03-01 20:20:15ned.deilylinkissue46890 messages
2022-03-01 20:20:14ned.deilycreate