Message414290
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. |
|
Date |
User |
Action |
Args |
2022-03-01 20:20:15 | ned.deily | set | recipients:
+ ned.deily, vinay.sajip, ronaldoussoren, eric.snow, steve.dower |
2022-03-01 20:20:15 | ned.deily | set | messageid: <1646166015.05.0.694290622392.issue46890@roundup.psfhosted.org> |
2022-03-01 20:20:15 | ned.deily | link | issue46890 messages |
2022-03-01 20:20:14 | ned.deily | create | |
|