Skip to content

Commit 6d26a26

Browse files
authored
chore: add/upgrade to python 3.12 (#253)
1 parent b172612 commit 6d26a26

File tree

7 files changed

+9
-9
lines changed

7 files changed

+9
-9
lines changed

.devcontainer/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/python-3/.devcontainer/base.Dockerfile
22

33
# [Choice] Python version
4-
ARG VARIANT="3.11"
4+
ARG VARIANT="3.12"
55
FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT}
66

77
# [Choice] Node.js version: none, lts/*, 16, 14, 12, 10

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"context": "..",
88
"args": {
99
// Update 'VARIANT' to pick a Python version
10-
"VARIANT": "3.11",
10+
"VARIANT": "3.12",
1111
// Options
1212
"NODE_VERSION": "none"
1313
}

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.11"]
13+
python-version: ["3.12"]
1414

1515
steps:
1616
- uses: actions/checkout@v4

.github/workflows/linting.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.11"]
13+
python-version: ["3.12"]
1414

1515
steps:
1616
- uses: actions/checkout@v4

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ubuntu-latest
1111
strategy:
1212
matrix:
13-
python-version: ["3.8", "3.9", "3.10", "3.11"]
13+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
1414
steps:
1515
- uses: actions/checkout@v4
1616
- name: Set up Python ${{ matrix.python-version }}
@@ -56,7 +56,7 @@ jobs:
5656
runs-on: ubuntu-latest
5757
strategy:
5858
matrix:
59-
python-version: ["3.8", "3.9", "3.10", "3.11"]
59+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
6060
env:
6161
DUMP_PATH: abc
6262
steps:
@@ -105,7 +105,7 @@ jobs:
105105
runs-on: ubuntu-latest
106106
strategy:
107107
matrix:
108-
python-version: ["3.8", "3.9", "3.10", "3.11"]
108+
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
109109
env:
110110
DUMP_PATH: /tmp/abs
111111
steps:

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
rev: 24.1.1
44
hooks:
55
- id: black
6-
language_version: python3.11
6+
language_version: python3.12
77
- repo: https://github.com/PyCQA/flake8
88
rev: 7.0.0
99
hooks:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM python:3.11.3-alpine3.16
1+
FROM python:3.12.1-alpine
22

33
COPY ./requirements.txt /mnt/dynamodump/requirements.txt
44
COPY ./dynamodump/dynamodump.py /usr/local/bin/dynamodump

0 commit comments

Comments
 (0)