From 11a97fce7672e569eeae3a0c310ef5b9c28a585f Mon Sep 17 00:00:00 2001 From: deajan Date: Tue, 8 Apr 2025 15:11:53 +0200 Subject: [PATCH] Drop Python 3.7 support --- .github/workflows/linux.yaml | 2 +- .github/workflows/pylint-linux.yaml | 2 +- .github/workflows/pylint-windows.yaml | 2 +- .github/workflows/windows.yaml | 3 ++- bin/COMPILE.cmd | 4 ++-- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index 9d7c2e7..b860ac2 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -14,7 +14,7 @@ jobs: # As of 2023/08/30, we have removed python 2.7 since github actions won't provide it anymore # As of 2024/09/15, we have (temporarily) removed 'pypy-3.10' and 'pypy-3.8' since msgspec won't compile properly # As of 2024/12/24, we have remove python 3.7 as they don't work anymore with linux on github actions - python-version: [3.8, 3.9, "3.10", "3.11", "3.12"] + python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/pylint-linux.yaml b/.github/workflows/pylint-linux.yaml index b3aa276..18bb0f7 100644 --- a/.github/workflows/pylint-linux.yaml +++ b/.github/workflows/pylint-linux.yaml @@ -14,7 +14,7 @@ jobs: matrix: os: [ubuntu-latest] # python-version: [3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", 'pypy-3.6', 'pypy-3.7'] - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/pylint-windows.yaml b/.github/workflows/pylint-windows.yaml index b02a00b..155af75 100644 --- a/.github/workflows/pylint-windows.yaml +++ b/.github/workflows/pylint-windows.yaml @@ -11,7 +11,7 @@ jobs: os: [windows-latest] # Don't use pypy on windows since it does not have pywin32 module # python-version: [3.5, 3.6, 3.7, 3.8, 3.9, "3.10"] - python-version: ["3.12"] + python-version: ["3.13"] steps: - uses: actions/checkout@v2 diff --git a/.github/workflows/windows.yaml b/.github/workflows/windows.yaml index 23d7b9e..d7b6301 100644 --- a/.github/workflows/windows.yaml +++ b/.github/workflows/windows.yaml @@ -16,7 +16,8 @@ jobs: os: [windows-latest] # As of 2023/08/30, we have removed python 2.7 since github actions won't provide it anymore # Don't test on pypy since we don't have pywin32 - python-version: [3.7, 3.8, 3.9, "3.10", "3.11", "3.12"] + # Drop python 3.7 support since 3.8 requires Win7+ and even restic needs a legacy build for Win7 + python-version: [3.8, 3.9, "3.10", "3.11", "3.12", "3.13"] steps: - uses: actions/checkout@v3 diff --git a/bin/COMPILE.cmd b/bin/COMPILE.cmd index 1242fa5..a735b03 100644 --- a/bin/COMPILE.cmd +++ b/bin/COMPILE.cmd @@ -3,9 +3,9 @@ :: This is an example compiler script SET PYTHON64=c:\python313-64\python.exe -SET PYTHON64-LEGACY=c:\python37-64\python.exe +SET PYTHON64-LEGACY=c:\python38-64\python.exe SET PYTHON32=c:\python313-32\python.exe -SET PYTHON32-LEGACY=c:\python37-32\python.exe +SET PYTHON32-LEGACY=c:\python38-32\python.exe cd C:\GIT\npbackup