From 2fee1d67f259a61f4182d0f56352b569e3a7a0f7 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Thu, 13 Feb 2025 13:26:23 +0100 Subject: [PATCH] Update CI job with "oldest supported dependencies" Alpine 3.17 has faded away, bump to Alpine 3.18. --- .builds/tests-minimal.yml | 4 +++- setup.py | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.builds/tests-minimal.yml b/.builds/tests-minimal.yml index afc28ea..c3d1c54 100644 --- a/.builds/tests-minimal.yml +++ b/.builds/tests-minimal.yml @@ -3,7 +3,7 @@ # TODO: It might make more sense to test with an older Ubuntu or Fedora version # here, and consider that our "oldest suppported environment". -image: alpine/3.17 # python 3.10 +image: alpine/3.18 # python 3.11 packages: - docker - docker-cli @@ -28,6 +28,8 @@ tasks: sudo service docker start - setup: | cd vdirsyncer + # Hack, no idea why it's needed + sudo ln -s /usr/include/python3.11/cpython/longintrepr.h /usr/include/python3.11/longintrepr.h make -e install-dev - test: | cd vdirsyncer diff --git a/setup.py b/setup.py index 6056749..47f45a4 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ requirements = [ "requests >=2.20.0", # https://github.com/untitaker/python-atomicwrites/commit/4d12f23227b6a944ab1d99c507a69fdbc7c9ed6d # noqa "atomicwrites>=0.1.7", - "aiohttp>=3.8.0,<4.0.0", + "aiohttp>=3.8.2,<4.0.0", "aiostream>=0.4.3,<0.5.0", ]