-
Notifications
You must be signed in to change notification settings - Fork 94
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
deps: remove aiofiles #5308
deps: remove aiofiles #5308
Conversation
* Aiofiles is a simple wrapper for a thread pool executor. We don't need a 3rd party library to do this for us. * Closes cylc#5306
414368f
to
9cf4db9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I have done a quick test of playing + cleaning a workflow, TUI, and running the fast tests locally
async for line in cont: | ||
key, value = [item.strip() for item in line.split("=", 1)] | ||
# 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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will removing this catch anyone out?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was a duplicate of what was already in load_contact_file()
so not actually removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've replaced this with the sync load_contact_file
interface run inside a thread via make_async
.
Flaky tests failing with a codecov upload so unrelated to this pr. |
Check List
CONTRIBUTING.md
and added my name as a Code Contributor.setup.cfg
andconda-environment.yml
.CHANGES.md
entry included if this is a change that can affect users?.?.x
branch.