Skip to content

Commit cb5407a

Browse files
1 parent a2d6e1a commit cb5407a

141 files changed

Lines changed: 22 additions & 17875 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Žpackages/google-cloud-notebooks/CONTRIBUTING.rstβ€Ž

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

145145
# Run a single system test
146-
$ nox -s system-3.8 -- -k <name of test>
146+
$ nox -s system- -- -k <name of test>
147147

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.8.
151+
System tests are only configured to run under Python.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local
@@ -239,18 +239,6 @@ Supported versions can be found in our ``noxfile.py`` `config`_.
239239
.. _config: https://github.com/googleapis/python-notebooks/blob/main/noxfile.py
240240

241241

242-
We also explicitly decided to support Python 3 beginning with version 3.7.
243-
Reasons for this include:
244-
245-
- Encouraging use of newest versions of Python 3
246-
- Taking the lead of `prominent`_ open-source `projects`_
247-
- `Unicode literal support`_ which allows for a cleaner codebase that
248-
works in both Python 2 and Python 3
249-
250-
.. _prominent: https://docs.djangoproject.com/en/1.9/faq/install/#what-python-version-can-i-use-with-django
251-
.. _projects: http://flask.pocoo.org/docs/0.10/python3/
252-
.. _Unicode literal support: https://www.python.org/dev/peps/pep-0414/
253-
254242
**********
255243
Versioning
256244
**********

β€Žpackages/google-cloud-notebooks/README.rstβ€Ž

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
Python Client for AI Platform Notebooks API
2-
===========================================
1+
Python Client for AI Platform Notebooks
2+
=======================================
33

44
|stable| |pypi| |versions|
55

6-
`AI Platform Notebooks API`_: is a managed service that offers an integrated and secure JupyterLab environment for data scientists and machine learning developers to experiment, develop, and deploy models into production. Users can create instances running JupyterLab that come pre-installed with the latest data science and machine learning frameworks in a single click.
6+
`AI Platform Notebooks`_: is a managed service that offers an integrated and secure JupyterLab environment for data scientists and machine learning developers to experiment, develop, and deploy models into production. Users can create instances running JupyterLab that come pre-installed with the latest data science and machine learning frameworks in a single click.
77

88
- `Client Library Documentation`_
99
- `Product Documentation`_
@@ -14,7 +14,7 @@ Python Client for AI Platform Notebooks API
1414
:target: https://pypi.org/project/google-cloud-notebooks/
1515
.. |versions| image:: https://img.shields.io/pypi/pyversions/google-cloud-notebooks.svg
1616
:target: https://pypi.org/project/google-cloud-notebooks/
17-
.. _AI Platform Notebooks API: https://cloud.google.com/ai-platform/notebooks/
17+
.. _AI Platform Notebooks: https://cloud.google.com/ai-platform/notebooks/
1818
.. _Client Library Documentation: https://cloud.google.com/python/docs/reference/notebooks/latest
1919
.. _Product Documentation: https://cloud.google.com/ai-platform/notebooks/
2020

@@ -25,12 +25,12 @@ In order to use this library, you first need to go through the following steps:
2525

2626
1. `Select or create a Cloud Platform project.`_
2727
2. `Enable billing for your project.`_
28-
3. `Enable the AI Platform Notebooks API.`_
28+
3. `Enable the AI Platform Notebooks.`_
2929
4. `Setup Authentication.`_
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 AI Platform Notebooks API.: https://cloud.google.com/ai-platform/notebooks/
33+
.. _Enable the AI Platform Notebooks.: https://cloud.google.com/ai-platform/notebooks/
3434
.. _Setup Authentication.: https://googleapis.dev/python/google-api-core/latest/auth.html
3535

3636
Installation
@@ -96,12 +96,12 @@ Windows
9696
Next Steps
9797
~~~~~~~~~~
9898

99-
- Read the `Client Library Documentation`_ for AI Platform Notebooks API
99+
- Read the `Client Library Documentation`_ for AI Platform Notebooks
100100
to see other available methods on the client.
101-
- Read the `AI Platform Notebooks API Product documentation`_ to learn
101+
- Read the `AI Platform Notebooks Product documentation`_ to learn
102102
more about the product and see How-to Guides.
103103
- View this `README`_ to see the full list of Cloud
104104
APIs that we cover.
105105

106-
.. _AI Platform Notebooks API Product documentation: https://cloud.google.com/ai-platform/notebooks/
106+
.. _AI Platform Notebooks Product documentation: https://cloud.google.com/ai-platform/notebooks/
107107
.. _README: https://github.com/googleapis/google-cloud-python/blob/main/README.rst
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../CHANGELOG.md

β€Žpackages/google-cloud-notebooks/docs/index.rstβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ For a list of all ``google-cloud-notebooks`` releases:
3131
.. toctree::
3232
:maxdepth: 2
3333

34-
changelog
34+
CHANGELOG

owl-bot-staging/google-cloud-notebooks/google-cloud-notebooks/google-cloud-notebooks.txt renamed to packages/google-cloud-notebooks/google-cloud-notebooks.txt

File renamed without changes.

β€Žpackages/google-cloud-notebooks/noxfile.pyβ€Ž

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
ISORT_VERSION = "isort==5.10.1"
3131
LINT_PATHS = ["docs", "google", "tests", "noxfile.py", "setup.py"]
3232

33-
DEFAULT_PYTHON_VERSION = "3.8"
33+
DEFAULT_PYTHON_VERSION = "3.9"
3434

3535
UNIT_TEST_PYTHON_VERSIONS = ["3.7", "3.8", "3.9", "3.10", "3.11"]
3636
UNIT_TEST_STANDARD_DEPENDENCIES = [
@@ -46,7 +46,7 @@
4646
UNIT_TEST_EXTRAS = []
4747
UNIT_TEST_EXTRAS_BY_PYTHON = {}
4848

49-
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
49+
SYSTEM_TEST_PYTHON_VERSIONS = []
5050
SYSTEM_TEST_STANDARD_DEPENDENCIES = [
5151
"mock",
5252
"pytest",
@@ -273,7 +273,7 @@ def cover(session):
273273
session.run("coverage", "erase")
274274

275275

276-
@nox.session(python="3.9")
276+
@nox.session(python=DEFAULT_PYTHON_VERSION)
277277
def docs(session):
278278
"""Build the docs for this library."""
279279

@@ -299,7 +299,7 @@ def docs(session):
299299
)
300300

301301

302-
@nox.session(python="3.9")
302+
@nox.session(python=DEFAULT_PYTHON_VERSION)
303303
def docfx(session):
304304
"""Build the docfx yaml files for this library."""
305305

@@ -337,7 +337,7 @@ def docfx(session):
337337
)
338338

339339

340-
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
340+
@nox.session(python="3.11")
341341
def prerelease_deps(session):
342342
"""Run all tests with prerelease versions of dependencies installed."""
343343

@@ -346,7 +346,9 @@ def prerelease_deps(session):
346346
unit_deps_all = UNIT_TEST_STANDARD_DEPENDENCIES + UNIT_TEST_EXTERNAL_DEPENDENCIES
347347
session.install(*unit_deps_all)
348348
system_deps_all = (
349-
SYSTEM_TEST_STANDARD_DEPENDENCIES + SYSTEM_TEST_EXTERNAL_DEPENDENCIES
349+
SYSTEM_TEST_STANDARD_DEPENDENCIES
350+
+ SYSTEM_TEST_EXTERNAL_DEPENDENCIES
351+
+ SYSTEM_TEST_EXTRAS
350352
)
351353
session.install(*system_deps_all)
352354

β€Žpackages/google-cloud-notebooks/samples/generated_samples/notebooks_v1_generated_managed_notebook_service_create_runtime_async.pyβ€Ž

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

β€Žpackages/google-cloud-notebooks/samples/generated_samples/notebooks_v1_generated_managed_notebook_service_create_runtime_sync.pyβ€Ž

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

β€Žpackages/google-cloud-notebooks/samples/generated_samples/notebooks_v1_generated_managed_notebook_service_delete_runtime_async.pyβ€Ž

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

β€Žpackages/google-cloud-notebooks/samples/generated_samples/notebooks_v1_generated_managed_notebook_service_delete_runtime_sync.pyβ€Ž

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

0 commit comments

Comments
Β (0)