Skip to content

Commit b670a77

Browse files
authored
docs(python): document adding Python 3.9 support, dropping 3.5 support (#880)
Closes #787
1 parent 41e998d commit b670a77

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

synthtool/gcp/templates/python_library/CONTRIBUTING.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ In order to add a feature:
2121
- The feature must be documented in both the API and narrative
2222
documentation.
2323

24-
- The feature must work fully on the following CPython versions: 2.7,
25-
3.5, 3.6, 3.7 and 3.8 on both UNIX and Windows.
24+
- The feature must work fully on the following CPython versions:
25+
3.6, 3.7, 3.8 and 3.9 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -202,25 +202,24 @@ Supported Python Versions
202202

203203
We support:
204204

205-
- `Python 3.5`_
206205
- `Python 3.6`_
207206
- `Python 3.7`_
208207
- `Python 3.8`_
208+
- `Python 3.9`_
209209

210-
.. _Python 3.5: https://docs.python.org/3.5/
211210
.. _Python 3.6: https://docs.python.org/3.6/
212211
.. _Python 3.7: https://docs.python.org/3.7/
213212
.. _Python 3.8: https://docs.python.org/3.8/
213+
.. _Python 3.9: https://docs.python.org/3.9/
214214

215215

216216
Supported versions can be found in our ``noxfile.py`` `config`_.
217217

218218
.. _config: https://github.com/{{ metadata['repo']['repo'] }}/blob/master/noxfile.py
219219

220-
Python 2.7 support is deprecated. All code changes should maintain Python 2.7 compatibility until January 1, 2020.
221220

222221
We also explicitly decided to support Python 3 beginning with version
223-
3.5. Reasons for this include:
222+
3.6. Reasons for this include:
224223

225224
- Encouraging use of newest versions of Python 3
226225
- Taking the lead of `prominent`_ open-source `projects`_

0 commit comments

Comments
 (0)