Skip to content

UPD: upgrade build dependencies to align with lecture-python-intro - #209

Merged
mmcky merged 2 commits into
mainfrom
upgrade/deps-align-base-repo
Apr 9, 2026
Merged

mmcky merged 2 commits into
mainfrom
upgrade/deps-align-base-repo

Conversation

@mmcky

@mmcky mmcky commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

Summary

Upgrades build dependencies to align with lecture-python-intro.

Changes

Environment files (environment.yml + environment-cn.yml)

Package Before After
python 3.12 3.13
anaconda 2024.10 2025.12
jupyter-book 1.0.3 1.0.4post1
sphinx-tojupyter 0.3.0 0.6.0
sphinxext-rediraffe 0.2.7 0.3.0
sphinx-reredirects 0.1.4 1.1.0
sphinx-exercise 1.0.1 1.2.1
sphinx-proof 0.2.0 0.4.0
sphinxcontrib-youtube 1.3.0 1.5.0
sphinx-togglebutton 0.3.2 0.4.5
ghp-import 1.1.0 (removed)

quantecon-book-theme stays at 0.20.2 (from #206, ahead of base repo's 0.20.0).

lectures/_config.yml

  • Add nb_merge_streams: true
  • Add path_to_docs: lectures

CI Workflows

  • Python 3.12 → 3.13 in ci.yml, ci-cn.yml, cache.yml, publish.yml

.github/dependabot.yml

  • Add conda ecosystem with weekly schedule
  • Ignore jupyter-book >= 2.0 and python version bumps

Related

- Python 3.12 → 3.13, anaconda 2024.10 → 2025.12
- jupyter-book 1.0.3 → 1.0.4post1
- sphinx-tojupyter 0.3.0 → 0.6.0
- sphinxext-rediraffe 0.2.7 → 0.3.0
- sphinx-reredirects 0.1.4 → 1.1.0
- sphinx-exercise 1.0.1 → 1.2.1
- sphinx-proof 0.2.0 → 0.4.0
- sphinxcontrib-youtube 1.3.0 → 1.5.0
- sphinx-togglebutton 0.3.2 → 0.4.5
- Remove ghp-import (no longer needed)
- Add nb_merge_streams and path_to_docs to _config.yml
- Add conda ecosystem to dependabot
- Update Python version in all remaining CI workflows
Copilot AI review requested due to automatic review settings April 9, 2026 05:14
@netlify

netlify Bot commented Apr 9, 2026

Copy link
Copy Markdown

Deploy Preview for playful-platypus-17d3bb ready!

Name Link
🔨 Latest commit 45b7818
🔍 Latest deploy log https://app.netlify.com/projects/playful-platypus-17d3bb/deploys/69d735edff75780008c65d14
😎 Deploy Preview https://deploy-preview-209--playful-platypus-17d3bb.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Aligns this repository’s build environment and CI configuration with lecture-python-intro by upgrading core build dependencies (Python/Anaconda/Jupyter Book + Sphinx tooling) and updating automation around builds and dependency updates.

Changes:

  • Upgrade conda environment dependencies (Python 3.12 → 3.13, Anaconda 2024.10 → 2025.12, plus several Sphinx/Jupyter Book-related packages).
  • Update Jupyter Book/Sphinx config to enable stream merging and set docs path.
  • Update CI workflows to run with Python 3.13 and add Dependabot conda updates.

Reviewed changes

Copilot reviewed 8 out of 8 changed files in this pull request and generated 2 comments.

Show a summary per file
File Description
lectures/_config.yml Adds nb_merge_streams and path_to_docs configuration for Jupyter Book/Sphinx/theme behavior.
environment.yml Upgrades base build environment and Sphinx/Jupyter Book-related pip dependencies.
environment-cn.yml Mirrors build environment upgrades for the CN environment.
.github/workflows/ci.yml Bumps workflow Python version to 3.13.
.github/workflows/ci-cn.yml Bumps workflow Python version to 3.13 for CN environment build.
.github/workflows/cache.yml Bumps scheduled cache-build workflow Python version to 3.13.
.github/workflows/publish.yml Bumps publish workflow Python version to 3.13.
.github/dependabot.yml Adds conda ecosystem updates + ignore rules for major Jupyter Book and Python bumps.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread environment.yml
Comment thread environment-cn.yml
@github-actions

github-actions Bot commented Apr 9, 2026

Copy link
Copy Markdown

@github-actions
github-actions Bot temporarily deployed to pull request April 9, 2026 05:21 Inactive
@mmcky
mmcky merged commit 6e1638e into main Apr 9, 2026
6 of 7 checks passed
@mmcky
mmcky deleted the upgrade/deps-align-base-repo branch April 9, 2026 05:27
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.

2 participants