Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packages/data-designer-config/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ dependencies = [
"httpx>=0.27.2,<1",
"jinja2>=3.1.6,<4",
"numpy>=1.23.5,<3",
"pandas>=2.3.3,<3",
"pandas>=2.3.3,<4",
"idna>=3.18,<4", # 3.18 fixes security advisories pulled in by requests
"pillow>=12.3.0,<13", # 12.3.0 fixes Pillow security advisories
"pyarrow>=24,<25", # 24.0.0 fixes PyArrow security advisories
Expand Down
2 changes: 1 addition & 1 deletion packages/data-designer-engine/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ dependencies = [
"mcp>=1.29.0,<2", # 1.29.0 fixes MCP security advisories
"networkx>=3.0,<4",
"numpy>=1.23.5,<3",
"pandas>=2.3.3,<3",
"pandas>=2.3.3,<4",
"pyarrow>=24,<25", # 24.0.0 fixes PyArrow security advisories
"pydantic>=2.9.2,<3",
"pyjwt[crypto]>=2.13.0,<3", # 2.13.0 fixes PyJWT security advisories pulled in by mcp
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def test_dataset_column_convert_datetime_format(stub_schema_builder):
)
generator = DatasetGenerator(sampler_columns=stub_schema_builder.to_sampler_columns())
dataset = generator.generate(NUM_SAMPLES)
assert dataset["col_1"].dtype == "object"
assert lazy.pd.api.types.is_string_dtype(dataset["col_1"].dtype)
assert dataset["col_1"].str.contains(r"\d{2}/\d{2}/\d{4}").all()
assert lazy.pd.to_datetime(dataset["col_1"], format="%m/%d/%Y").notna().all()

Expand Down Expand Up @@ -183,7 +183,7 @@ def test_datetime_output_round_trips_through_pd_to_datetime(stub_schema_builder)
dataset = generator.generate(50)
parsed = lazy.pd.to_datetime(dataset["ts"])
assert parsed.notna().all()
assert parsed.dtype == "datetime64[ns]"
assert lazy.pd.api.types.is_datetime64_any_dtype(parsed.dtype)


def test_timedelta_single_record(stub_schema_builder):
Expand Down
2 changes: 1 addition & 1 deletion packages/data-designer/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ dependencies = [
"opentelemetry-exporter-prometheus>=0.64b0,<0.65",
"opentelemetry-sdk>=1.43,<1.44",
"packaging>=25,<27",
"pandas>=2.3.3,<3",
"pandas>=2.3.3,<4",
"prometheus-client>=0.24,<1",
"prompt-toolkit>=3.0.0,<4",
"pyarrow>=24,<25",
Expand Down
Loading
Loading