Merge branch 'master' into miniconda3-24.3.0-0
This commit is contained in:
commit
f613daf7bc
@ -213,7 +213,7 @@ class CondaVersion(NamedTuple):
|
|||||||
return PyVersion.PY37
|
return PyVersion.PY37
|
||||||
else:
|
else:
|
||||||
# since 4.8, Miniconda specifies versions explicitly in the file name
|
# since 4.8, Miniconda specifies versions explicitly in the file name
|
||||||
return None
|
raise ValueError("Miniconda 4.8+ is supposed to specify a Python version explicitly")
|
||||||
if self.flavor == "anaconda":
|
if self.flavor == "anaconda":
|
||||||
# https://docs.anaconda.com/free/anaconda/reference/release-notes/
|
# https://docs.anaconda.com/free/anaconda/reference/release-notes/
|
||||||
if v >= (2024,6):
|
if v >= (2024,6):
|
||||||
@ -270,6 +270,7 @@ class CondaSpec(NamedTuple):
|
|||||||
SupportedArch(arch),
|
SupportedArch(arch),
|
||||||
md5,
|
md5,
|
||||||
repo,
|
repo,
|
||||||
|
py_ver
|
||||||
)
|
)
|
||||||
if py_version is None and py_ver is None and ver != "latest":
|
if py_version is None and py_ver is None and ver != "latest":
|
||||||
spec = spec.with_py_version(spec.version.default_py_version())
|
spec = spec.with_py_version(spec.version.default_py_version())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user