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

Move iocpsupport to external dist #10029

Closed
twisted-trac opened this issue Oct 20, 2020 · 3 comments
Closed

Move iocpsupport to external dist #10029

twisted-trac opened this issue Oct 20, 2020 · 3 comments

Comments

@twisted-trac
Copy link

graingert's avatar @graingert reported
Trac ID trac#10029
Type enhancement
Created 2020-10-20 14:19:15Z

#7945

Twisted has a handful of (mostly optional) C extension modules, to provide support for the IOCP reactor, The vast majority of Twisted's users do not require these C modules, and it only makes it harder to install (requiring python-dev + a compiler). If they were bundled into another package and distributed on PyPI, then it would make the majority case simpler, but still allowing easy access to the extension modules.

This has the following direct benefits:

  • Twisted users (Tahoe, Crossbar/Autobahn, Buildbot) no longer need to have a C compiler to install Twisted. (It will still be required for things like PyOpenSSL, but that is an optional dependency)
  • Twisted can distribute a single wheel and a single source distribution on PyPI. The msi and exe installers and the Windows wheel will only be the C extensions, and therefore much smaller. Since these rarely change, they will not need to be changed on pypi for a long while.
  • We can add extra C modules to this package, without having to hard-depend on CFFI in the future.
Searchable metadata
trac-id__10029 10029
type__enhancement enhancement
reporter__graingert graingert
priority__normal normal
milestone__None None
branch__ 
branch_author__ 
status__closed closed
resolution__fixed fixed
component__core core
keywords__None None
time__1603203555074383 1603203555074383
changetime__1603749476111647 1603749476111647
version__None None
owner__graingert graingert

@twisted-trac
Copy link
Author

graingert's avatar @graingert commented

#1446

@twisted-trac
Copy link
Author

wsanchez's avatar @wsanchez set owner to @graingert

@twisted-trac
Copy link
Author

wsanchez's avatar @wsanchez set status to closed

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

No branches or pull requests

2 participants