kjaymiller / cookiecutter-relecloud

Cookiecutter template for the Cloud Advocacy Relecloud Demo Application
MIT License
7 stars 5 forks source link

pytest-flask is incompatible with Flask 3.0.0 #209

Open pamelafox opened 1 year ago

pamelafox commented 1 year ago

https://github.com/pytest-dev/pytest-flask/issues/167

It's not clear if it's maintained enough that there will be an update, so this may become a blocking issue if we want to update to 3.0.0. We can probably rewrite the live server bit for Flask if needed.

kjaymiller commented 1 year ago

I think it would be relatively similar to what we've done for fastapi

https://github.com/kjaymiller/cookiecutter-relecloud/blob/a3250859d991e482ebc9f04288dc11e52d3ab6a8/%7B%7Bcookiecutter.__src_folder_name%7D%7D/src/tests/conftest.py#L41C1-L54C12

We could either swap uvicorn with gunicorn or flask run