Skip to content

Commit

Permalink
rebasing branch
Browse files Browse the repository at this point in the history
  • Loading branch information
ssurbhi560 committed Oct 30, 2022
1 parent 5ab313f commit 23d2104
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions condacolab.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def _update_environment(
if specs:
env_details["dependencies"] = specs
if python_version:
env_details["dependencies"].extend([f"python={python_version}"])
env_details["dependencies"] += [f"python={python_version}"]
if pip_args:
pip_args_dict = {"pip": pip_args}
env_details["dependencies"].append(pip_args_dict)
Expand Down Expand Up @@ -297,8 +297,6 @@ def install_from_url(
"pip_task.log"
)

<<<<<<< HEAD
=======
print("📌 Adjusting configuration...")
cuda_version = ".".join(os.environ.get("CUDA_VERSION", "*.*.*").split(".")[:2])
prefix = Path(prefix)
Expand Down Expand Up @@ -329,7 +327,6 @@ def install_from_url(
extra_conda_args=extra_conda_args,
)

>>>>>>> 245e25c (API for customizing the conda base env)
env = env or {}
bin_path = f"{prefix}/bin"

Expand Down

0 comments on commit 23d2104

Please sign in to comment.