-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Summary
Running report render commands on Linux/macOS shows a Quarto warning because _environment sets:
QUARTO_PYTHON=.venv/Scripts/python.exe
That path is Windows-specific.
Impact
This is currently a warning only (render still succeeds in local tests), but it creates noise and confusion in CI/local logs.
Reproduction
On Linux/macOS:
just render-html reports/analysis_report.qmd
# or
just render-docx reports/analysis_report.qmdObserved warning (example):
Specified QUARTO_PYTHON '.venv/Scripts/python.exe' does not existNo python binary found in specified QUARTO_PYTHON location
Expected behavior
No platform-mismatch warnings when rendering reports.
Suggested solution
- Keep
_environmentplatform-neutral (do not hard-codeQUARTO_PYTHONthere). - Set
QUARTO_PYTHONper-OS inJustfilerender/preview recipes.- Windows:
.venv/Scripts/python.exe - Linux/macOS:
.venv/bin/python3
- Windows:
- Optionally document this behavior in README under report rendering.
Acceptance criteria
just render-html reports/analysis_report.qmdruns without the Windows-path warning on Linux/macOS.just render-docx reports/analysis_report.qmdruns without the Windows-path warning on Linux/macOS.- Windows render path still uses the venv interpreter.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels