Skip to content

Updated requirements and added workaround for windows 10#2

Open
hichiaty wants to merge 5 commits intopovilasb:masterfrom
hichiaty:master
Open

Updated requirements and added workaround for windows 10#2
hichiaty wants to merge 5 commits intopovilasb:masterfrom
hichiaty:master

Conversation

@hichiaty
Copy link
Copy Markdown

@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
Copy Markdown
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
Copy Markdown
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 :/


from . import core, proto

selector = selectors.DefaultSelector()
Copy link
Copy Markdown
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