Merge branch 'master' into miniconda3-24.3.0-0

This commit is contained in:
Ivan Pozdeev 2024-12-22 16:21:41 +03:00
commit f613daf7bc

View File

@ -213,7 +213,7 @@ class CondaVersion(NamedTuple):
return PyVersion.PY37
else:
# 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":
# https://docs.anaconda.com/free/anaconda/reference/release-notes/
if v >= (2024,6):
@ -270,6 +270,7 @@ class CondaSpec(NamedTuple):
SupportedArch(arch),
md5,
repo,
py_ver
)
if py_version is None and py_ver is None and ver != "latest":
spec = spec.with_py_version(spec.version.default_py_version())