summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2018-08-26 13:50:12 -0400
committerMike Bayer <mike_mp@zzzcomputing.com>2018-08-26 13:53:37 -0400
commitfb9f4c4d44947d29ac87f4f87b5cb2d21fa18386 (patch)
tree7ba8f25d73093320f97cbeb0c768b611e656518d
parentc6427fe14090d2d06a4d7c4c398be1f6e6a771f1 (diff)
downloadsqlalchemy-fb9f4c4d44947d29ac87f4f87b5cb2d21fa18386.tar.gz
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
-rw-r--r--doc/build/intro.rst7
-rw-r--r--setup.py7
2 files changed, 12 insertions, 2 deletions
diff --git a/doc/build/intro.rst b/doc/build/intro.rst
index bc2e43f54..7cce2fd82 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 <http://pypy.org/>`_ 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 a4b0b9e17..0bf6623e9 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",