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

Fix namespaced packages #173

Merged
merged 6 commits into from
Feb 17, 2024
Merged

Fix namespaced packages #173

merged 6 commits into from
Feb 17, 2024

Conversation

dwoz
Copy link
Contributor

@dwoz dwoz commented Feb 16, 2024

@dwoz dwoz changed the title Fix namespaced packages [wip] Fix namespaced packages Feb 16, 2024
@dwoz dwoz force-pushed the target_namespace branch 2 times, most recently from d32eda8 to f155300 Compare February 16, 2024 10:49
@dwoz dwoz changed the title [wip] Fix namespaced packages Fix namespaced packages Feb 16, 2024
@dwoz dwoz merged commit 62c2939 into saltstack:main Feb 17, 2024
3 checks passed
mod = importlib.import_module(name)

def wrap(func):
if mod.InstallRequirement.install.__code__.co_argcount == 9:
Copy link
Contributor

Choose a reason for hiding this comment

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

And of they remove an argument and add another?

Looks brittle.

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.

3 participants