mirror of
https://github.com/pyenv/pyenv.git
synced 2024-12-22 21:12:29 +00:00
Determine Python versions properly for Anaconda
The code for determining which Python version is bundled with which version of Anaconda has not been updated in a while. I have added 3.10 and 3.11, both of which were used in bundles this year. I also updated the URL for the source of this data, the Anaconda release notes, because it has moved.
This commit is contained in:
parent
f50b99265c
commit
27525adece
1 changed files with 5 additions and 1 deletions
|
@ -193,7 +193,11 @@ class CondaVersion(NamedTuple):
|
|||
else:
|
||||
return PyVersion.PY37
|
||||
if self.flavor == "anaconda":
|
||||
# https://docs.anaconda.com/anaconda/reference/release-notes/
|
||||
# https://docs.anaconda.com/free/anaconda/reference/release-notes/
|
||||
if v >= (2023,7):
|
||||
return PyVersion.PY311
|
||||
if v >= (2023,3):
|
||||
return PyVersion.PY310
|
||||
if v >= (2021,11):
|
||||
return PyVersion.PY39
|
||||
if v >= (2020,7):
|
||||
|
|
Loading…
Reference in a new issue