From: Hugo Date: Sun, 26 Aug 2018 17:50:12 +0000 (-0400) Subject: Add python_requires and update classifiers X-Git-Tag: rel_1_3_0b1~88^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb9f4c4d44947d29ac87f4f87b5cb2d21fa18386;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git Add python_requires and update classifiers - bump minimum Python 3 version to 3.4 in docs - set up setup.py classifiers to cover 2.7, 3.4, 3.5, 3.6, 3.7 explicitly - add python_requires These are also the ones supported by the core Python team. https://en.wikipedia.org/wiki/CPython#Version_history Change-Id: I2ffa632c73c39bf38ba9d8b5dcc86d552b61aa68 Pull-request: https://github.com/zzzeek/sqlalchemy/pull/468 --- diff --git a/doc/build/intro.rst b/doc/build/intro.rst index bc2e43f548..7cce2fd82a 100644 --- a/doc/build/intro.rst +++ b/doc/build/intro.rst @@ -70,13 +70,16 @@ Supported Platforms SQLAlchemy has been tested against the following platforms: -* cPython since version 2.7, through the 2.xx series -* cPython version 3, throughout all 3.xx series +* cPython 2.7 +* cPython 3.4 and higher * `Pypy `_ 2.1 or greater .. versionchanged:: 1.2 Python 2.7 is now the minimum Python version supported. +.. versionchanged:: 1.3 + Within the Python 3 series, 3.4 is now the minimum Python 3 version supported. + Platforms that don't currently have support include Jython and IronPython. Jython has been supported in the past and may be supported in future releases as well, depending on the state of Jython itself. diff --git a/setup.py b/setup.py index a4b0b9e170..0bf6623e99 100644 --- a/setup.py +++ b/setup.py @@ -141,12 +141,19 @@ def run_setup(with_cext): cmdclass=cmdclass, tests_require=['pytest >= 2.5.2', 'mock', 'pytest-xdist'], long_description=readme, + python_requires=">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*", classifiers=[ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", + "Programming Language :: Python :: 2", + "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", + "Programming Language :: Python :: 3.4", + "Programming Language :: Python :: 3.5", + "Programming Language :: Python :: 3.6", + "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Database :: Front-Ends",