From 89be2fc34321f74f79d642f92abc7c66df882eb7 Mon Sep 17 00:00:00 2001 From: Omar Adalat <47933317+nightly@users.noreply.github.com> Date: Sun, 23 Aug 2026 19:50:16 -0400 Subject: [PATCH 1/2] Add temporary Marimo packaging workflow --- .github/workflows/tmp-marimo-package.yml | 27 ++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/tmp-marimo-package.yml diff --git a/.github/workflows/tmp-marimo-package.yml b/.github/workflows/tmp-marimo-package.yml new file mode 100644 index 0000000..df1b3e9 --- /dev/null +++ b/.github/workflows/tmp-marimo-package.yml @@ -0,0 +1,27 @@ +name: Temporary Marimo validation package + +on: + pull_request: + +jobs: + package: + runs-on: ubuntu-latest + steps: + - uses: actions/setup-python@v5 + with: + python-version: "3.11" + - name: Install Marimo + run: | + python -m venv /tmp/marimo-venv + /tmp/marimo-venv/bin/python -m pip install --upgrade pip + /tmp/marimo-venv/bin/python -m pip install "marimo>=0.24.0" + /tmp/marimo-venv/bin/marimo --version | tee /tmp/marimo-version.txt + tar -C /tmp/marimo-venv/lib/python3.11 \ + -czf /tmp/marimo-site-packages.tar.gz site-packages + - uses: actions/upload-artifact@v4 + with: + name: marimo-validation-runtime + path: | + /tmp/marimo-site-packages.tar.gz + /tmp/marimo-version.txt + retention-days: 1 From f57816a0ad7c35c120b6f43ad350d93096fb8f9f Mon Sep 17 00:00:00 2001 From: Omar Adalat <47933317+nightly@users.noreply.github.com> Date: Sun, 23 Aug 2026 19:52:57 -0400 Subject: [PATCH 2/2] Package Marimo for Python 3.13 --- .github/workflows/tmp-marimo-package.yml | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/tmp-marimo-package.yml b/.github/workflows/tmp-marimo-package.yml index df1b3e9..bcbfe13 100644 --- a/.github/workflows/tmp-marimo-package.yml +++ b/.github/workflows/tmp-marimo-package.yml @@ -9,15 +9,20 @@ jobs: steps: - uses: actions/setup-python@v5 with: - python-version: "3.11" + python-version: "3.13" - name: Install Marimo run: | python -m venv /tmp/marimo-venv /tmp/marimo-venv/bin/python -m pip install --upgrade pip /tmp/marimo-venv/bin/python -m pip install "marimo>=0.24.0" /tmp/marimo-venv/bin/marimo --version | tee /tmp/marimo-version.txt - tar -C /tmp/marimo-venv/lib/python3.11 \ - -czf /tmp/marimo-site-packages.tar.gz site-packages + site_packages=$( + /tmp/marimo-venv/bin/python -c \ + 'import sysconfig; print(sysconfig.get_paths()["purelib"])' + ) + tar -C "$(dirname "$site_packages")" \ + -czf /tmp/marimo-site-packages.tar.gz \ + "$(basename "$site_packages")" - uses: actions/upload-artifact@v4 with: name: marimo-validation-runtime