Skip to content

Commit

Permalink
Merge pull request #336 from oliver-sanders/6244
Browse files Browse the repository at this point in the history
glbl_cfg: reload without mutating the original
  • Loading branch information
wxtim committed Jul 23, 2024
2 parents 5d16afd + 36a4b86 commit e93120a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cylc/rose/utilities.py
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ def export_environment(environment: Dict[str, str]) -> None:
# can be used by Jinja2 in the global config.
# https://github.com/cylc/cylc-rose/issues/237
if environment:
glbl_cfg().load()
glbl_cfg(reload=True)


def record_cylc_install_options(
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ python_requires = >=3.7
include_package_data = True
install_requires =
metomi-rose==2.3.*
cylc-flow==8.3.*
cylc-flow>8.3.2,<8.4
metomi-isodatetime
ansimarkup
jinja2
Expand Down

0 comments on commit e93120a

Please sign in to comment.