Skip to content

remove Cylc 7 compatibility mode#429

Open
oliver-sanders wants to merge 2 commits into
cylc:masterfrom
oliver-sanders:compat
Open

remove Cylc 7 compatibility mode#429
oliver-sanders wants to merge 2 commits into
cylc:masterfrom
oliver-sanders:compat

Conversation

@oliver-sanders

@oliver-sanders oliver-sanders commented Jun 11, 2026

Copy link
Copy Markdown
Member

A set of changes to remove Cylc 7 compatibility mode, issues:

Sibling PRs:

Summary:

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.

* Reverts cylc#140, cylc#146
* Closes cylc#374
* Integers with leading zeros were supported by Jinja2 v2 when running
  under Python 2, but not when using Jinja2 v3 under Python 3.
* In order to permit Cylc 7 workflows to be inter-operable with Cylc 8,
  a hack was put in place to extend support for zero-prefixed integers into
  Cylc 8 (Jinja2 v3, Python 3).
* Cylc 7 compatibility mode has been removed in the 8.7 meta-release, so
  the hack is no longer required.
@oliver-sanders

Copy link
Copy Markdown
Member Author

(tests will fail until the upstream PR has been merged)

@oliver-sanders oliver-sanders changed the title Compat remove Cylc 7 compatibility mode Jun 11, 2026
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.

drop python 2 compat

1 participant