8000 MNT Fix good Conda versions for updating lockfile (#26908) · scikit-learn/scikit-learn@3841a65 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3841a65

Browse files
maresblesteve
authored andcommitted
MNT Fix good Conda versions for updating lockfile (#26908)
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
1 parent 5b77360 commit 3841a65

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build_tools/update_environments_and_lock_files.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -554,15 +554,15 @@ def check_conda_version():
554554
# Avoid issues with glibc (https://github.com/conda/conda-lock/issues/292)
555555
# or osx (https://github.com/conda/conda-lock/issues/408) virtual package.
556556
# The glibc one has been fixed in conda 23.1.0 and the osx has been fixed
557-
# in main and will be fixed when conda >= 23.6 is released.
557+
# in conda 23.7.0.
558558
conda_info_output = execute_command(["conda", "info", "--json"])
559559

560560
conda_info = json.loads(conda_info_output)
561561
conda_version = Version(conda_info["conda_version"])
562562

563-
if Version("22.9.0") < conda_version < Version("23.6"):
563+
if Version("22.9.0") < conda_version < Version("23.7"):
564564
raise RuntimeError(
565-
f"conda version should be <= 22.9.0 or >= 23.6 got: {conda_version}"
565+
f"conda version should be <= 22.9.0 or >= 23.7 got: {conda_version}"
566566
)
567567

568568

0 commit comments

Comments
 (0)
0