Skip to content

Commit bb97465

Browse files
committed
Bump Python version to 3.10 (Fixes dora-team#454)
1 parent 33f8f33 commit bb97465

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

.github/workflows/test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@ jobs:
1515
- uses: actions/checkout@v2
1616
- uses: actions/setup-python@v3
1717
with:
18-
python-version: '3.7'
18+
python-version: '3.10'
1919
- run: pip install nox
2020
- run: python3 -m nox

bq-workers/argocd-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/circleci-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/cloud-build-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/github-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/gitlab-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/new-source-template/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/pagerduty-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

bq-workers/tekton-parser/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
# Use the official Python image.
1717
# https://hub.docker.com/_/python
18-
FROM python:3.7
18+
FROM python:3.10
1919

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

event-handler/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

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

2020
# Allow statements and log messages to immediately appear in the Cloud Run logs
2121
ENV PYTHONUNBUFFERED True

noxfile.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def _session_tests(session, folder):
7171
)
7272

7373

74-
@nox.session(python=["3.7"])
74+
@nox.session(python=["3.10"])
7575
@nox.parametrize("folder", FOLDERS)
7676
def py(session, folder):
7777
"""Runs py.test for a folder using the specified version of Python."""

0 commit comments

Comments
 (0)