Skip to content

Commit

Permalink
Upgrade python (#945)
Browse files Browse the repository at this point in the history
* Update python to any 3.9

* Update lock file and python packages

* Update dockerfile used in GCP

* Update python version in CI/CD

* Remove now unnecessary tool versions file

* Trigger CI/CD
  • Loading branch information
okaycj authored Mar 29, 2022
1 parent 9e86053 commit 339f2fe
Show file tree
Hide file tree
Showing 6 changed files with 206 additions and 205 deletions.
2 changes: 1 addition & 1 deletion .sonarcloud.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
sonar.python.version=3.8
sonar.python.version=3.9
1 change: 0 additions & 1 deletion .tool-versions

This file was deleted.

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

language: python
python:
- "3.8"
- "3.9"

cache:
pip: true
Expand Down
5 changes: 3 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM python:3.8.3-buster
FROM python:3.9-buster

ARG GIT_TAG
ARG GIT_COMMIT
Expand All @@ -21,4 +21,5 @@ RUN apt-get update \
&& python /tmp/install-poetry.py \
&& poetry config virtualenvs.create false \
&& poetry install --no-dev \
&& python manage.py compilemessages
&& python manage.py compilemessages \
&& rm /tmp/install-poetry.py
399 changes: 200 additions & 199 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ psycogreen = "1.0.2"
psycopg2-binary = "2.9.2"
pydenticon = "0.3.1"
pyotp = "2.6.0"
python = "3.8.3"
python = "^3.9"
python-dateutil = "2.8.1"
qrcode = "6.1"
requests = "2.26.0"
Expand Down

0 comments on commit 339f2fe

Please sign in to comment.