Closed edaniszewski closed 3 years ago
Yeah, so just to provide some context:
app
is now global and not created by fn, as unit tests were bombing because they were being registered with the same name, and it looks like that now causes sanic errors_, resp = ...
in test files@route
decorator, as it now returns a tuple of metadata, so the /devices/...
route had to be updated accordingly.I think thats most of it. Probably some additional small things.
No worries., no big rush on getting this merged in anyway. Thanks for the reviews!
This PR:
I'm not overall pleased with the latest sanic updates because a lot has changed, and while the major version was bumped accordingly, some of these changes took a lot of effort to track down what was happening. while I'm sure there was good reason for the changes, they do step on how some of our tests were set up. I think longer term, its probably worth moving to fastapi, if only for the better openapi support, but thats neither here nor there.
The driver for this PR was to update pyyaml so we are using the version which fixes the CVE it has.
A future PR will update how dependency management is done here so we can have more fine-grained control over updates.
fixes #418
Note: I will not cut a new release of Synse Server after this because I still want to do some local testing to make sure nothing else is funky. Expect a new release for this in the coming weeks.