-
Notifications
You must be signed in to change notification settings - Fork 20
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
As of sanic 21.3.0 pytest-sanic fails with "TypeError: serve() got an unexpected keyword argument 'main_start'" #50
Comments
10 tasks
AluisioASG
added a commit
to AluisioASG/nixpkgs
that referenced
this issue
Apr 30, 2021
pytest-sanic is incompatible with the current version of Sanic, see sanic-org/sanic#2095 and yunstanford/pytest-sanic#50. While it is broken, we also need it to run Sanic's tests (for which case it works just fine).
4 tasks
If you cannot or do not want to edit source code of library, you can use the fixture below.
|
Merged
merged the PR to unblock. i'm gonna revisit this over weekend and checkout if there are any other pieces needs to be updated. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Running a stripped down version of the sanic_client example fails when used with current sanic-21.3.2:
Adding something like:
in utils.py should fix it.
Support for Sanic-21 additionally requires dropping python-3.6 as it is on >=3.7 - allowing uvloop-0.15.2 instead of 0.14.0.
I can create a PR if you want me to...
The text was updated successfully, but these errors were encountered: