Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit b37e1b2

Browse files
committed
Merge remote-tracking branch 'github/main' into garrettwu-blog
2 parents bc17036 + bf68d0c commit b37e1b2

File tree

136 files changed

+3069
-4458
lines changed

Some content is hidden

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

136 files changed

+3069
-4458
lines changed

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
- name: Setup Python
1616
uses: actions/setup-python@v5
1717
with:
18-
python-version: "3.10"
18+
python-version: "3.14"
1919
- name: Install nox
2020
run: |
2121
python -m pip install --upgrade setuptools pip wheel

.github/workflows/unittest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-22.04
1515
strategy:
1616
matrix:
17-
python: ['3.10', '3.11', '3.12', '3.13']
17+
python: ['3.10', '3.11', '3.12', '3.13', '3.14']
1818
steps:
1919
- name: Checkout
2020
uses: actions/checkout@v4
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup Python
4949
uses: actions/setup-python@v5
5050
with:
51-
python-version: "3.10"
51+
python-version: "3.14"
5252
- name: Install coverage
5353
run: |
5454
python -m pip install --upgrade setuptools pip wheel

.kokoro/release-nightly.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ for gcs_path in gs://vertex_sdk_private_releases/bigframe/ \
9393
gs://dl-platform-colab/bigframes/ \
9494
gs://bigframes-wheels/;
9595
do
96-
gsutil cp -v dist/* ${gcs_path}
97-
gsutil cp -v LICENSE ${gcs_path}
98-
gsutil -m cp -r -v "notebooks/" ${gcs_path}notebooks/
96+
gcloud storage cp --print-created-message dist/* ${gcs_path}
97+
gcloud storage cp --print-created-message LICENSE ${gcs_path}
98+
gcloud storage cp --recursive --print-created-message "notebooks/" ${gcs_path}notebooks/
9999

100100
done
101101

.kokoro/trampoline_v2.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
# To run this script, first download few files from gcs to /dev/shm.
2727
# (/dev/shm is passed into the container as KOKORO_GFILE_DIR).
2828
#
29-
# gsutil cp gs://cloud-devrel-kokoro-resources/python-docs-samples/secrets_viewer_service_account.json /dev/shm
30-
# gsutil cp gs://cloud-devrel-kokoro-resources/python-docs-samples/automl_secrets.txt /dev/shm
29+
# gcloud storage cp gs://cloud-devrel-kokoro-resources/python-docs-samples/secrets_viewer_service_account.json /dev/shm
30+
# gcloud storage cp gs://cloud-devrel-kokoro-resources/python-docs-samples/automl_secrets.txt /dev/shm
3131
#
3232
# Then run the script.
3333
# .kokoro/trampoline_v2.sh

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ repos:
3232
- id: isort
3333
name: isort (python)
3434
- repo: https://github.com/psf/black
35-
rev: 22.3.0
35+
rev: 23.7.0
3636
hooks:
3737
- id: black
3838
- repo: https://github.com/pycqa/flake8

CONTRIBUTING.rst

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

2424
- The feature must work fully on the following CPython versions:
25-
3.10, 3.11, 3.12 and 3.13 on both UNIX and Windows.
25+
3.10, 3.11, 3.12, 3.13 and 3.14 on both UNIX and Windows.
2626

2727
- The feature must not add unnecessary dependencies (where
2828
"unnecessary" is of course subjective, but new dependencies should
@@ -72,7 +72,7 @@ We use `nox <https://nox.readthedocs.io/en/latest/>`__ to instrument our tests.
7272

7373
- To run a single unit test::
7474

75-
$ nox -s unit-3.13 -- -k <name of test>
75+
$ nox -s unit-3.14 -- -k <name of test>
7676

7777

7878
.. note::
@@ -143,12 +143,12 @@ Running System Tests
143143
$ nox -s system
144144

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

148148

149149
.. note::
150150

151-
System tests are only configured to run under Python 3.10, 3.11, 3.12 and 3.13.
151+
System tests are only configured to run under Python 3.10, 3.12 and 3.14.
152152
For expediency, we do not run them in older versions of Python 3.
153153

154154
This alone will not run the tests. You'll need to change some local
@@ -262,11 +262,13 @@ We support:
262262
- `Python 3.11`_
263263
- `Python 3.12`_
264264
- `Python 3.13`_
265+
- `Python 3.14`_
265266

266267
.. _Python 3.10: https://docs.python.org/3.10/
267268
.. _Python 3.11: https://docs.python.org/3.11/
268269
.. _Python 3.12: https://docs.python.org/3.12/
269270
.. _Python 3.13: https://docs.python.org/3.13/
271+
.. _Python 3.14: https://docs.python.org/3.14/
270272

271273

272274
Supported versions can be found in our ``noxfile.py`` `config`_.

GEMINI.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ We use `nox` to instrument our tests.
1313
- To run a single unit test:
1414

1515
```bash
16-
nox -r -s unit-3.13 -- -k <name of test>
16+
nox -r -s unit-3.14 -- -k <name of test>
1717
```
1818

1919
- Ignore this step if you lack access to Google Cloud resources. To run system
@@ -23,7 +23,7 @@ We use `nox` to instrument our tests.
2323
$ nox -r -s system
2424

2525
# Run a single system test
26-
$ nox -r -s system-3.13 -- -k <name of test>
26+
$ nox -r -s system-3.14 -- -k <name of test>
2727

2828
- The codebase must have better coverage than it had previously after each
2929
change. You can test coverage via `nox -s unit system cover` (takes a long

README.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
:orphan:
2-
31
BigQuery DataFrames (BigFrames)
42
===============================
53

4+
65
|GA| |pypi| |versions|
76

87
BigQuery DataFrames (also known as BigFrames) provides a Pythonic DataFrame

bigframes/_config/auth.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
_cached_project_default: Optional[str] = None
3131

3232

33-
def get_default_credentials_with_project() -> tuple[
34-
google.auth.credentials.Credentials, Optional[str]
35-
]:
33+
def get_default_credentials_with_project() -> (
34+
tuple[google.auth.credentials.Credentials, Optional[str]]
35+
):
3636
global _AUTH_LOCK, _cached_credentials, _cached_project_default
3737

3838
with _AUTH_LOCK:

bigframes/_config/experiment_options.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,13 @@ def ai_operators(self, value: bool):
7272

7373
@property
7474
def sql_compiler(self) -> Literal["legacy", "stable", "experimental"]:
75+
"""Set to 'experimental' to try out the latest in compilation experiments..
76+
77+
**Examples:**
78+
79+
>>> import bigframes.pandas as bpd
80+
>>> bpd.options.experiments.sql_compiler = 'experimental' # doctest: +SKIP
81+
"""
7582
return self._sql_compiler
7683

7784
@sql_compiler.setter

0 commit comments

Comments
 (0)