Skip to content

schedule the removal of legacy Cylc 7 configuration support #7278

@oliver-sanders

Description

@oliver-sanders

The removal of Cylc 7 compatibility mode is covered by #6849, however, there are other deprecated Cylc 7 things still lingering, namely:

  1. Deprecated configurations (e.g. [cylc][parameters] -> [task parameters]).
  2. Deprecated event handler template variables (e.g, %(suite)s).
  3. Deprecated environment variables (e.g, $CYLC_SUITE_NAME).
  4. Deprecated host selection logic (i.e, [job]batch system and [remote]host).

Further to #7274 we need to agree on a schedule for the removal of these things.

With Cylc 7 compat mode being withdrawn in 8.7, we should delay removal until at least 8.8 to ease the transition for compat-mode workflows.

Furthermore, we should give one full version's worth or warning (i.e, upgrade deprecation warnings to errors and change the message to read "support will be removed at .").

(Also, realistically, we don't have much resource to spare right now!)

So, my suggestion would be 8.9:

  • 8.7 - drop compat mode.
  • 8.8 - warnings -> errors & add version to deprecation messages.
  • 8.9 - removal of support for deprecated syntax.

Will amend REMOVE AT versions and link any relevant BACK COMPAT comments to this issue once decided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions