-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move out dependency of rest modules in extra_requires in forte (#760)
* import error for wikipedia * import error for transformers * import error for tqdm * add more import tests * remove pytorch installation at .github/workflows/main.yml * test backbone in an independent job at .github/workflows/main.yml * install pytest in .github/workflows/main.yml * remove RemoteProcessor that requires extra module at tests/forte/forte_backbone_test.py * add requests in remoe extra require at setup.py * remove init import RemoteProcessor at forte/processors/misc/__init__.py * try-except ImportError for requests at forte/processors/misc/remote_processor.py * change relative importing path for RemoteProcessor at tests/forte/remote_processor_test.py * try-except ImportError for module requests at forte/processors/third_party/machine_translation_processor.py * try-except ImportError for module requests at forte/processors/data_augment/algorithms/character_flip_op.py * try-except ImportError for module requests at forte/processors/data_augment/algorithms/distribution_replacement_op.py * add requests requirement in forte[data_aug] in setup.py * try-except ImportError for module requests at forte/processors/data_augment/algorithms/typo_replacement_op.py * pylint: raise errors from errors and disable import-outside-toplevel * pylint: raise errors from errors and disable import-outside-toplevel * forte_backbone_test.py pytest -> regular running python script * move requests importing inside init for RemoteProcessor * revert remove init import RemoteProcessor at forte/processors/misc/__init__.py * remove tensorflow and pytorch version in the test_backbone job * simplify test_backbone job
- Loading branch information
Showing
11 changed files
with
276 additions
and
76 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
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.