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

Update fastapi requirement from ==0.110.* to ==0.111.* in /api #37

Merged
merged 5 commits into from
May 31, 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
2 changes: 1 addition & 1 deletion api/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ ENV API_EXECUTION_ENV="aws"
ENV API_PIPELINE_IMAGE_TAG="main"

# Start the API server application
CMD [ "uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]
CMD [ "fastapi", "run", "main.py", "--host", "0.0.0.0", "--port", "8080"]
2 changes: 1 addition & 1 deletion api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ nextflow.config:
run-api-server-dev: python-dependencies nextflow.sh protein-msa.nf nextflow.config
@export API_RESULTS_PATH_PREFIX="`pwd`/" && \
export API_EXECUTION_ENV="local" && \
uvicorn --app-dir src/ --reload main:app
fastapi dev src/main.py

.venv/:
python3.12 -m venv .venv/
Expand Down
5 changes: 2 additions & 3 deletions api/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@ authors = [

requires-python = "==3.12.*"
dependencies = [
"fastapi==0.110.*",
"smart-open[s3]==7.0.*",
"uvicorn[standard]==0.29.*"
"fastapi==0.111.*",
"smart-open[s3]==7.0.*"
]

[project.optional-dependencies]
Expand Down
Loading