Skip to content

Commit

Permalink
MAINT: update jupyter-book==1.0.3 and maintenance tasks (#187)
Browse files Browse the repository at this point in the history
* update ga workflows

* tmp: disable build cache

* update status page

* Revert "tmp: disable build cache"

This reverts commit 09d4e2f.
  • Loading branch information
mmcky authored Dec 6, 2024
1 parent e579eb3 commit 6606f5e
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 17 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/cache.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
name: Build Cache [using jupyter-book]
on:
push:
branches:
- main
schedule:
# run cache monthly to prevent expiration
- cron: '0 0 1 * *'
# Execute cache weekly at 3am on Monday
- cron: '0 3 * * 1'
jobs:
tests:
runs-on: ubuntu-latest
Expand Down
3 changes: 0 additions & 3 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Link Checker [Anaconda, Linux]
on:
pull_request:
types: [opened, reopened]
schedule:
# UTC 12:00 is early morning in Australia
- cron: '0 12 * * *'
jobs:
link-check-linux:
name: Link Checking (${{ matrix.python-version }}, ${{ matrix.os }})
Expand Down
17 changes: 10 additions & 7 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,16 @@ dependencies:
- anaconda=2024.10
- pip
- pip:
- jupyter-book==0.15.1
- docutils==0.17.1
- quantecon-book-theme==0.7.2
- jupyter-book==1.0.3
- quantecon-book-theme==0.7.6
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx-exercise==0.4.1
- sphinx-reredirects==0.1.4
- sphinx-exercise==1.0.1
- sphinx-proof==0.2.0
- ghp-import==1.1.0
- sphinxcontrib-youtube==1.1.0
- sphinx-togglebutton==0.3.1
- sphinx-proof
- sphinxcontrib-youtube==1.3.0 #Version 1.3.0 is required as quantecon-book-theme is only compatible with sphinx<=5
- sphinx-togglebutton==0.3.2
# Docker Requirements
- pytz

18 changes: 16 additions & 2 deletions lectures/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,19 @@ This table contains the latest execution statistics.
```{nb-exec-table}
```

These lectures are built on `linux` instances through `github actions` so are
executed using the following [hardware specifications](https://docs.github.com/en/actions/reference/specifications-for-github-hosted-runners#supported-runners-and-hardware-resources)
(status:machine-details)=

These lectures are built on `linux` instances through `github actions`.

These lectures are using the following python version

```{code-cell} ipython
!python --version
```

and the following package versions

```{code-cell} ipython
:tags: [hide-output]
!conda list
```

3 comments on commit 6606f5e

@github-actions
Copy link

Choose a reason for hiding this comment

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

@github-actions
Copy link

Choose a reason for hiding this comment

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

@github-actions
Copy link

Choose a reason for hiding this comment

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

Please sign in to comment.