Skip to content

chore: update to quantecon/actions v0.5.0#33

Merged
mmcky merged 2 commits intomainfrom
chore/update-to-v0.5.0
Feb 5, 2026
Merged

chore: update to quantecon/actions v0.5.0#33
mmcky merged 2 commits intomainfrom
chore/update-to-v0.5.0

Conversation

@mmcky
Copy link
Contributor

@mmcky mmcky commented Feb 5, 2026

Update test-lecture-python-intro to align with quantecon/actions v0.5.0.

Changes

Container Switch

  • Switched from quantecon:latest (~8GB) to quantecon-build:latest (~3GB) across all workflows
  • No environment-update.yml needed — lectures install their own packages inline via !pip install

Action Version Pinning

  • All action references updated from @v0 (floating) to @v0.5.0 (pinned) across cache.yml, ci.yml, and publish.yml

Environment Alignment

  • environment.yml — Updated package versions to match the container:
    • anaconda 2025.06 → 2025.12
    • quantecon-book-theme 0.9.2 → 0.10.1
    • sphinx-tojupyter 0.3.1 → 0.4.0
    • sphinx-exercise 1.0.1 → 1.2.0
    • sphinx-reredirects 1.0.0 → 0.1.4
  • _notebook_repo/environment.yml — Updated from Python 3.10 / Anaconda 2023.03 to Python 3.13 / Anaconda 2025.12

Cleanup

  • Removed legacy collab.yml.disabled workflow (superseded by container-based CI)

Release Coverage

Release Key Changes Status
v0.5.0 environment-fileenvironment rename, environment-update input ✅ Updated
v0.4.0 build-jupyter-cache and restore-jupyter-cache actions ✅ Already adopted
v0.3.0 Container-aware setup-environment, lean container ✅ Now using lean container
v0.2.0 deploy-netlifypreview-netlify, Cloudflare Pages ✅ Already adopted
v0.1.1 Improved failure logging ✅ Internal
v0.1.0 Initial release ✅ Already adopted

Performance Impact

Smaller container pull (~3GB vs ~8GB) should reduce setup time. The lean container includes all build tooling (Jupyter Book, LaTeX, core scientific stack) while lecture-specific packages (quantecon, wbgapi, yfinance, ortools, etc.) are installed within the lectures themselves.

- Pin all action references to @v0.5.0 (from floating @v0)
- Switch container from quantecon:latest (~8GB) to quantecon-build:latest (~3GB)
  - Lectures install their own packages inline via pip
  - No environment-update.yml needed
- Update environment.yml to align with container packages:
  - anaconda 2025.06 → 2025.12
  - quantecon-book-theme 0.9.2 → 0.10.1
  - sphinx-tojupyter 0.3.1 → 0.4.0
  - sphinx-exercise 1.0.1 → 1.2.0
  - sphinx-reredirects 1.0.0 → 0.1.4
- Update _notebook_repo/environment.yml (Python 3.10 → 3.13, Anaconda 2023.03 → 2025.12)
- Remove legacy collab.yml.disabled workflow

Covers changes from v0.4.0 through v0.5.0:
- v0.5.0: environment-file → environment rename, new environment-update input
- v0.4.0: build-jupyter-cache and restore-jupyter-cache actions (already adopted)
@mmcky mmcky force-pushed the chore/update-to-v0.5.0 branch from 5e90c4c to 46bd7a9 Compare February 5, 2026 22:57
@github-actions
Copy link

github-actions bot commented Feb 5, 2026

📖 Netlify Preview Ready!

Preview URL: https://pr-33--jade-tarsier-d98a19.netlify.app

Commit: f98d70b


Build Info

@mmcky mmcky merged commit 7e32d8b into main Feb 5, 2026
1 of 2 checks passed
@mmcky mmcky deleted the chore/update-to-v0.5.0 branch February 5, 2026 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant