Repository navigation
Add 8.9 removal notice to deprecation warnings - #7509
Conversation
dc02bf8 to
c0a3b4d
Compare
c0a3b4d to
f778c0f
Compare
| # BACK COMPAT: post_load_db_coerce | ||
| # The DB at 8.0.x stores Interval values as neither ISO8601 duration | ||
| # string or DurationFloat. This has been fixed at 8.1.0. | ||
| # url: | ||
| # https://github.com/cylc/cylc-flow/pull/5138 | ||
| # from: | ||
| # 8.0.x | ||
| # to: | ||
| # 8.1.x | ||
| # remove at: | ||
| # 8.7 |
There was a problem hiding this comment.
This comment now only applies to a specific method of the BroadcastConfigValidator - there is already a comment over there:
cylc-flow/cylc/flow/parsec/validate.py
Lines 1313 to 1322 in f778c0f
| # BACK COMPAT: contact pre "suite" to "workflow" conversion. | ||
| # from: | ||
| # Cylc 8 | ||
| # remove at: | ||
| # Cylc 8.x | ||
| data[key.replace('SUITE', 'WORKFLOW')] = value |
There was a problem hiding this comment.
Removed support for Cylc 7 contact files - I think at 8.7 we have agreed there should not be support for interacting with running Cylc 7 workflows.
(I checked this function is not used in cylc-uiserver)
jfrost-mo
left a comment
There was a problem hiding this comment.
Looks like a sensible set of additional deprecation warnings/markers. The first comment in cylc/flow/scheduler.py is the only one I feel strongly about, otherwise just minor queries.
| # remove at: 8.x (pending a deprecation warning mentioning the removal | ||
| # version at least 2 minor versions before) |
There was a problem hiding this comment.
Should we define this warning?
There was a problem hiding this comment.
Will do later when we get round to it, don't want to delay this PR
| # remove at: 8.x (pending a deprecation warning mentioning the removal | ||
| # version at least 2 minor versions before) |
There was a problem hiding this comment.
Should we define this warning?
jfrost-mo
left a comment
There was a problem hiding this comment.
Looking sensible; cylc 7 really permeates this codebase.
Only comment is about another bit of code the could be removed, but that really wants to happen in a separate PR. Therefore happy to approve this one.
|
Also looks like some functional test KGOs need updating. |
a507fae to
e5a0b43
Compare
|
Rebased onto master to bring in the changes from #7489 |
| # BACK COMPAT: suite.rc logic | ||
| # FROM: 8.0 | ||
| # TO: 8.7 | ||
| # REMOVE AT: 8.11 |
There was a problem hiding this comment.
8.11 timescale was set in https://github.com/cylc/cylc-flow/pull/7325/changes#diff-bbe6f7254b92c1923735b6736de6e6699e23bcfec35c7915234358a0440a019d
Opened an issue for the eventual removal: #7511
jfrost-mo
left a comment
There was a problem hiding this comment.
Reviewed the diff and it looks good.
| return False | ||
| else: | ||
| # ... can be run by Cylc 8 |
There was a problem hiding this comment.
Discussed in person, I will remove the functional change to scan as we still want to display suite.rc workflows in the GUI so users can start them with an earlier version of Cylc 8 using the play form, for example
| # TO: 8.6.* | ||
| # REMOVE: 8.8 | ||
| # TO: 8.7 | ||
| # REMOVE AT: 8.10 |
There was a problem hiding this comment.
Shouldn't this be 8.11 (four minor version window?).
There was a problem hiding this comment.
Depends how you count (inclusive of the to: version or not)?
I was basing it off
cylc-flow/cylc/flow/commands.py
Lines 118 to 122 in 5023ff9
cylc-flow/cylc/flow/commands.py
Lines 386 to 392 in 5023ff9
4ef90ee to
6fd6f49
Compare
Partially addresses #7278
Closes #7275
Check List
CONTRIBUTING.mdand added my name as a Code Contributor.?.?.xbranch.