From c67f85854afd10a4e09497f94701960acaef110e Mon Sep 17 00:00:00 2001 From: Florimond Manca Date: Sun, 19 Dec 2021 17:11:36 +0100 Subject: [PATCH] Switch to Python 3.10 (#263) --- .buildpacks | 2 +- README.md | 2 +- ci/azure-pipelines.yml | 6 +++--- runtime.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.buildpacks b/.buildpacks index 0785e4e8..5e2e14eb 100644 --- a/.buildpacks +++ b/.buildpacks @@ -1,3 +1,3 @@ https://github.com/grauwoelfchen/heroku-buildpack-gettext.git#v0.3 https://github.com/heroku/heroku-buildpack-nodejs.git#v172 -https://github.com/heroku/heroku-buildpack-python.git#v184 +https://github.com/heroku/heroku-buildpack-python.git#v200 diff --git a/README.md b/README.md index 41e117da..f6153c0d 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ Code for https://florimond.dev. Runtime: -- Python 3.9+ +- Python 3.10+ Development only: diff --git a/ci/azure-pipelines.yml b/ci/azure-pipelines.yml index e86d9306..051fa64d 100644 --- a/ci/azure-pipelines.yml +++ b/ci/azure-pipelines.yml @@ -21,7 +21,7 @@ variables: jobs: - template: job--python-check.yml@templates parameters: - pythonVersion: "3.9" + pythonVersion: "3.10" - job: Build steps: @@ -34,14 +34,14 @@ jobs: - template: job--python-test.yml@templates parameters: jobs: - py39: + py310: coverage: true - job: Deploy dependsOn: - Check - Build - - py39 + - py310 condition: and(succeeded(), eq(variables.IS_MASTER_BRANCH, true)) steps: - task: InstallSSHKey@0 diff --git a/runtime.txt b/runtime.txt index f72c5111..fadb0702 100644 --- a/runtime.txt +++ b/runtime.txt @@ -1 +1 @@ -python-3.9.0 +python-3.10.0