From c49a015e8a2899f6252251c22ff607f8b9ecc3b6 Mon Sep 17 00:00:00 2001 From: jdholtz Date: Sat, 7 Oct 2023 11:27:39 -0700 Subject: [PATCH] Add official support for Python 3.12 and remove official support for Python 3.7 --- .github/workflows/lint-format.yml | 2 +- .github/workflows/tests.yml | 2 +- CHANGELOG.md | 5 +++++ Dockerfile | 2 +- README.md | 2 +- 5 files changed, 9 insertions(+), 4 deletions(-) diff --git a/.github/workflows/lint-format.yml b/.github/workflows/lint-format.yml index ed8b6f49..37cec36c 100644 --- a/.github/workflows/lint-format.yml +++ b/.github/workflows/lint-format.yml @@ -44,6 +44,6 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.11" + python-version: "3.12" - name: flake8 uses: py-actions/flake8@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8e3e42f4..fd318dd0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -20,7 +20,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] + python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"] os: [ubuntu-latest, windows-latest, macos-latest] steps: diff --git a/CHANGELOG.md b/CHANGELOG.md index 95b6ec9b..f0f6c0d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,8 +4,13 @@ If there is no "Upgrading" header for that version, no post-upgrade actions need ## Upcoming +### New Features +- Added official Python 3.12 support + - Python 3.7 is officially unsupported now ### Upgrading - Upgrade the dependencies to the latest versions by running `pip install -r requirements.txt` +- If you are using Python 3.7, the script still works. However, it is officially unsupported and therefore recommended to upgrade +to a newer version ## 6.1 (2023-09-28) diff --git a/Dockerfile b/Dockerfile index 9e345c3d..b91e6644 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-alpine +FROM python:3.12-alpine WORKDIR /app diff --git a/README.md b/README.md index f911c288..7911377b 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ information beforehand. ## Installation ### Prerequisites -- [Python 3.7+][0] +- [Python 3.8+][0] - [Pip][1] - [Any Chromium-based browser][2]