Skip to content

Commit a6dc297

Browse files
authored
Include system updates in CI
We need this because sometimes `ubuntu-latest` is a slightly older version of ubuntu which crashes because it doesn't know what `--break-system-packages` means, and at other times `ubuntu-latest` is a slightly newer version of ubuntu which requires `--break-system-packages` to pip install anything. Forcing system updates will *HOPEFULLY* update to the newest python which knows and requires this flag.
1 parent 526315c commit a6dc297

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ jobs:
5454
cache-name: julia-cache;workflow=${{ github.workflow }};ref=${{ github.run_id }}
5555
include-matrix: false
5656
- uses: actions/checkout@v4
57+
- name: "Install updates"
58+
run: apt update && apt dist-upgrade
5759
- name: "Install Jupyter"
5860
run: pip3 install --break-system-packages notebook jupytext
5961
- name: "Install julia pre-requisites"

0 commit comments

Comments
 (0)