From c7a7684fa966e4014c960e6470cff96fd31846bb Mon Sep 17 00:00:00 2001 From: harshsharma22 Date: Mon, 19 Jun 2023 13:28:49 +0530 Subject: [PATCH] Upgrade Python in Dockerfiles to pick up security fixes --- .github/actions/setup-sentry/action.yml | 2 +- .github/workflows/backend.yml | 4 ++-- .github/workflows/development-environment.yml | 4 ++-- .python-version | 2 +- self-hosted/Dockerfile | 2 +- self-hosted/builder.dockerfile | 2 +- 6 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/actions/setup-sentry/action.yml b/.github/actions/setup-sentry/action.yml index e34f7790c71af7..b061b5171624fa 100644 --- a/.github/actions/setup-sentry/action.yml +++ b/.github/actions/setup-sentry/action.yml @@ -30,7 +30,7 @@ inputs: python-version: description: 'python version to install' required: false - default: '3.8.16' + default: '3.8.17' pg-version: description: 'PostgreSQL version to use' default: '14' diff --git a/.github/workflows/backend.yml b/.github/workflows/backend.yml index aedcaef51d1463..e03d25a4317f80 100644 --- a/.github/workflows/backend.yml +++ b/.github/workflows/backend.yml @@ -193,7 +193,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 - uses: getsentry/action-setup-venv@9e3bbae3836b1b6f129955bf55a19e1d99a61c67 # v1.0.5 with: - python-version: 3.8.16 + python-version: 3.8.17 cache-depedency: requirements-dev-frozen.txt install-cmd: pip install -q --constraint requirements-dev-frozen.txt pip-tools - name: check requirements @@ -244,7 +244,7 @@ jobs: - uses: getsentry/action-setup-venv@9e3bbae3836b1b6f129955bf55a19e1d99a61c67 # v1.0.5 with: - python-version: 3.8.16 + python-version: 3.8.17 cache-dependency-path: | requirements-dev.txt requirements-dev-frozen.txt diff --git a/.github/workflows/development-environment.yml b/.github/workflows/development-environment.yml index 7d09058198c88a..e1f0d83f419f23 100644 --- a/.github/workflows/development-environment.yml +++ b/.github/workflows/development-environment.yml @@ -61,7 +61,7 @@ jobs: # This handles Python's cache - uses: getsentry/action-setup-venv@9e3bbae3836b1b6f129955bf55a19e1d99a61c67 # v1.0.5 with: - python-version: 3.8.16 + python-version: 3.8.17 cache-dependency-path: requirements-dev-frozen.txt # This tests starting up the dev services, loading mocks and pre-commit installation @@ -108,7 +108,7 @@ jobs: - uses: actions/checkout@93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8 # v3.1.0 - uses: getsentry/action-setup-venv@9e3bbae3836b1b6f129955bf55a19e1d99a61c67 # v1.0.5 with: - python-version: 3.8.16 + python-version: 3.8.17 cache-dependency-path: | requirements-dev.txt requirements-dev-frozen.txt diff --git a/.python-version b/.python-version index eee6392d5c718d..e29d80998a1244 100644 --- a/.python-version +++ b/.python-version @@ -1 +1 @@ -3.8.16 +3.8.17 diff --git a/self-hosted/Dockerfile b/self-hosted/Dockerfile index 77b8ae7322fc0a..5d08af9bba305f 100644 --- a/self-hosted/Dockerfile +++ b/self-hosted/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8.16-slim-bullseye +FROM python:3.8.17-slim-bullseye LABEL maintainer="oss@sentry.io" LABEL org.opencontainers.image.title="Sentry" diff --git a/self-hosted/builder.dockerfile b/self-hosted/builder.dockerfile index 692b173712936f..2d20a43b64f33c 100644 --- a/self-hosted/builder.dockerfile +++ b/self-hosted/builder.dockerfile @@ -1,4 +1,4 @@ -FROM python:3.8.16-slim-buster as sdist +FROM python:3.8.17-slim-buster as sdist LABEL maintainer="oss@sentry.io" LABEL org.opencontainers.image.title="Sentry Wheel Builder"