Skip to content
This repository has been archived by the owner on Jan 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #455 from dora-team/454-Bump-Python-version
Browse files Browse the repository at this point in the history
Bump Python version to 3.10 (Fixes #454)
  • Loading branch information
davidstanke authored May 9, 2023
2 parents 464c15c + c98ec72 commit 94ce09f
Show file tree
Hide file tree
Showing 21 changed files with 30 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-python@v3
with:
python-version: '3.7'
python-version: '3.10'
- run: pip install nox
- run: python3 -m nox
2 changes: 1 addition & 1 deletion bq-workers/argocd-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/argocd-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/circleci-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/circleci-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/cloud-build-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/cloud-build-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/github-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/github-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/gitlab-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/gitlab-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/new-source-template/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/new-source-template/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/pagerduty-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/pagerduty-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
protobuf==3.20.2
2 changes: 1 addition & 1 deletion bq-workers/tekton-parser/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7
FROM python:3.10

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions bq-workers/tekton-parser/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-bigquery==1.23.1
cloudevents==1.2.0
git+https://github.com/dora-team/fourkeys.git#egg=shared&subdirectory=shared
Expand Down
2 changes: 1 addition & 1 deletion event-handler/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

# Use the official Python image.
# https://hub.docker.com/_/python
FROM python:3.7-slim
FROM python:3.10-slim

# Allow statements and log messages to immediately appear in the Cloud Run logs
ENV PYTHONUNBUFFERED True
Expand Down
4 changes: 2 additions & 2 deletions event-handler/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Flask==2.0.3
gunicorn==19.9.0
Flask==2.3.2
gunicorn==20.1.0
google-cloud-pubsub==1.1.0
google-cloud-secret-manager==0.1.0
2 changes: 1 addition & 1 deletion noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _session_tests(session, folder):
)


@nox.session(python=["3.7"])
@nox.session(python=["3.10"])
@nox.parametrize("folder", FOLDERS)
def py(session, folder):
"""Runs py.test for a folder using the specified version of Python."""
Expand Down
2 changes: 1 addition & 1 deletion requirements-test.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
mock==4.0.2
pytest==5.3.2
pytest==6.*

0 comments on commit 94ce09f

Please sign in to comment.