Skip to content
8 changes: 4 additions & 4 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v6
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install nox
Expand All @@ -24,9 +24,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v6
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install nox
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -143,12 +143,12 @@ Running System Tests
$ nox -s system

# Run a single system test
$ nox -s system-3.12 -- -k <name of test>
$ nox -s system-3.13 -- -k <name of test>


.. note::

System tests are only configured to run under Python 3.12.
System tests are only configured to run under Python 3.13.
For expediency, we do not run them in older versions of Python 3.

This alone will not run the tests. You'll need to change some local
Expand Down
27 changes: 9 additions & 18 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,24 @@
.. include:: multiprocessing.rst


API Documentation
-----------------

.. note::

The client library version (currently ``2.x``) should not be confused with the
backend API version (currently ``v1``), hence some references to ``v1`` can be found
across the documentation.

API Reference
-------------
.. toctree::
:maxdepth: 4
:maxdepth: 2

Publisher Client <pubsub/publisher/index>
Subscriber Client <pubsub/subscriber/index>
Types <pubsub/types>
pubsub_v1/services_
pubsub_v1/types_


Migration Guide
---------------

See the guide below for instructions on migrating to the 2.x release of this library.
See the guide below for instructions on migrating to the latest version.

.. toctree::
:maxdepth: 2

UPGRADING
 UPGRADING


Changelog
Expand All @@ -37,10 +29,9 @@ Changelog
For a list of all ``google-cloud-pubsub`` releases:

.. toctree::
:maxdepth: 2

changelog
:maxdepth: 2

changelog

.. toctree::
:hidden:
Expand Down
4 changes: 2 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
UNIT_TEST_EXTRAS: List[str] = []
UNIT_TEST_EXTRAS_BY_PYTHON: Dict[str, List[str]] = {}

SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.12"]
SYSTEM_TEST_PYTHON_VERSIONS: List[str] = ["3.13"]
SYSTEM_TEST_STANDARD_DEPENDENCIES: List[str] = [
"mock",
"pytest",
Expand Down Expand Up @@ -161,7 +161,7 @@ def lint(session):
session.run("flake8", "google", "tests")


@nox.session(python=DEFAULT_PYTHON_VERSION)
@nox.session(python="3.10")
def blacken(session):
"""Run black. Format code to uniform standard."""
session.install(BLACK_VERSION)
Expand Down
17 changes: 14 additions & 3 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -340,10 +340,21 @@
versions=gcp.common.detect_versions(path="./google", default_first=True),
unit_test_python_versions=["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"],
unit_test_dependencies=["flaky"],
system_test_python_versions=["3.12"],
system_test_external_dependencies=["psutil","flaky"],
system_test_python_versions=["3.13"],
system_test_external_dependencies=["psutil", "flaky"],
)
s.move(
templated_files,
excludes=[
".coveragerc",
".github/blunderbuss.yml",
".github/release-please.yml",
"README.rst",
"docs/index.rst" ".github/workflows/docs.yml",
".github/workflows/lint.yml",
"samples/snippets/noxfile.py",
],
)
s.move(templated_files, excludes=[".coveragerc", ".github/blunderbuss.yml", ".github/release-please.yml", "README.rst", "docs/index.rst"])

python.py_samples(skip_readmes=True)

Expand Down
Loading