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

uvloop installs generated loop.c file #568

Closed
BubuOT opened this issue Oct 6, 2023 · 0 comments · Fixed by #578
Closed

uvloop installs generated loop.c file #568

BubuOT opened this issue Oct 6, 2023 · 0 comments · Fixed by #578

Comments

@BubuOT
Copy link

BubuOT commented Oct 6, 2023

  • uvloop version: 0.17.0
  • Python version: 3.10, 3.11
  • Platform: buildroot
  • Can you reproduce the bug with PYTHONASYNCIODEBUG in env?: n/a
  • Does uvloop behave differently from vanilla asyncio? How?: n/a

uvloop's wheels contains the cython generated loop.c source file, which is about 7.5 MB big. This file get's installed alongside the compiled version into the target python distribution. As far as I understand, this file serves no purpose at runtime so it just ends up taking up disk space. (And given embedded systems ~8MB is a lot of disk space to just waste for something that is never needed). It think instead this file can just not be shipped in the wheel instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant