From 265de3dc725b78dc9ab661e3892e38deac48765c Mon Sep 17 00:00:00 2001 From: Evgenii Alekseev Date: Fri, 5 Jan 2024 22:34:34 +0200 Subject: [PATCH] ci: explicit isolated build for old ubuntu tox --- pyproject.toml | 3 ++- tox.ini | 5 +++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index b640c948..2513bb1e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,8 @@ name = "ahriman" description = "ArcH linux ReposItory MANager" readme = "README.md" -requires-python = ">=3.11" +# Actually we are using features from the latest python, however, ubuntu, which is used for CI doesn't have it +requires-python = ">=3" license = {file = "COPYING"} authors = [ diff --git a/tox.ini b/tox.ini index 868293c4..f6458282 100644 --- a/tox.ini +++ b/tox.ini @@ -1,9 +1,10 @@ [tox] envlist = check, tests -dependencies = -e .[journald,pacman,s3,web] -project_name = ahriman +isolated_build = True labels = release = version, docs, publish +dependencies = -e .[journald,pacman,s3,web] +project_name = ahriman [mypy] flags = --implicit-reexport --strict --allow-untyped-decorators --allow-subclassing-any