Skip to content

Commit

Permalink
Merge pull request #195 from nvinuesa/add-noble-workaround
Browse files Browse the repository at this point in the history
chore: add workaround in the readme for running on noble
hpidcock authored Jul 5, 2024
2 parents b00d32a + 1bc4e66 commit 5ee7f5b
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,3 +8,21 @@ CI Runs' aim is, when triggered by a commit to the juju repository is to:
- Run the unit tests
- Run the suite of functional tests

## Run on Noble 24.04

This is a workaround for issues encountered when running the push (and other make targets) script on ubuntu noble, related to python3 being 3.12 and jenkins-jjb being broken by it.

The workaround consist of basically installing python3.11 through a ppa and changing the python base path on the Makefile by hand before re-creating the virtual env and re-running the targets:

```
sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt-get update && sudo apt-get install python3.11-venv
rm -rf venv/
# fix temporary the python3 --> python3.11
vim Makefile
make ensure-venv
# fix temporary the python3.11 --> python3
# python_base_path = $(shell which python3.11)
vim Makefile
make test-push
```

0 comments on commit 5ee7f5b

Please sign in to comment.