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

2023-09-27 Thread Robin Becker via Python-list

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.



user@host:~/devel
$ ~/LOCAL?3.12.0rc2/bin/python3 -m venv xxx
bash: /home/user/LOCAL?3.12.0rc2/bin/python3: No such file or directory
user@host:~/devel
$ ~/LOCAL/3.12.0rc2/bin/python3 -m venv xxx
user@host:~/devel
$ xxx/bin/python -c'import sys;print(sys.version)'
3.12.0rc2 (main, Sep  9 2023, 17:53:34) [GCC 13.2.1 20230801]
user@host:~/devel
$ cat xxx/pyvenv.cfg 
home = /home/user/LOCAL/3.12.0rc2/bin

include-system-site-packages = false
version = 3.12.0
executable = /home/user/LOCAL/3.12.0rc2/bin/python3.12
command = /home/user/LOCAL/3.12.0rc2/bin/python3 -m venv /home/robin/devel/xxx
user@host:~/devel
$ ~/LOCAL/3.12.0rc3/bin/python3 -m venv --upgrade xxx
user@host:~/devel
$ xxx/bin/python -c'import sys;print(sys.version)'
3.12.0rc2 (main, Sep  9 2023, 17:53:34) [GCC 13.2.1 20230801]
user@host:~/devel
$ cat xxx/pyvenv.cfg 
home = /home/user/LOCAL/3.12.0rc3/bin

include-system-site-packages = false
version = 3.12.0
executable = /home/user/LOCAL/3.12.0rc3/bin/python3.12
command = /home/user/LOCAL/3.12.0rc3/bin/python3 -m venv --upgrade 
/home/robin/devel/xxx
user@host:~/devel
$ # check versions > user@host:~/devel
$ ~/LOCAL/3.12.0rc2/bin/python3 -c'import sys;print(sys.version)'
3.12.0rc2 (main, Sep  9 2023, 17:53:34) [GCC 13.2.1 20230801] > 
user@host:~/devel
$ ~/LOCAL/3.12.0rc3/bin/python3 -c'import sys;print(sys.version)'
3.12.0rc3 (main, Sep 27 2023, 09:35:10) [GCC 13.2.1 20230801]
user@host:~/devel
$ 


--
Robin Becker
--
https://mail.python.org/mailman/listinfo/python-list


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

2023-09-28 Thread Robin Becker via Python-list

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

So this must be the source of my confusion

user@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  
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





--
https://mail.python.org/mailman/listinfo/python-list


troglodytes

2024-08-13 Thread Robin Becker via Python-list

I am clearly one of the troglodytes referred to in recent discussions around 
the PSF. I've been around in python land
for far too long, my eyesight fails etc etc.

I feel strongly that a miscarriage of justice has been made in the 3-month banning of a famous python developer from 
some areas of discourse.


I have had my share of disagreements with others in the past and have been 
sometimes violent or disrespectful in emails.

I might have been in the kill list of some, but never banned from any mailing 
lists.

Honest dialogue is much better than imposed silence.

-- grumblingly-yrs --
Robin Becker

--
https://mail.python.org/mailman/listinfo/python-list