Open
Conversation
This test verifies that a new plugin (like the one in examples/basic) is properly picked up by the launcher when installed. The test: - Installs the example plugin in editable mode - Discovers it via the PluginLoader - Verifies that commands and processes are correctly registered - Cleans up by uninstalling the plugin after the test The test handles Python import caching issues by: - Adding the plugin path to sys.path for editable installs - Invalidating import caches - Using distributions() to force fresh entry point discovery
- Pin Poetry to version 1.8.3 to avoid installation failures with 2.2.1 - Update actions/checkout from v3 to v4 - Update actions/setup-python from v4 to v5 - Add Python 3.11 to the test matrix This fixes the Poetry installation error in PR #9 and ensures tests run across Python 3.8, 3.9, 3.10, and 3.11.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This test verifies that a new plugin (like the one in examples/basic) is properly picked up by the launcher when installed. The test:
The test handles Python import caching issues by: