-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Bump aiofiles to 23.2.* #10584
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
Bump aiofiles to 23.2.* #10584
Conversation
This comment has been minimized.
This comment has been minimized.
The runtime might include the symbols in |
This comment has been minimized.
This comment has been minimized.
This reverts commit 9a923a0.
This comment has been minimized.
This comment has been minimized.
I've disabled stubtest for now. Alternatively we could remove |
This comment has been minimized.
This comment has been minimized.
stubs/aiofiles/METADATA.toml
Outdated
# Currently we are in a pickle, because aiofiles.os.__all__ is incorrect at | ||
# runtime when running on win32. (https://github.com/Tinche/aiofiles/pull/174) | ||
# This means that stubtest is either correct on Windows or all other platforms. | ||
skip = true |
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.
Surely we don't need to skip stubtest entirely for the whole package. Can't we just create a stubtest_allowlist_win32.txt
file in the @tests
directory with three allowlist entries, aiofiles.os.__all__
, aiofiles.os.sendfile
and aiofiles.os.statvfs
?
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 didn't know we could have architecture-specific allowlists! Will change accordingly.
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.
One of @Avasam's innovations :)
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.
Embarrassingly, aiofiles already has architecture-specific allowlists ... 😳
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.
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.
This reverts commit b894a10.
Co-authored-by: Alex Waygood <[email protected]>
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.
Thanks!
According to mypy_primer, this change has no effect on the checked open source code. 🤖🎉 |
Closes: #10551