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

Do not allow plugins to act on global.cylc #5839

Merged

Conversation

wxtim
Copy link
Member

@wxtim wxtim commented Nov 22, 2023

Plugins should not be called when parsing global.cylc. This can become problematic if the plugin wants to access the global config.

Check List

  • I have read CONTRIBUTING.md and added my name as a Code Contributor.
  • Contains logically grouped changes (else tidy your branch by rebase).
  • Does not contain off-topic changes (use other PRs for other changes).
  • Applied any dependency changes to both setup.cfg (and conda-environment.yml if present).
  • Tests are included (or explain why tests are not needed).
  • CHANGES.md entry included if this is a change that can affect users
  • Cylc-Doc pull request opened if required at cylc/cylc-doc/pull/XXXX.
  • If this is a bug fix, PR should be raised against the relevant ?.?.x branch.

@wxtim wxtim force-pushed the fix.do_not_allow_plugins_acting_on_global.cylc branch from 5332e80 to e488705 Compare November 22, 2023 13:27
cylc/flow/parsec/fileparse.py Outdated Show resolved Hide resolved
@wxtim wxtim requested a review from oliver-sanders November 23, 2023 13:33
@wxtim wxtim self-assigned this Nov 23, 2023
@wxtim wxtim requested a review from MetRonnie November 23, 2023 13:34
@oliver-sanders oliver-sanders added this to the cylc-8.3.0 milestone Nov 23, 2023
cylc/flow/parsec/fileparse.py Outdated Show resolved Hide resolved
cylc/flow/parsec/fileparse.py Outdated Show resolved Hide resolved
cylc/flow/parsec/fileparse.py Show resolved Hide resolved
@MetRonnie
Copy link
Member

Flake8 failing on unused import

cylc/flow/parsec/fileparse.py Outdated Show resolved Hide resolved
cylc/flow/parsec/fileparse.py Outdated Show resolved Hide resolved
@wxtim wxtim requested a review from MetRonnie December 4, 2023 12:52
@MetRonnie
Copy link
Member

Kicking tests

@MetRonnie MetRonnie closed this Dec 4, 2023
@MetRonnie MetRonnie reopened this Dec 4, 2023
@oliver-sanders
Copy link
Member

(some mypy issues)

@MetRonnie MetRonnie merged commit ec8eec8 into cylc:master Dec 12, 2023
23 of 25 checks passed
@wxtim wxtim deleted the fix.do_not_allow_plugins_acting_on_global.cylc branch December 12, 2023 13:12
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