summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-17 10:28:12 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2021-05-18 15:46:42 +0200
commit688a25e560db3355e2a3ee369c2e6f4b55aab2a6 (patch)
treea04623fa04d8f973ce436913fb2c6c786372b3b1
parenta6865b86cc8d710374fc0b6cfcbd2b863f1942a9 (diff)
api: Upgrade to Python 3.9 as default
This change updates the API server to run by default using Python 3.9.
-rw-r--r--.github/workflows/build.yml2
-rw-r--r--opendc-web/opendc-web-api/Dockerfile2
2 files changed, 2 insertions, 2 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index f2effb2f..118e1713 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -61,7 +61,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
- python: [3.8]
+ python: [3.9]
defaults:
run:
working-directory: opendc-web/opendc-web-api
diff --git a/opendc-web/opendc-web-api/Dockerfile b/opendc-web/opendc-web-api/Dockerfile
index a2f2d787..505a69de 100644
--- a/opendc-web/opendc-web-api/Dockerfile
+++ b/opendc-web/opendc-web-api/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:3.8-slim
+FROM python:3.9-slim
MAINTAINER OpenDC Maintainers <opendc@atlarge-research.com>
# Ensure the STDOUT is not buffered by Python so that our logs become visible