-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make large dependencies optional (#235)
* Initial commit * Add [all] option * Add extras to workflow file * Fix workflow * Test workflows on the original state * Test workflows (poetry.lock consistent with pyproject.toml) * Readd changes with fixed lock file * Update lock * Fix poetry.lock * Add review suggestions * Make spelling consistent * Mark tests requiring extras & modify imports if extras not installed * FIx formatting * Comply with flake8/black * Remove torch as independent extra * Rename extra * Re-add torch (for users who will manually install dgl) * Add detailed test grouping * Fix import * Fix import in utilities.py * Switch to optionally importing torch (in graph translators) * Fix typo * Add import checks * Improve import/export tests * Remove unnecessary test mark * Fix optional dependency tests * Rename optional import parameters & torch extra
- Loading branch information
Showing
17 changed files
with
230 additions
and
102 deletions.
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
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
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
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
Oops, something went wrong.