Skip to content

Turn Cylc 7 deprecated syntax warnings into errors - #7523

Open
Scott-Owen-James wants to merge 6 commits into
cylc:masterfrom
Scott-Owen-James:7367
Open

Scott-Owen-James wants to merge 6 commits into
cylc:masterfrom
Scott-Owen-James:7367

Conversation

@Scott-Owen-James

Copy link
Copy Markdown
Contributor

Closes #7367

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).
  • Changelog 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.

@Scott-Owen-James

Scott-Owen-James commented Oct 12, 2026 •

Copy link
Copy Markdown
Contributor Author

Finished in advance of 8.8, to be merged then, I had to correct a handful of tests with updated syntax to properly pass everything.

If someone can explain the joke in 03-user-trap.t about a dead child speaking I would appreciate it.

@jfrost-mo jfrost-mo changed the title 7367 Turn Cylc 7 deprecated syntax warnings into errors Oct 12, 2026

@jfrost-mo jfrost-mo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looking sensible. Only a small optional comment.

Comment thread cylc/flow/parsec/upgrade.py Resolved
@jfrost-mo

Copy link
Copy Markdown
Contributor

Looking good. This can be undrafted now all the 8.7 releases have been made.

@MetRonnie
MetRonnie marked this pull request as ready for review October 14, 2026 14:54
@MetRonnie
MetRonnie requested review from MetRonnie and removed request for oliver-sanders October 14, 2026 14:54

@MetRonnie MetRonnie left a comment •

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Looks good, while not exhaustively covering what was done in #7509 and #7472, I think the intent of the issue #7367 that this is closing is only changing the syntax warnings.

Just got a few suggestions at Scott-Owen-James#1

Comment thread cylc/flow/parsec/upgrade.py Resolved
@MetRonnie

Copy link
Copy Markdown
Member

Actually could do with a changelog entry, something like

Certain deprecation warnings for old syntax that will be removed in 8.9 are now highlighted at the error log level.

@Scott-Owen-James

Copy link
Copy Markdown
Contributor Author

Actually could do with a changelog entry, something like

Certain deprecation warnings for old syntax that will be removed in 8.9 are now highlighted at the error log level.

Added the changelog

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

turn Cylc 7 deprecated syntax warnings into errors

3 participants