From d46c180f03d83b57b8a9689918dd77ce6a33b719 Mon Sep 17 00:00:00 2001 From: Benny Chew Date: Fri, 7 Nov 2025 22:31:04 +1100 Subject: [PATCH] chore: support python 3.14 and drop eol-ed 3.9 --- .devcontainer/Dockerfile | 2 +- .devcontainer/devcontainer.json | 2 +- .github/workflows/build.yml | 2 +- .github/workflows/linting.yml | 2 +- .github/workflows/test.yml | 6 +++--- .pre-commit-config.yaml | 2 +- Dockerfile | 2 +- setup.py | 4 ++-- 8 files changed, 11 insertions(+), 11 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 430b531..8ecea42 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,7 +1,7 @@ # See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.191.1/containers/python-3/.devcontainer/base.Dockerfile # [Choice] Python version -ARG VARIANT="3.13" +ARG VARIANT="3.14" FROM mcr.microsoft.com/vscode/devcontainers/python:${VARIANT} # [Choice] Node.js version: none, lts/*, 16, 14, 12, 10 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index ce38788..555ad83 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -7,7 +7,7 @@ "context": "..", "args": { // Update 'VARIANT' to pick a Python version - "VARIANT": "3.13", + "VARIANT": "3.14", // Options "NODE_VERSION": "none" } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f0a6dbc..97e8a23 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.13"] + python-version: ["3.14"] steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml index 6015682..a9bcb4c 100644 --- a/.github/workflows/linting.yml +++ b/.github/workflows/linting.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.13"] + python-version: ["3.14"] steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index febf4a5..851f859 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] steps: - uses: actions/checkout@v5 - name: Set up Python ${{ matrix.python-version }} @@ -56,7 +56,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] env: DUMP_PATH: abc steps: @@ -105,7 +105,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"] + python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] env: DUMP_PATH: /tmp/abs steps: diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 0f75949..0da1d59 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,7 +3,7 @@ repos: rev: 25.9.0 hooks: - id: black - language_version: python3.13 + language_version: python3.14 - repo: https://github.com/PyCQA/flake8 rev: 7.3.0 hooks: diff --git a/Dockerfile b/Dockerfile index b20b262..7e8f69e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.13.7-alpine +FROM python:3.14.0-alpine COPY ./requirements.txt /mnt/dynamodump/requirements.txt COPY ./dynamodump/dynamodump.py /usr/local/bin/dynamodump diff --git a/setup.py b/setup.py index 9691d00..450edd1 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setuptools.setup( name="dynamodump", - version="1.11.0", + version="1.11.1", author="Benny Chew", author_email="noreply@bennychew.com", description="Simple backup and restore for Amazon DynamoDB using AWS SDK for Python (boto3)", @@ -20,7 +20,7 @@ "License :: OSI Approved :: MIT License", ], packages=["dynamodump"], - python_requires=">=3.9", + python_requires=">=3.10", install_requires=["boto3==1.40.43", "six==1.17.0"], entry_points={ "console_scripts": ["dynamodump=dynamodump.dynamodump:main"],