From 1b91ccc9e77e4b460565e19ae7df7d74f6766690 Mon Sep 17 00:00:00 2001 From: Marcin Antas Date: Wed, 22 Mar 2023 11:22:21 +0100 Subject: [PATCH] Switch to python 3.10 and update requirements to latest versions --- .github/workflows/main.yaml | 4 ++-- requirements-test.txt | 8 ++++---- requirements.txt | 8 ++++---- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml index 8a8f198..46d1373 100644 --- a/.github/workflows/main.yaml +++ b/.github/workflows/main.yaml @@ -63,7 +63,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.10" cache: 'pip' # caching pip dependencies - name: Login to Docker Hub uses: docker/login-action@v2 @@ -92,7 +92,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: "3.9" + python-version: "3.10" - name: Login to Docker Hub uses: docker/login-action@v2 with: diff --git a/requirements-test.txt b/requirements-test.txt index aff6bc0..94db496 100644 --- a/requirements-test.txt +++ b/requirements-test.txt @@ -1,8 +1,8 @@ requests==2.28.2 -transformers==4.25.1 -fastapi==0.89.1 -uvicorn==0.20.0 +transformers==4.27.2 +fastapi==0.95.0 +uvicorn==0.21.1 nltk==3.8.1 -torch==1.13.1 +torch==2.0.0 sentencepiece==0.1.97 pytest diff --git a/requirements.txt b/requirements.txt index 36fe800..4cdb707 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ -transformers==4.26.1 -fastapi==0.92.0 -uvicorn==0.20.0 +transformers==4.27.2 +fastapi==0.95.0 +uvicorn==0.21.1 nltk==3.8.1 -torch==1.13.1 +torch==2.0.0 sentencepiece==0.1.97