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

Updates for Trio 0.15 #87

Merged
merged 15 commits into from
Jun 25, 2020
Merged

Conversation

pquentin
Copy link
Member

@pquentin pquentin commented Jun 18, 2020

I've added a few commits on top of #82:

  • pass the loop argument expicitly as required by @oremanj (and ignoring the resulting deprecation warning)
  • test Python 3.8 on macOS and Windows
  • fix tests on Python 3.10

I still have one error in a Windows + Python 3.8 test: https://ci.appveyor.com/project/pquentin/trio-asyncio/builds/33592085/job/gmo3loxfg3402xf6. Maybe we should leave Windows + Python 3.8 full testsuite support for another pull request?

Closes #82

smurfix and others added 14 commits May 19, 2020 20:05
This reverts commit 21c5916. We should
still be explicitly passing the loop to avoid any mistakes.
Using `with trio_asyncio.open_loop` (instead of async with) fails with
`AttributeError: __enter__` on Python 3.7+.
The loop argument is deprecated, but according to reviewers we still
want to use it. Configuring this in pytest.ini makes AppVeyor and Travis
consistent again.
@pquentin pquentin requested review from oremanj and smurfix June 18, 2020 06:40
@codecov
Copy link

codecov bot commented Jun 25, 2020

Codecov Report

Merging #87 into master will increase coverage by 0.39%.
The diff coverage is 86.20%.

@@            Coverage Diff             @@
##           master      #87      +/-   ##
==========================================
+ Coverage   79.90%   80.29%   +0.39%     
==========================================
  Files          11       11              
  Lines        1229     1228       -1     
  Branches      171      171              
==========================================
+ Hits          982      986       +4     
+ Misses        173      171       -2     
+ Partials       74       71       -3     
Impacted Files Coverage Δ
trio_asyncio/_base.py 84.23% <71.42%> (+0.27%) ⬆️
trio_asyncio/_util.py 84.09% <83.33%> (-0.53%) ⬇️
trio_asyncio/_child.py 66.33% <100.00%> (+3.96%) ⬆️
trio_asyncio/_loop.py 77.52% <100.00%> (+0.20%) ⬆️

@pquentin
Copy link
Member Author

I decided to ignore Windows + 3.8 for now as I don't know how to skip a specific asyncio test.

Please take a look.

@oremanj oremanj merged commit 39f79e3 into python-trio:master Jun 25, 2020
@oremanj
Copy link
Member

oremanj commented Jun 25, 2020

Thanks!

@pquentin pquentin deleted the smurfix-upstream branch June 25, 2020 06:44
@pquentin
Copy link
Member Author

Thank you!

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.

3 participants