Skip to content

Commit e62f20c

Browse files
chore: update whenever requirement (#87)
Updates the requirements on [whenever](https://github.com/ariebovenberg/whenever) to permit the latest version. Updates `whenever` to 0.9.3 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: David Li <li.davidm96@gmail.com>
1 parent 7449317 commit e62f20c

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

adbc_drivers_validation/compare.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,7 @@ def scalar_to_py_smart(value: pyarrow.Scalar) -> typing.Any:
132132
instant = whenever.Instant.from_timestamp_nanos(nanos)
133133
if value.type.tz is None or value.type.tz == "":
134134
# A bit sketch
135-
naive = whenever.PlainDateTime.parse_common_iso(
136-
instant.format_common_iso()[:-1]
137-
)
135+
naive = whenever.PlainDateTime.parse_iso(instant.format_iso()[:-1])
138136
return str(naive)
139137
elif value.type.tz == "UTC":
140138
return str(instant)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ dependencies = [
2424
"jinja2>=3.1.6,<4",
2525
"pyarrow>=21.0.0,<22",
2626
"pytest>=8.4.1,<9",
27-
"whenever>=0.8.8,<0.9",
27+
"whenever>=0.9.3,<0.10",
2828
]
2929

3030
[build-system]

pytest.ini

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@ junit_suite_name = validation
1717
junit_duration_report = call
1818
xfail_strict = true
1919

20+
filterwarnings =
21+
error
22+
2023
markers =
2124
feature: test for a driver-specific feature

0 commit comments

Comments
 (0)