From 8e18b7eead31bb95b4eb57c04496b9b22db57865 Mon Sep 17 00:00:00 2001 From: Hugo Date: Wed, 23 Oct 2019 17:43:53 +0300 Subject: [PATCH] Drop support for EOL Python 3.4 --- .appveyor.yml | 2 -- psycopg/python.h | 4 ++-- scripts/appveyor.py | 3 --- setup.py | 3 +-- tox.ini | 2 +- 5 files changed, 4 insertions(+), 10 deletions(-) diff --git a/.appveyor.yml b/.appveyor.yml index b79302b80..4e14e120f 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -21,8 +21,6 @@ environment: - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "36", PY_ARCH: "64"} - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "35", PY_ARCH: "32"} - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "35", PY_ARCH: "64"} - - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "34", PY_ARCH: "32"} - - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "34", PY_ARCH: "64"} - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "27", PY_ARCH: "32"} - {APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015, PY_VER: "27", PY_ARCH: "64"} diff --git a/psycopg/python.h b/psycopg/python.h index f7f53962b..1d3c20966 100644 --- a/psycopg/python.h +++ b/psycopg/python.h @@ -34,8 +34,8 @@ #error "psycopg requires Python 2.7" #endif -#if PY_3 && PY_VERSION_HEX < 0x03040000 -#error "psycopg requires Python 3.4" +#if PY_3 && PY_VERSION_HEX < 0x03050000 +#error "psycopg requires Python 3.5" #endif #include diff --git a/scripts/appveyor.py b/scripts/appveyor.py index 4b6cc85f7..967b2e2e8 100755 --- a/scripts/appveyor.py +++ b/scripts/appveyor.py @@ -780,13 +780,10 @@ def vs_ver(self): # https://wiki.python.org/moin/WindowsCompilers # https://www.appveyor.com/docs/windows-images-software/#python # Py 2.7 = VS Ver. 9.0 (VS 2008) - # Py 3.3, 3.4 = VS Ver. 10.0 (VS 2010) # Py 3.5--3.8 = VS Ver. 14.0 (VS 2015) # Py 3.9 = VS Ver. 16.0 (VS 2019) vsvers = { '27': '9.0', - '33': '10.0', - '34': '10.0', '35': '14.0', '36': '14.0', '37': '14.0', diff --git a/setup.py b/setup.py index f862d37a4..35bafad58 100644 --- a/setup.py +++ b/setup.py @@ -61,7 +61,6 @@ Programming Language :: Python :: 2 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 -Programming Language :: Python :: 3.4 Programming Language :: Python :: 3.5 Programming Language :: Python :: 3.6 Programming Language :: Python :: 3.7 @@ -599,7 +598,7 @@ def is_py_64(): url="https://psycopg.org/", license="LGPL with exceptions", platforms=["any"], - python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*', + python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*', description=readme.split("\n")[0], long_description="\n".join(readme.split("\n")[2:]).lstrip(), classifiers=[x for x in classifiers.split("\n") if x], diff --git a/tox.ini b/tox.ini index b05e11dd5..241c7a536 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py{27,34,35,36,37,38} +envlist = py{27,35,36,37,38} [testenv] commands = make check