diff --git a/ChangeLog b/ChangeLog index 2cc8679..26e49a5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +Unreleased + + * Removed Python 3.9 support. + Sun, 14 Jan 2024 08:49:00 -0700 Sean Reifschneider * Fix some docstring typos (Christian Clauss PR #192) diff --git a/memcache.py b/memcache.py index 5a7d77d..e9f3203 100644 --- a/memcache.py +++ b/memcache.py @@ -1370,7 +1370,7 @@ def _get_socket(self): s.settimeout(self.socket_timeout) try: s.connect(self.address) - except socket.timeout as msg: + except TimeoutError as msg: self.mark_dead("connect: %s" % msg) return None except OSError as msg: diff --git a/setup.py b/setup.py index f272fe7..e4ca6df 100644 --- a/setup.py +++ b/setup.py @@ -32,7 +32,6 @@ "Topic :: Software Development :: Libraries :: Python Modules", "Programming Language :: Python", "Programming Language :: Python :: 3", - "Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", diff --git a/tox.ini b/tox.ini index d741a8e..813ebac 100644 --- a/tox.ini +++ b/tox.ini @@ -1,6 +1,6 @@ [tox] minversion = 1.6 -envlist = py{36,37,38,39,310,311,312},pypy,pep8 +envlist = py{310,311,312},pypy,pep8 skipsdist = True [testenv]