From 5b0f9a09ddd39fc37db4488368a9f23bc47c4456 Mon Sep 17 00:00:00 2001 From: Matthew Evans Date: Fri, 11 Oct 2024 17:03:45 +0100 Subject: [PATCH] Bump Python to 3.10 --- .github/workflows/cd_release.yml | 4 ++-- .github/workflows/ci_tests.yml | 2 +- Dockerfile | 2 +- pyproject.toml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/cd_release.yml b/.github/workflows/cd_release.yml index f19be2a..0d6bec9 100644 --- a/.github/workflows/cd_release.yml +++ b/.github/workflows/cd_release.yml @@ -21,10 +21,10 @@ jobs: with: fetch-depth: 0 - - name: Set up Python 3.9 + - name: Set up Python 3.10 uses: actions/setup-python@v5 with: - python-version: '3.9' + python-version: '3.10' - name: Install Python dependencies run: | diff --git a/.github/workflows/ci_tests.yml b/.github/workflows/ci_tests.yml index f685182..6ba49c5 100644 --- a/.github/workflows/ci_tests.yml +++ b/.github/workflows/ci_tests.yml @@ -8,7 +8,7 @@ on: - 'push-action/**' env: - PYTHON_VERSION: 3.9 + PYTHON_VERSION: 3.10 jobs: diff --git a/Dockerfile b/Dockerfile index 788f64b..ceac0ad 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.9-slim-buster +FROM python:3.10-slim-buster RUN apt update && apt install -y iproute2 RUN ["/bin/bash", "-c", "set -o pipefail && ip route | awk '{print $3}' > docker_host_ip"] diff --git a/pyproject.toml b/pyproject.toml index a89f608..5de89ac 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [tool.mypy] -python_version = "3.9" +python_version = "3.10" ignore_missing_imports = true scripts_are_modules = true warn_unused_configs = true