Skip to content

Commit 572b864

Browse files
committed
Merge pull request #386 from dhermes/document-supported-versions
Document our explicit Python version support.
2 parents a5127ce + 7415ea1 commit 572b864

2 files changed

Lines changed: 33 additions & 3 deletions

File tree

README.rst

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,37 @@ Contributions to this library are always welcome and highly encouraged.
9292
See `CONTRIBUTING <CONTRIBUTING.rst>`__ for more information on how to
9393
get started.
9494

95+
Supported Python Versions
96+
-------------------------
97+
98+
We support:
99+
100+
- `Python 2.6 <https://docs.python.org/2.6/>`__
101+
- `Python 2.7 <https://docs.python.org/2.7/>`__
102+
103+
We plan to support:
104+
105+
- `Python 3.3 <https://docs.python.org/3.3/>`__
106+
- `Python 3.4 <https://docs.python.org/3.4/>`__
107+
108+
Supported versions can be found in our ``tox.ini``
109+
`config <https://github.com/GoogleCloudPlatform/gcloud-python/blob/master/tox.ini>`__.
110+
111+
We explicitly decided not to support
112+
`Python 2.5 <https://docs.python.org/2.5/>`__ due to
113+
`decreased usage <https://caremad.io/2013/10/a-look-at-pypi-downloads/>`__ and
114+
lack of continuous integration
115+
`support <http://blog.travis-ci.com/2013-11-18-upcoming-build-environment-updates/>`__.
116+
117+
We also explicitly decided to support Python 3 beginning with version 3.3.
118+
Reasons for this include:
119+
120+
- Encouraging use of newest versions of Python 3
121+
- Taking the lead of prominent open-source
122+
`projects <http://flask.pocoo.org/docs/0.10/python3/>`__
123+
- Unicode literal `support <https://www.python.org/dev/peps/pep-0414>`__ which
124+
allows for a cleaner codebase that works in both Python 2 and Python 3.
125+
95126
License
96127
-------
97128

setup.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
from distutils.core import setup, find_packages
88

99

10-
if sys.version_info <= (2, 4):
11-
raise Exception('Requires Python Version 2.5 or above... exiting.')
10+
if sys.version_info <= (2, 5):
11+
raise Exception('Requires Python Version 2.6 or above... exiting.')
1212

1313

1414
REQUIREMENTS = [
@@ -43,7 +43,6 @@
4343
'License :: OSI Approved :: Apache Software License',
4444
'Operating System :: OS Independent',
4545
'Programming Language :: Python :: 2',
46-
'Programming Language :: Python :: 2.5',
4746
'Programming Language :: Python :: 2.6',
4847
'Programming Language :: Python :: 2.7',
4948
'Topic :: Internet',

0 commit comments

Comments
 (0)