From a55d40dbb5eee8f0c1b360d27820d50463dbe8aa Mon Sep 17 00:00:00 2001 From: Julien Schueller Date: Mon, 18 Jul 2022 11:01:31 +0200 Subject: [PATCH] Drop support for Python 3.2 Closes #2314 --- .github/workflows/ci.yml | 4 ---- Lib/python/pyrun.swg | 4 ++-- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ac63a863e..69871b7d5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -111,10 +111,6 @@ jobs: VER: '8.1' - SWIGLANG: python PY2: 2 - - SWIGLANG: python - VER: '3.2' - os: ubuntu-18.04 # Python < 3.5 not available for 20.04. - continue-on-error: true # broken packages problem - SWIGLANG: python VER: '3.3' os: ubuntu-18.04 # Python < 3.5 not available for 20.04. diff --git a/Lib/python/pyrun.swg b/Lib/python/pyrun.swg index 935885934..baaac8795 100644 --- a/Lib/python/pyrun.swg +++ b/Lib/python/pyrun.swg @@ -11,8 +11,8 @@ # error "This version of SWIG only supports Python >= 2.7" #endif -#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03020000 -# error "This version of SWIG only supports Python 3 >= 3.2" +#if PY_VERSION_HEX >= 0x03000000 && PY_VERSION_HEX < 0x03030000 +# error "This version of SWIG only supports Python 3 >= 3.3" #endif /* Common SWIG API */