Skip to content
This repository was archived by the owner on Jul 6, 2023. It is now read-only.

Commit d76d314

Browse files
fix: require python 3.7+ (#113)
* chore(python): drop python 3.6 Source-Link: googleapis/synthtool@4f89b13 Post-Processor: gcr.io/cloud-devrel-public-resources/owlbot-python:latest@sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c * add api_description to .repo-metadata.json * require python 3.7+ in setup.py * remove python 3.6 sample configs * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com> Co-authored-by: Anthonios Partheniou <partheniou@google.com>
1 parent b09687c commit d76d314

13 files changed

Lines changed: 95 additions & 123 deletions

File tree

.github/.OwlBot.lock.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@
1313
# limitations under the License.
1414
docker:
1515
image: gcr.io/cloud-devrel-public-resources/owlbot-python:latest
16-
digest: sha256:a5d81b61dfd1a432d3c03f51a25d2e71b37be24da509966d50724aea7c57c5c2
17-
# created: 2022-07-04T12:33:08.125873124Z
16+
digest: sha256:e7bb19d47c13839fe8c147e50e02e8b6cf5da8edd1af8b82208cd6f66cc2829c
17+
# created: 2022-07-05T18:31:20.838186805Z

.github/workflows/unittest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99
strategy:
1010
matrix:
11-
python: ['3.6', '3.7', '3.8', '3.9', '3.10']
11+
python: ['3.7', '3.8', '3.9', '3.10']
1212
steps:
1313
- name: Checkout
1414
uses: actions/checkout@v3

.kokoro/samples/python3.6/common.cfg

Lines changed: 0 additions & 40 deletions
This file was deleted.

.kokoro/samples/python3.6/continuous.cfg

Lines changed: 0 additions & 7 deletions
This file was deleted.

.kokoro/samples/python3.6/periodic-head.cfg

Lines changed: 0 additions & 11 deletions
This file was deleted.

.kokoro/samples/python3.6/periodic.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.kokoro/samples/python3.6/presubmit.cfg

Lines changed: 0 additions & 6 deletions
This file was deleted.

.repo-metadata.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,6 @@
1212
"api_id": "lifesciences.googleapis.com",
1313
"default_version": "v2beta",
1414
"codeowner_team": "",
15-
"api_shortname": "lifesciences"
15+
"api_shortname": "lifesciences",
16+
"api_description": "is a suite of services and tools for managing, processing, and transforming life sciences data."
1617
}

CONTRIBUTING.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In order to add a feature:
2222
documentation.
2323

2424
- The feature must work fully on the following CPython versions:
25-
3.6, 3.7, 3.8, 3.9 and 3.10 on both UNIX and Windows.
25+
3.7, 3.8, 3.9 and 3.10 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
@@ -221,13 +221,11 @@ Supported Python Versions
221221

222222
We support:
223223

224-
- `Python 3.6`_
225224
- `Python 3.7`_
226225
- `Python 3.8`_
227226
- `Python 3.9`_
228227
- `Python 3.10`_
229228

230-
.. _Python 3.6: https://docs.python.org/3.6/
231229
.. _Python 3.7: https://docs.python.org/3.7/
232230
.. _Python 3.8: https://docs.python.org/3.8/
233231
.. _Python 3.9: https://docs.python.org/3.9/
@@ -239,7 +237,7 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
239237
.. _config: https://github.com/googleapis/python-life-sciences/blob/main/noxfile.py
240238

241239

242-
We also explicitly decided to support Python 3 beginning with version 3.6.
240+
We also explicitly decided to support Python 3 beginning with version 3.7.
243241
Reasons for this include:
244242

245243
- Encouraging use of newest versions of Python 3

README.rst

Lines changed: 32 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
Python Client for Cloud Life Sciences API
22
=========================================
33

4-
|beta| |pypi| |versions|
4+
|preview| |pypi| |versions|
55

6-
`Cloud Life Sciences`_: enables the life sciences community to process biomedical data at scale.
6+
`Cloud Life Sciences API`_: is a suite of services and tools for managing, processing, and transforming life sciences data.
77

88
- `Client Library Documentation`_
99
- `Product Documentation`_
1010

11-
.. |beta| image:: https://img.shields.io/badge/support-beta-orange.svg
12-
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#beta-support
11+
.. |preview| image:: https://img.shields.io/badge/support-preview-orange.svg
12+
:target: https://github.com/googleapis/google-cloud-python/blob/main/README.rst#stability-levels
1313
.. |pypi| image:: https://img.shields.io/pypi/v/google-cloud-life-sciences.svg
1414
:target: https://pypi.org/project/google-cloud-life-sciences/
1515
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-life-sciences.svg
1616
:target: https://pypi.org/project/google-cloud-life-sciences/
17-
.. _Cloud Life Sciences: https://cloud.google.com/life-sciences/
17+
.. _Cloud Life Sciences API: https://cloud.google.com/life-sciences/
1818
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/lifesciences/latest
19-
.. _Product Documentation: https://cloud.google.com/life-sciences/docs
19+
.. _Product Documentation: https://cloud.google.com/life-sciences/
2020

2121
Quick Start
2222
-----------
@@ -30,7 +30,7 @@ In order to use this library, you first need to go through the following steps:
3030

3131
.. _Select or create a Cloud Platform project.: https://console.cloud.google.com/project
3232
.. _Enable billing for your project.: https://cloud.google.com/billing/docs/how-to/modify-project#enable_billing_for_a_project
33-
.. _Enable the Cloud Life Sciences API.: https://cloud.google.com/life-sciences/docs/quickstart#before_you_begin
33+
.. _Enable the Cloud Life Sciences API.: https://cloud.google.com/life-sciences/
3434
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
3535

3636
Installation
@@ -47,6 +47,27 @@ dependencies.
4747
.. _`virtualenv`: https://virtualenv.pypa.io/en/latest/
4848

4949

50+
Code samples and snippets
51+
~~~~~~~~~~~~~~~~~~~~~~~~~
52+
53+
Code samples and snippets live in the `samples/` folder.
54+
55+
56+
Supported Python Versions
57+
^^^^^^^^^^^^^^^^^^^^^^^^^
58+
Our client libraries are compatible with all current [active](https://devguide.python.org/devcycle/#in-development-main-branch) and [maintenance](https://devguide.python.org/devcycle/#maintenance-branches) versions of
59+
Python.
60+
61+
Python >= 3.7
62+
63+
Unsupported Python Versions
64+
^^^^^^^^^^^^^^^^^^^^^^^^^^^
65+
Python <= 3.6
66+
67+
If you are using an [end-of-life](https://devguide.python.org/devcycle/#end-of-life-branches)
68+
version of Python, we recommend that you update as soon as possible to an actively supported version.
69+
70+
5071
Mac/Linux
5172
^^^^^^^^^
5273

@@ -71,12 +92,12 @@ Windows
7192
Next Steps
7293
~~~~~~~~~~
7394

74-
- Read the `Client Library Documentation`_ for Cloud Life Sciences
95+
- Read the `Client Library Documentation`_ for Cloud Life Sciences API
7596
to see other available methods on the client.
76-
- Read the `Cloud Life Sciences Product documentation`_ to learn
97+
- Read the `Cloud Life Sciences API Product documentation`_ to learn
7798
more about the product and see How-to Guides.
7899
- View this `README`_ to see the full list of Cloud
79100
APIs that we cover.
80101

81-
.. _Cloud Life Sciences Product documentation: https://cloud.google.com/life-sciences/docs
82-
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
102+
.. _Cloud Life Sciences API Product documentation: https://cloud.google.com/life-sciences/
103+
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst

0 commit comments

Comments
 (0)