From 1fac2e3b1e99e4b4aa67cbf219fddd7e1446bf3b Mon Sep 17 00:00:00 2001 From: lmbelo Date: Mon, 11 Nov 2024 20:24:08 -0300 Subject: [PATCH 1/2] Test workflow update --- delphivcl/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/delphivcl/__init__.py b/delphivcl/__init__.py index 0e1436b..12ffea2 100644 --- a/delphivcl/__init__.py +++ b/delphivcl/__init__.py @@ -11,7 +11,7 @@ def find_extension_module(): plat_sys = platform.system() lib_dir = None - if not (py_ver in ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]): + if not (py_ver in ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]): raise ValueError(f"DelphiVCL doesn't support Python{py_ver}.") if plat_sys == "Windows": From ebcd96097e0c16d3c226a0cc6001a9f2b6a4f60c Mon Sep 17 00:00:00 2001 From: lmbelo Date: Mon, 11 Nov 2024 20:27:04 -0300 Subject: [PATCH 2/2] Python support from version 3.8 to 3.13 --- .github/workflows/pypi.yml | 4 ++-- .github/workflows/tests.yml | 2 +- delphivcl/__init__.py | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pypi.yml b/.github/workflows/pypi.yml index cbe793c..b84b2ba 100644 --- a/.github/workflows/pypi.yml +++ b/.github/workflows/pypi.yml @@ -49,7 +49,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] include: - os: [windows-latest] arch: ["x86"] @@ -93,7 +93,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] include: - os: [windows-latest] arch: ["AMD64"] diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 2e9b0d6..ecd76c3 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -17,7 +17,7 @@ jobs: config: - { os: windows-latest, arch: AMD64, python-arch: x64, name: windows-latest-x64 } - { os: windows-latest, arch: x86, python-arch: x86, name: windows-latest-x86 } - python: ['3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] + python: ['3.8', '3.9', '3.10', '3.11', '3.12', '3.13'] steps: - name: Check out repository uses: actions/checkout@v4 diff --git a/delphivcl/__init__.py b/delphivcl/__init__.py index 12ffea2..4ebbc24 100644 --- a/delphivcl/__init__.py +++ b/delphivcl/__init__.py @@ -11,7 +11,7 @@ def find_extension_module(): plat_sys = platform.system() lib_dir = None - if not (py_ver in ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]): + if not (py_ver in ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]): raise ValueError(f"DelphiVCL doesn't support Python{py_ver}.") if plat_sys == "Windows":