From 6a29f9499864b30e2b3396f329ac1bfefbb89e98 Mon Sep 17 00:00:00 2001 From: Matthew Neeley Date: Wed, 22 Jun 2022 12:13:37 -0700 Subject: [PATCH 1/2] Document policy for python version support. Fixes #3347 --- docs/start/install.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/start/install.md b/docs/start/install.md index 7dbd210f846..3549a9b7bec 100644 --- a/docs/start/install.md +++ b/docs/start/install.md @@ -17,6 +17,14 @@ We may change or remove parts of Cirq's API when making new releases. To be informed of deprecations and breaking changes, subscribe to the [cirq-announce google group mailing list](https://groups.google.com/forum/#!forum/cirq-announce). +## Python version supprt + +Cirq currently supports python 3.7 and later. +We follow numpy's schedule for python version support defined in [NEP 29](https://numpy.org/neps/nep-0029-deprecation_policy.html), +though we may deviate from that schedule by extending support for older versions, +if needed for compatibility with [Colab](https://colab.research.google.com/) +or internal Google systems. + ## Installing on Linux 0. Make sure you have python 3.7.0 or greater. From 45ff1b23ffa412ea9a7e780beccd1c9dbace5721 Mon Sep 17 00:00:00 2001 From: Matthew Neeley Date: Wed, 22 Jun 2022 12:39:36 -0700 Subject: [PATCH 2/2] Fixes from review --- docs/start/install.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/start/install.md b/docs/start/install.md index 3549a9b7bec..381c9b32112 100644 --- a/docs/start/install.md +++ b/docs/start/install.md @@ -21,8 +21,8 @@ To be informed of deprecations and breaking changes, subscribe to the Cirq currently supports python 3.7 and later. We follow numpy's schedule for python version support defined in [NEP 29](https://numpy.org/neps/nep-0029-deprecation_policy.html), -though we may deviate from that schedule by extending support for older versions, -if needed for compatibility with [Colab](https://colab.research.google.com/) +though we may deviate from that schedule by extending support for older python +versions if they are needed by [Colab](https://colab.research.google.com/) or internal Google systems. ## Installing on Linux