Skip to content

Commit

Permalink
Bump Python to 3.10 (#160)
Browse files Browse the repository at this point in the history
Bump Python to 3.10


Co-authored-by: Casper Welzel Andersen <[email protected]>
  • Loading branch information
ml-evs and CasperWA authored Oct 12, 2024
1 parent e521240 commit b1e0236
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/cd_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
- 'push-action/**'

env:
PYTHON_VERSION: 3.9
PYTHON_VERSION: "3.10"

jobs:

Expand All @@ -20,7 +20,7 @@ jobs:
- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: '${{ env.PYTHON_VERSION }}'
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Python dependencies
run: |
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Setup Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: '${{ env.PYTHON_VERSION }}'
python-version: ${{ env.PYTHON_VERSION }}

- name: Install Python dependencies
run: |
Expand Down Expand Up @@ -257,10 +257,10 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Set up Python 3.7
- name: Set up Python ${{ env.PYTHON_VERSION }}
uses: actions/setup-python@v5
with:
python-version: "3.7"
python-version: ${{ env.PYTHON_VERSION }}

- name: Run action to retrieve output
id: action
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -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"]
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit b1e0236

Please sign in to comment.