Skip to content

Commit

Permalink
Merge pull request #106 from uc-cdis/feat/upgrade_to_python310
Browse files Browse the repository at this point in the history
feat: set python version to 3.9
  • Loading branch information
pieterlukasse authored Nov 3, 2023
2 parents 3898dc8 + e9c6c80 commit 4692be7
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.9'
- uses: actions/cache@preview
with:
path: ~/.cache/pypoetry/virtualenvs
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:

steps:
- uses: actions/checkout@v2
- name: Set up Python 3.10
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.9'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.10
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.9'

- name: Install dependencies
run: |
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ authors = ["UchicagoZchen138 <[email protected]>"]
repository = "https://github.com/uc-cdis/argo-wrapper"

[tool.poetry.dependencies]
python = "^3.8"
python = "^3.9"
fastapi = "^0.71.0"
uvicorn = "^0.16.0"
gunicorn = "^20.0.4"
Expand Down
4 changes: 2 additions & 2 deletions src/argowrapper/routes/routes.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import traceback
from functools import wraps
from typing import Dict, List, Any
from typing import Dict, List, Any, Optional

from fastapi import APIRouter, Request, Query
from fastapi.responses import HTMLResponse
Expand Down Expand Up @@ -231,7 +231,7 @@ def cancel_workflow(
@check_auth_and_optional_team_projects
def get_workflows(
request: Request, # pylint: disable=unused-argument
team_projects: List[str] | None = Query(default=None),
team_projects: Optional[List[str]] = Query(default=None),
) -> List[str]:
"""returns the list of workflows the user has ran"""

Expand Down

0 comments on commit 4692be7

Please sign in to comment.