Skip to content

Commit

Permalink
[CI] python 3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelauv committed Jul 16, 2023
1 parent adc601f commit f102688
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [ "3.7", "3.8", "3.9", "3.10" ,"3.11", "3.12.0-alpha.4"]
python-version: [ "3.7", "3.8", "3.9", "3.10" ,"3.11", "3.12.0-beta.4"]

steps:
- uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ aioresponses
aiohttp
fastapi
httpx
uvicorn[standard]
#uvicorn[standard]
3 changes: 1 addition & 2 deletions src/fastAPI_aiohttp/fastAPI.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
from fastapi.logger import logger as fastAPI_logger # convenient name
from fastapi.requests import Request
from fastapi.responses import Response
import uvicorn

SIZE_POOL_AIOHTTP = 100

Expand Down Expand Up @@ -89,5 +88,5 @@ async def endpoint_stream(request: Request):


if __name__ == '__main__': # local dev

import uvicorn
uvicorn.run(app, host="0.0.0.0", port=8000)

0 comments on commit f102688

Please sign in to comment.