Skip to content

Commit

Permalink
Restore previous conda index call
Browse files Browse the repository at this point in the history
(problems appear to be with particular conda/conda-build versions
installed in CI)
  • Loading branch information
analog-cbarber committed Oct 8, 2023
1 parent 8073645 commit 3463d86
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/whl2conda/cli/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -211,11 +211,9 @@ def conda_bld_install(parsed: InstallArgs, subdir: str):
shutil.copyfile(
parsed.package_file, subdir_path.joinpath(parsed.package_file.name)
)
# subprocess.check_call(
# ["conda", "index", "--subdir", subdir, str(conda_bld_path)]
# )
# Really just want subdir, but having problems in CI. See if this works:
subprocess.check_call(["conda", "index", str(conda_bld_path)])
subprocess.check_call(
["conda", "index", "--subdir", subdir, str(conda_bld_path)]
)


def conda_env_install(parsed: InstallArgs, dependencies: list[str]):
Expand Down

0 comments on commit 3463d86

Please sign in to comment.