-
Notifications
You must be signed in to change notification settings - Fork 157
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug: fix explicit channel setting with conda env.yaml (#1008)
* fix channel Signed-off-by: Jinjing.Zhou <[email protected]> * lint Signed-off-by: Jinjing.Zhou <[email protected]> * fix test Signed-off-by: Jinjing.Zhou <[email protected]> Signed-off-by: Jinjing.Zhou <[email protected]>
- Loading branch information
Showing
4 changed files
with
23 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
def build(): | ||
config.conda_channel( | ||
channel=""" | ||
channels: | ||
- defaults | ||
- dglteam # dgllife in env.yaml only works if specify channels here | ||
""" | ||
) | ||
install.conda_packages(env_file="env.yaml") | ||
base(os="ubuntu20.04", language="python3.8") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
name: imarobot # should ignore this name | ||
dependencies: | ||
- dgl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters