Skip to content

Commit 2a76982

Browse files
committed
revert tests for read_gbq fix which isn't yet resolved
1 parent 933d470 commit 2a76982

File tree

4 files changed

+25
-27
lines changed

4 files changed

+25
-27
lines changed

ci/requirements-3.7-0.24.2.conda

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ db-dtypes==0.3.1
44
fastavro
55
flake8
66
numpy==1.16.6
7-
google-cloud-bigquery==1.26.1
8-
google-cloud-bigquery-storage==1.1.0
7+
google-cloud-bigquery==1.11.1
98
pyarrow==3.0.0
109
pydata-google-auth
1110
pytest

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,7 @@
3232
"google-auth-oauthlib",
3333
# 2.4.* has a bug where waiting for the query can hang indefinitely.
3434
# https://github.com/pydata/pandas-gbq/issues/343
35-
"google-cloud-bigquery >=1.26.1,<3.0.0dev,!=2.4.*",
36-
"google-cloud-bigquery-storage >=1.1.0,<3.0.0dev",
35+
"google-cloud-bigquery[bqstorage,pandas] >=1.11.1,<3.0.0dev,!=2.4.*",
3736
]
3837
extras = {
3938
"tqdm": "tqdm>=4.23.0",

testing/constraints-3.7.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@
66
# e.g., if setup.py has "foo >= 1.14.0, < 2.0.0dev",
77
# Then this file should have foo==1.14.0
88
db-dtypes==0.3.1
9-
google-auth==1.18.0
9+
google-auth==1.4.1
1010
google-auth-oauthlib==0.0.1
11-
google-cloud-bigquery==1.26.1
11+
google-cloud-bigquery==1.11.1
1212
google-cloud-bigquery-storage==1.1.0
1313
numpy==1.16.6
1414
pandas==0.24.2

tests/system/test_to_gbq.py

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -201,29 +201,29 @@ def test_series_round_trip(
201201
datetime.date(1970, 1, 1),
202202
datetime.date(9999, 12, 31),
203203
],
204-
# DATETIME values outside of the range for pandas timestamp
205-
# require `date_as_object` parameter in
204+
# TODO: DATETIME/TIMESTAMP values outside of the range for
205+
# pandas timestamp require `date_as_object` parameter in
206206
# google-cloud-bigquery versions 1.x and 2.x.
207207
# https://github.com/googleapis/python-bigquery-pandas/issues/365
208-
"datetime_col": [
209-
datetime.datetime(1, 1, 1),
210-
datetime.datetime(1970, 1, 1),
211-
datetime.datetime(9999, 12, 31, 23, 59, 59, 999999),
212-
],
213-
"timestamp_col": [
214-
datetime.datetime(1, 1, 1, tzinfo=datetime.timezone.utc),
215-
datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc),
216-
datetime.datetime(
217-
9999,
218-
12,
219-
31,
220-
23,
221-
59,
222-
59,
223-
999999,
224-
tzinfo=datetime.timezone.utc,
225-
),
226-
],
208+
# "datetime_col": [
209+
# datetime.datetime(1, 1, 1),
210+
# datetime.datetime(1970, 1, 1),
211+
# datetime.datetime(9999, 12, 31, 23, 59, 59, 999999),
212+
# ],
213+
# "timestamp_col": [
214+
# datetime.datetime(1, 1, 1, tzinfo=datetime.timezone.utc),
215+
# datetime.datetime(1970, 1, 1, tzinfo=datetime.timezone.utc),
216+
# datetime.datetime(
217+
# 9999,
218+
# 12,
219+
# 31,
220+
# 23,
221+
# 59,
222+
# 59,
223+
# 999999,
224+
# tzinfo=datetime.timezone.utc,
225+
# ),
226+
# ],
227227
},
228228
columns=["row_num", "date_col", "datetime_col", "timestamp_col"],
229229
),

0 commit comments

Comments
 (0)