Skip to content

Commit b51b7f5

Browse files
docs(python): document adding Python 3.9 support, dropping 3.5 support (googleapis#120)
Closes googleapis#787 Source-Author: Tres Seaver <tseaver@palladion.com> Source-Date: Thu Dec 17 16:08:02 2020 -0500 Source-Repo: googleapis/synthtool Source-Sha: b670a77a454f415d247907908e8ee7943e06d718 Source-Link: googleapis/synthtool@b670a77
1 parent 4e12b76 commit b51b7f5

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

CONTRIBUTING.rst

+5-6
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/googleapis/python-api-core/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`_

synth.metadata

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-api-core.git",
7-
"sha": "7a38243c351b228d103eee81fc5ae521ad1c930e"
7+
"sha": "4e12b76573e2a1726b0a59a5accc99532e010732"
88
}
99
},
1010
{
1111
"git": {
1212
"name": "synthtool",
1313
"remote": "https://github.com/googleapis/synthtool.git",
14-
"sha": "aa255b15d52b6d8950cca48cfdf58f7d27a60c8a"
14+
"sha": "b670a77a454f415d247907908e8ee7943e06d718"
1515
}
1616
}
1717
],

0 commit comments

Comments
 (0)