Skip to content

Commit

Permalink
MAINT: Update software stack (#146)
Browse files Browse the repository at this point in the history
* MAINT: Update software stack

* TMP: disable build cache

* update links and remove old site redirect

* re-enable cache

---------

Co-authored-by: Humphrey Yang <u6474961@anu.edu.au>
  • Loading branch information
mmcky and HumphreyYang authored Oct 11, 2023
1 parent 352057d commit aa44257
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/cache.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.10"
python-version: "3.11"
environment-file: environment.yml
activate-environment: quantecon
- name: Install latex dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.10"
python-version: "3.11"
environment-file: environment.yml
activate-environment: quantecon
- name: Install latex dependencies
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/execution.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
fail-fast: false
matrix:
os: ["macos-latest"]
python-version: ["3.10"]
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand Down Expand Up @@ -85,7 +85,7 @@ jobs:
# fail-fast: false
# matrix:
# os: ["windows-latest"]
# python-version: ["3.10"]
# python-version: ["3.11"]
# steps:
# - name: Checkout
# uses: actions/checkout@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/linkcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.10"]
python-version: ["3.11"]
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -23,7 +23,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.10"
python-version: "3.11"
environment-file: environment.yml
activate-environment: quantecon
- name: Download "build" folder (cache)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
auto-update-conda: true
auto-activate-base: true
miniconda-version: 'latest'
python-version: "3.10"
python-version: "3.11"
environment-file: environment.yml
activate-environment: quantecon
- name: Install latex dependencies
Expand Down
6 changes: 3 additions & 3 deletions environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: quantecon
channels:
- default
dependencies:
- python=3.10
- anaconda=2023.07
- python=3.11
- anaconda=2023.09
- pip
- pip:
- jupyter-book==0.15.1
- docutils==0.17.1
- quantecon-book-theme==0.5.3
- quantecon-book-theme==0.6.0
- sphinx-tojupyter==0.3.0
- sphinxext-rediraffe==0.2.7
- sphinx-exercise==0.4.1
Expand Down
5 changes: 5 additions & 0 deletions lectures/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,11 @@ latex:
sphinx:
extra_extensions: [sphinx_multitoc_numbering, sphinxext.rediraffe, sphinx_tojupyter, sphinx_exercise, sphinx_togglebutton]
config:
linkcheck_ignore: ['https://doi.org/10.3982/ECTA8070',
'https://doi.org/10.1086/261749',
'https://doi.org/10.1086/262078',
'https://keras.io/',
'https://data.oecd.org/']
nb_mime_priority_overrides: [
# HTML
['html', 'application/vnd.jupyter.widget-view+json', 10],
Expand Down
4 changes: 0 additions & 4 deletions lectures/intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,4 @@ This website presents a set of advanced lectures on quantitative economic modeli
For an overview of the series, see [this page](https://quantecon.org/python-lectures/)

```{tableofcontents}
```

```{admonition} Previous website
While this new site will receive all future updates, you may still view the [old site here](http://rst-python-advanced.quantecon.org) for the next month.
```
2 changes: 1 addition & 1 deletion lectures/lqramsey.md
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ In this case, the formula for computing $q(x_0)$ is known to be $q(x_0) = x_0' Q
* $v = \text{trace} \, (C' Q C) \beta / (1 - \beta)$

The first equation is known as a discrete Lyapunov equation and can be solved
using [this function](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/matrix_eqn.py#L25).
using [this function](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/_matrix_eqn.py).

### Finite State Markov Case

Expand Down
2 changes: 1 addition & 1 deletion lectures/tax_smoothing_1.md
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ model using the `LQMarkov` class that solves Markov jump linear
quandratic control problems as described above.

The code for the class can be viewed
[here](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/lqcontrol.py#L334).
[here](https://github.com/QuantEcon/QuantEcon.py/blob/master/quantecon/_lqcontrol.py).

The class takes lists of matrices that corresponds to $N$ Markov states.

Expand Down

1 comment on commit aa44257

@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.