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

Fix uvloop to run on 3.8 #284

Merged
merged 6 commits into from
Oct 24, 2019
Merged

Fix uvloop to run on 3.8 #284

merged 6 commits into from
Oct 24, 2019

Conversation

1st1
Copy link
Member

@1st1 1st1 commented Oct 24, 2019

Partially addresses: #277 and #266.

In 3.8 a lot of asyncio functions have their `loop` parameter
deprecated.  So we change the semantics of uvloop tests to never
pass the loop explicitly (unless to Future objects, when necessary)

That means that we now also need to set up asyncio/uvloop loop policies
for tests in setUp hooks.
.travis.yml Outdated Show resolved Hide resolved
@1st1 1st1 force-pushed the 3.8 branch 2 times, most recently from 0c2cb54 to 2e131bd Compare October 24, 2019 18:41
@1st1 1st1 merged commit 1765691 into master Oct 24, 2019
@1st1 1st1 deleted the 3.8 branch October 24, 2019 18:43
drewrisinger added a commit to drewrisinger/nixpkgs that referenced this pull request Apr 4, 2020
Allow build pass by disabling test. Isolated issue to
test_sockets.py::TestAIOSockets::test_sock_close_add_reader_race.
This test is supposed to be skipped, but it isn't for some reason,
so we disable it instead.
See uvloop#284 (MagicStack/uvloop#284)
for full details. Don't know why this test isn't properly skipped.
drewrisinger added a commit to drewrisinger/nixpkgs that referenced this pull request Apr 4, 2020
Allow build pass by disabling test. Isolated issue to
test_sockets.py::TestAIOSockets::test_sock_close_add_reader_race.
This test is supposed to be skipped, but it isn't for some reason,
so we disable it instead.
See uvloop#284 (MagicStack/uvloop#284)
for full details. Don't know why this test isn't properly skipped.

(cherry picked from commit 364909d)
stigok pushed a commit to stigok/nixpkgs that referenced this pull request Jun 12, 2020
Allow build pass by disabling test. Isolated issue to
test_sockets.py::TestAIOSockets::test_sock_close_add_reader_race.
This test is supposed to be skipped, but it isn't for some reason,
so we disable it instead.
See uvloop#284 (MagicStack/uvloop#284)
for full details. Don't know why this test isn't properly skipped.

(cherry picked from commit 364909d)
andrew-motesque added a commit to Motesque/vagrant-development-box that referenced this pull request Jul 13, 2020
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.

None yet

3 participants