Skip to content

Commit e64214d

Browse files
committed
build(deps): bump dev tooling (ty, ruff, pre-commit, tox, vcrpy, moto)
Bump development and test tooling to current releases: - ty 0.0.40 -> 0.0.55 - ruff 0.15.15 -> 0.15.20 - pre-commit 4.0.1 -> 4.6.0 - tox 4.32.0 -> 4.56.1, tox-uv 1.29.0 -> 1.35.2 - vcrpy 8.0.0 -> 8.2.1 (root + sdk/pandas/fdw test groups) - moto 5.1.22 -> 5.2.2 (re-lock within existing >=5.1.6 spec) ty 0.0.55's improved inference flags the cast in MetricValueFilter.description as redundant, so drop it (and the now-unused typing.cast import). All other runtime deps left capped as-is; urllib3 stays pinned to the OpenAPI generator. Validated: make lint, format, type-check green; sdk/pandas/fdw/pipelines tests pass. jira: trivial risk: low
1 parent 726a0b0 commit e64214d

6 files changed

Lines changed: 103 additions & 135 deletions

File tree

packages/gooddata-fdw/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ test = [
5252
"pytest~=8.3.4",
5353
"pytest-cov~=6.0.0",
5454
"pytest-json-report==1.5.0",
55-
"vcrpy~=8.0.0",
55+
"vcrpy~=8.2.1",
5656
# TODO - Bump the version together with bumping the version of openapi generator
5757
"urllib3~=2.6.0",
5858
"pyyaml",

packages/gooddata-pandas/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ test = [
6060
"pytest-json-report==1.5.0",
6161
"pytest-snapshot==0.9.0",
6262
"pytest-order~=1.3.0",
63-
"vcrpy~=8.0.0",
63+
"vcrpy~=8.2.1",
6464
"urllib3~=2.6.0",
6565
"python-dotenv~=1.0.0",
6666
"pyyaml",

packages/gooddata-sdk/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ test = [
6767
"pytest-json-report==1.5.0",
6868
"pytest-snapshot==0.9.0",
6969
"pytest-order~=1.3.0",
70-
"vcrpy~=8.0.0",
70+
"vcrpy~=8.2.1",
7171
"urllib3~=2.6.0",
7272
"python-dotenv~=1.0.0",
7373
"deepdiff~=8.5.0",

packages/gooddata-sdk/src/gooddata_sdk/compute/model/filter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
from datetime import datetime
55
from importlib.util import find_spec
6-
from typing import Any, Literal, TypeAlias, Union, cast
6+
from typing import Any, Literal, TypeAlias, Union
77

88
from attrs import define
99
from gooddata_api_client.model.inline_filter_definition_inline import InlineFilterDefinitionInline
@@ -670,7 +670,7 @@ def description(self, labels: dict[str, str], format_locale: str | None = None)
670670
metric_id = self.metric.id if isinstance(self.metric, ObjId) else self.metric
671671
if self.operator in ["BETWEEN", "NOT_BETWEEN"] and len(self.values) == 2:
672672
not_between = "not " if self.operator == "NOT_BETWEEN" else ""
673-
values = cast(tuple[float, float], self.values)
673+
values = self.values
674674
return f"{labels.get(metric_id, metric_id)}: {not_between}between {values[0]} - {values[1]}"
675675
else:
676676
return (

pyproject.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,14 @@ members = ["packages/*"]
3838

3939
[dependency-groups]
4040
dev = [
41-
"pre-commit~=4.0.1",
41+
"pre-commit~=4.6.0",
4242
"gitlint~=0.19.1",
4343
]
4444
lint = [
45-
"ruff~=0.15.15",
45+
"ruff~=0.15.20",
4646
]
4747
type = [
48-
"ty~=0.0.40",
48+
"ty~=0.0.55",
4949
]
5050
test = [
5151
# Common test dependencies used across all workspace packages
@@ -59,7 +59,7 @@ test = [
5959
# Additional test dependencies used by multiple packages
6060
"pytest-snapshot==0.9.0",
6161
"pytest-order~=1.3.0",
62-
"vcrpy~=8.0.0",
62+
"vcrpy~=8.2.1",
6363
"urllib3~=2.6.0",
6464
"python-dotenv~=1.0.0",
6565
"deepdiff~=8.5.0",
@@ -74,8 +74,8 @@ release = [
7474
"tomlkit>=0.11"
7575
]
7676
tox = [
77-
"tox~=4.32.0",
78-
"tox-uv~=1.29.0"
77+
"tox~=4.56.1",
78+
"tox-uv~=1.35.2"
7979
]
8080

8181
[tool.ruff]

0 commit comments

Comments
 (0)