venv --upgrade 3.12.0rc2 --> 3.12.0rc3 failure

Robin Becker robin at reportlab.com
Thu Sep 28 06:40:14 EDT 2023


On 28/09/2023 10:05, Barry via Python-list wrote:

So this must be the source of my confusion

user at host:~
$ python312 -mvenv --help
......
   --upgrade             Upgrade the environment directory to use this version
                         of Python, assuming Python has been upgraded in-place.
......


I have a different version, but it's not 'in place'.

thanks
--
Robin
> 
> 
>> On 27 Sep 2023, at 12:50, Robin Becker via Python-list <python-list at python.org> wrote:
>>
>> Attempting venv upgrade  3.12.0rc2 --> 3.12.0rc3 I find pyvenv.cfg changes, but the virtual python doesn't.
>> I guess this ought to be a bug.
> 
> You must delete and then recreate the venv if the version of python changes.
> It is not a bug in python.
> 
> Barry
> 
> 




More information about the Python-list mailing list