-
Notifications
You must be signed in to change notification settings - Fork 16.4k
Skip fastapi-cli Indirection and SSL/TLS on Debug
#42443
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
Conversation
a052d0e to
c41e1c9
Compare
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
|
up |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
|
up |
|
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 5 days if no further activity occurs. Thank you for your contributions. |
|
I don't think that's needed anymore. (ssl/tls on debug mode). We can always come back to this if people ask for it. |
Following up on, #42395. Have just added the SSL/TLS flags to the debug control flow.
fastapicli does not have SSL flags, but it is a thin wrapper arounduvicorn.run(https://github.com/fastapi/fastapi-cli/blob/main/src/fastapi_cli/cli.py#L92)Have created the
Appendabletest utility to declare files/filepaths inpytest.mark.parametrizethat are to be relativetmp_path. Lmk if it is a bit weird / not good. Or whether it should be separated out into a different PR.There are some CI failures, not too sure atm if it is because ofAtm, the only failing CI check looks to be resolved as a part of #42500.uvicorn[standard]>=0.15.0or flakiness. Between fa4239a and ba2fec5 same checks did not fail (barring mypy). Other PRs that trigger the same checks seem to sometimes error too (though error message is a bit different).fastapi[standard]>=0.112.2itself requiresuvicorn[standard]>=0.15.0, wondering though whether sinceuvicornis no longer a transitive dependency the tests fail.related: #42359
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named
{pr_number}.significant.rstor{issue_number}.significant.rst, in newsfragments.