Build/Test Explorer

TestFusion
Invocation status: Failed

Kokoro: cloud-devrel/client-libraries/python/googleapis/python-bigquery/presubmit/presubmit

1 target evaluated on for 28 min, 9 sec
by kokoro-github-subscriber
1 Failed

Showing build.log

Download
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[11:52:49] Transferring environment variable script to build VM
[11:52:50] Transferring kokoro_log_reader.py to build VM
[11:52:51] Transferring source code to build VM
[11:52:54] Executing build script on build VM



[ID: 2654535] Executing command via SSH:
export KOKORO_BUILD_NUMBER="4203"
export KOKORO_JOB_NAME="cloud-devrel/client-libraries/python/googleapis/python-bigquery/presubmit/presubmit"
source /tmpfs/kokoro-env_vars.sh; cd /tmpfs/src/ ; chmod 755 github/python-bigquery/.kokoro/trampoline.sh ; PYTHON_3_VERSION="$(pyenv which python3 2> /dev/null || which python3)" ; PYTHON_2_VERSION="$(pyenv which python2 2> /dev/null || which python2)" ; if "$PYTHON_3_VERSION" -c "import psutil" ; then KOKORO_PYTHON_COMMAND="$PYTHON_3_VERSION" ; else KOKORO_PYTHON_COMMAND="$PYTHON_2_VERSION" ; fi > /dev/null 2>&1 ; echo "export KOKORO_PYTHON_COMMAND="$KOKORO_PYTHON_COMMAND"" > "$HOME/.kokoro_python_vars" ; nohup bash -c "( rm -f /tmpfs/kokoro_build_exit_code ; github/python-bigquery/.kokoro/trampoline.sh ; echo \${PIPESTATUS[0]} > /tmpfs/kokoro_build_exit_code ) > /tmpfs/kokoro_build.log 2>&1" > /dev/null 2>&1 & echo $! > /tmpfs/kokoro_build.pid ; source "$HOME/.kokoro_python_vars" ; "$KOKORO_PYTHON_COMMAND" /tmpfs/kokoro_log_reader.py /tmpfs/kokoro_build.log /tmpfs/kokoro_build_exit_code /tmpfs/kokoro_build.pid /tmpfs/kokoro_log_reader.pid --start_byte 0

2023-10-19 11:52:55 Creating folder on disk for secrets: /tmpfs/src/gfile/secret_manager
Activated service account credentials for: [kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com]
WARNING: Your config file at [/home/kbuilder/.docker/config.json] contains these credential helper entries:

{
"credHelpers": {
"gcr.io": "gcr",
"us.gcr.io": "gcr",
"asia.gcr.io": "gcr",
"staging-k8s.gcr.io": "gcr",
"eu.gcr.io": "gcr"
}
}
These will be overwritten.
Docker configuration file updated.
Using default tag: latest
latest: Pulling from cloud-devrel-kokoro-resources/python-multi
01085d60b3a6: Pulling fs layer
bb4cec6e8756: Pulling fs layer
8f51d1890d33: Pulling fs layer
77e2cfaaecdf: Pulling fs layer
0e9f08bae96d: Pulling fs layer
e14cc6e5f5d7: Pulling fs layer
1d65b6abd064: Pulling fs layer
5b38a43ed000: Pulling fs layer
45504d4beaa3: Pulling fs layer
1eccbc234f39: Pulling fs layer
e57b03c7400f: Pulling fs layer
77e2cfaaecdf: Waiting
70573fa55b4b: Pulling fs layer
ee1f0f8b2e1b: Pulling fs layer
0e9f08bae96d: Waiting
832a40a4e599: Pulling fs layer
a6c56d6d8a24: Pulling fs layer
e14cc6e5f5d7: Waiting
affdc41ed1d1: Pulling fs layer
ae66c1b23869: Pulling fs layer
1d65b6abd064: Waiting
4ec1bc55b752: Pulling fs layer
ccf0b23c604d: Pulling fs layer
5b38a43ed000: Waiting
df0370f66a2f: Pulling fs layer
716b8e0e31da: Pulling fs layer
45504d4beaa3: Waiting
74e2e9557a7f: Pulling fs layer
7c26a159b187: Pulling fs layer
1ff106e45e0b: Pulling fs layer
1eccbc234f39: Waiting
2386794c123f: Pulling fs layer
d83ff3a2bb0f: Pulling fs layer
e57b03c7400f: Waiting
44cc288214a4: Pulling fs layer
70573fa55b4b: Waiting
ee1f0f8b2e1b: Waiting
affdc41ed1d1: Waiting
832a40a4e599: Waiting
a6c56d6d8a24: Waiting
ae66c1b23869: Waiting
4ec1bc55b752: Waiting
ccf0b23c604d: Waiting
df0370f66a2f: Waiting
716b8e0e31da: Waiting
74e2e9557a7f: Waiting
7c26a159b187: Waiting
1ff106e45e0b: Waiting
2386794c123f: Waiting
d83ff3a2bb0f: Waiting
44cc288214a4: Waiting
8f51d1890d33: Verifying Checksum
8f51d1890d33: Download complete
77e2cfaaecdf: Verifying Checksum
77e2cfaaecdf: Download complete
0e9f08bae96d: Verifying Checksum
0e9f08bae96d: Download complete
01085d60b3a6: Verifying Checksum
01085d60b3a6: Download complete
e14cc6e5f5d7: Verifying Checksum
e14cc6e5f5d7: Download complete
5b38a43ed000: Verifying Checksum
5b38a43ed000: Download complete
1d65b6abd064: Verifying Checksum
1d65b6abd064: Download complete
bb4cec6e8756: Verifying Checksum
bb4cec6e8756: Download complete
01085d60b3a6: Pull complete
1eccbc234f39: Verifying Checksum
1eccbc234f39: Download complete
70573fa55b4b: Verifying Checksum
70573fa55b4b: Download complete
ee1f0f8b2e1b: Verifying Checksum
ee1f0f8b2e1b: Download complete
832a40a4e599: Verifying Checksum
832a40a4e599: Download complete
a6c56d6d8a24: Verifying Checksum
a6c56d6d8a24: Download complete
affdc41ed1d1: Verifying Checksum
affdc41ed1d1: Download complete
ae66c1b23869: Verifying Checksum
ae66c1b23869: Download complete
4ec1bc55b752: Verifying Checksum
4ec1bc55b752: Download complete
ccf0b23c604d: Verifying Checksum
ccf0b23c604d: Download complete
df0370f66a2f: Verifying Checksum
df0370f66a2f: Download complete
716b8e0e31da: Verifying Checksum
716b8e0e31da: Download complete
74e2e9557a7f: Verifying Checksum
74e2e9557a7f: Download complete
45504d4beaa3: Verifying Checksum
45504d4beaa3: Download complete
7c26a159b187: Verifying Checksum
7c26a159b187: Download complete
e57b03c7400f: Verifying Checksum
e57b03c7400f: Download complete
d83ff3a2bb0f: Verifying Checksum
d83ff3a2bb0f: Download complete
44cc288214a4: Verifying Checksum
44cc288214a4: Download complete
1ff106e45e0b: Verifying Checksum
1ff106e45e0b: Download complete
2386794c123f: Verifying Checksum
2386794c123f: Download complete
bb4cec6e8756: Pull complete
8f51d1890d33: Pull complete
77e2cfaaecdf: Pull complete
0e9f08bae96d: Pull complete
e14cc6e5f5d7: Pull complete
1d65b6abd064: Pull complete
5b38a43ed000: Pull complete
45504d4beaa3: Pull complete
1eccbc234f39: Pull complete
e57b03c7400f: Pull complete
70573fa55b4b: Pull complete
ee1f0f8b2e1b: Pull complete
832a40a4e599: Pull complete
a6c56d6d8a24: Pull complete
affdc41ed1d1: Pull complete
ae66c1b23869: Pull complete
4ec1bc55b752: Pull complete
ccf0b23c604d: Pull complete
df0370f66a2f: Pull complete
716b8e0e31da: Pull complete
74e2e9557a7f: Pull complete
7c26a159b187: Pull complete
1ff106e45e0b: Pull complete
2386794c123f: Pull complete
d83ff3a2bb0f: Pull complete
44cc288214a4: Pull complete
Digest: sha256:4e0f0db1fb54cca39f3dd2490c6334f16cb70f8ec5f33513afc36eb5b03de9d9
Status: Downloaded newer image for gcr.io/cloud-devrel-kokoro-resources/python-multi:latest
gcr.io/cloud-devrel-kokoro-resources/python-multi:latest
Executing: docker run --rm --interactive --network=host --privileged --volume=/var/run/docker.sock:/var/run/docker.sock --workdir=/tmpfs/src --entrypoint=github/python-bigquery/.kokoro/build.sh --env-file=/tmpfs/tmp/tmpsjvh_jit/envfile --volume=/tmpfs:/tmpfs gcr.io/cloud-devrel-kokoro-resources/python-multi
KOKORO_KEYSTORE_DIR=/tmpfs/src/keystore
KOKORO_GITHUB_PULL_REQUEST_NUMBER=1688
KOKORO_GITHUB_PULL_REQUEST_URL=https://github.com/googleapis/python-bigquery/pull/1688
KOKORO_JOB_NAME=cloud-devrel/client-libraries/python/googleapis/python-bigquery/presubmit/presubmit
KOKORO_JOB_CLUSTER=GCP_UBUNTU
KOKORO_GIT_COMMIT=dd54292da6db19e76e4e633fe2e43fd029bea8b6
KOKORO_GITHUB_PULL_REQUEST_COMMIT=dd54292da6db19e76e4e633fe2e43fd029bea8b6
KOKORO_BLAZE_DIR=/tmpfs/src/objfs
KOKORO_ROOT=/tmpfs
KOKORO_GITHUB_PULL_REQUEST_TARGET_BRANCH=main
KOKORO_JOB_TYPE=PRESUBMIT_GITHUB
KOKORO_BUILD_NUMBER=4203
KOKORO_JOB_POOL=yoshi-ubuntu
KOKORO_BUILD_INITIATOR=kokoro-github-subscriber
KOKORO_ARTIFACTS_DIR=/tmpfs/src
KOKORO_BUILD_ID=6b4f735e-7003-4da4-85fa-567231fcaa58
KOKORO_GFILE_DIR=/tmpfs/src/gfile
KOKORO_BUILD_CONFIG_DIR=
KOKORO_POSIX_ROOT=/tmpfs
KOKORO_BUILD_ARTIFACTS_SUBDIR=prod/cloud-devrel/client-libraries/python/googleapis/python-bigquery/presubmit/presubmit/4203/20231019-115156
WARNING: Skipping nox-automation as it is not installed.
WARNING: You are using pip version 22.0.4; however, version 23.3 is available.
You should consider upgrading via the '/venv/bin/python3 -m pip install --upgrade pip' command.
2023.4.22
nox > Running session unit_noextras-3.7
nox > Creating virtual environment (virtualenv) using python3.7 in .nox/unit_noextras-3-7
nox > python -m pip install pyarrow==1.0.0
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.7.txt
nox > python -m pip install -e . -c /tmpfs/src/github/python-bigquery/testing/constraints-3.7.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
sssssss................................................................. [ 3%]
........................................................................ [ 7%]
............................................s..sssssssssssssssssssssssss [ 10%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 14%]
ssssssssssssssssssssssssss.s............................................ [ 17%]
........................................sss.s..........................s [ 21%]
sss.................................................................s... [ 24%]
.........................sssssssssssssssssssssssssss.................... [ 28%]
........................................................................ [ 31%]
........................................................................ [ 35%]
.............................................................s..s.ss.s.. [ 38%]
..........................ssss.......................................... [ 42%]
........................................................................ [ 46%]
..................................................................ssssss [ 49%]
ss...................................................................... [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 67%]
................................s.ss.s.s.......s.......sssssssssssss.sss [ 70%]
sss.sss.sssssssssssssssssssssssssssssss.ss.............................. [ 74%]
.............ssss....................................................... [ 77%]
........................................................................ [ 81%]
........................................................................ [ 84%]
........................................................................ [ 88%]
........................................................................ [ 92%]
........................................................................ [ 95%]
........................................................................ [ 99%]
.................. [100%]
=============================== warnings summary ===============================
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
1784 passed, 257 skipped, 14 warnings in 41.53s
nox > Session unit_noextras-3.7 was successful.
nox > Running session unit_noextras-3.11
nox > Creating virtual environment (virtualenv) using python3.11 in .nox/unit_noextras-3-11
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.11.txt
nox > python -m pip install -e . -c /tmpfs/src/github/python-bigquery/testing/constraints-3.11.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
sssssss................................................................. [ 3%]
........................................................................ [ 7%]
............................................s..sssssssssssssssssssssssss [ 10%]
ssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss [ 14%]
ssssssssssssssssssssssssss.s............................................ [ 17%]
...................................sss.s..........................ssss.. [ 21%]
...............................................................s........ [ 24%]
....................sssssssssssssssssssssssssss......................... [ 28%]
........................................................................ [ 31%]
...............................................................s........ [ 35%]
........................................................s..s.ss.s....... [ 39%]
.....................ssss............................................... [ 42%]
........................................................................ [ 46%]
.............................................................ssssssss... [ 49%]
........................................................................ [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 67%]
...........................s.ss.s.s.......s.......sssssssssssss.ssssss.s [ 70%]
ss.sssssssssssssssssssssssssssssss.ss................................... [ 74%]
........ssss............................................................ [ 78%]
........................................................................ [ 81%]
........................................................................ [ 85%]
........................................................................ [ 88%]
........................................................................ [ 92%]
........................................................................ [ 95%]
........................................................................ [ 99%]
............. [100%]
=============================== warnings summary ===============================
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit_noextras-3-11/lib/python3.11/site-packages/google/rpc/__init__.py:20
/tmpfs/src/github/python-bigquery/.nox/unit_noextras-3-11/lib/python3.11/site-packages/google/rpc/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
1778 passed, 259 skipped, 13 warnings in 42.68s
nox > Session unit_noextras-3.11 was successful.
nox > Running session unit-3.7
nox > Creating virtual environment (virtualenv) using python3.7 in .nox/unit-3-7
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.7.txt
nox > python -m pip install -e '.[all]' -c /tmpfs/src/github/python-bigquery/testing/constraints-3.7.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
........................................................................ [ 3%]
........................................................................ [ 6%]
........................................................................ [ 10%]
........................................................................ [ 13%]
........................................................................ [ 16%]
........................................................................ [ 20%]
........................................................................ [ 23%]
........................................................................ [ 26%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 40%]
........................................................................ [ 43%]
........................................................................ [ 46%]
........................................................................ [ 50%]
........................................................................ [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
..............................................................s......... [ 70%]
................s..s..........s......................................... [ 73%]
........................................................................ [ 76%]
........................................................................ [ 80%]
........................................................................ [ 83%]
........................................................................ [ 86%]
........................................................................ [ 90%]
........................................................................ [ 93%]
........................................................................ [ 96%]
...................................................................... [100%]
=============================== warnings summary ===============================
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:10
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:10: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_nlv = LooseVersion(_np_version)

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:11
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:11: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p16 = _nlv < LooseVersion("1.16")

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:12
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:12: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p17 = _nlv < LooseVersion("1.17")

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:13
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:13: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p18 = _nlv < LooseVersion("1.18")

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:14
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:14: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p19 = _nlv < LooseVersion("1.19")

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:15
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/__init__.py:15: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p20 = _nlv < LooseVersion("1.20")

.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/setuptools/_distutils/version.py:345: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
other = LooseVersion(other)

.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/function.py:125
.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/function.py:125
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/compat/numpy/function.py:125: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(_np_version) >= LooseVersion("1.17.0"):

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:17
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:17: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PANDAS_GE_025 = str(pd.__version__) >= LooseVersion("0.25.0")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:18
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:18: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PANDAS_GE_10 = str(pd.__version__) >= LooseVersion("1.0.0")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:19
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:19: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PANDAS_GE_11 = str(pd.__version__) >= LooseVersion("1.1.0")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:20
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:20: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PANDAS_GE_115 = str(pd.__version__) >= LooseVersion("1.1.5")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:21
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:21: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PANDAS_GE_12 = str(pd.__version__) >= LooseVersion("1.2.0")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:29
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:29: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
SHAPELY_GE_17 = str(shapely.__version__) >= LooseVersion("1.7.0")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:30
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:30: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
SHAPELY_GE_18 = str(shapely.__version__) >= LooseVersion("1.8")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:31
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:31: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
SHAPELY_GE_20 = str(shapely.__version__) >= LooseVersion("2.0")

.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:212
.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:212
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/geopandas/_compat.py:212: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
PYPROJ_LT_3 = LooseVersion(pyproj.__version__) < LooseVersion("3")

tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_nullable_scalars[STRING-rows0]
tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_nullable_scalars[STRING-rows0]
tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_nullable_scalars[STRING-rows0]
tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_nullable_scalars[STRING-rows0]
tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_nullable_scalars[STRING-rows0]
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/_pandas_helpers.py:303: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
return pyarrow.Array.from_pandas(series, type=arrow_type)

tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_geography_type_shapely_data
tests/unit/test__pandas_helpers.py::test_dataframe_to_bq_schema_geography
tests/unit/test_table.py::TestRowIterator::test_rowiterator_to_geodataframe_delegation
/tmpfs/src/github/python-bigquery/.nox/unit-3-7/lib/python3.7/site-packages/pandas/core/dtypes/cast.py:90: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
values = construct_1d_object_array_from_listlike(values)

tests/unit/test_magics.py::test_context_with_default_connection
tests/unit/test_magics.py::test_context_with_custom_connection
tests/unit/test_magics.py::test_bigquery_magic_w_maximum_bytes_billed_overrides_context[987654321-987654321]
tests/unit/test_magics.py::test_bigquery_magic_w_maximum_bytes_billed_overrides_context[None-0]
tests/unit/test_magics.py::test_bigquery_magic_w_maximum_bytes_billed_w_context_inplace
tests/unit/test_magics.py::test_bigquery_magic_w_maximum_bytes_billed_w_context_setter
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/job/query.py:1859: UserWarning: A progress bar was requested, but there was an error loading the tqdm library. Please install tqdm to use the progress bar functionality.
query_result = wait_for_query(self, progress_bar_type, max_results=max_results)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

tests/unit/test_table.py::TestRowIterator::test_to_arrow_ensure_bqstorage_client_wo_bqstorage
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/table.py:1620: UserWarning: no bqstorage
warnings.warn(str(exc))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
2154 passed, 4 skipped, 58 warnings in 72.39s (0:01:12)
nox > Session unit-3.7 was successful.
nox > Running session unit-3.8
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/unit-3-8
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.8.txt
nox > python -m pip install -e '.[all]' -c /tmpfs/src/github/python-bigquery/testing/constraints-3.8.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
........................................................................ [ 3%]
........................................................................ [ 6%]
........................................................................ [ 10%]
........................................................................ [ 13%]
........................................................................ [ 16%]
........................................................................ [ 20%]
........................................................................ [ 23%]
........................................................................ [ 26%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 40%]
........................................................................ [ 43%]
........................................................................ [ 46%]
........................................................................ [ 50%]
........................................................................ [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
........................................................................ [ 70%]
........................................................................ [ 73%]
........................................................................ [ 76%]
........................................................................ [ 80%]
........................................................................ [ 83%]
........................................................................ [ 86%]
........................................................................ [ 90%]
........................................................................ [ 93%]
........................................................................ [ 96%]
...................................................................... [100%]
=============================== warnings summary ===============================
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-8/lib/python3.8/site-packages/google/rpc/__init__.py:20
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/google/rpc/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)

.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:10
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:10: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_nlv = LooseVersion(_np_version)

.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:11
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:11: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
np_version_under1p17 = _nlv < LooseVersion("1.17")

.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:12
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:12: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
np_version_under1p18 = _nlv < LooseVersion("1.18")

.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:13
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:13: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p19 = _nlv < LooseVersion("1.19")

.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:14
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/__init__.py:14: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
_np_version_under1p20 = _nlv < LooseVersion("1.20")

.nox/unit-3-8/lib/python3.8/site-packages/setuptools/_distutils/version.py:345
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/setuptools/_distutils/version.py:345: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
other = LooseVersion(other)

.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/function.py:120
.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/function.py:120
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/compat/numpy/function.py:120: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
if LooseVersion(__version__) >= LooseVersion("1.17.0"):

tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_geography_type_shapely_data
tests/unit/test__pandas_helpers.py::test_dataframe_to_bq_schema_geography
tests/unit/test_table.py::TestRowIterator::test_rowiterator_to_geodataframe_delegation
/tmpfs/src/github/python-bigquery/.nox/unit-3-8/lib/python3.8/site-packages/pandas/core/dtypes/cast.py:112: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
values = construct_1d_object_array_from_listlike(values)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

tests/unit/test_table.py::TestRowIterator::test_to_arrow_ensure_bqstorage_client_wo_bqstorage
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/table.py:1620: UserWarning: no bqstorage
warnings.warn(str(exc))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
2158 passed, 27 warnings in 72.63s (0:01:12)
nox > Session unit-3.8 was successful.
nox > Running session unit-3.9
nox > Creating virtual environment (virtualenv) using python3.9 in .nox/unit-3-9
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.9.txt
nox > python -m pip install -e '.[all]' -c /tmpfs/src/github/python-bigquery/testing/constraints-3.9.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
........................................................................ [ 3%]
........................................................................ [ 6%]
........................................................................ [ 10%]
....................................ss.................................. [ 13%]
........................................................................ [ 16%]
........................................................................ [ 20%]
........................................................................ [ 23%]
........................................................................ [ 26%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 40%]
........................................................................ [ 43%]
........................................................................ [ 46%]
........................................................................ [ 50%]
........................................................................ [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
.......................................................................s [ 70%]
.................................s...................................... [ 73%]
.................s...................................................... [ 76%]
........................................................................ [ 80%]
........................................................................ [ 83%]
........................................................................ [ 86%]
........................................................................ [ 90%]
..................................................................s..... [ 93%]
........................................................................ [ 96%]
...................................................................... [100%]
=============================== warnings summary ===============================
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-9/lib/python3.9/site-packages/google/rpc/__init__.py:20
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/google/rpc/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)

tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_geography_type_shapely_data
tests/unit/test__pandas_helpers.py::test_dataframe_to_bq_schema_geography
tests/unit/test_table.py::TestRowIterator::test_rowiterator_to_geodataframe_delegation
/tmpfs/src/github/python-bigquery/.nox/unit-3-9/lib/python3.9/site-packages/pandas/core/dtypes/cast.py:126: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
arr = construct_1d_object_array_from_listlike(values)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

tests/unit/test_table.py::TestRowIterator::test_to_arrow_ensure_bqstorage_client_wo_bqstorage
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/table.py:1620: UserWarning: no bqstorage
warnings.warn(str(exc))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
2152 passed, 6 skipped, 19 warnings in 69.26s (0:01:09)
nox > Session unit-3.9 was successful.
nox > Running session unit-3.10
nox > Creating virtual environment (virtualenv) using python3.10 in .nox/unit-3-10
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.10.txt
nox > python -m pip install -e '.[all]' -c /tmpfs/src/github/python-bigquery/testing/constraints-3.10.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
........................................................................ [ 3%]
........................................................................ [ 6%]
........................................................................ [ 10%]
....................................ss.................................. [ 13%]
........................................................................ [ 16%]
........................................................................ [ 20%]
........................................................................ [ 23%]
........................................................................ [ 26%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 40%]
........................................................................ [ 43%]
........................................................................ [ 46%]
........................................................................ [ 50%]
........................................................................ [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
.......................................................................s [ 70%]
.................................s...................................... [ 73%]
.................s...................................................... [ 76%]
........................................................................ [ 80%]
........................................................................ [ 83%]
........................................................................ [ 86%]
........................................................................ [ 90%]
..................................................................s..... [ 93%]
........................................................................ [ 96%]
...................................................................... [100%]
=============================== warnings summary ===============================
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-10/lib/python3.10/site-packages/google/rpc/__init__.py:20
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/google/rpc/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)

tests/unit/test__pandas_helpers.py::test_bq_to_arrow_array_w_geography_type_shapely_data
tests/unit/test__pandas_helpers.py::test_dataframe_to_bq_schema_geography
tests/unit/test_table.py::TestRowIterator::test_rowiterator_to_geodataframe_delegation
/tmpfs/src/github/python-bigquery/.nox/unit-3-10/lib/python3.10/site-packages/pandas/core/dtypes/cast.py:126: ShapelyDeprecationWarning: The array interface is deprecated and will no longer work in Shapely 2.0. Convert the '.coords' to a numpy array instead.
arr = construct_1d_object_array_from_listlike(values)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

tests/unit/test_table.py::TestRowIterator::test_to_arrow_ensure_bqstorage_client_wo_bqstorage
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/table.py:1620: UserWarning: no bqstorage
warnings.warn(str(exc))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
2152 passed, 6 skipped, 19 warnings in 77.04s (0:01:17)
nox > Session unit-3.10 was successful.
nox > Running session unit-3.11
nox > Creating virtual environment (virtualenv) using python3.11 in .nox/unit-3-11
nox > python -m pip install mock pytest google-cloud-testutils pytest-cov freezegun -c /tmpfs/src/github/python-bigquery/testing/constraints-3.11.txt
nox > python -m pip install -e '.[bqstorage,ipywidgets,pandas,tqdm,opentelemetry]' -c /tmpfs/src/github/python-bigquery/testing/constraints-3.11.txt
nox > py.test --quiet --cov=google/cloud/bigquery --cov=tests/unit --cov-append --cov-config=.coveragerc --cov-report= --cov-fail-under=0 tests/unit
........................................................................ [ 3%]
........................................................................ [ 6%]
........................................................................ [ 10%]
....................................ss......sss......................... [ 13%]
...s.................................................................... [ 16%]
........................................................................ [ 20%]
........................................................................ [ 23%]
........................................................................ [ 26%]
........................................................................ [ 30%]
........................................................................ [ 33%]
........................................................................ [ 36%]
........................................................................ [ 40%]
........................................................................ [ 43%]
........................................................................ [ 46%]
........................................................................ [ 50%]
........................................................................ [ 53%]
........................................................................ [ 56%]
........................................................................ [ 60%]
........................................................................ [ 63%]
........................................................................ [ 66%]
.......................................s...............s...............s [ 70%]
.....s...........................s..sss.ss.............................. [ 73%]
.................s...................................................... [ 76%]
........................................................................ [ 80%]
........................................................................ [ 83%]
........................................................................ [ 86%]
........................................................................ [ 90%]
..................................................................s..... [ 93%]
sss..................................................................... [ 96%]
...................................................................... [100%]
=============================== warnings summary ===============================
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:121
/tmpfs/src/github/python-bigquery/.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:121: DeprecationWarning: pkg_resources is deprecated as an API
warnings.warn("pkg_resources is deprecated as an API", DeprecationWarning)

.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.cloud')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349
/tmpfs/src/github/python-bigquery/.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2349: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(parent)

.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870
/tmpfs/src/github/python-bigquery/.nox/unit-3-11/lib/python3.11/site-packages/pkg_resources/__init__.py:2870: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.logging')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
declare_namespace(pkg)

.nox/unit-3-11/lib/python3.11/site-packages/google/rpc/__init__.py:20
/tmpfs/src/github/python-bigquery/.nox/unit-3-11/lib/python3.11/site-packages/google/rpc/__init__.py:20: DeprecationWarning: Deprecated call to `pkg_resources.declare_namespace('google.rpc')`.
Implementing implicit namespace packages (as specified in PEP 420) is preferred to `pkg_resources.declare_namespace`. See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages
pkg_resources.declare_namespace(__name__)

tests/unit/test_table.py::TestTable::test_to_api_repr_w_unsetting_expiration
/tmpfs/src/github/python-bigquery/tests/unit/test_table.py:1197: PendingDeprecationWarning: This method will be deprecated in future versions. Please use Table.time_partitioning.expiration_ms instead.
table.partition_expiration = None

tests/unit/test_table.py::TestRowIterator::test_to_arrow_ensure_bqstorage_client_wo_bqstorage
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/table.py:1620: UserWarning: no bqstorage
warnings.warn(str(exc))

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
2137 passed, 21 skipped, 16 warnings in 70.70s (0:01:10)
nox > Session unit-3.11 was successful.
nox > Running session system-3.8
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/system-3-8
nox > Session system-3.8 skipped: RUN_SYSTEM_TESTS is set to false, skipping.
nox > Running session system-3.11
nox > Creating virtual environment (virtualenv) using python3.11 in .nox/system-3-11
nox > Session system-3.11 skipped: RUN_SYSTEM_TESTS is set to false, skipping.
nox > Running session snippets-3.8
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/snippets-3-8
nox > Session snippets-3.8 skipped: RUN_SNIPPETS_TESTS is set to false, skipping.
nox > Running session snippets-3.11
nox > Creating virtual environment (virtualenv) using python3.11 in .nox/snippets-3-11
nox > Session snippets-3.11 skipped: RUN_SNIPPETS_TESTS is set to false, skipping.
nox > Running session cover
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/cover
nox > python -m pip install coverage pytest-cov
nox > coverage report --show-missing --fail-under=100
Name Stmts Miss Branch BrPart Cover Missing
--------------------------------------------------------------------------------------------------------
google/cloud/bigquery/_helpers.py 312 0 156 0 100%
google/cloud/bigquery/_http.py 16 0 0 0 100%
google/cloud/bigquery/_job_helpers.py 92 0 20 0 100%
google/cloud/bigquery/_pandas_helpers.py 360 0 191 0 100%
google/cloud/bigquery/_pyarrow_helpers.py 27 0 4 0 100%
google/cloud/bigquery/_tqdm_helpers.py 55 0 20 0 100%
google/cloud/bigquery/_versions_helpers.py 27 0 6 0 100%
google/cloud/bigquery/client.py 855 0 314 0 100%
google/cloud/bigquery/dataset.py 362 9 83 0 97% 550, 554-568
google/cloud/bigquery/dbapi/__init__.py 30 0 0 0 100%
google/cloud/bigquery/dbapi/_helpers.py 170 0 96 0 100%
google/cloud/bigquery/dbapi/connection.py 37 0 14 0 100%
google/cloud/bigquery/dbapi/cursor.py 179 0 64 0 100%
google/cloud/bigquery/dbapi/exceptions.py 11 0 0 0 100%
google/cloud/bigquery/dbapi/types.py 29 0 4 0 100%
google/cloud/bigquery/encryption_configuration.py 28 0 4 0 100%
google/cloud/bigquery/enums.py 117 0 0 0 100%
google/cloud/bigquery/exceptions.py 3 0 0 0 100%
google/cloud/bigquery/external_config.py 426 0 58 0 100%
google/cloud/bigquery/format_options.py 44 0 0 0 100%
google/cloud/bigquery/iam.py 6 0 0 0 100%
google/cloud/bigquery/job/__init__.py 35 0 0 0 100%
google/cloud/bigquery/job/base.py 325 0 66 0 100%
google/cloud/bigquery/job/copy_.py 106 0 20 0 100%
google/cloud/bigquery/job/extract.py 100 0 14 0 100%
google/cloud/bigquery/job/load.py 376 0 58 0 100%
google/cloud/bigquery/job/query.py 767 0 142 0 100%
google/cloud/bigquery/magics/__init__.py 2 0 0 0 100%
google/cloud/bigquery/magics/line_arg_parser/__init__.py 7 0 0 0 100%
google/cloud/bigquery/magics/line_arg_parser/exceptions.py 5 0 0 0 100%
google/cloud/bigquery/magics/line_arg_parser/lexer.py 29 0 4 0 100%
google/cloud/bigquery/magics/line_arg_parser/parser.py 214 0 68 0 100%
google/cloud/bigquery/magics/line_arg_parser/visitors.py 85 0 22 0 100%
google/cloud/bigquery/magics/magics.py 260 0 97 0 100%
google/cloud/bigquery/model.py 197 0 34 0 100%
google/cloud/bigquery/opentelemetry_tracing.py 59 0 26 0 100%
google/cloud/bigquery/query.py 364 0 102 0 100%
google/cloud/bigquery/retry.py 22 0 4 0 100%
google/cloud/bigquery/routine/__init__.py 8 0 0 0 100%
google/cloud/bigquery/routine/routine.py 278 0 52 0 100%
google/cloud/bigquery/schema.py 154 0 64 0 100%
google/cloud/bigquery/standard_sql.py 162 0 50 0 100%
google/cloud/bigquery/table.py 899 0 294 0 100%
google/cloud/bigquery/version.py 1 0 0 0 100%
tests/unit/__init__.py 0 0 0 0 100%
tests/unit/_helpers/__init__.py 0 0 0 0 100%
tests/unit/_helpers/test_from_json.py 22 0 0 0 100%
tests/unit/conftest.py 27 0 4 0 100%
tests/unit/helpers.py 32 0 0 0 100%
tests/unit/job/__init__.py 0 0 0 0 100%
tests/unit/job/helpers.py 84 0 20 0 100%
tests/unit/job/test_base.py 704 0 2 0 100%
tests/unit/job/test_copy.py 258 0 10 0 100%
tests/unit/job/test_extract.py 238 0 10 0 100%
tests/unit/job/test_load.py 505 0 36 0 100%
tests/unit/job/test_load_config.py 526 0 0 0 100%
tests/unit/job/test_query.py 1096 0 54 0 100%
tests/unit/job/test_query_config.py 189 0 0 0 100%
tests/unit/job/test_query_pandas.py 441 0 20 0 100%
tests/unit/job/test_query_stats.py 324 0 0 0 100%
tests/unit/line_arg_parser/__init__.py 0 0 0 0 100%
tests/unit/line_arg_parser/test_lexer.py 12 0 0 0 100%
tests/unit/line_arg_parser/test_parser.py 101 0 0 0 100%
tests/unit/line_arg_parser/test_visitors.py 13 0 0 0 100%
tests/unit/model/__init__.py 0 0 0 0 100%
tests/unit/model/test_model.py 178 0 0 0 100%
tests/unit/model/test_model_reference.py 72 0 0 0 100%
tests/unit/routine/__init__.py 0 0 0 0 100%
tests/unit/routine/test_remote_function_options.py 59 0 0 0 100%
tests/unit/routine/test_routine.py 173 0 0 0 100%
tests/unit/routine/test_routine_argument.py 47 0 0 0 100%
tests/unit/routine/test_routine_reference.py 72 0 0 0 100%
tests/unit/test__helpers.py 777 0 8 0 100%
tests/unit/test__http.py 95 0 2 0 100%
tests/unit/test__job_helpers.py 104 0 4 0 100%
tests/unit/test__pandas_helpers.py 644 0 50 0 100%
tests/unit/test__pyarrow_helpers.py 12 0 0 0 100%
tests/unit/test__versions_helpers.py 32 0 0 0 100%
tests/unit/test_client.py 3838 0 108 0 100%
tests/unit/test_create_dataset.py 149 0 0 0 100%
tests/unit/test_dataset.py 753 0 22 0 100%
tests/unit/test_dbapi__helpers.py 231 0 16 0 100%
tests/unit/test_dbapi_connection.py 142 0 6 0 100%
tests/unit/test_dbapi_cursor.py 442 0 18 0 100%
tests/unit/test_dbapi_types.py 26 0 0 0 100%
tests/unit/test_delete_dataset.py 36 0 0 0 100%
tests/unit/test_encryption_configuration.py 75 0 0 0 100%
tests/unit/test_external_config.py 450 0 0 0 100%
tests/unit/test_format_options.py 35 0 0 0 100%
tests/unit/test_job_retry.py 110 0 18 0 100%
tests/unit/test_legacy_types.py 9 0 0 0 100%
tests/unit/test_list_datasets.py 47 0 2 0 100%
tests/unit/test_list_jobs.py 100 0 6 0 100%
tests/unit/test_list_models.py 39 0 2 0 100%
tests/unit/test_list_projects.py 47 0 2 0 100%
tests/unit/test_list_routines.py 39 0 2 0 100%
tests/unit/test_list_tables.py 76 0 4 0 100%
tests/unit/test_magics.py 1069 0 14 0 100%
tests/unit/test_opentelemetry_tracing.py 131 0 4 0 100%
tests/unit/test_query.py 831 0 4 0 100%
tests/unit/test_retry.py 76 0 0 0 100%
tests/unit/test_schema.py 436 0 8 0 100%
tests/unit/test_signature_compatibility.py 27 0 0 0 100%
tests/unit/test_standard_sql_types.py 260 0 0 0 100%
tests/unit/test_table.py 2719 0 134 0 100%
tests/unit/test_table_pandas.py 78 0 0 0 100%
--------------------------------------------------------------------------------------------------------
TOTAL 26749 9 2741 0 99%
Coverage failure: total of 99 is less than fail-under=100
nox > Command coverage report --show-missing --fail-under=100 failed with exit code 2
nox > Session cover failed.
nox > Running session lint
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/lint
nox > python -m pip install flake8 black==23.7.0
nox > python -m pip install -e .
nox > flake8 google/cloud/bigquery
nox > flake8 tests
nox > flake8 docs/samples
nox > flake8 docs/snippets.py
nox > black --check docs google samples samples/tests tests noxfile.py setup.py
All done! ✨ 🍰 ✨
603 files would be left unchanged.
nox > Session lint was successful.
nox > Running session lint_setup_py
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/lint_setup_py
nox > python -m pip install docutils Pygments
nox > python setup.py check --restructuredtext --strict
/tmpfs/src/github/python-bigquery/.nox/lint_setup_py/lib/python3.8/site-packages/setuptools/dist.py:955: SetuptoolsDeprecationWarning: The namespace_packages parameter is deprecated.
!!

********************************************************************************
Please replace its usage with implicit namespaces (PEP 420).

See https://setuptools.pypa.io/en/latest/references/keywords.html#keyword-namespace-packages for details.
********************************************************************************

!!
ep.load()(self, ep.name, value)
running check
nox > Session lint_setup_py was successful.
nox > Running session blacken
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/blacken
nox > python -m pip install black==23.7.0
nox > black docs google samples samples/tests tests noxfile.py setup.py
All done! ✨ 🍰 ✨
603 files left unchanged.
nox > Session blacken was successful.
nox > Running session mypy
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/mypy
nox > python -m pip install -e '.[all]'
nox > python -m pip install mypy==0.910
nox > python -m pip install types-protobuf types-python-dateutil types-requests types-setuptools
nox > mypy google/cloud
Success: no issues found in 53 source files
nox > Session mypy was successful.
nox > Running session mypy_samples
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/mypy_samples
nox > python -m pip install -e '.[all]'
nox > python -m pip install pytest
nox > python -m pip install -r /tmpfs/src/github/python-bigquery/samples/magics/requirements.txt
nox > python -m pip install -r /tmpfs/src/github/python-bigquery/samples/snippets/requirements.txt
nox > python -m pip install -r /tmpfs/src/github/python-bigquery/samples/geography/requirements.txt
nox > python -m pip install mypy==0.910
nox > python -m pip install types-mock types-pytz types-protobuf types-python-dateutil types-requests types-setuptools
nox > python -m pip install typing-extensions
nox > mypy --config-file /tmpfs/src/github/python-bigquery/samples/mypy.ini --no-incremental samples/
Success: no issues found in 232 source files
nox > Session mypy_samples was successful.
nox > Running session pytype
nox > Creating virtual environment (virtualenv) using python3.8 in .nox/pytype
nox > python -m pip install attrs==20.3.0
nox > python -m pip install -e '.[all]'
nox > python -m pip install pytype==2021.4.9
nox > pytype
Computing dependencies
Analyzing 46 sources with 0 local dependencies
ninja: Entering directory `.pytype'
[1/70] check google.cloud.bigquery.enums
[2/70] check google.cloud.bigquery.magics.line_arg_parser.visitors
[3/70] check google.cloud.bigquery.magics.line_arg_parser.lexer
[4/70] check google.cloud.bigquery.magics.line_arg_parser.exceptions
[5/70] check google.cloud.bigquery.exceptions
[6/70] check google.cloud.bigquery.standard_sql
[7/70] infer google.cloud.bigquery.magics.line_arg_parser.__init__
[8/70] infer google.cloud.bigquery.magics.line_arg_parser.parser
[9/70] check google.cloud.bigquery.magics.line_arg_parser.__init__
[10/70] check google.cloud.bigquery.magics.line_arg_parser.parser
[11/70] check google.cloud.bigquery.dbapi.exceptions
[12/70] check google.cloud.bigquery._pyarrow_helpers
[13/70] check google.cloud.bigquery.version
[14/70] check google.cloud.bigquery.opentelemetry_tracing
[15/70] check google.cloud.bigquery._versions_helpers
[16/70] check google.cloud.bigquery.format_options
[17/70] check google.cloud.bigquery.schema
[18/70] check google.cloud.bigquery.retry
[19/70] check google.cloud.bigquery.encryption_configuration
[20/70] infer google.cloud.bigquery.__init__
[21/70] infer google.cloud.bigquery._helpers
[22/70] infer google.cloud.bigquery._http
[23/70] infer google.cloud.bigquery._job_helpers
[24/70] infer google.cloud.bigquery._pandas_helpers
[25/70] infer google.cloud.bigquery._tqdm_helpers
[26/70] infer google.cloud.bigquery.client
[27/70] infer google.cloud.bigquery.dataset
[28/70] infer google.cloud.bigquery.dbapi._helpers
[29/70] infer google.cloud.bigquery.external_config
[30/70] infer google.cloud.bigquery.job.__init__
[31/70] infer google.cloud.bigquery.job.base
[32/70] infer google.cloud.bigquery.job.copy_
[33/70] infer google.cloud.bigquery.job.extract
[34/70] infer google.cloud.bigquery.job.load
[35/70] infer google.cloud.bigquery.job.query
[36/70] infer google.cloud.bigquery.magics.magics
[37/70] infer google.cloud.bigquery.model
[38/70] infer google.cloud.bigquery.query
[39/70] infer google.cloud.bigquery.routine.__init__
[40/70] infer google.cloud.bigquery.routine.routine
[41/70] infer google.cloud.bigquery.table
[42/70] check google.cloud.bigquery.__init__
[43/70] check google.cloud.bigquery._helpers
[44/70] check google.cloud.bigquery._http
[45/70] check google.cloud.bigquery._job_helpers
[46/70] check google.cloud.bigquery._pandas_helpers
[47/70] check google.cloud.bigquery._tqdm_helpers
[48/70] check google.cloud.bigquery.client
[49/70] check google.cloud.bigquery.dataset
[50/70] check google.cloud.bigquery.dbapi._helpers
[51/70] check google.cloud.bigquery.external_config
[52/70] check google.cloud.bigquery.job.__init__
[53/70] check google.cloud.bigquery.job.base
[54/70] check google.cloud.bigquery.job.copy_
[55/70] check google.cloud.bigquery.job.extract
[56/70] check google.cloud.bigquery.job.load
[57/70] check google.cloud.bigquery.job.query
[58/70] check google.cloud.bigquery.magics.magics
[59/70] check google.cloud.bigquery.model
[60/70] check google.cloud.bigquery.query
[61/70] check google.cloud.bigquery.routine.__init__
[62/70] check google.cloud.bigquery.routine.routine
[63/70] check google.cloud.bigquery.table
[64/70] check google.cloud.bigquery.dbapi.cursor
[65/70] check google.cloud.bigquery.dbapi.types
[66/70] check google.cloud.bigquery.dbapi.connection
[67/70] check google.cloud.bigquery.magics.__init__
[68/70] check google.cloud.bigquery.iam
[69/70] check google.cloud.bigquery.dbapi.__init__
[70/70] check google.cloud.__init__
Leaving directory '.pytype'
Success: no errors found
nox > Session pytype was successful.
nox > Running session docs
nox > Creating virtual environment (virtualenv) using python3.9 in .nox/docs
nox > python -m pip install recommonmark sphinx==4.0.2 sphinx_rtd_theme
nox > python -m pip install google-cloud-storage
nox > python -m pip install -e '.[all]'
nox > sphinx-build -W -T -N -b html -d docs/_build/doctrees/ docs/ docs/_build/html/
Running Sphinx v4.0.2
making output directory... done
[autosummary] generating autosummary for: README.rst, UPGRADING.md, bigquery/legacy_proto_types.rst, bigquery/standard_sql.rst, changelog.md, dbapi.rst, design/index.rst, design/query-retries.md, enums.rst, format_options.rst, ..., query.rst, reference.rst, usage/client.rst, usage/datasets.rst, usage/encryption.rst, usage/index.rst, usage/jobs.rst, usage/pandas.rst, usage/queries.rst, usage/tables.rst
[autosummary] generating autosummary for: /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.client.Client.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.dataset.AccessEntry.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.dataset.Dataset.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.dataset.DatasetListItem.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.dataset.DatasetReference.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.encryption_configuration.EncryptionConfiguration.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.external_config.BigtableColumn.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.external_config.BigtableColumnFamily.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.external_config.BigtableOptions.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.external_config.CSVOptions.rst, ..., /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.PartitionRange.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.RangePartitioning.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.Row.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.RowIterator.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.SnapshotDefinition.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.Table.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.TableListItem.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.TableReference.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.TimePartitioning.rst, /tmpfs/src/github/python-bigquery/docs/generated/google.cloud.bigquery.table.TimePartitioningType.rst
loading intersphinx inventory from https://python.readthedocs.org/en/latest/objects.inv...
loading intersphinx inventory from https://googleapis.dev/python/google-auth/latest/objects.inv...
loading intersphinx inventory from https://googleapis.dev/python/google-api-core/latest/objects.inv...
loading intersphinx inventory from https://grpc.github.io/grpc/python/objects.inv...
loading intersphinx inventory from https://proto-plus-python.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://googleapis.dev/python/protobuf/latest/objects.inv...
loading intersphinx inventory from https://dateutil.readthedocs.io/en/latest/objects.inv...
loading intersphinx inventory from https://geopandas.org/objects.inv...
loading intersphinx inventory from https://pandas.pydata.org/pandas-docs/stable/objects.inv...
intersphinx inventory has moved: https://geopandas.org/objects.inv -> https://geopandas.org/en/stable/objects.inv
intersphinx inventory has moved: https://python.readthedocs.org/en/latest/objects.inv -> https://python.readthedocs.io/en/latest/objects.inv
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 23 source files that are out of date
updating environment: [new config] 78 added, 0 changed, 0 removed
reading sources... [ 1%] README
reading sources... [ 2%] UPGRADING
/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 3%] bigquery/legacy_proto_types
reading sources... [ 5%] bigquery/standard_sql
reading sources... [ 6%] changelog
/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 7%] dbapi
reading sources... [ 8%] design/index
reading sources... [ 10%] design/query-retries
/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/recommonmark/parser.py:75: UserWarning: Container node skipped: type=document
warn("Container node skipped: type={0}".format(mdnode.t))
reading sources... [ 11%] enums
reading sources... [ 12%] format_options
reading sources... [ 14%] generated/google.cloud.bigquery.client.Client
reading sources... [ 15%] generated/google.cloud.bigquery.dataset.AccessEntry
reading sources... [ 16%] generated/google.cloud.bigquery.dataset.Dataset
reading sources... [ 17%] generated/google.cloud.bigquery.dataset.DatasetListItem
reading sources... [ 19%] generated/google.cloud.bigquery.dataset.DatasetReference
reading sources... [ 20%] generated/google.cloud.bigquery.encryption_configuration.EncryptionConfiguration
reading sources... [ 21%] generated/google.cloud.bigquery.external_config.BigtableColumn
reading sources... [ 23%] generated/google.cloud.bigquery.external_config.BigtableColumnFamily
reading sources... [ 24%] generated/google.cloud.bigquery.external_config.BigtableOptions
reading sources... [ 25%] generated/google.cloud.bigquery.external_config.CSVOptions
reading sources... [ 26%] generated/google.cloud.bigquery.external_config.ExternalConfig
reading sources... [ 28%] generated/google.cloud.bigquery.external_config.ExternalSourceFormat
reading sources... [ 29%] generated/google.cloud.bigquery.external_config.GoogleSheetsOptions
reading sources... [ 30%] generated/google.cloud.bigquery.job.Compression
reading sources... [ 32%] generated/google.cloud.bigquery.job.CopyJob
reading sources... [ 33%] generated/google.cloud.bigquery.job.CopyJobConfig
reading sources... [ 34%] generated/google.cloud.bigquery.job.CreateDisposition
reading sources... [ 35%] generated/google.cloud.bigquery.job.DestinationFormat
reading sources... [ 37%] generated/google.cloud.bigquery.job.DmlStats
reading sources... [ 38%] generated/google.cloud.bigquery.job.Encoding
reading sources... [ 39%] generated/google.cloud.bigquery.job.ExtractJob
reading sources... [ 41%] generated/google.cloud.bigquery.job.ExtractJobConfig
reading sources... [ 42%] generated/google.cloud.bigquery.job.LoadJob
reading sources... [ 43%] generated/google.cloud.bigquery.job.LoadJobConfig
reading sources... [ 44%] generated/google.cloud.bigquery.job.OperationType
reading sources... [ 46%] generated/google.cloud.bigquery.job.QueryJob
reading sources... [ 47%] generated/google.cloud.bigquery.job.QueryJobConfig
reading sources... [ 48%] generated/google.cloud.bigquery.job.QueryPlanEntry
reading sources... [ 50%] generated/google.cloud.bigquery.job.QueryPlanEntryStep
reading sources... [ 51%] generated/google.cloud.bigquery.job.QueryPriority
reading sources... [ 52%] generated/google.cloud.bigquery.job.ReservationUsage
reading sources... [ 53%] generated/google.cloud.bigquery.job.SchemaUpdateOption
reading sources... [ 55%] generated/google.cloud.bigquery.job.SourceFormat
reading sources... [ 56%] generated/google.cloud.bigquery.job.WriteDisposition
reading sources... [ 57%] generated/google.cloud.bigquery.model.Model
reading sources... [ 58%] generated/google.cloud.bigquery.model.ModelReference
reading sources... [ 60%] generated/google.cloud.bigquery.retry.DEFAULT_RETRY
reading sources... [ 61%] generated/google.cloud.bigquery.routine.DeterminismLevel
reading sources... [ 62%] generated/google.cloud.bigquery.routine.Routine
reading sources... [ 64%] generated/google.cloud.bigquery.routine.RoutineArgument
reading sources... [ 65%] generated/google.cloud.bigquery.routine.RoutineReference
reading sources... [ 66%] generated/google.cloud.bigquery.routine.RoutineType
reading sources... [ 67%] generated/google.cloud.bigquery.schema.PolicyTagList
reading sources... [ 69%] generated/google.cloud.bigquery.schema.SchemaField
reading sources... [ 70%] generated/google.cloud.bigquery.table.CloneDefinition
reading sources... [ 71%] generated/google.cloud.bigquery.table.PartitionRange
reading sources... [ 73%] generated/google.cloud.bigquery.table.RangePartitioning
reading sources... [ 74%] generated/google.cloud.bigquery.table.Row
reading sources... [ 75%] generated/google.cloud.bigquery.table.RowIterator
reading sources... [ 76%] generated/google.cloud.bigquery.table.SnapshotDefinition
reading sources... [ 78%] generated/google.cloud.bigquery.table.Table
reading sources... [ 79%] generated/google.cloud.bigquery.table.TableListItem
reading sources... [ 80%] generated/google.cloud.bigquery.table.TableReference
reading sources... [ 82%] generated/google.cloud.bigquery.table.TimePartitioning
reading sources... [ 83%] generated/google.cloud.bigquery.table.TimePartitioningType
reading sources... [ 84%] index
reading sources... [ 85%] job_base
reading sources... [ 87%] magics
reading sources... [ 88%] query
reading sources... [ 89%] reference
reading sources... [ 91%] usage/client
reading sources... [ 92%] usage/datasets
reading sources... [ 93%] usage/encryption
reading sources... [ 94%] usage/index
reading sources... [ 96%] usage/jobs
reading sources... [ 97%] usage/pandas
reading sources... [ 98%] usage/queries
reading sources... [100%] usage/tables


Traceback (most recent call last):
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/cmd/build.py", line 280, in build_main
app.build(args.force_all, filenames)
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/application.py", line 350, in build
self.builder.build_update()
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 292, in build_update
self.build(to_build,
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/builders/__init__.py", line 306, in build
updated_docnames = set(self.read())
File "/usr/local/lib/python3.9/contextlib.py", line 126, in __exit__
next(self.gen)
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/util/logging.py", line 213, in pending_warnings
memhandler.flushTo(logger)
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/util/logging.py", line 178, in flushTo
logger.handle(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1599, in handle
self.callHandlers(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 1661, in callHandlers
hdlr.handle(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 948, in handle
rv = self.filter(record)
File "/usr/local/lib/python3.9/logging/__init__.py", line 806, in filter
result = f.filter(record)
File "/tmpfs/src/github/python-bigquery/.nox/docs/lib/python3.9/site-packages/sphinx/util/logging.py", line 423, in filter
raise exc
sphinx.errors.SphinxWarning: /tmpfs/src/github/python-bigquery/google/cloud/bigquery/dataset.py:docstring of google.cloud.bigquery.dataset.Dataset.default_rounding_mode:4:Unexpected indentation.

Warning, treated as error:
/tmpfs/src/github/python-bigquery/google/cloud/bigquery/dataset.py:docstring of google.cloud.bigquery.dataset.Dataset.default_rounding_mode:4:Unexpected indentation.
nox > Command sphinx-build -W -T -N -b html -d docs/_build/doctrees/ docs/ docs/_build/html/ failed with exit code 2
nox > Session docs failed.
nox > Ran multiple sessions:
nox > * unit_noextras-3.7: success
nox > * unit_noextras-3.11: success
nox > * unit-3.7: success
nox > * unit-3.8: success
nox > * unit-3.9: success
nox > * unit-3.10: success
nox > * unit-3.11: success
nox > * system-3.8: skipped
nox > * system-3.11: skipped
nox > * snippets-3.8: skipped
nox > * snippets-3.11: skipped
nox > * cover: failed
nox > * lint: success
nox > * lint_setup_py: success
nox > * blacken: success
nox > * mypy: success
nox > * mypy_samples: success
nox > * pytype: success
nox > * docs: failed
cleanup


[ID: 2654535] Command finished after 1440 secs, exit value: 1


Warning: Permanently added 'localhost' (ED25519) to the list of known hosts.
[12:16:55] Collecting build artifacts from build VM
Build script failed with exit code: 1