Merged
Show file tree
Hide file tree
Changes from all commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Failed to load files.
Original file line numberDiff line numberDiff line change
Expand Up@@ -52,7 +52,7 @@ dependencies.

Supported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^
Python >= 3.6, < 3.9
Python >= 3.6, < 3.10

Unsupported Python Versions
^^^^^^^^^^^^^^^^^^^^^^^^^^^
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -23,6 +23,10 @@

BLACK_VERSION = "black==19.10b0"
BLACK_PATHS = ("docs", "google", "samples", "tests", "noxfile.py", "setup.py")

DEFAULT_PYTHON_VERSION = "3.8"
SYSTEM_TEST_PYTHON_VERSIONS = ["3.8"]
UNIT_TEST_PYTHON_VERSIONS = ["3.6", "3.7", "3.8", "3.9"]
CURRENT_DIRECTORY = pathlib.Path(__file__).parent.absolute()

# 'docfx' is excluded since it only needs to run in 'docs-presubmit'
Expand DownExpand Up@@ -80,13 +84,13 @@ def default(session):
)


@nox.session(python=["3.6", "3.7", "3.8"])
@nox.session(python=UNIT_TEST_PYTHON_VERSIONS)
def unit(session):
"""Run the unit test suite."""
default(session)


@nox.session(python=["3.8"])
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
def system(session):
"""Run the system test suite."""

Expand DownExpand Up@@ -118,7 +122,7 @@ def system(session):
session.run("py.test", "--quiet", os.path.join("tests", "system"), *session.posargs)


@nox.session(python=["3.8"])
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
def snippets(session):
"""Run the snippets test suite."""

Expand DownExpand Up@@ -154,7 +158,7 @@ def snippets(session):
)


@nox.session(python="3.8")
@nox.session(python=DEFAULT_PYTHON_VERSION)
def cover(session):
"""Run the final coverage report.

Expand All@@ -166,7 +170,7 @@ def cover(session):
session.run("coverage", "erase")


@nox.session(python="3.8")
@nox.session(python=SYSTEM_TEST_PYTHON_VERSIONS)
def prerelease_deps(session):
"""Run all tests with prerelease versions of dependencies installed.

Expand DownExpand Up@@ -201,7 +205,7 @@ def prerelease_deps(session):
session.run("py.test", "samples/tests")


@nox.session(python="3.8")
@nox.session(python=DEFAULT_PYTHON_VERSION)
def lint(session):
"""Run linters.

Expand All@@ -218,7 +222,7 @@ def lint(session):
session.run("black", "--check", *BLACK_PATHS)


@nox.session(python="3.8")
@nox.session(python=DEFAULT_PYTHON_VERSION)
def lint_setup_py(session):
"""Verify that setup.py is valid (including RST check)."""

Expand All@@ -239,7 +243,7 @@ def blacken(session):
session.run("black", *BLACK_PATHS)


@nox.session(python="3.8")
@nox.session(python=DEFAULT_PYTHON_VERSION)
def docs(session):
"""Build the docs."""

Expand All@@ -262,7 +266,7 @@ def docs(session):
)


@nox.session(python="3.8")
@nox.session(python=DEFAULT_PYTHON_VERSION)
def docfx(session):
"""Build the docfx yaml files for this library."""

Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -6,26 +6,16 @@
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
# Then this file should have foo==1.14.0
google-api-core==1.23.0
proto-plus==1.10.0
google-cloud-bigquery-storage==2.0.0
google-cloud-core==1.4.1
google-resumable-media==0.6.0
six==1.13.0
protobuf==3.12.0
google-cloud-bigquery-storage==2.0.0
grpcio==1.32.0
pyarrow==1.0.0
pandas==0.23.0
pyarrow==1.0.0
tqdm==4.7.4
opentelemetry-api==0.11b0
opentelemetry-sdk==0.11b0
opentelemetry-instrumentation==0.11b0
google-cloud-bigquery-storage==2.0.0
grpcio==1.32.0
pyarrow==1.0.0
opentelemetry-api==0.11b0
opentelemetry-sdk==0.11b0
opentelemetry-instrumentation==0.11b0
pandas==0.23.0
proto-plus==1.10.0
protobuf==3.12.0
pyarrow==1.0.0
tqdm==4.7.4
six==1.13.0
tqdm==4.7.4