diff --git a/tools/build/make_module_version.py b/tools/build/make_module_version.py index 75095bb4bb..63ee3b314e 100755 --- a/tools/build/make_module_version.py +++ b/tools/build/make_module_version.py @@ -65,15 +65,6 @@ def _check_one(name, expected, found): version = '%s' _check_one('%s', version, myversion) """ - if args.name == 'kernel': - template += """ - import sys - if sys.version_info[0] < 3: - import warnings - warnings.warn( - "Python 2 support is deprecated in IMP and will be removed in " - "the next major release. Please port your workflows to Python 3.") -""" g = tools.PythonFileGenerator() g.write(outf, template % (version, args.name))