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

#11893 Move iocp dependency to Windows specific soft dependencies. #12144

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

adiroiban
Copy link
Member

@adiroiban adiroiban commented Apr 30, 2024

Scope and purpose

Fixes #11893

This is done so that pip install twisted will no longer depend on our IOCP support.

The IOCP support package might get outdate, as we don't have an active maintainer for Twisted IOCP reactor.

This is a backward incompatible change... as those who wanted IOCP support, will now have to install it expliclitly.

I am not sure how to make this change in a backward compatible way.

What we can do, is to add a big warning at the top of the release notes and in the release email

How to test

Manual checks without IOCP

On Windows, get this branch and then run pip install .
Check that IOCP is not installed

You can run the same test on Linux, to make sure IOCP is not installed... just to be extra safe :)

Manual checks with IOCP

On Windows, get this branch and then run pip install .[windows-platform]
Check that IOCP is installed

CI checks

The iocp support is automatically installed in our CI via tox "-window-" environment marker

https://github.com/twisted/twisted/actions/runs/8895048158/job/24424587427?pr=12144#step:10:35

@adiroiban
Copy link
Member Author

I think that this is ready for a first round of reviews

needs-review

@chevah-robot chevah-robot requested a review from a team April 30, 2024 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

twisted-iocpsupport should be part of the windows-platform extra, not a hard requirement
2 participants