Skip to content

Updated requirements and added workaround for windows 10 #2

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

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

hichiaty
Copy link

@hichiaty hichiaty commented Jan 5, 2021

Windows will return immediately when trying to select() on three empty sets, this differs from the POSIX api which will block if given a timeout, this adds a dummy socket to the selectors as shown in dabeaz/curio#75. Also had some issues installing lxml on windows so removed requirement for version 4.1.1

@povilasb
Copy link
Owner

povilasb commented Jan 8, 2021

Sweet, thanks for PR, will look into it tomorrow ;)
pyigd is still useful for me on Linux/MacOS :)

'yarl==0.15.0',
'beautifulsoup4==4.6.0',
'tabulate==0.8.2',
'click',
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mmm, I don't like not freezing deps - builds can suddenly start failing for the same commit, hence worse reproducibility :/

@@ -6,7 +6,9 @@
import socket

from . import core, proto

selector = selectors.DefaultSelector()
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like this was fixed in curio itself: dabeaz/curio#159
Could you try just upgrading curio?
I don't ghave IGD enabled router now, neither Windows machine.

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.

2 participants