Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This aims to start pushing us towards a higher Python version, which is 3.13 for now as that seems to be a limit on some packages like
pythonnet.I attempted to split things that were Python 3.11 limited into their own packages and adjusted other ones up to 3.13 if they worked.
I made an additional shortcut for Python 3.13 in order to make it easier to access and for awareness that python 3.13 is the intended version to use (where all modules are installed to). The packages that use Python 3.11 have their own shortcuts that use Python 3.11, or are set to run as the author intended.
Ideally, I'd like to still aim towards managing multiple Python versions through
pymanageras suggested in #1522 (comment), but I will dive down that path later. This was just a first stab at allowing us to move beyond Python 3.10.There was an issue with
pyreadline3that required a small patch to mitigate a popup error when opening a Python 3.13 terminal, which is performed here: 496e289#diff-9ea4597286a609609159525cbb5b01aadcf7a99c030ab7bb07b657e5d322e6faR40-R65I wanted to find ways to make Python 3.13 the default that opens when
pythonis typed into a command prompt but most of the options didn't work well if I usedcmd.exe. Ones that worked seemed possibly too destructive or didn't work well enough, but if someone has a suggestion, please let me know.The main issue is that because of some tools now install
python311(like the 2 additional ones I created) and can be installed afterpython3.vm, that puts Python 3.11 at the top of the PATH, which is what Windows uses when trying to determine which python to use most of the time (particularlycmd.exe).The one alternative I can think of at the moment would be to forgo having
cmd.exepickpython 3.13when typingpython, and focus onWindows Terminaland/orPowershellto select it, which can likely be done via Profiles.