GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Implement Windows support by 1st1 · Pull Request #62 · MagicStack/uvloop

Conversation

@1st1

@1st1 1st1 commented Nov 23, 2016 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

To-do:

  • test_create_connection_ssl_1 hangs
  • a bunch of DNS tests fail (likely different error messages)
  • one of UDP tests is failing

Major things:

  • Implement a separate handles/process.pyx for Windows which would use only standard libuv APIs for stdin/out/err.
  • Need new uv_udp_connect() API for proper UDP support.

External PRs:

  • win: Allow sockets to be bound prior to uv_tcp_open/uv_listen. libuv/libuv#1150

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

lambdalisue, Sherlock-Holo, wdscxsj, silverwind, aalhour, pjknkda, Forevka, eeliu, h1nk, kdebowski, and 9 more reacted with thumbs up emoji
All reactions
  • 👍 19 reactions
@1st1 1st1 mentioned this pull request Nov 24, 2016
windows support? #14
Open
@1st1
1st1 force-pushed the win branch from 1195652 to 3c741b4 Compare November 24, 2016 03:55
Yury Selivanov added 13 commits November 25, 2017 23:11
Yury Selivanov
win: Fix base tests to run
82f6984
Yury Selivanov
win: Fix setup.py to build on Windows
47267c1
Yury Selivanov
win: Fix uv->sys error conversion code
3a6a329
Yury Selivanov
win: Split system.pxd into posix/windows includes
edca068
Yury Selivanov
win: Fix Poll handle to accept Windows sockets
9a85c14
Yury Selivanov
win: Use socket.dup() on Windows
c2defd0
Yury Selivanov
win: Don't do first-try-write on Windows
5809486
Yury Selivanov
win: Don't try to use pthread_atfork on Windows
fe0787f
Yury Selivanov
win: Build libuv properly on Windows
2e937cf
Yury Selivanov
win: Fix testbase/tcp_server() to run when socket.AF_UNIX is n/a
be83f3d
Yury Selivanov
win/tests: Fix a couple of loop.create_connection tests
80a5ee0
Yury Selivanov
win: Skip tests that are known not to work on windows
6d8636c
Yury Selivanov
win/tests: Use IOCP asyncio loop on Windows
5bc48b3
@1st1
1st1 force-pushed the win branch from 3c741b4 to 5bc48b3 Compare November 26, 2017 04:27
@1st1

1st1 commented Nov 26, 2017

Copy link
Copy Markdown
Member Author

Rebased agains the current master branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bfredl bfredl mentioned this pull request Mar 11, 2018
Support uvloop? neovim/pynvim#311
Open
@carver carver mentioned this pull request May 28, 2018
Experiment with using uvloop in p2p/trinity ethereum/py-evm#781
Closed
@lovelydinosaur lovelydinosaur mentioned this pull request Jul 12, 2018
windows support Kludex/uvicorn#82
Closed
@1st1
1st1 force-pushed the master branch from 5a44383 to 1d73fc4 Compare August 1, 2018 22:51
@ahartikainen

ahartikainen commented Jan 27, 2019

Copy link
Copy Markdown

Hi, what is the current situation with Windows support?

Is the problem with msvc and if so, could mingw64-w64 used to circumvent those problems?

I'am happy to help, but not sure where to start.

ps We are using this package with https://github.com/stan-dev/httpstan

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ma5oud180

ma5oud180 commented Apr 17, 2019

Copy link
Copy Markdown

Hi Yuri, I understand that you are super busy, but I myself & as I see lots of people, are not able and have not the skills to make it work on Windows. I would like to kindly ask you to finally, easily make it possible to install this package on Windows 64 bit systems. Lots of people are looking for it. Thanks

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@1st1

1st1 commented Apr 17, 2019

Copy link
Copy Markdown
Member Author

Lots of people are looking for it.

Maybe, but there's no good reason for that. Do you have a good reason?

Vanilla asyncio works perfectly fine on Windows, there's no benefit of running uvloop except better performance. And not that many people deploy Python on Windows these days. Besides, Windows now has Linux subsystem, you can run uvloop there.

Porting uvloop to Windows is also blocked on libuv -- there's a bunch of work we need to do there (libuv) before we can do it here (uvloop). Doing this properly is a multi-week project that I don't have time to do now for free.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@1st1

1st1 commented Apr 17, 2019

Copy link
Copy Markdown
Member Author

@ahartikainen

I'am happy to help, but not sure where to start.

A good start would be to rebase this PR on top of the latest master branch. I'd then spend some time to merge a half-featured Windows support so that it's in the master branch and requires CI. We can slowly start improving Windows support from there.

ahartikainen and griels reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@altendky altendky mentioned this pull request Dec 17, 2022
Implement Windows support altendky/uvloop#1
Open
1 task
@liudonghua123 liudonghua123 mentioned this pull request Dec 3, 2023
Any chance to get available on Windows? #352
Closed
@fantix fantix mentioned this pull request Apr 18, 2025
uvloop doesn't support in windows #652
Closed
@khmyznikov khmyznikov mentioned this pull request May 20, 2025
[Tracker] WoA🐍Libs🦾 khmyznikov/PyEnv-WoA-State#1
Open
@crutkas crutkas mentioned this pull request Jun 6, 2025
Testing format khmyznikov/PyEnv-WoA-State#9
Closed
4 tasks
@Vizonex Vizonex mentioned this pull request Mar 17, 2026
Start unifying uvloop & winloop together (WINDOWS SUPPORT) #736
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@1st1 @ahartikainen @ma5oud180
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.