Skip to content
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

use a2wsgi #22

Merged
merged 1 commit into from
Aug 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 21 additions & 20 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,26 +4,27 @@ version = "1.0.1"
description = "A light weight Python async framework with batteries included."
authors = [{ name = "Tabot Kevin", email = "[email protected]" }]
dependencies = [
"starlette>=0.37.2",
"uvicorn[standard]>=0.29.0",
"aiofiles>=23.2.1",
"pyyaml>=6.0.1",
"requests>=2.31.0",
"jinja2>=3.1.3",
"rfc3986>=2.0.0",
"python-multipart>=0.0.9",
"chardet>=5.2.0",
"apispec>=1.0.0b1",
"whitenoise>=6.6.0",
"docopt>=0.6.2",
"requests-toolbelt>=1.0.0",
"graphene>=3.3",
"itsdangerous>=2.1.2",
"graphql-server>=3.0.0b7",
"marshmallow>=3.21.1",
"flask>=3.0.3",
"pydantic>=2.7.0",
"sqlalchemy>=2.0.29",
"starlette>=0.37.2",
"uvicorn[standard]>=0.29.0",
"aiofiles>=23.2.1",
"pyyaml>=6.0.1",
"requests>=2.31.0",
"jinja2>=3.1.3",
"rfc3986>=2.0.0",
"python-multipart>=0.0.9",
"chardet>=5.2.0",
"apispec>=1.0.0b1",
"whitenoise>=6.6.0",
"docopt>=0.6.2",
"requests-toolbelt>=1.0.0",
"graphene>=3.3",
"itsdangerous>=2.1.2",
"graphql-server>=3.0.0b7",
"marshmallow>=3.21.1",
"flask>=3.0.3",
"pydantic>=2.7.0",
"sqlalchemy>=2.0.29",
"a2wsgi>=1.10.7",
]
readme = "README.md"
requires-python = ">= 3.8"
Expand Down
2 changes: 2 additions & 0 deletions requirements-dev.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# with-sources: false

-e file:.
a2wsgi==1.10.7
# via dyne
aiofiles==23.2.1
# via dyne
aniso8601==9.0.1
Expand Down
2 changes: 2 additions & 0 deletions requirements.lock
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
# with-sources: false

-e file:.
a2wsgi==1.10.7
# via dyne
aiofiles==23.2.1
# via dyne
aniso8601==9.0.1
Expand Down
2 changes: 1 addition & 1 deletion src/dyne/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
import traceback
from collections import defaultdict

from a2wsgi import WSGIMiddleware
from starlette.concurrency import run_in_threadpool
from starlette.middleware.wsgi import WSGIMiddleware
from starlette.websockets import WebSocket, WebSocketClose

from . import status
Expand Down
Loading