Skip to content

Commit 7c3c20b

Browse files
authored
Fix: Broken build due to the hyperscript upgrade (#2729)
1 parent 1b79ef6 commit 7c3c20b

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

sqlmesh/integrations/github/cicd/controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ def conclusion_handler(
806806
)
807807
body_rows.append(
808808
[
809-
h("td", model_name),
809+
h("td", model_name, autoescape=False),
810810
h("td", change_category),
811811
h("td", interval_output),
812812
]

tests/integrations/jupyter/test_magics.py

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,9 @@ def test_context(notebook, convert_all_html_output_to_text, get_all_html_output,
118118
"span",
119119
{"style": SUCCESS_STYLE},
120120
"SQLMesh project context set to: examples/sushi",
121+
autoescape=False,
121122
),
123+
autoescape=False,
122124
)
123125
)
124126
]
@@ -144,7 +146,9 @@ def test_init(tmp_path, notebook, convert_all_html_output_to_text, get_all_html_
144146
"span",
145147
{"style": "color: green; font-weight: bold"},
146148
"SQLMesh project scaffold created",
149+
autoescape=False,
147150
),
151+
autoescape=False,
148152
)
149153
)
150154
]
@@ -245,7 +249,9 @@ def test_diff(sushi_context, notebook, convert_all_html_output_to_text, get_all_
245249
"span",
246250
{"style": "font-weight: bold"},
247251
"Summary of differences against `prod`:",
252+
autoescape=False,
248253
),
254+
autoescape=False,
249255
)
250256
),
251257
str(
@@ -257,6 +263,7 @@ def test_diff(sushi_context, notebook, convert_all_html_output_to_text, get_all_
257263
"span",
258264
{"style": "font-weight: bold"},
259265
"Models:",
266+
autoescape=False,
260267
)
261268
)
262269
+ "└── "
@@ -265,9 +272,11 @@ def test_diff(sushi_context, notebook, convert_all_html_output_to_text, get_all_
265272
"span",
266273
{"style": "font-weight: bold"},
267274
"Directly Modified:",
275+
autoescape=False,
268276
)
269277
)
270278
+ " └── sqlmesh_example.test",
279+
autoescape=False,
271280
)
272281
),
273282
]
@@ -331,7 +340,9 @@ def test_run_dag(
331340
"span",
332341
{"style": SUCCESS_STYLE},
333342
"All model batches have been executed successfully",
343+
autoescape=False,
334344
),
345+
autoescape=False,
335346
)
336347
),
337348
str(
@@ -342,12 +353,15 @@ def test_run_dag(
342353
"span",
343354
{"style": SUCCESS_STYLE},
344355
"Run finished for environment ",
356+
autoescape=False,
345357
),
346358
h(
347359
"span",
348360
{"style": SUCCESS_STYLE},
349361
"'prod'",
362+
autoescape=False,
350363
),
364+
autoescape=False,
351365
)
352366
),
353367
]
@@ -381,22 +395,26 @@ def test_invalidate(
381395
"span",
382396
{"style": SUCCESS_STYLE},
383397
"Environment ",
398+
autoescape=False,
384399
)
385400
)
386401
+ str(
387402
h(
388403
"span",
389404
{"style": SUCCESS_STYLE},
390405
"'dev'",
406+
autoescape=False,
391407
)
392408
)
393409
+ str(
394410
h(
395411
"span",
396412
{"style": SUCCESS_STYLE},
397413
" has been invalidated.",
414+
autoescape=False,
398415
)
399416
),
417+
autoescape=False,
400418
)
401419
)
402420
]
@@ -528,8 +546,10 @@ def test_info(notebook, sushi_context, convert_all_html_output_to_text, get_all_
528546
# "color: #008000; text-decoration-color: #008000"
529547
{"style": f"{NEUTRAL_STYLE}; font-weight: bold"},
530548
"16",
549+
autoescape=False,
531550
)
532551
),
552+
autoescape=False,
533553
)
534554
),
535555
str(
@@ -542,8 +562,10 @@ def test_info(notebook, sushi_context, convert_all_html_output_to_text, get_all_
542562
"span",
543563
{"style": f"{NEUTRAL_STYLE}; font-weight: bold"},
544564
"5",
565+
autoescape=False,
545566
)
546567
),
568+
autoescape=False,
547569
)
548570
),
549571
str(
@@ -556,8 +578,10 @@ def test_info(notebook, sushi_context, convert_all_html_output_to_text, get_all_
556578
"span",
557579
{"style": SUCCESS_STYLE},
558580
"succeeded",
581+
autoescape=False,
559582
)
560583
),
584+
autoescape=False,
561585
)
562586
),
563587
]
@@ -585,7 +609,9 @@ def test_migrate(
585609
"span",
586610
{"style": SUCCESS_STYLE},
587611
"Migration complete",
612+
autoescape=False,
588613
),
614+
autoescape=False,
589615
)
590616
)
591617
]

0 commit comments

Comments
 (0)