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

[master] Stop loading utils modules into __utils__ if they don't define __virtual__ #64425

Open
wants to merge 49 commits into
base: master
Choose a base branch
from

Conversation

s0undt3ch
Copy link
Collaborator

What does this PR do?

See title

What issues does this PR fix or reference?

Refs: #62191

@s0undt3ch s0undt3ch requested a review from a team as a code owner June 6, 2023 06:41
@s0undt3ch s0undt3ch requested review from garethgreenaway and removed request for a team June 6, 2023 06:41
@salt-project-bot-prod-environment salt-project-bot-prod-environment bot changed the title [WIP] Stop loading utils modules into __utils__ if they don't define __virtual__ [master][WIP] Stop loading utils modules into __utils__ if they don't define __virtual__ Jun 6, 2023
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 11:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 11:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 11:51 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 11:53 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 12:23 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 12:28 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch force-pushed the hotfix/stop-loading-utils branch from 0dd2bf9 to 44edd0a Compare June 6, 2023 16:03
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 16:37 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 16:37 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 16:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 16:39 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:00 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:00 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:54 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:54 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:54 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:54 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:54 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 17:54 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 18:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 18:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 18:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 18:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 18:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch temporarily deployed to ci June 6, 2023 18:38 — with GitHub Actions Inactive
@s0undt3ch s0undt3ch force-pushed the hotfix/stop-loading-utils branch from 44edd0a to 7831f9b Compare June 6, 2023 18:52
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
…_state.py`

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
…ules

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Any warnings raised by Python's `warnings` module are now included in state returns under the `warnings` key.
This allows for, as an example, Salt deprecation warnings from execution modules to bubble up into state returns as opposed to only be buried in the logs.

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
…results

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
```
DeprecationWarning: the load_module() method is deprecated and slated for removal in Python 3.12; use exec_module() instead
```

Signed-off-by: Pedro Algarvio <palgarvio@vmware.com>
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.

4 participants