Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

8.1.x #5327

Merged
merged 16 commits into from
Jan 27, 2023
Merged

8.1.x #5327

Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
tokens: speed up duplication of Tokens objects (#5325)
  • Loading branch information
oliver-sanders authored Jan 25, 2023
commit c122bec0054e81c94bd9c606245226245ca71d7c
7 changes: 7 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,13 @@ ones in. -->
[#5314](https://github.com/cylc/cylc-flow/pull/5314) - Fix broken
command option: `cylc vip --run-name`.

[#5319](https://github.com/cylc/cylc-flow/pull/5319),
[#5321](https://github.com/cylc/cylc-flow/pull/5321),
[#5325](https://github.com/cylc/cylc-flow/pull/5325) -
Various efficiency optimisations to the scheduler which particularly impact
workflows with many-to-many dependencies (e.g. `<a> => <b>`).

-------------------------------------------------------------------------------
## __cylc-8.1.0 (<span actions:bind='release-date'>Released 2023-01-16</span>)__

### Breaking Changes
Expand Down
5 changes: 4 additions & 1 deletion cylc/flow/id.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,10 @@ def __init__(
if args:
if len(args) > 1:
raise ValueError()
kwargs = tokenise(str(args[0]), relative)
if isinstance(args[0], str):
kwargs = tokenise(args[0], relative)
else:
kwargs = dict(args[0])
else:
for key in kwargs:
if key not in self._KEYS:
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/test_reinstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def one_run(one_src, test_dir, run_dir):
)
return SimpleNamespace(
path=w_run_dir,
id=w_run_dir.relative_to(run_dir),
id=str(w_run_dir.relative_to(run_dir)),
)


Expand Down