From 6922a809574ee63f211d5b72fe42cee475c35a5b Mon Sep 17 00:00:00 2001 From: Adam Sampson Date: Sun, 17 Jun 2018 11:56:32 +0100 Subject: [PATCH] Require Python 2.7. --- NEWS | 4 ++++ README | 2 +- setup.py | 4 ++-- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 98db7e8..adf75b6 100644 --- a/NEWS +++ b/NEWS @@ -1,5 +1,9 @@ - rawdog 2.23 +rawdog now requires Python 2.7. Python 2.6 doesn't build with current +toolchains, and hasn't been included in Debian for several releases, so +I can't test against it any more. + When automatically updating the config file in response to an HTTP redirect fails, produce a more sensible error message (including the URL of the feed in question). diff --git a/README b/README index a4228f3..8153636 100644 --- a/README +++ b/README @@ -12,7 +12,7 @@ behaviour is highly customisable using plugins written in Python. rawdog has the following dependencies: -- Python 2.6 or later (but not Python 3) +- Python 2.7 or later (but not Python 3) - feedparser 5.1.2 or later - PyTidyLib 0.2.1 or later (optional but strongly recommended) diff --git a/setup.py b/setup.py index 5641a81..c68673c 100644 --- a/setup.py +++ b/setup.py @@ -3,8 +3,8 @@ from distutils.core import setup import sys -if sys.version_info < (2, 6) or sys.version_info >= (3,): - print("rawdog requires Python 2.6 or later, and not Python 3.") +if sys.version_info < (2, 7) or sys.version_info >= (3,): + print("rawdog requires Python 2.7 or later, and not Python 3.") sys.exit(1) setup(name="rawdog", -- 2.35.1