Closed wxtim closed 3 weeks ago
LGTM, tested as working, one question (above).
Need to check whether I need to bump the version number - does this work/can this be made safe with Cylc<8.3.6
As reported by Mark the other day, the "WARNING [env]ROSE_ORIG_HOST will be ignored" messages which appear on this branch are not very helpful:
WARNING - [env]ROSE_ORIG_HOST=<myhost> from rose-suite.conf will be ignored: ROSE_ORIG_HOST will be:
<myhost>
WARNING - [template variables]ROSE_ORIG_HOST=<myhost> from rose-suite.conf will be ignored: ROSE_ORIG_HOST will
be: <myhost>
Hopefully a simple fix.
As reported by Mark the other day
I think you've turned off this warning completely for cylc vr
? It (now?) doesn't show when it should?:
$ cylc reinstall -S 'ROSE_ORIG_HOST="elephant"' tmp.2EYla85JQJ
...
WARNING - [template variables]ROSE_ORIG_HOST="elephant" from rose-suite.conf will be ignored: ROSE_ORIG_HOST will be:
cazld000020.spice.sc.metoffice.gov.uk
REINSTALLED tmp.2EYla85JQJ/run2 from /var/tmp/tmp.2EYla85JQJ
Successfully reinstalled.
Run "cylc reload tmp.2EYla85JQJ/run2" to pick up changes.
Done
$ cylc vr -S 'ROSE_ORIG_HOST="elephant"' tmp.2EYla85JQJ
...
REINSTALLED tmp.2EYla85JQJ/run2 from /var/tmp/tmp.2EYla85JQJ
Successfully reinstalled.
$ cylc reload tmp.2EYla85JQJ/run2
@oliver-sanders - uncommented a previous fix - should work!
~I'll have a look at a bit more testing - this has been driving me crackers~
Have now added a bit more in the way of testing.
Closed and re-opened to kick the tests onward. The one failure passes with the paired Cylc-Flow branch checked out. 😄
Upstream PR merged, poking CI.
@wxtim, I think the Python 3.7 failure is a legit back-compat issue, hopefully an easy fix.
Tried distutils
but this seems to be something Cylc 3.8 and 3.9 were unhappy with. Gone for a really clunky run(cp)
.
Closes https://github.com/cylc/cylc-flow/issues/6286
Partner of https://github.com/cylc/cylc-flow/pull/6404, required to close https://github.com/cylc/cylc-flow/issues/6286
Use
options.against_source = rundir
to merge new CLI options with those stored in an earlier install'srose-suite-cylc-install.conf
.Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
(andconda-environment.yml
if present).?.?.x
branch.