Skip to content

Support reproducible offline source packaging (e.g., for Homebrew) #14887

Closed

Description

@cbrnr

I am currently preparing a source-built Quarto formula for Homebrew. The formula already builds successfully and runs Quarto with Homebrew's current dependencies on my local Mac:

  • Deno 2.9.6
  • Pandoc 3.11
  • Dart Sass 1.104.1
  • esbuild 0.28.2
  • Typst 0.15.1
  • Node 26.8.2
  • Rust 1.98.1

There are certainly several issues I still need to address before even thinking about submitting a new formula to Homebrew, but I wanted to take the opportunity to discuss potential changes to Quarto first, which would make creating a formula much easier (this would not only benefit a Homebrew formula, but likely also other packaging systems like Conda and various Linux distributions).

The three most important changes would be:

  1. Replace the obsolete Deno vendoring commands (Deno 2.9 does not support the current use of deno install anymore but a corresponding deno cache can be used instead), include all six entrypoints (package/src/bld.ts and tools/deno-esbuild-bundle.ts are missing), and stop suppressing errors (i.e., don't do set +e).
  2. Add and enforce a Deno lock file.
  3. Stop checking for typst-gather before it is actually needed.

There are some additional (minor) things that Quarto could do, but I would like to discuss if you are open to these changes in principle. If so, I'm happy to talk about the other changes that, together with the three mentioned points, would not change Quarto's behavior at all, but make building from source much easier (and eventually enable a core Homebrew formula).

Activity

  1. mcanouil commented on Sep 14, 2026

    @mcanouil
    Collaborator

    Please follow this repository's contributing guidelines.

    Transferring to discussion feature requests.

    FYI, there is a homebrew cask: https://formulae.brew.sh/cask/quarto#default

  2. converted this issue into a discussion #14888 on Sep 14, 2026
  3. added
    support
    on Sep 14, 2026
  4. added this to the v1.11 milestone on Oct 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    support

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions