From fc5c684070887e9cdd4755ca582f845eec7b7259 Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 1 Aug 2024 19:19:09 +0200 Subject: [PATCH 1/2] Require python 3.6 as minimal version Signed-off-by: Uilian Ries --- setup.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.py b/setup.py index df57ca0..c7d8285 100644 --- a/setup.py +++ b/setup.py @@ -7,7 +7,7 @@ # Always prefer setuptools over distutils import re import os -from setuptools import setup, find_packages +from setuptools import setup # To use a consistent encoding from codecs import open @@ -39,6 +39,7 @@ def load_version(): setup( name='patch-ng', + python_requires='>=3.6', # Versions should comply with PEP440. For a discussion on single-sourcing # the version across setup.py and the project code, see # https://packaging.python.org/en/latest/single_source_version.html @@ -72,9 +73,8 @@ def load_version(): 'Intended Audience :: Developers', 'Topic :: Software Development :: Build Tools', 'License :: OSI Approved :: MIT License', - 'Programming Language :: Python :: 2', - 'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 3', + 'Programming Language :: Python :: 3.6', ], # What does your project relate to? From db507aed8d47fc7c129433e3904ce1e2c0904d6b Mon Sep 17 00:00:00 2001 From: Uilian Ries Date: Thu, 1 Aug 2024 19:24:06 +0200 Subject: [PATCH 2/2] Update required python version in README Signed-off-by: Uilian Ries --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 69e87df..d2864be 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ That's way we forked the original and accepted most of PRs waiting for review si ### Features - * Python 2 and 3 compatible + * Python >=3.6 compatible * Automatic correction of * Linefeeds according to patched file * Diffs broken by stripping trailing whitespace