# HG changeset patch # User Raphaël Gomès # Date 1565184077 -7200 # Node ID a9b4c4849338742b400911e286ea30d5ef3687a8 # Parent 2d85de79ead8c8ad1f087cf303fb7c4578f2d908 python3: add supported python versions to setup.py Mercurial technically can support Python 3.5 (although no lower, see its setup.py), but `evolve` probably won't because it represents more work for an underrepresented Python version. If you happen to *really* need evolve to work on Python 3 and you're reading this message, send an email to the mailing list, or contribute patches. diff -r 2d85de79ead8 -r a9b4c4849338 setup.py --- a/setup.py Fri Aug 09 12:48:58 2019 +0200 +++ b/setup.py Wed Aug 07 15:21:17 2019 +0200 @@ -29,6 +29,8 @@ 'hgext3rd.topic', ] +py_versions = '>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*, <4' + if os.environ.get('INCLUDE_INHIBIT'): py_modules.append('hgext3rd.evolve.hack.inhibit') py_modules.append('hgext3rd.evolve.hack.directaccess') @@ -46,5 +48,6 @@ keywords='hg mercurial', license='GPLv2+', py_modules=py_modules, - packages=py_packages + packages=py_packages, + python_requires=py_versions )