Python 3 version
-
So long story short what's the expected way to get the current version of python?
Long version, I had a script that stopped working after my recent upgrade. I spotted that I have pointed it at python39. Must have missed the upgrade in the release notes.
Easy fix point it at python311 however if there was a python3 that always pointed to the current python 3 version it would never need to be updated.
Should this be an enhancement request or is there an expected way to deal with this?
Rob
-
Under certain circumstances it can have both 3.9 and 3.11 installed on 23.01/2.7.0 so we can't use a meta package/symlink to automatically point to one or the other.
Given that some scripts have issues with different major.minor python versions it's safest to point to one specifically.
-
@jimp Fair enough at least im not missing something simple then. As I said it was an easy fix just wasn't sure if I was making it harder for myself.