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

Commit 7a4ef44

Browse files
authored
Merge branch 'main' into renovate/all
2 parents d88791f + 4ea2d57 commit 7a4ef44

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"setuptools",
2525
"db-dtypes >=1.0.4,<2.0.0",
2626
"numpy >=1.18.1",
27-
"pandas >=1.1.4, <3.0.0",
27+
"pandas >=1.1.4",
2828
"pyarrow >= 4.0.0",
2929
# See https://arrow.apache.org/release/22.0.0.html
3030
"pyarrow >= 22.0.0; python_version >= '3.14'",

tests/system/test_to_gbq.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ def test_series_round_trip(
155155
dtype="boolean",
156156
),
157157
"object_col": pandas.Series(
158-
[False, None, True],
158+
[False, pandas.NA, True],
159159
dtype="object",
160160
),
161161
}
@@ -365,7 +365,10 @@ def test_series_round_trip(
365365
# google-cloud-bigquery versions 1.x and 2.x, but not 3.x.
366366
# https://github.com/googleapis/python-bigquery-pandas/issues/365
367367
"datetime_col": [
368-
datetime.datetime(1, 1, 1),
368+
# CSV loader in BigQuery currently requires leading 0s
369+
# for TIMESTAMP but not DATETIME. See internal issue
370+
# b/467399807.
371+
datetime.datetime(1000, 1, 1),
369372
datetime.datetime(1970, 1, 1),
370373
datetime.datetime(9999, 12, 31, 23, 59, 59, 999999),
371374
],

0 commit comments

Comments
 (0)