File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -18,25 +18,34 @@ jobs:
1818 with :
1919 python-version : 3.11
2020
21- # 3️⃣ Install system dependencies (needed by PyTables)
21+ # 3️⃣ Cache pip packages for speed
22+ - name : Cache pip
23+ uses : actions/cache@v3
24+ with :
25+ path : ~/.cache/pip
26+ key : ${{ runner.os }}-pip-${{ hashFiles('requirements.txt') }}
27+ restore-keys : |
28+ ${{ runner.os }}-pip-
29+
30+ # 4️⃣ Install system dependencies for PyTables
2231 - name : Install system dependencies
2332 run : |
2433 sudo apt-get update
2534 sudo apt-get install -y libhdf5-dev build-essential python3-dev
2635
27- # 4️⃣ Install Python dependencies
28- - name : Install dependencies
36+ # 5️⃣ Install Python dependencies
37+ - name : Install Python dependencies
2938 run : |
3039 python -m pip install --upgrade pip wheel setuptools
3140 pip install -r requirements.txt
3241
33- # 5️⃣ Build the Jupyter Book (using python -m to ensure it works in venv )
42+ # 6️⃣ Build the Jupyter Book (skip notebook execution for speed )
3443 - name : Build the Jupyter Book
3544 run : |
36- python -m jupyter_book build --config _config.yml --toc _toc.yml .
45+ python -m jupyter_book build --config _config.yml --toc _toc.yml --execute=never
3746
38- # 6️⃣ Deploy to GitHub Pages
39- - name : GitHub Pages action
47+ # 7️⃣ Deploy to GitHub Pages
48+ - name : Deploy to GitHub Pages
4049 uses : peaceiris/actions-gh-pages@v3.6.1
4150 with :
4251 github_token : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 1- jupyter-book >= 0.13.1 ,< 0.14
1+ # Jupyter Book ecosystem
2+ jupyter-book == 0.13.1
3+ notebook == 7.3.1
4+ jupyterlab == 4.1.4
5+ jupyter-server == 2.15.0
6+ nbclient == 0.8.0
7+ nbconvert == 7.5.0
8+ nbformat == 5.9.0
9+ traitlets == 5.9.0
210
311# Core scientific packages
4- numpy >= 1.24.0 ,< 1.25
5- pandas >= 2.0.3 ,< 2.2
6- scipy >= 1.10.1 ,< 1.13
7- matplotlib >= 3.7.1 ,< 3.9
8- seaborn >= 0.12.0 ,< 0.13
9- scikit-learn >= 1.2.0 ,< 1.4
10- tables >= 3.10.0 ,< 3.11
11-
12- # Notebook environment
13- notebook >= 7.2.0 ,< 7.4
14- jupyterlab >= 4.1.0 ,< 4.3
12+ numpy == 1.24.4
13+ pandas == 2.1.4
14+ scipy == 1.12.0
15+ matplotlib == 3.8.4
16+ seaborn == 0.12.2
17+ scikit-learn == 1.3.2
18+ tables == 3.10.2
1519
1620# Networking / async dependencies
17- anyio >= 4.5.2 , < 5
18- trio >= 0.23.0 , < 1
19- h11 >= 0.14 , < 1
21+ anyio == 4.5.2
22+ trio == 0.23.0
23+ h11 == 0.14.0
2024
2125# Argon2 password hashing
22- argon2-cffi >= 21.1.0 , < 26
23- argon2-cffi-bindings >= 21.1.0 , < 26
26+ argon2-cffi == 21.1.0
27+ argon2-cffi-bindings == 21.1.0
2428
2529# Utilities
26- tqdm >= 4.66 , < 5
27- appnope >= 0.1.0 , < 1 # macOS only
30+ tqdm == 4.66.0
31+ appnope == 0.1.4 # macOS only
You can’t perform that action at this time.
0 commit comments