#87 remove version pins for markupsafe, flask and werkzeug

also remove dependency on flask-api
This commit is contained in:
Alok Saldanha
2024-03-10 09:31:39 -04:00
parent 6a2bc409db
commit 5d29153544
9 changed files with 49 additions and 20 deletions
+3 -3
View File
@@ -10,7 +10,7 @@
import logging
import subprocess
from flask_api import status
from http import HTTPStatus
from cellxgene_gateway.cache_entry import CacheEntryStatus
from cellxgene_gateway.dir_util import make_annotations
@@ -76,10 +76,10 @@ class SubprocessBackend:
or "Could not open file" in stderr
):
message = "File was invalid."
http_status = status.HTTP_400_BAD_REQUEST
http_status = HTTPStatus.BAD_REQUEST
else:
message = "Cellxgene failed to launch dataset."
http_status = status.HTTP_500_INTERNAL_SERVER_ERROR
http_status = HTTPStatus.INTERNAL_SERVER_ERROR
cache_entry.status = CacheEntryStatus.error
cache_entry.set_error(message, stderr, http_status)