mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
instead of the deprecated starlette WSGIMiddleware that was vendored by
fastAPI. I'm also hoping this fixes the weird exceptions a la:
```
uvicorn.error ERROR 2022-02-14 11:59:42,141 [pN:main,p:4823,tN:Thread-216] Exception in ASGI application
Traceback (most recent call last):
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/uvicorn/protocols/http/h11_impl.py", line 364, in run_asgi
result = await app(self.scope, self.receive, self.send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/uvicorn/middleware/proxy_headers.py", line 75, in __call__
return await self.app(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/fastapi/applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/applications.py", line 112, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/routing.py", line 656, in __call__
await route.handle(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/routing.py", line 408, in handle
await self.app(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/fastapi/applications.py", line 212, in __call__
await super().__call__(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/applications.py", line 112, in __call__
await self.middleware_stack(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/errors.py", line 159, in __call__
await self.app(scope, receive, _send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette_context/middleware/raw_middleware.py", line 96, in __call__
await self.app(scope, receive, send_wrapper)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/base.py", line 65, in __call__
task_group.cancel_scope.cancel()
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 574, in __aexit__
raise exceptions[0]
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 611, in _run_wrapped_task
await coro
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/base.py", line 34, in coro
await self.app(scope, request.receive, send_stream.send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/exceptions.py", line 71, in __call__
await self.app(scope, receive, sender)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/routing.py", line 656, in __call__
await route.handle(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/routing.py", line 408, in handle
await self.app(scope, receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/wsgi.py", line 64, in __call__
await responder(receive, send)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/wsgi.py", line 91, in __call__
await anyio.to_thread.run_sync(self.wsgi, environ, self.start_response)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 572, in __aexit__
raise ExceptionGroup(exceptions)
anyio._backends._asyncio.ExceptionGroup: 2 exceptions were raised in the task group:
----------------------------
Traceback (most recent call last):
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 611, in _run_wrapped_task
await coro
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/wsgi.py", line 98, in sender
await send(message)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/exceptions.py", line 68, in sender
await send(message)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/streams/memory.py", line 193, in send
self.send_nowait(item)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/streams/memory.py", line 177, in send_nowait
raise BrokenResourceError
anyio.BrokenResourceError
----------------------------
Traceback (most recent call last):
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/wsgi.py", line 91, in __call__
await anyio.to_thread.run_sync(self.wsgi, environ, self.start_response)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/to_thread.py", line 29, in run_sync
limiter=limiter)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 818, in run_sync_in_worker_thread
return await future
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 754, in run
result = context.run(func, *args)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/starlette/middleware/wsgi.py", line 132, in wsgi
self.stream_send.send, {"type": "http.response.body", "body": b""}
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/from_thread.py", line 35, in run
return asynclib.run_async_from_thread(func, *args)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/_backends/_asyncio.py", line 847, in run_async_from_thread
return f.result()
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/concurrent/futures/_base.py", line 435, in result
return self.__get_result()
File "/opt/hostedtoolcache/Python/3.7.12/x64/lib/python3.7/concurrent/futures/_base.py", line 384, in __get_result
raise self._exception
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/streams/memory.py", line 193, in send
self.send_nowait(item)
File "/home/runner/work/galaxy/galaxy/galaxy root/.venv/lib/python3.7/site-packages/anyio/streams/memory.py", line 177, in send_nowait
raise BrokenResourceError
anyio.BrokenResourceError
```
124 lines
2.8 KiB
TOML
124 lines
2.8 KiB
TOML
[tool.poetry]
|
|
name = "galaxy"
|
|
version = "22.01.dev0"
|
|
description = "Galaxy is an open, web-based platform for accessible, reproducible, and transparent computational research."
|
|
authors = ["Galaxy Contributors"]
|
|
license = "AFL-3.0"
|
|
readme = "README.rst"
|
|
homepage = "https://galaxyproject.org/"
|
|
repository = "https://github.com/galaxyproject/galaxy/"
|
|
documentation = "https://docs.galaxyproject.org/"
|
|
|
|
[[tool.poetry.source]]
|
|
name = "galaxyproject"
|
|
url = "https://wheels.galaxyproject.org/simple"
|
|
|
|
[tool.poetry.dependencies]
|
|
a2wsgi = "*"
|
|
aiofiles = "*"
|
|
Babel = "*"
|
|
bdbag = "*"
|
|
Beaker = "1.11.0"
|
|
bioblend = "*"
|
|
bleach = "*"
|
|
boltons = "*"
|
|
boto = "*"
|
|
bx-python = "*"
|
|
celery = "*"
|
|
Cheetah3 = "!=3.2.6.post2" # yanked release, https://github.com/python-poetry/poetry/issues/2453
|
|
cloudauthz = "==0.6.0"
|
|
cloudbridge = "*"
|
|
circus = "*"
|
|
cwltool = "==3.1.20211107152837"
|
|
dictobj = "*"
|
|
docutils = "!=0.17, !=0.17.1"
|
|
edam-ontology = "*"
|
|
Fabric3 = "*"
|
|
fastapi = ">=0.68.2, !=0.69.0, !=0.70.0, !=0.70.1" # https://github.com/tiangolo/fastapi/issues/4041
|
|
fastapi-utils = "*"
|
|
fs = "*"
|
|
future = "*"
|
|
galaxy_sequence_utils = "*"
|
|
gravity = {git = "https://github.com/galaxyproject/gravity.git", branch = "main"}
|
|
gunicorn = "*"
|
|
gxformat2 = "*"
|
|
h5py = "*"
|
|
importlib_resources = "*"
|
|
isa-rwval = "*"
|
|
kombu = "*"
|
|
lagom = "*"
|
|
Mako = "*"
|
|
Markdown = "*"
|
|
MarkupSafe = "*"
|
|
Mercurial = "*"
|
|
mrcfile = "*"
|
|
nodeenv = "*"
|
|
nose = "*"
|
|
numpy = "*"
|
|
paramiko = "!=2.9.0, !=2.9.1" # https://github.com/paramiko/paramiko/issues/1961
|
|
Parsley = "*"
|
|
Paste = "*"
|
|
psutil = "*"
|
|
pulsar-galaxy-lib = ">=0.14.13"
|
|
pycryptodome = "*"
|
|
pydantic = "*"
|
|
pykwalify = "*"
|
|
pyparsing = "*"
|
|
pysam = "*"
|
|
python = ">=3.7,<4"
|
|
python-multipart = "*" # required to support form parsing in FastAPI/Starlette
|
|
pyuwsgi = "*"
|
|
PyYAML = "*"
|
|
refgenconf = ">=0.12.0"
|
|
requests = "*"
|
|
Routes = "*"
|
|
social-auth-core = {version = "==4.0.3", extras = ["openidconnect"]}
|
|
sortedcontainers = "*"
|
|
SQLAlchemy = ">=1.4.25,<2"
|
|
sqlalchemy-migrate = "*"
|
|
sqlitedict = "*"
|
|
sqlparse = "*"
|
|
starlette = "*"
|
|
starlette-context = "*"
|
|
svgwrite = "*"
|
|
tifffile = "*"
|
|
tuswsgi = "*"
|
|
typing-extensions = "*"
|
|
uvicorn = "*"
|
|
uvloop = "*"
|
|
WebOb = "*"
|
|
Whoosh = "*"
|
|
zipstream-new = "*"
|
|
|
|
[tool.poetry.dev-dependencies]
|
|
cwltest = "2.2.20210901154959"
|
|
darker = "*"
|
|
fluent-logger = "*"
|
|
httpx = "*"
|
|
lxml = "!=4.2.2"
|
|
markdown-it-reporter = "*"
|
|
NoseHTML = "*"
|
|
PyGithub = "*"
|
|
pytest = "*"
|
|
pytest-asyncio = "*"
|
|
pytest-celery = "*"
|
|
pytest-cov = "*"
|
|
pytest-html = "*"
|
|
python-irodsclient = "*"
|
|
pytest-json-report = "*"
|
|
pytest-mock = "*"
|
|
pytest-pythonpath = "*"
|
|
pytest-postgresql = "!=3.0.0" # https://github.com/ClearcodeHQ/pytest-postgresql/issues/426
|
|
pytest-shard = "*"
|
|
recommonmark = "*"
|
|
responses = "*"
|
|
selenium = "*"
|
|
Sphinx = ">=4.0" # support docutils 0.17
|
|
sphinx_markdown_tables = "*"
|
|
sphinx_rtd_theme = "*"
|
|
statsd = "*"
|
|
testfixtures = "*"
|
|
tuspy = "*"
|
|
twill = "*"
|
|
watchdog = "*"
|