Skip to content

Commit f812eec

Browse files
authored
chore(deps): bump dev and runtime dependencies (#86)
* chore(deps): bump dev and runtime dependencies Consolidates the open dependabot lockfile bumps and pulls in additional available updates in one pass. Held back parallel-web (saved for a separate PR) and pandas (still on 2.x; 3.0 is a major release with breaking changes for our integrations). Notable bumps: - pytest 9.0.2 -> 9.0.3 - requests 2.32.5 -> 2.33.1 - cryptography 46.0.3 -> 47.0.0 - pyopenssl 25.3.0 -> 26.1.0 - pyasn1 0.6.2 -> 0.6.3 - pygments 2.19.2 -> 2.20.0 - python-dotenv 1.2.1 -> 1.2.2 - tornado 6.5.4 -> 6.5.5 - ruff 0.14.14 -> 0.15.12 - ty 0.0.21 -> 0.0.33 - rich 14.2.0 -> 15.0.0 - pydantic 2.12.5 -> 2.13.3 - duckdb 1.4.3 -> 1.5.2 - polars 1.37.1 -> 1.40.1 - snowflake-connector-python 4.2.0 -> 4.4.0 - sqlalchemy 2.0.45 -> 2.0.49 - google-cloud-bigquery 3.40.0 -> 3.41.0 Type fix in cli/commands.py for new ty 0.0.33 narrowing of json.loads-derived dict values. * chore(deps): tighten pyproject.toml floors to tested versions Bumps the lower bounds on direct deps so the manifest reflects what we actually test against, instead of being a much looser floor than reality. Runtime: - python-dotenv >=1.0.0 -> >=1.2.0 - click >=8.1.0 -> >=8.3.0 - rich >=13.0.0 -> >=15.0.0 Extras: - polars >=1.37.0 -> >=1.40.0 - pyarrow >=18.0.0 -> >=24.0.0 - duckdb >=1.0.0 -> >=1.5.0 - snowflake-connector-python >=3.0.0 -> >=4.4.0 - sqlalchemy >=2.0.0 -> >=2.0.49 Dev: - pytest >=8.0.0 -> >=9.0.0 - pytest-cov >=4.0.0 -> >=7.0.0 - pyinstaller >=6.0.0 -> >=6.20.0 - pre-commit >=4.0.0 -> >=4.6.0 - ruff >=0.14.0 -> >=0.15.0 - ty >=0.0.21 -> >=0.0.33 - ipykernel >=7.1.0 -> >=7.2.0 parallel-web and pandas held back per the previous commit. * chore(deps): walk back runtime/extras floor bumps Keep dev-tooling floors tightened (we have a real reason: ty 0.0.33 is required to catch the type narrowing fixed in this PR), but revert the runtime + extras floors to their previous values. We don't actually use new APIs from rich 15, click 8.3, polars 1.40, pyarrow 24, duckdb 1.5, snowflake-connector-python 4.x, etc. Tighter floors there would force downstream users to upgrade with no real benefit, and the snowflake 3 -> 4 jump in particular would break people still on 3.x. Reverted floors: - python-dotenv >=1.0.0 - click >=8.1.0 - rich >=13.0.0 - polars >=1.37.0 - pyarrow >=18.0.0 - duckdb >=1.0.0 - snowflake-connector-python >=3.0.0 - sqlalchemy >=2.0.0 Kept tightened (dev only): pytest, pytest-cov, pyinstaller, pre-commit, ruff, ty, ipykernel.
1 parent f15eb0c commit f812eec

3 files changed

Lines changed: 1060 additions & 1018 deletions

File tree

parallel_web_tools/cli/commands.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -318,12 +318,12 @@ def parse_inline_data(data_json: str) -> tuple[str, list[dict[str, str]]]:
318318
raise click.BadParameter("Data must be an array of objects")
319319

320320
# Infer columns from the first row
321-
columns = list(data[0].keys())
321+
columns: list[str] = [str(k) for k in data[0].keys()]
322322
if not columns:
323323
raise click.BadParameter("Data objects must have at least one field")
324324

325325
# Create source_columns with inferred descriptions
326-
source_columns = [{"name": col, "description": f"The {col} field"} for col in columns]
326+
source_columns: list[dict[str, str]] = [{"name": col, "description": f"The {col} field"} for col in columns]
327327

328328
# Write to a temporary CSV file
329329
temp_file = tempfile.NamedTemporaryFile(mode="w", suffix=".csv", delete=False, newline="")

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -92,12 +92,12 @@ all = [
9292
# Development
9393
dev = [
9494
"parallel-web-tools[all,spark]",
95-
"pytest>=8.0.0",
96-
"pytest-cov>=4.0.0",
97-
"pyinstaller>=6.0.0",
98-
"pre-commit>=4.0.0",
99-
"ruff>=0.14.0",
100-
"ty>=0.0.21",
95+
"pytest>=9.0.0",
96+
"pytest-cov>=7.0.0",
97+
"pyinstaller>=6.20.0",
98+
"pre-commit>=4.6.0",
99+
"ruff>=0.15.0",
100+
"ty>=0.0.33",
101101
]
102102

103103
[tool.hatch.build.targets.wheel]
@@ -162,6 +162,6 @@ known-first-party = ["parallel_web_tools"]
162162

163163
[dependency-groups]
164164
dev = [
165-
"ipykernel>=7.1.0",
166-
"ty>=0.0.21",
165+
"ipykernel>=7.2.0",
166+
"ty>=0.0.33",
167167
]

0 commit comments

Comments
 (0)