Skip to content

Implement Windows Support - #794

Open
Vizonex wants to merge 18 commits into
MagicStack:masterfrom
Vizonex:win
Open

Vizonex wants to merge 18 commits into
MagicStack:masterfrom
Vizonex:win

Conversation

@Vizonex

@Vizonex Vizonex commented Nov 22, 2026

Copy link
Copy Markdown

This is a redo of my older Pull Request from earlier this year. I want to still thank everybody for staying hyped and keeping me involved.

Let us finish what @1st1 started 10 years ago. My plans after this is merged is to start bringing as many optimizations from winloop to this library as I can, after that winloop will begin starting it's deprecation process until eventually it just installs uvloop as a dependency and then the winloop repo will be archived.

closes #14
closes #536
closes #652
closes #62

@Vizonex

Vizonex commented Nov 22, 2026

Copy link
Copy Markdown
Author

Lets ensure the other stuff works before I make tests for windows.

@Vizonex

Vizonex commented Nov 22, 2026

Copy link
Copy Markdown
Author

3.9 ubuntu is broken but we are ignoring that it's a workflow issue not a uvloop issue.

@Vizonex

Vizonex commented Nov 24, 2026 •

Copy link
Copy Markdown
Author

If anyboy wants to fix any of the bugs I found feel free, It's been a nightmare to try and solve the bugs with processes in general, I have not found a reliable solution to the bugs in test_process.py, in windows, python parser fails to parse a handful of those multiline arguments, for example this code fails for some random reason telling me about an EOF at line 10 in the code:

import signal
import sys

def handler(signum, frame):
    if signum == signal.SIGUSR1:
        print('WORLD')

if sys.platform != 'win32':
    signal.signal(signal.SIGUSR1, handler)
a = input()
print(a)
a = input()
print(a)
exit(11)

The craizer part is that winloop does it fine. I can't seem to find the code difference either. But if anybody wants to whip out their AIs or other tools, editors coding IDES, etc, feel free to hop on in, You'll have to fork my branch under the win branch and send a pull request to it. For now I must rest. It's late for me. Tomorrow I will resume this.

This is fixed now

@Vizonex

Vizonex commented Nov 24, 2026

Copy link
Copy Markdown
Author

Vizonex/Winloop#194 Posting this here since it relates, it's a problem that has been preventing me from moving forward.

@Vizonex

Vizonex commented Nov 25, 2026

Copy link
Copy Markdown
Author

Problem solved for subprocesses an PR is incoming from my end.

…16)

* fix subprocess problems and enable more tests to start running again

* fix linting

* mark linux tests as non-reproducible

* reformat tests
@Vizonex

Vizonex commented Nov 26, 2026

Copy link
Copy Markdown
Author

1 test needs solving (unrelated) but this PR appears to be ready for merge.

@fantix I'll let this merge be your call but windows support is considered done. My work here is done and I'm proud of what me and my team has accomplished.

@Vizonex

Vizonex commented Nov 26, 2026

Copy link
Copy Markdown
Author

I'm planning to turn off the win fork for workflows when the PR is approved by a reviewer since I was having to do a lot of on/off with workflows to ensure everything worked correctly.

* Apply final changes before merging windows support with uvloop

* disable linux on test_process_delayed_stdio__not_paused__no_stdin

* remove win branch from tests.yml as local testing is complete
@Vizonex

Vizonex commented Nov 27, 2026

Copy link
Copy Markdown
Author

It's ready now.

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 this pull request may close these issues.

Windows 10 support windows support? uvloop doesn't support in windows

1 participant