-
Notifications
You must be signed in to change notification settings - Fork 912
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Handle plugin registration failure ContextualVersionConflict with log…
… instead of raising error (#1542) * ignore loading error Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Move setuptools to pyproject.toml to align with PEP-518 Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * revert changes Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * [WIP] - replace pkg_resource with importlib_metadata Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * [WIP] - replace pkg_resource Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Replace entrypoint discovery with importlib Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Tidy up logging message, linting Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * small changes to tidy up the variables Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Add conditional import to fix importlib not available in python 3.7 Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Fix test cases Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Update error message Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Switch back to importlib_metadata and fix tests Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * add importlib as requirements Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Fix test with py37 Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Fix linting Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Apply changes from review Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Refactor and fix wrong test Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * Fix some tests... should work now Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * I forgot to put the setuptools back... Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * I have gone too far and removed a necessary dependency Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * apply comments after reviews Signed-off-by: noklam <nok.lam.chan@quantumblack.com> * linting Signed-off-by: noklam <nok.lam.chan@quantumblack.com>
- Loading branch information
Showing
7 changed files
with
54 additions
and
37 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