From f288f888023f1c90db245f34fc5aef04973e9484 Mon Sep 17 00:00:00 2001 From: Iustin Pop Date: Mon, 25 Nov 2019 02:03:38 +0100 Subject: [PATCH] Stop supporting Python 2 Bump minimum Python version to 3.4, which covers e.g. in Debian even old-old-stable (Jessie), which is good enough. This will allow code simplification and supporting new features (e.g. to implement #20). --- .travis.yml | 1 - Makefile | 2 +- README.md | 6 ++++-- setup.py | 1 + 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index e035a72..df6c50d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,6 @@ language: python # let's test as many versions as we can! python: - - "2.7" - "3.4" - "3.5" - "3.6" diff --git a/Makefile b/Makefile index 6761bff..e8e685a 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,7 @@ DISTFILE = $(FULLVER).tar.gz MODNAME = xattr.so RSTFILES = doc/index.rst doc/module.rst doc/news.rst doc/readme.md doc/conf.py -PYVERS = 2.4 2.5 2.6 2.7 3.0 3.1 3.2 3.3 3.4 3.5 3.6 3.7 +PYVERS = 3.4 3.5 3.6 3.7 3.8 REPS = 5 all: doc test diff --git a/README.md b/README.md index e63ac8f..d4fd58c 100644 --- a/README.md +++ b/README.md @@ -23,8 +23,10 @@ repository is either at or at ## Requirements -pyxattr has been written and tested on Linux, kernel v2.4 or later, -with XFS and ext2/ext3/ext3 file systems. If any other platform +The current supported Python versions are 3.4+. + +The library has been written and tested on Linux, kernel v2.4 or +later, with XFS and ext2/ext3/ext3 file systems. If any other platform implements the same behaviour, pyxattr could be used. You need to have the setuptools tool installed in order to build and diff --git a/setup.py b/setup.py index 26df53c..e8b045c 100755 --- a/setup.py +++ b/setup.py @@ -35,4 +35,5 @@ setup(name = "pyxattr", )], test_suite = "test", platforms = ["Linux"], + python_requires = ">=3.4", ) -- 2.39.5