Skip to content

Commit 2e13e83

Browse files
committed
Update dependencies
1 parent cc668ea commit 2e13e83

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

.github/workflows/build.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@ jobs:
1212
test-install-deploy-run:
1313
strategy:
1414
matrix:
15-
os: [ubuntu-18.04, ubuntu-20.04]
15+
os: [ubuntu-22.04, ubuntu-20.04]
1616
fail-fast: false
1717

1818
runs-on: ${{ matrix.os }}
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v2
23-
- name: Configure Python 3.7
24-
uses: actions/setup-python@v2
22+
uses: actions/checkout@v3
23+
- name: Configure Python 3.9
24+
uses: actions/setup-python@v4
2525
with:
26-
python-version: '3.7'
26+
python-version: '3.9'
2727
- name: Add known dependencies
2828
# Only _explicit_ dependencies, which chirpotle.sh will show as "quick fixes" if you miss them,
2929
# to make sure we're not missing dependencies.

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,8 @@ However, some preparations have to be made to bootstrap the management.
209209

210210
### Controller
211211

212-
For the basic installation of the controller, you need to install Python 3 and the `venv` module.
212+
For the basic installation of the controller, Python >=3.9 is required, pip and the `venv` module must be present.
213+
Earlier versions might still work but are no longer supported.
213214
Everything else will be fetched by the installer and be placed in the virtual environment.
214215

215216
If you do not want to use your system's default python (the installer will check first for `python3`, then for `python` on your path), you can specify the `PYTHON` environment variable during installation to point to a specific executable:
@@ -218,7 +219,7 @@ If you do not want to use your system's default python (the installer will check
218219
PYTHON=/opt/my-python/bin/python ./chirpotle.sh install
219220
```
220221

221-
The framework was tested on Debian Buster, but it should work on most other Linux distributions as well.
222+
The framework was tested on Debian Bullseye and we check basic functionality in GitHub Actions for Ubuntu 22.04 and 20.04, but it should work on most other Linux distributions as well.
222223

223224
### Nodes
224225

chirpotle.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -545,6 +545,10 @@ function chirpotle_install {
545545
pip install setuptools packaging
546546
if [[ $? != 0 ]]; then echo "Could not install Python modules required for managing the framework. Check the output above." >&2; exit 1; fi
547547

548+
# Upgrade pip to the latest version
549+
pip install --upgrade pip
550+
if [[ $? != 0 ]]; then echo "Could not upgrade pip. Check the output above." >&2; exit 1; fi
551+
548552
# Install TPy
549553
(cd "$REPODIR/submodules/tpy/controller" && python setup.py $INSTALLMODE)
550554
if [[ $? != 0 ]]; then echo "Installing TPy Controller failed. Check the output above." >&2; exit 1; fi

0 commit comments

Comments
 (0)