From 4dced5b06c9525436a46bcafd6f8449d078dcb1d Mon Sep 17 00:00:00 2001 From: Gregor Sturm Date: Sat, 21 Sep 2024 19:01:09 +0200 Subject: [PATCH] Fix quarto V8 options See https://github.com/quarto-dev/quarto-cli/discussions/10770#discussioncomment-10617305 --- pyproject.toml | 2 +- src/dso/exec.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index c63055d..4e1ad68 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -59,7 +59,7 @@ test = [ "pytest", "coverage", "freezegun", - "quarto", + "quarto>=1.5.57", ] [tool.coverage.run] diff --git a/src/dso/exec.py b/src/dso/exec.py index 7cc7a0d..97836b7 100644 --- a/src/dso/exec.py +++ b/src/dso/exec.py @@ -38,7 +38,7 @@ def _render_quarto(quarto_dir: Path, report_dir: Path, before_script: str, cwd: set -euo pipefail # this flags enables building larger reports with embedded resources - export QUARTO_DENO_EXTRA_OPTIONS=--v8-flags=--max-old-space-size=8192 + export QUARTO_DENO_V8_OPTIONS=--v8-flags=--max-old-space-size=8192 {before_script}