Skip to content

Commit 9d34f82

Browse files
chore(deps): lock file maintenance (ibis-project#8056)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Phillip Cloud <[email protected]>
1 parent 36da06b commit 9d34f82

13 files changed

+1173
-1184
lines changed

.conventionalcommits.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ const releaseConfig = require("./.releaserc.js");
55
function extractConventionalCommitsConfig(config) {
66
return config.plugins
77
.filter(
8-
([plugin, _]) => plugin == "@semantic-release/release-notes-generator",
8+
([plugin, _]) => plugin == "@semantic-release/release-notes-generator"
99
)
1010
.map(([_, config]) => config)[0].presetConfig.types;
1111
}
@@ -14,7 +14,7 @@ module.exports = {
1414
options: {
1515
preset: {
1616
name: "conventionalcommits",
17-
types: extractConventionalCommitsConfig(releaseConfig),
18-
},
19-
},
17+
types: extractConventionalCommitsConfig(releaseConfig)
18+
}
19+
}
2020
};

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ docs/overrides/*.html
1212
docs/release_notes.md
1313
docs/_freeze
1414
docs/_publish.yml
15+
docs/_extensions
1516
docs/.quarto
1617
docs/_output
1718
ibis

.prettierrc.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ semi = true
33
singleQuote = false
44
arrowParens = "avoid"
55
useTabs = false
6-
trailingComma = "all"
6+
trailingComma = "none"

.releaserc.js

+22-22
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ module.exports = {
1010
{
1111
// deprecations are patch releases
1212
releaseRules: [{ type: "depr", release: "patch" }],
13-
preset: "conventionalcommits",
14-
},
13+
preset: "conventionalcommits"
14+
}
1515
],
1616
[
1717
"@semantic-release/release-notes-generator",
@@ -27,17 +27,17 @@ module.exports = {
2727
{ type: "refactor", section: "Refactors" },
2828
{ type: "perf", section: "Performance" },
2929
{ type: "test", hidden: true },
30-
{ type: "depr", section: "Deprecations" },
31-
],
32-
},
33-
},
30+
{ type: "depr", section: "Deprecations" }
31+
]
32+
}
33+
}
3434
],
3535
[
3636
"@semantic-release/changelog",
3737
{
3838
changelogTitle: "Release notes\n---",
39-
changelogFile: "docs/release_notes.md",
40-
},
39+
changelogFile: "docs/release_notes.md"
40+
}
4141
],
4242
[
4343
"semantic-release-replace-plugin",
@@ -52,13 +52,13 @@ module.exports = {
5252
file: "ibis/__init__.py",
5353
hasChanged: true,
5454
numMatches: 1,
55-
numReplacements: 1,
56-
},
55+
numReplacements: 1
56+
}
5757
],
58-
countMatches: true,
59-
},
60-
],
61-
},
58+
countMatches: true
59+
}
60+
]
61+
}
6262
],
6363
[
6464
"@semantic-release/exec",
@@ -67,22 +67,22 @@ module.exports = {
6767
"ci/release/verify_conditions.sh ${options.dryRun}",
6868
verifyReleaseCmd: "ci/release/verify_release.sh ${nextRelease.version}",
6969
prepareCmd: "ci/release/prepare.sh ${nextRelease.version}",
70-
publishCmd: "ci/release/publish.sh",
71-
},
70+
publishCmd: "ci/release/publish.sh"
71+
}
7272
],
7373
[
7474
"@semantic-release/github",
7575
{
7676
successComment: false,
77-
assets: ["dist/*.whl"],
78-
},
77+
assets: ["dist/*.whl"]
78+
}
7979
],
8080
[
8181
"@semantic-release/git",
8282
{
8383
assets: ["pyproject.toml", "docs/release_notes.md", "ibis/__init__.py"],
84-
message: "chore(release): ${nextRelease.version}",
85-
},
86-
],
87-
],
84+
message: "chore(release): ${nextRelease.version}"
85+
}
86+
]
87+
]
8888
};

docs/styles.css

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
section#parameters {
2-
/* scroll when child contents overflow the width */
3-
overflow-x: auto;
2+
/* scroll when child contents overflow the width */
3+
overflow-x: auto;
44
}
55

66
section[id^="parameters-"] {
7-
/* scroll when child contents overflow the width */
8-
overflow-x: auto;
7+
/* scroll when child contents overflow the width */
8+
overflow-x: auto;
99
}
1010

1111
.bi-zulip::before {
1212
display: inline-block;
1313
content: url("./zulip.svg");
14-
vertical-align: -.125em;
14+
vertical-align: -0.125em;
1515
width: 1em;
1616
}

docs/theme-dark.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ $code-color: #c2d94c;
33
$code-bg: #2b2b2b;
44

55
thead.tableFloatingHeaderOriginal {
6-
background-color: rgb(47, 47, 47);
6+
background-color: rgb(47, 47, 47);
77
}

docs/theme-light.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
/*-- scss:rules --*/
22
.quarto-title-banner .quarto-title .title {
3-
color: #ccd1d5;
3+
color: #ccd1d5;
44
}
55

66
thead.tableFloatingHeaderOriginal {
7-
background-color: #ffffff;
7+
background-color: #ffffff;
88
}

flake.lock

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ibis/backends/pandas/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def to_pyarrow(
301301
# cudf.pandas adds a column with the name `__index_level_0__` (and maybe
302302
# other index level columns) but these aren't part of the known schema
303303
# so we drop them
304-
output = output.drop_columns(
304+
output = output.drop(
305305
filter(lambda col: col.startswith("__index_level_"), output.column_names)
306306
)
307307
table = PyArrowData.convert_table(output, table_expr.schema())

ibis/backends/polars/compiler.py

+5-2
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,10 @@ def count_star(op, **kw):
744744
condition = translate(where, **kw)
745745
result = condition.sum()
746746
else:
747-
result = pl.count()
747+
try:
748+
result = pl.len()
749+
except AttributeError:
750+
result = pl.count()
748751
return result.cast(dtype_to_polars(op.dtype))
749752

750753

@@ -845,7 +848,7 @@ def timestamp_from_unix(op, **kw):
845848
if unit == "s":
846849
arg = arg.cast(pl.Int64) * 1_000
847850
unit = "ms"
848-
return arg.cast(pl.Datetime).dt.with_time_unit(unit)
851+
return arg.cast(pl.Datetime(time_unit=unit))
849852

850853

851854
@translate.register(ops.IntervalFromInteger)

ibis/tests/expr/conftest.py

-22
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
import pytest
1717

1818
import ibis
19-
import ibis.common.exceptions as com
2019
from ibis.tests.expr.mocks import MockBackend
2120

2221

@@ -80,24 +79,3 @@ def functional_alltypes(con):
8079
@pytest.fixture
8180
def lineitem(con):
8281
return con.table("tpch_lineitem")
83-
84-
85-
@pytest.hookimpl(hookwrapper=True)
86-
def pytest_pyfunc_call(pyfuncitem):
87-
"""Dynamically add an xfail marker for specific backends."""
88-
outcome = yield
89-
try:
90-
outcome.get_result()
91-
except (
92-
com.OperationNotDefinedError,
93-
com.UnsupportedOperationError,
94-
com.UnsupportedBackendType,
95-
NotImplementedError,
96-
) as e:
97-
markers = list(pyfuncitem.iter_markers(name="xfail_unsupported"))
98-
if not markers:
99-
raise
100-
assert (
101-
len(markers) == 1
102-
), f"More than one xfail_unsupported marker found on test {pyfuncitem}"
103-
pytest.xfail(reason=repr(e))

0 commit comments

Comments
 (0)