]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
Add python_requires and update classifiers
authorHugo <hugovk@users.noreply.github.com>
Sun, 26 Aug 2018 17:50:12 +0000 (13:50 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 26 Aug 2018 17:53:37 +0000 (13:53 -0400)
- 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

doc/build/intro.rst
setup.py

index bc2e43f548caaa26d4bcfa9ea23f7c56b053e541..7cce2fd82a4440007742ab9c4e06b30ad4836c17 100644 (file)
@@ -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.
index a4b0b9e170bb716d976dcfbbdc4c318505ab42ab..0bf6623e99f6b7127dee3843878ede30487e12f0 100644 (file)
--- 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",