From 4a750cf0d829e554023289d75ba1b01ee88bb423 Mon Sep 17 00:00:00 2001 From: Diego Herrera Date: Jul 04 2024 21:56:30 +0000 Subject: [PATCH 1/2] Don't use hatchling on python 3.6 Signed-off-by: Diego Herrera --- diff --git a/pyproject.toml b/pyproject.toml index e758fc6..c8cfb58 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling; python_version > '3.6'"] build-backend = "hatchling.build" [project] diff --git a/tox.ini b/tox.ini index 37fe636..2a44c89 100644 --- a/tox.ini +++ b/tox.ini @@ -20,6 +20,9 @@ commands = setenv= PYCURL_SSL_LIBRARY=openssl +[testenv:py36] +package = sdist + [testenv:flake8] deps = flake8 commands = python -m flake8 fedpkg/ test/ From 8906d7787db063f07b5c47443bb444face624d78 Mon Sep 17 00:00:00 2001 From: Diego Herrera Date: Jul 04 2024 21:56:46 +0000 Subject: [PATCH 2/2] Intentation fix reported by flake8 Signed-off-by: Diego Herrera --- diff --git a/tox.ini b/tox.ini index 2a44c89..3498249 100644 --- a/tox.ini +++ b/tox.ini @@ -24,6 +24,7 @@ setenv= package = sdist [testenv:flake8] +skip_install = True deps = flake8 commands = python -m flake8 fedpkg/ test/