Skip to content

Commit 3391a1f

Browse files
Run tests-minimal on Debian bookworm
1 parent 1ccffbe commit 3391a1f

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

.builds/tests-minimal.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
11
# Run tests using oldest available dependency versions.
22
#
3-
# TODO: It might make more sense to test with an older Ubuntu or Fedora version
4-
# here, and consider that our "oldest suppported environment".
3+
# Debian bookworm keeps this job on Python 3.11, which still supports the
4+
# oldest aiohttp release in our minimal dependency set.
55

6-
image: alpine/3.20 # python 3.12
6+
image: debian/bookworm # python 3.11
77
packages:
8-
- docker
9-
- docker-cli
8+
- build-essential
9+
- docker.io
1010
- docker-compose
11-
- py3-pip
11+
- python3-pip
1212
- python3-dev
13+
- python3-venv
1314
sources:
1415
- https://github.com/pimutils/vdirsyncer
1516
environment:
@@ -23,12 +24,11 @@ tasks:
2324
python3 -m venv $HOME/venv
2425
echo "export PATH=$HOME/venv/bin:$PATH" >> $HOME/.buildenv
2526
- docker: |
26-
sudo addgroup $(whoami) docker
27-
sudo service docker start
27+
sudo systemctl start docker
2828
- setup: |
2929
cd vdirsyncer
3030
# Hack, no idea why it's needed
31-
sudo ln -s /usr/include/python3.12/cpython/longintrepr.h /usr/include/python3.12/longintrepr.h
31+
sudo ln -s /usr/include/python3.11/cpython/longintrepr.h /usr/include/python3.11/longintrepr.h
3232
make -e install-dev
3333
- test: |
3434
cd vdirsyncer

0 commit comments

Comments
 (0)