Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PICARD-2751: Restore the ability to load compiled .pyc plugins #2309

Merged
merged 1 commit into from
Sep 12, 2023

Conversation

phw
Copy link
Member

@phw phw commented Sep 12, 2023

Summary

  • This is a…
    • Bug fix
    • Feature addition
    • Refactoring
    • Minor / simple change (like a typo)
    • Other
  • Describe this change in 1-2 sentences:

Problem

With the changes in #2307 the plugin system's ability to load plugins that only exist as compiled bytecode (.pyc) files got lost.

Solution

Consider all possible file extensions again when trying to load the spec.

@phw phw requested a review from zas September 12, 2023 11:35
Copy link
Collaborator

@zas zas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed that, fix looks ok to me

@phw phw merged commit 25038a6 into metabrainz:master Sep 12, 2023
69 checks passed
@phw phw deleted the PICARD-2751-plugin-pyc branch September 12, 2023 13:05
@phw
Copy link
Member Author

phw commented Sep 12, 2023

This is probably one of those really rare use cases as we don't make use of this currently ourselves. Well possible nobody would have noticed :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants